2020-12-23 18:28:32 +08:00
|
|
|
/*---------------------------------------------------------------------------------------------
|
|
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
|
2023-04-02 15:35:39 +08:00
|
|
|
const fs = require('fs');
|
|
|
|
|
2024-09-06 21:18:02 +08:00
|
|
|
// Complete list of directories where npm should be executed to install node modules
|
2023-04-02 15:35:39 +08:00
|
|
|
const dirs = [
|
2020-12-23 18:28:32 +08:00
|
|
|
'',
|
|
|
|
'build',
|
|
|
|
'extensions',
|
|
|
|
'extensions/configuration-editing',
|
|
|
|
'extensions/css-language-features',
|
|
|
|
'extensions/css-language-features/server',
|
|
|
|
'extensions/debug-auto-launch',
|
|
|
|
'extensions/debug-server-ready',
|
|
|
|
'extensions/emmet',
|
|
|
|
'extensions/extension-editing',
|
|
|
|
'extensions/git',
|
2021-11-25 03:48:44 +08:00
|
|
|
'extensions/git-base',
|
2020-12-23 18:28:32 +08:00
|
|
|
'extensions/github',
|
|
|
|
'extensions/github-authentication',
|
|
|
|
'extensions/grunt',
|
|
|
|
'extensions/gulp',
|
|
|
|
'extensions/html-language-features',
|
|
|
|
'extensions/html-language-features/server',
|
2021-07-21 05:59:35 +08:00
|
|
|
'extensions/ipynb',
|
2020-12-23 18:28:32 +08:00
|
|
|
'extensions/jake',
|
|
|
|
'extensions/json-language-features',
|
|
|
|
'extensions/json-language-features/server',
|
|
|
|
'extensions/markdown-language-features',
|
2021-06-09 00:58:42 +08:00
|
|
|
'extensions/markdown-math',
|
2022-09-28 12:01:14 +08:00
|
|
|
'extensions/media-preview',
|
2020-12-23 18:28:32 +08:00
|
|
|
'extensions/merge-conflict',
|
|
|
|
'extensions/microsoft-authentication',
|
2022-02-08 04:49:07 +08:00
|
|
|
'extensions/notebook-renderers',
|
2020-12-23 18:28:32 +08:00
|
|
|
'extensions/npm',
|
|
|
|
'extensions/php-language-features',
|
2022-05-03 22:46:13 +08:00
|
|
|
'extensions/references-view',
|
2020-12-23 18:28:32 +08:00
|
|
|
'extensions/search-result',
|
2021-01-05 11:06:53 +08:00
|
|
|
'extensions/simple-browser',
|
2023-08-09 05:00:03 +08:00
|
|
|
'extensions/tunnel-forwarding',
|
2020-12-23 18:28:32 +08:00
|
|
|
'extensions/typescript-language-features',
|
|
|
|
'extensions/vscode-api-tests',
|
2021-01-19 18:03:56 +08:00
|
|
|
'extensions/vscode-colorize-tests',
|
2024-11-05 22:35:58 +08:00
|
|
|
'extensions/vscode-colorize-perf-tests',
|
2020-12-23 18:28:32 +08:00
|
|
|
'extensions/vscode-test-resolver',
|
|
|
|
'remote',
|
|
|
|
'remote/web',
|
|
|
|
'test/automation',
|
|
|
|
'test/integration/browser',
|
2020-12-29 04:43:35 +08:00
|
|
|
'test/monaco',
|
2020-12-23 18:28:32 +08:00
|
|
|
'test/smoke',
|
2024-09-06 21:18:02 +08:00
|
|
|
'.vscode/extensions/vscode-selfhost-import-aid',
|
2024-03-29 00:08:23 +08:00
|
|
|
'.vscode/extensions/vscode-selfhost-test-provider',
|
2020-12-23 18:28:32 +08:00
|
|
|
];
|
2023-04-02 15:35:39 +08:00
|
|
|
|
|
|
|
if (fs.existsSync(`${__dirname}/../../.build/distro/npm`)) {
|
|
|
|
dirs.push('.build/distro/npm');
|
|
|
|
dirs.push('.build/distro/npm/remote');
|
|
|
|
dirs.push('.build/distro/npm/remote/web');
|
|
|
|
}
|
|
|
|
|
|
|
|
exports.dirs = dirs;
|