Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e2b2583

Browse files
committed
Update Packages
1 parent 6d897c8 commit e2b2583

File tree

2 files changed

+198
-53
lines changed

2 files changed

+198
-53
lines changed

package-lock.json

Lines changed: 192 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,11 @@
9797
"@typescript-eslint/parser": "6.18.0",
9898
"@ungap/structured-clone": "1.2.0",
9999
"@vscode/debugprotocol": "1.64.0",
100+
"@vscode/test-cli": "0.0.4",
100101
"@vscode/test-electron": "2.3.9",
101102
"@vscode/vsce": "2.22.0",
102103
"esbuild": "0.19.11",
104+
"esbuild-register": "3.5.0",
103105
"eslint": "8.56.0",
104106
"eslint-plugin-header": "3.1.1",
105107
"glob": "10.3.10",
@@ -109,20 +111,20 @@
109111
"mock-fs": "5.2.0",
110112
"rewire": "7.0.0",
111113
"sinon": "17.0.1",
112-
"source-map-support": "0.5.21",
113114
"typescript": "5.3.3"
114115
},
115116
"extensionDependencies": [
116117
"vscode.powershell"
117118
],
118119
"main": "./out/main.js",
119120
"scripts": {
121+
"esbuild-base": "esbuild --bundle --platform=node --target=node18.15 --format=cjs --sourcemap --external:mocha --external:vscode --external:eslint",
120122
"lint": "eslint . --ext .ts",
121-
"build": "esbuild ./src/main.ts --outdir=out --sourcemap --bundle --external:vscode --platform=node",
123+
"build": "npm run esbuild-base -- src/main.ts --outdir=out",
122124
"build-watch": "npm run build -- --watch",
123-
"build-test": "tsc --incremental",
125+
"build-test": "npm run esbuild-base -- test/**/*.test.ts --outdir=out/test --sources-content=false",
124126
"build-test-watch": "npm run build-test -- --watch",
125-
"test": "npm run build-test && node ./out/test/runTests.js",
127+
"test": "npm run build-test && vscode-test",
126128
"package": "vsce package --no-gitHubIssueLinking",
127129
"publish": "vsce publish"
128130
},

0 commit comments

Comments
 (0)