Skip to content

Commit eaafb13

Browse files
cross-env
1 parent 49fce51 commit eaafb13

6 files changed

Lines changed: 66 additions & 4 deletions

File tree

e2e/package-lock.json

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

e2e/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
6-
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint src/**/*.ts",
6+
"lint": "cross-env ESLINT_USE_FLAT_CONFIG=false eslint src/**/*.ts",
77
"check-types": "tsc --noEmit",
88
"test": "npm run build && npx dotenvx run -f .env.local -- node ./out/runTest.js",
99
"ci": "npm run vscode-test && npm run test",
1010
"build": "rimraf out && tsc -p tsconfig.json",
1111
"vscode-test": "cd .. && npm run vscode-test"
1212
},
13-
"dependencies": {},
1413
"devDependencies": {
1514
"@types/mocha": "^10.0.10",
1615
"@vscode/test-cli": "^0.0.9",
1716
"@vscode/test-electron": "^2.4.0",
17+
"cross-env": "^7.0.3",
1818
"mocha": "^11.1.0",
1919
"typescript": "^5.4.5"
2020
}

package-lock.json

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

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
"install-webview": "cd webview-ui && npm install",
342342
"install-e2e": "cd e2e && npm install",
343343
"lint": "npm-run-all -l -p lint:*",
344-
"lint:extension": "ESLINT_USE_FLAT_CONFIG=false eslint src --ext .ts",
344+
"lint:extension": "cross-env ESLINT_USE_FLAT_CONFIG=false eslint src --ext .ts",
345345
"lint:webview": "cd webview-ui && npm run lint",
346346
"lint:e2e": "cd e2e && npm run lint",
347347
"check-types": "npm-run-all -l -p check-types:*",
@@ -454,6 +454,7 @@
454454
"@typescript-eslint/parser": "^7.11.0",
455455
"@vscode/test-electron": "^2.5.2",
456456
"@vscode/vsce": "^3.3.2",
457+
"cross-env": "^7.0.3",
457458
"esbuild": "^0.24.0",
458459
"eslint": "^8.57.0",
459460
"execa": "^9.5.2",

webview-ui/package-lock.json

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

webview-ui/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"type": "module",
66
"scripts": {
7-
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint src --ext .ts,.tsx",
7+
"lint": "cross-env ESLINT_USE_FLAT_CONFIG=false eslint src --ext .ts,.tsx",
88
"check-types": "tsc",
99
"test": "jest -w=40%",
1010
"dev": "vite",
@@ -85,6 +85,7 @@
8585
"@typescript-eslint/eslint-plugin": "^6.21.0",
8686
"@typescript-eslint/parser": "^6.21.0",
8787
"@vitejs/plugin-react": "^4.3.4",
88+
"cross-env": "^7.0.3",
8889
"eslint": "^8.57.0",
8990
"eslint-config-react-app": "^7.0.1",
9091
"eslint-plugin-react": "^7.33.2",

0 commit comments

Comments
 (0)