Skip to content

Commit ef44626

Browse files
committed
implement volta and rm vscode-ext-gen
1 parent ff8d6d8 commit ef44626

File tree

3 files changed

+17
-25
lines changed

3 files changed

+17
-25
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ Use our side bar or the **Command Palette** and type `Flow Scanner` to see the l
2828

2929
## Development
3030

31+
> This project optionally uses [Volta](https://volta.sh) to manage Node.js versions. Install Volta with:
32+
>
33+
> ```sh
34+
> curl https://get.volta.sh | bash
35+
> ```
36+
>
37+
> Volta will automatically use the Node.js version defined in `package.json`.
38+
3139
1. Clone the repo:
3240
3341
```bash

package-lock.json

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

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@
9090
"scripts": {
9191
"vscode:prepublish": "npm run package",
9292
"compile": "webpack --config ./build/node-extension.webpack.config.js",
93-
"watch": "npm run v:update && concurrently \"rollup -c -w\" \"webpack --watch --config ./build/node-extension.webpack.config.js\"",
93+
"watch": "concurrently \"rollup -c -w\" \"webpack --watch --config ./build/node-extension.webpack.config.js\"",
9494
"build-webapp": "rollup -c",
95-
"build": "npm run v:update && rollup -c && vsce package",
96-
"build:beta": "npm run v:update && rollup -c && vsce package --pre-release",
95+
"build": "rollup -c && vsce package",
96+
"build:beta": "rollup -c && vsce package --pre-release",
9797
"package": "webpack --mode production --devtool hidden-source-map --config ./build/node-extension.webpack.config.js",
9898
"test-compile": "tsc -p ./",
9999
"test-watch": "tsc -watch -p ./",
@@ -105,15 +105,14 @@
105105
"________": "scripts for reactive-vscode",
106106
"v:dev": "run-p v:dev:*",
107107
"v:build:reactive": "tsup --env.NODE_ENV production --treeshake",
108-
"v:build:vite": "npm run v:update && vue-tsc --noEmit -p beta-vscode.tsconfig.json && vite build",
108+
"v:build:vite": "vue-tsc --noEmit -p beta-vscode.tsconfig.json && vite build",
109109
"v:dev:reactive": "tsup --watch ./src --env.NODE_ENV development",
110110
"v:dev:vite": "vite",
111111
"v:vite:preview": "vite preview",
112112
"v:typecheck:reactive": "tsc --noEmit -p reactive-vscode.tsconfig.json",
113113
"v:vscode:prepublish:reactive": "pnpm run build",
114114
"v:test:reactive": "jest",
115-
"v:test": "vitest",
116-
"v:update": "vscode-ext-gen --output src/generated/meta.ts"
115+
"v:test": "vitest"
117116
},
118117
"devDependencies": {
119118
"@rollup/plugin-commonjs": "^28.0.2",
@@ -166,7 +165,6 @@
166165
"vite": "^6.3.5",
167166
"vite-plugin-vue-devtools": "^7.7.6",
168167
"vitest": "^3.1.3",
169-
"vscode-ext-gen": "^1.0.2",
170168
"vue": "3.5.14",
171169
"vue-tsc": "2.2.10",
172170
"wdio-vscode-service": "^6.1.2",
@@ -192,5 +190,8 @@
192190
"best practices",
193191
"code quality",
194192
"salesforce automation"
195-
]
193+
],
194+
"volta": {
195+
"node": "20.13.1"
196+
}
196197
}

0 commit comments

Comments
 (0)