mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Run our build scripts directly as typescript (#277567)
* Run our build scripts directly as typescript #277567 Follow up on #276864 For #277526 * Remove a few more ts-node references * Fix linux and script reference * Remove `_build-script` ref * Fix script missing closing quote * use type only import * Fix export * Make sure to run copy-policy-dto * Make sure we run the copy-policy-dto script * Enable `verbatimModuleSyntax` * Pipelines fixes * Try adding explicit ext to path * Fix bad edit * Revert extra `--` --------- Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
This commit is contained in:
+7
-8
@@ -18,7 +18,7 @@
|
||||
"test-build-scripts": "cd build && npm run test",
|
||||
"preinstall": "node build/npm/preinstall.js",
|
||||
"postinstall": "node build/npm/postinstall.js",
|
||||
"compile": "node ./node_modules/gulp/bin/gulp.js compile",
|
||||
"compile": "npm run gulp compile",
|
||||
"compile-check-ts-native": "tsgo --project ./src/tsconfig.json --noEmit --skipLibCheck",
|
||||
"watch": "npm-run-all -lp watch-client watch-extensions",
|
||||
"watchd": "deemon npm run watch",
|
||||
@@ -35,20 +35,20 @@
|
||||
"kill-watch-extensionsd": "deemon --kill npm run watch-extensions",
|
||||
"precommit": "node build/hygiene.mjs",
|
||||
"gulp": "node --max-old-space-size=8192 ./node_modules/gulp/bin/gulp.js",
|
||||
"electron": "node build/lib/electron",
|
||||
"electron": "node build/lib/electron.ts",
|
||||
"7z": "7z",
|
||||
"update-grammars": "node build/npm/update-all-grammars.mjs",
|
||||
"update-localization-extension": "node build/npm/update-localization-extension.js",
|
||||
"mixin-telemetry-docs": "node build/npm/mixin-telemetry-docs.mjs",
|
||||
"smoketest": "node build/lib/preLaunch.js && cd test/smoke && npm run compile && node test/index.js",
|
||||
"smoketest": "node build/lib/preLaunch.ts && cd test/smoke && npm run compile && node test/index.js",
|
||||
"smoketest-no-compile": "cd test/smoke && node test/index.js",
|
||||
"download-builtin-extensions": "node build/lib/builtInExtensions.js",
|
||||
"download-builtin-extensions-cg": "node build/lib/builtInExtensionsCG.js",
|
||||
"download-builtin-extensions": "node build/lib/builtInExtensions.ts",
|
||||
"download-builtin-extensions-cg": "node build/lib/builtInExtensionsCG.ts",
|
||||
"monaco-compile-check": "tsgo --project src/tsconfig.monaco.json --noEmit",
|
||||
"tsec-compile-check": "node node_modules/tsec/bin/tsec -p src/tsconfig.tsec.json",
|
||||
"vscode-dts-compile-check": "tsgo --project src/tsconfig.vscode-dts.json && tsgo --project src/tsconfig.vscode-proposed-dts.json",
|
||||
"valid-layers-check": "node build/checker/layersChecker.js && tsgo --project build/checker/tsconfig.browser.json && tsgo --project build/checker/tsconfig.worker.json && tsgo --project build/checker/tsconfig.node.json && tsgo --project build/checker/tsconfig.electron-browser.json && tsgo --project build/checker/tsconfig.electron-main.json && tsgo --project build/checker/tsconfig.electron-utility.json",
|
||||
"define-class-fields-check": "node build/lib/propertyInitOrderChecker.js && tsgo --project src/tsconfig.defineClassFields.json",
|
||||
"valid-layers-check": "node build/checker/layersChecker.ts && tsgo --project build/checker/tsconfig.browser.json && tsgo --project build/checker/tsconfig.worker.json && tsgo --project build/checker/tsconfig.node.json && tsgo --project build/checker/tsconfig.electron-browser.json && tsgo --project build/checker/tsconfig.electron-main.json && tsgo --project build/checker/tsconfig.electron-utility.json",
|
||||
"define-class-fields-check": "node build/lib/propertyInitOrderChecker.ts && tsgo --project src/tsconfig.defineClassFields.json",
|
||||
"update-distro": "node build/npm/update-distro.mjs",
|
||||
"web": "echo 'npm run web' is replaced by './scripts/code-server' or './scripts/code-web'",
|
||||
"compile-cli": "gulp compile-cli",
|
||||
@@ -211,7 +211,6 @@
|
||||
"source-map-support": "^0.3.2",
|
||||
"style-loader": "^3.3.2",
|
||||
"ts-loader": "^9.5.1",
|
||||
"ts-node": "^10.9.1",
|
||||
"tsec": "0.2.7",
|
||||
"tslib": "^2.6.3",
|
||||
"typescript": "^6.0.0-dev.20251110",
|
||||
|
||||
Reference in New Issue
Block a user