diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..7ea6a59d3 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v20.11.0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 036e5734b..837f6342a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -58,6 +58,12 @@ Continue is continuously improving, but a feature isn't complete until it is ref VS Code is assumed for development as Continue is primarily a VS Code tool at the moment. Most of the setup and running is automated through VS Code tasks and launch configurations. +Pre-requisite: you have Node.js version 20.11.0 (LTS) or higher installed. [get it on https://nodejs.org](https://nodejs.org/en/download/ +Alternatively, if you are using NVM (Node Version Manager), you can set the correct version of Node.js for this project by running the following command in the root of the project: + +```bash +nvm use + 1. Clone and open in VS Code the Continue repo `https://github.com/continuedev/continue` diff --git a/core/package.json b/core/package.json index 899bfb33f..0e2bc9cb0 100644 --- a/core/package.json +++ b/core/package.json @@ -38,5 +38,8 @@ }, "puppeteer": { "chromium_revision": "119.0.6045.105" + }, + "engines": { + "node": ">=20.11.0" } } diff --git a/core/vendor/package.json b/core/vendor/package.json index a7838e858..bdeb80b88 100644 --- a/core/vendor/package.json +++ b/core/vendor/package.json @@ -10,5 +10,8 @@ "license": "ISC", "dependencies": { "@xenova/transformers": "^2.14.0" + }, + "engines": { + "node": ">=20.11.0" } } diff --git a/core/yarn.lock b/core/yarn.lock index eed888840..582ef2485 100644 --- a/core/yarn.lock +++ b/core/yarn.lock @@ -321,10 +321,10 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@esbuild/darwin-arm64@0.19.11": +"@esbuild/linux-x64@0.19.11": version "0.19.11" - resolved "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz" - integrity sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ== + resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz" + integrity sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA== "@gar/promisify@^1.0.1": version "1.1.3" @@ -576,10 +576,10 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@lancedb/vectordb-darwin-arm64@0.4.3": +"@lancedb/vectordb-linux-x64-gnu@0.4.3": version "0.4.3" - resolved "https://registry.npmjs.org/@lancedb/vectordb-darwin-arm64/-/vectordb-darwin-arm64-0.4.3.tgz" - integrity sha512-47CvvSaV1EdUsFEpXUJApTk+hMzAhCxVizipCFUlXCgcmzpCDL86wNgJij/X9a+j6zADhIX//Lsu0qd/an/Bpw== + resolved "https://registry.npmjs.org/@lancedb/vectordb-linux-x64-gnu/-/vectordb-linux-x64-gnu-0.4.3.tgz" + integrity sha512-OBx3WF3pK0xNfFJeErmuD9R2QWLa3XdeZspyTsIrQmBDeKj3HKh8y7Scpx4NH5Y09+9JNqRRKRZN7OqWTYhITg== "@neon-rs/load@^0.0.74": version "0.0.74" @@ -1880,11 +1880,6 @@ fs.realpath@^1.0.0: resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== -fsevents@^2.3.2: - version "2.3.3" - resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz" - integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== - function-bind@^1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz" diff --git a/docs/package.json b/docs/package.json index 154b6a718..feb4c4799 100644 --- a/docs/package.json +++ b/docs/package.json @@ -41,6 +41,6 @@ ] }, "engines": { - "node": ">=16.14" + "node": ">=20.11.0" } } diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 5b7b64262..c90ba60d3 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -1,7 +1,7 @@ { "name": "continue", "icon": "media/icon.png", - "version": "0.8.7", + "version": "0.8.8", "repository": { "type": "git", "url": "https://github.com/continuedev/continue" @@ -22,7 +22,8 @@ "description": "Open-source autopilot for software development - bring the power of ChatGPT to your IDE", "publisher": "Continue", "engines": { - "vscode": "^1.67.0" + "vscode": "^1.67.0", + "node": ">=20.11.0" }, "galleryBanner": { "color": "#1E1E1E", diff --git a/gui/package.json b/gui/package.json index 44da6d41c..7bc4b0cb8 100644 --- a/gui/package.json +++ b/gui/package.json @@ -67,5 +67,8 @@ "tailwindcss": "^3.2.7", "typescript": "^4.9.3", "vite": "^4.1.0" + }, + "engines": { + "node": ">=20.11.0" } } diff --git a/package/package.json b/package/package.json index 5cc645f5a..93eb760b5 100644 --- a/package/package.json +++ b/package/package.json @@ -32,5 +32,8 @@ "dependencies": { "@lancedb/vectordb-darwin-arm64": "^0.4.3", "vectordb": "^0.4.3" + }, + "engines": { + "node": ">=20.11.0" } }