mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 09:35:39 -05:00
* Fix initial build breaks from 1.67 merge (#2514) * Update yarn lock files * Update build scripts * Fix tsconfig * Build breaks * WIP * Update yarn lock files * Misc breaks * Updates to package.json * Breaks * Update yarn * Fix breaks * Breaks * Build breaks * Breaks * Breaks * Breaks * Breaks * Breaks * Missing file * Breaks * Breaks * Breaks * Breaks * Breaks * Fix several runtime breaks (#2515) * Missing files * Runtime breaks * Fix proxy ordering issue * Remove commented code * Fix breaks with opening query editor * Fix post merge break * Updates related to setup build and other breaks (#2516) * Fix bundle build issues * Update distro * Fix distro merge and update build JS files * Disable pipeline steps * Remove stats call * Update license name * Make new RPM dependencies a warning * Fix extension manager version checks * Update JS file * Fix a few runtime breaks * Fixes * Fix runtime issues * Fix build breaks * Update notebook tests (part 1) * Fix broken tests * Linting errors * Fix hygiene * Disable lint rules * Bump distro * Turn off smoke tests * Disable integration tests * Remove failing "activate" test * Remove failed test assertion * Disable other broken test * Disable query history tests * Disable extension unit tests * Disable failing tasks
83 lines
3.4 KiB
JavaScript
83 lines
3.4 KiB
JavaScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
/**
|
|
* @param {string} name
|
|
* @param {string[]} exclude
|
|
*/
|
|
function createModuleDescription(name, exclude) {
|
|
|
|
let excludes = ['vs/css', 'vs/nls'];
|
|
if (Array.isArray(exclude) && exclude.length > 0) {
|
|
excludes = excludes.concat(exclude);
|
|
}
|
|
|
|
return {
|
|
name: name,
|
|
include: [],
|
|
exclude: excludes
|
|
};
|
|
}
|
|
|
|
/**
|
|
* @param {string} name
|
|
*/
|
|
function createEditorWorkerModuleDescription(name) {
|
|
return createModuleDescription(name, ['vs/base/common/worker/simpleWorker', 'vs/editor/common/services/editorSimpleWorker']);
|
|
}
|
|
|
|
exports.base = [
|
|
{
|
|
name: 'vs/editor/common/services/editorSimpleWorker',
|
|
include: ['vs/base/common/worker/simpleWorker'],
|
|
prepend: ['vs/loader.js', 'vs/nls.js'],
|
|
append: ['vs/base/worker/workerMain'],
|
|
dest: 'vs/base/worker/workerMain.js'
|
|
},
|
|
{
|
|
name: 'vs/base/common/worker/simpleWorker',
|
|
},
|
|
{
|
|
name: 'vs/platform/extensions/node/extensionHostStarterWorker',
|
|
exclude: ['vs/base/common/worker/simpleWorker']
|
|
}
|
|
];
|
|
|
|
exports.workerExtensionHost = [createEditorWorkerModuleDescription('vs/workbench/api/worker/extensionHostWorker')];
|
|
exports.workerNotebook = [createEditorWorkerModuleDescription('vs/workbench/contrib/notebook/common/services/notebookSimpleWorker')];
|
|
exports.workerSharedProcess = [createEditorWorkerModuleDescription('vs/platform/sharedProcess/electron-browser/sharedProcessWorkerMain')];
|
|
exports.workerLanguageDetection = [createEditorWorkerModuleDescription('vs/workbench/services/languageDetection/browser/languageDetectionSimpleWorker')];
|
|
exports.workerLocalFileSearch = [createEditorWorkerModuleDescription('vs/workbench/services/search/worker/localFileSearch')];
|
|
|
|
exports.workbenchDesktop = [
|
|
createEditorWorkerModuleDescription('vs/workbench/contrib/output/common/outputLinkComputer'),
|
|
createModuleDescription('vs/workbench/contrib/debug/node/telemetryApp'),
|
|
createModuleDescription('vs/platform/files/node/watcher/watcherMain'),
|
|
createModuleDescription('vs/platform/terminal/node/ptyHostMain'),
|
|
createModuleDescription('vs/workbench/api/node/extensionHostProcess')
|
|
];
|
|
|
|
exports.workbenchWeb = [
|
|
createEditorWorkerModuleDescription('vs/workbench/contrib/output/common/outputLinkComputer'),
|
|
createModuleDescription('vs/code/browser/workbench/workbench', ['vs/workbench/workbench.web.main'])
|
|
];
|
|
|
|
exports.keyboardMaps = [
|
|
createModuleDescription('vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.linux'),
|
|
createModuleDescription('vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.darwin'),
|
|
createModuleDescription('vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.win')
|
|
];
|
|
|
|
exports.code = [
|
|
createModuleDescription('vs/code/electron-main/main'),
|
|
createModuleDescription('vs/code/node/cli'),
|
|
createModuleDescription('vs/code/node/cliProcessMain', ['vs/code/node/cli']),
|
|
createModuleDescription('vs/code/electron-sandbox/issue/issueReporterMain'),
|
|
createModuleDescription('vs/code/electron-browser/sharedProcess/sharedProcessMain'),
|
|
createModuleDescription('vs/code/electron-sandbox/processExplorer/processExplorerMain')
|
|
];
|
|
|
|
exports.entrypoint = createModuleDescription;
|