|
19 | 19 | "main": "./dist/extension.js", |
20 | 20 | "scripts": { |
21 | 21 | "build": "concurrently -g -n webviews,extension \"pnpm build:webviews\" \"node esbuild.mjs\"", |
22 | | - "build:production": "NODE_ENV=production pnpm build", |
| 22 | + "build:production": "cross-env NODE_ENV=production pnpm build", |
23 | 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 | 28 | "package": "pnpm build:production && vsce package --no-dependencies", |
29 | 29 | "package:prerelease": "pnpm build:production && vsce package --pre-release --no-dependencies", |
30 | | - "test": "CI=true ELECTRON_RUN_AS_NODE=1 electron node_modules/vitest/vitest.mjs", |
31 | | - "test:extension": "ELECTRON_RUN_AS_NODE=1 electron node_modules/vitest/vitest.mjs --project extension", |
| 30 | + "test": "cross-env CI=true ELECTRON_RUN_AS_NODE=1 electron node_modules/vitest/vitest.mjs", |
| 31 | + "test:extension": "cross-env 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 | | - "test:webview": "ELECTRON_RUN_AS_NODE=1 electron node_modules/vitest/vitest.mjs --project webview", |
| 33 | + "test:webview": "cross-env ELECTRON_RUN_AS_NODE=1 electron node_modules/vitest/vitest.mjs --project webview", |
34 | 34 | "typecheck": "concurrently -g -n extension,tests,packages \"tsc --noEmit\" \"tsc --noEmit -p test\" \"pnpm typecheck:packages\"", |
35 | 35 | "typecheck:packages": "pnpm -r --filter \"./packages/*\" --parallel typecheck", |
36 | 36 | "watch": "concurrently -g -n extension,webviews \"pnpm watch:extension\" \"pnpm watch:webviews\"", |
|
609 | 609 | "bufferutil": "^4.1.0", |
610 | 610 | "coder": "catalog:", |
611 | 611 | "concurrently": "^9.2.1", |
| 612 | + "cross-env": "^10.1.0", |
612 | 613 | "dayjs": "^1.11.20", |
613 | | - "electron": "39.8.1", |
| 614 | + "electron": "39.8.5", |
614 | 615 | "esbuild": "^0.28.0", |
615 | 616 | "eslint": "^10.2.0", |
616 | 617 | "eslint-config-prettier": "^10.1.8", |
|
0 commit comments