|
18 | 18 | "type": "commonjs", |
19 | 19 | "main": "./dist/extension.js", |
20 | 20 | "scripts": { |
21 | | - "build": "pnpm build:webviews && tsc --noEmit && node esbuild.mjs", |
22 | | - "build:production": "NODE_ENV=production pnpm build:webviews && tsc --noEmit && node esbuild.mjs --production", |
23 | | - "build:webviews": "pnpm -r --filter \"./packages/*\" build", |
| 21 | + "build": "concurrently -g -n webviews,extension \"pnpm build:webviews\" \"node esbuild.mjs\"", |
| 22 | + "build:production": "NODE_ENV=production pnpm build", |
| 23 | + "build:webviews": "pnpm -r --filter \"./packages/*\" --parallel build", |
24 | 24 | "format": "prettier --write --cache --cache-strategy content .", |
25 | 25 | "format:check": "prettier --check --cache --cache-strategy content .", |
26 | 26 | "lint": "eslint --cache --cache-strategy content .", |
27 | 27 | "lint:fix": "pnpm lint --fix", |
28 | | - "package": "vsce package --no-dependencies", |
29 | | - "package:prerelease": "vsce package --pre-release --no-dependencies", |
| 28 | + "package": "pnpm build:production && vsce package --no-dependencies", |
| 29 | + "package:prerelease": "pnpm build:production && vsce package --pre-release --no-dependencies", |
30 | 30 | "test": "CI=true pnpm test:extension && CI=true pnpm test:webview", |
31 | 31 | "test:extension": "ELECTRON_RUN_AS_NODE=1 electron node_modules/vitest/vitest.mjs --project extension", |
32 | 32 | "test:integration": "tsc -p test/integration --outDir out --noCheck && node esbuild.mjs && vscode-test", |
33 | 33 | "test:webview": "vitest --project webview", |
34 | | - "typecheck": "concurrently -g \"tsc --noEmit\" \"tsc --noEmit -p test\"", |
35 | | - "vscode:prepublish": "pnpm build:production", |
36 | | - "watch": "concurrently -n extension,webviews \"pnpm watch:extension\" \"pnpm watch:webviews\"", |
| 34 | + "typecheck": "concurrently -g -n extension,tests,packages \"tsc --noEmit\" \"tsc --noEmit -p test\" \"pnpm typecheck:packages\"", |
| 35 | + "typecheck:packages": "pnpm -r --filter \"./packages/*\" --parallel typecheck", |
| 36 | + "watch": "concurrently -g -n extension,webviews \"pnpm watch:extension\" \"pnpm watch:webviews\"", |
37 | 37 | "watch:extension": "node esbuild.mjs --watch", |
38 | 38 | "watch:webviews": "pnpm -r --filter \"./packages/*\" --parallel dev" |
39 | 39 | }, |
|
0 commit comments