2020-12-23 10:28:32 +00: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 07:35:39 +00:00
|
|
|
const fs = require('fs');
|
|
|
|
|
2020-12-23 10:28:32 +00:00
|
|
|
// Complete list of directories where yarn should be executed to install node modules
|
2023-04-02 07:35:39 +00:00
|
|
|
const dirs = [
|
2020-12-23 10:28:32 +00: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-24 19:48:44 +00:00
|
|
|
'extensions/git-base',
|
2020-12-23 10:28:32 +00:00
|
|
|
'extensions/github',
|
|
|
|
'extensions/github-authentication',
|
|
|
|
'extensions/grunt',
|
|
|
|
'extensions/gulp',
|
|
|
|
'extensions/html-language-features',
|
|
|
|
'extensions/html-language-features/server',
|
2021-07-20 21:59:35 +00:00
|
|
|
'extensions/ipynb',
|
2020-12-23 10:28:32 +00:00
|
|
|
'extensions/jake',
|
|
|
|
'extensions/json-language-features',
|
|
|
|
'extensions/json-language-features/server',
|
2022-07-06 23:03:24 +00:00
|
|
|
'extensions/markdown-language-features/server',
|
2020-12-23 10:28:32 +00:00
|
|
|
'extensions/markdown-language-features',
|
2021-06-08 16:58:42 +00:00
|
|
|
'extensions/markdown-math',
|
2022-09-28 04:01:14 +00:00
|
|
|
'extensions/media-preview',
|
2020-12-23 10:28:32 +00:00
|
|
|
'extensions/merge-conflict',
|
|
|
|
'extensions/microsoft-authentication',
|
2022-02-07 20:49:07 +00:00
|
|
|
'extensions/notebook-renderers',
|
2020-12-23 10:28:32 +00:00
|
|
|
'extensions/npm',
|
|
|
|
'extensions/php-language-features',
|
2022-05-03 14:46:13 +00:00
|
|
|
'extensions/references-view',
|
2020-12-23 10:28:32 +00:00
|
|
|
'extensions/search-result',
|
2021-01-05 03:06:53 +00:00
|
|
|
'extensions/simple-browser',
|
2023-08-08 21:00:03 +00:00
|
|
|
'extensions/tunnel-forwarding',
|
2020-12-23 10:28:32 +00:00
|
|
|
'extensions/typescript-language-features',
|
|
|
|
'extensions/vscode-api-tests',
|
2021-01-19 10:03:56 +00:00
|
|
|
'extensions/vscode-colorize-tests',
|
2020-12-23 10:28:32 +00:00
|
|
|
'extensions/vscode-test-resolver',
|
|
|
|
'remote',
|
|
|
|
'remote/web',
|
|
|
|
'test/automation',
|
|
|
|
'test/integration/browser',
|
2020-12-28 20:43:35 +00:00
|
|
|
'test/monaco',
|
2020-12-23 10:28:32 +00:00
|
|
|
'test/smoke',
|
|
|
|
];
|
2023-04-02 07:35:39 +00: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;
|