From 871260e2d4c7390d82a2256352e6ac64726bbb1e Mon Sep 17 00:00:00 2001 From: "Stephen Weatherford (MSFT)" Date: Mon, 22 Jul 2024 13:00:01 -0700 Subject: [PATCH] work --- .vscode/launch.json | 2 +- package.json | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 573d55b47..f686d14e8 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -127,7 +127,7 @@ "outFiles": [ "${workspaceFolder}/dist/**/*.js" ], - "preLaunchTask": "npm: pretest-release", + "preLaunchTask": "npm: pretest-prod", "env": { "MOCHA_grep": "", // RegExp of tests to run (empty for all) -- works for F5 only asdfg? "MOCHA_invert": "0", // Invert the RegExp diff --git a/package.json b/package.json index 496edc115..b9e895ce1 100644 --- a/package.json +++ b/package.json @@ -620,13 +620,14 @@ "lint": "", "$lint-fix": "tslint --project tsconfig.json -t verbose --fix", "package": "npm run webpack-prod && npm run get-language-server && gulp package", - "pretest": "npm run pretest-release", - "pretest-release": "npm run webpack-prod && gulp pretest", + "pretest": "npm run pretest-prod", + "pretest-prod": "npm run webpack-prod && gulp pretest", "pretest-dev": "npm run webpack && gulp pretest", "$test.comment": "Runs tests from the webpacked extension. If you want to run tests from the source code directly, run from without vscode.", "test": "node ./dist/test/runTest.js", "all": "npm i && npm test && npm run lint", - "webpack": "gulp webpack-dev", + "webpack": "gulp webpack-prod", + "webpack-dev": "gulp webpack-dev", "webpack-prod": "gulp webpack-prod", "webpack-profile": "webpack --profile --json --mode production > webpack-stats.json && echo Use http://webpack.github.io/analyse to analyze the stats", "build-grammars": "gulp build-grammars",