|
162 | 162 | ] |
163 | 163 | }, |
164 | 164 | "scripts": { |
165 | | - "build": "npm run clean && npm run lint && npm run bundle", |
| 165 | + "build": "npm run clean && npm run lint && npm run rebuild:esbuild && npm run bundle", |
166 | 166 | "bundle": "node esbuild.config.js", |
167 | 167 | "bundle:server": "node scripts/bundle-server.js", |
168 | 168 | "clean": "rm -rf dist server .vscode-test/* *.vsix", |
169 | 169 | "download:vscode": "node scripts/download-vscode.js", |
170 | 170 | "lint": "eslint src/ test/", |
171 | 171 | "lint:fix": "eslint src/ test/ --fix", |
172 | 172 | "package": "vsce package --no-dependencies --out codeql-development-mcp-server-v$(node -e 'process.stdout.write(require(`./package.json`).version)').vsix", |
| 173 | + "rebuild:esbuild": "npm rebuild esbuild --ignore-scripts=false", |
173 | 174 | "test": "npm run test:coverage && npm run test:integration", |
174 | 175 | "test:coverage": "vitest --run --coverage", |
175 | 176 | "test:integration": "npm run download:vscode && vscode-test", |
176 | 177 | "test:integration:label": "vscode-test --label", |
177 | 178 | "test:watch": "vitest --watch", |
178 | | - "vscode:prepublish": "npm run clean && npm run lint && npm run bundle && npm run bundle:server", |
| 179 | + "vscode:prepublish": "npm run clean && npm run lint && npm run rebuild:esbuild && npm run bundle && npm run bundle:server", |
179 | 180 | "watch": "node esbuild.config.js --watch" |
180 | 181 | }, |
181 | 182 | "devDependencies": { |
|
0 commit comments