Fixes #99666 - moves code-web into resources/

This commit is contained in:
Eric Amodio 2020-06-09 10:59:15 -04:00
parent aef90f8fda
commit bb97e452f1
5 changed files with 5 additions and 5 deletions

2
.vscode/launch.json vendored
View file

@ -217,7 +217,7 @@
"type": "node",
"request": "launch",
"name": "VS Code (Web)",
"program": "${workspaceFolder}/scripts/code-web.js",
"program": "${workspaceFolder}/resources/serverless/code-web.js",
"presentation": {
"group": "0_vscode",
"order": 2

View file

@ -124,7 +124,7 @@ const copyrightFilter = [
'!extensions/html-language-features/server/src/modes/typescript/*',
'!extensions/*/server/bin/*',
'!src/vs/editor/test/node/classification/typescript-test.ts',
'!scripts/code-web.js'
'!resources/serverless/code-web.js'
];
const jsHygieneFilter = [

View file

@ -32,7 +32,7 @@
"valid-layers-check": "node build/lib/layersChecker.js",
"strict-function-types-watch": "tsc --watch -p src/tsconfig.json --noEmit --strictFunctionTypes",
"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"
},
"dependencies": {

View file

@ -6,7 +6,7 @@
*--------------------------------------------------------------------------------------------*/
// @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 url = require('url');
@ -18,7 +18,7 @@ const opn = require('opn');
const minimist = require('minimist');
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 WEB_MAIN = path.join(APP_ROOT, 'src', 'vs', 'code', 'browser', 'workbench', 'workbench-dev.html');