mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 10:19:02 +00:00
Fixes #99666 - moves code-web into resources/
This commit is contained in:
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -217,7 +217,7 @@
|
|||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "VS Code (Web)",
|
"name": "VS Code (Web)",
|
||||||
"program": "${workspaceFolder}/scripts/code-web.js",
|
"program": "${workspaceFolder}/resources/serverless/code-web.js",
|
||||||
"presentation": {
|
"presentation": {
|
||||||
"group": "0_vscode",
|
"group": "0_vscode",
|
||||||
"order": 2
|
"order": 2
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ const copyrightFilter = [
|
|||||||
'!extensions/html-language-features/server/src/modes/typescript/*',
|
'!extensions/html-language-features/server/src/modes/typescript/*',
|
||||||
'!extensions/*/server/bin/*',
|
'!extensions/*/server/bin/*',
|
||||||
'!src/vs/editor/test/node/classification/typescript-test.ts',
|
'!src/vs/editor/test/node/classification/typescript-test.ts',
|
||||||
'!scripts/code-web.js'
|
'!resources/serverless/code-web.js'
|
||||||
];
|
];
|
||||||
|
|
||||||
const jsHygieneFilter = [
|
const jsHygieneFilter = [
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
"valid-layers-check": "node build/lib/layersChecker.js",
|
"valid-layers-check": "node build/lib/layersChecker.js",
|
||||||
"strict-function-types-watch": "tsc --watch -p src/tsconfig.json --noEmit --strictFunctionTypes",
|
"strict-function-types-watch": "tsc --watch -p src/tsconfig.json --noEmit --strictFunctionTypes",
|
||||||
"update-distro": "node build/npm/update-distro.js",
|
"update-distro": "node build/npm/update-distro.js",
|
||||||
"web": "node scripts/code-web.js",
|
"web": "node resources/serverless/code-web.js",
|
||||||
"eslint": "eslint -c .eslintrc.json --rulesdir ./build/lib/eslint --ext .ts --ext .js ./src/vs ./extensions"
|
"eslint": "eslint -c .eslintrc.json --rulesdir ./build/lib/eslint --ext .ts --ext .js ./src/vs ./extensions"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
4
scripts/code-web.js → resources/serverless/code-web.js
Executable file → Normal file
4
scripts/code-web.js → resources/serverless/code-web.js
Executable file → Normal file
@@ -6,7 +6,7 @@
|
|||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
// @ts-check
|
// @ts-check
|
||||||
/** @typedef {import('../src/vs/workbench/workbench.web.api').IWorkbenchConstructionOptions} WebConfiguration **/
|
/** @typedef {import('../../src/vs/workbench/workbench.web.api').IWorkbenchConstructionOptions} WebConfiguration **/
|
||||||
|
|
||||||
const http = require('http');
|
const http = require('http');
|
||||||
const url = require('url');
|
const url = require('url');
|
||||||
@@ -18,7 +18,7 @@ const opn = require('opn');
|
|||||||
const minimist = require('minimist');
|
const minimist = require('minimist');
|
||||||
const webpack = require('webpack');
|
const webpack = require('webpack');
|
||||||
|
|
||||||
const APP_ROOT = path.dirname(__dirname);
|
const APP_ROOT = path.join(__dirname, '..', '..');
|
||||||
const EXTENSIONS_ROOT = path.join(APP_ROOT, 'extensions');
|
const EXTENSIONS_ROOT = path.join(APP_ROOT, 'extensions');
|
||||||
const WEB_MAIN = path.join(APP_ROOT, 'src', 'vs', 'code', 'browser', 'workbench', 'workbench-dev.html');
|
const WEB_MAIN = path.join(APP_ROOT, 'src', 'vs', 'code', 'browser', 'workbench', 'workbench-dev.html');
|
||||||
|
|
||||||
Reference in New Issue
Block a user