Skip to content

Commit

Permalink
🎨 use pnpm instead of yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed May 10, 2024
1 parent 1de0d8a commit ffd531d
Show file tree
Hide file tree
Showing 16 changed files with 33,343 additions and 46,512 deletions.
9 changes: 6 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,12 @@ Continue is continuously improving, but a feature isn't complete until it is ref
### Environment Setup

#### VS Code
#### Pre-requisites

- You should have Node.js version 20.11.0 (LTS) or higher installed. You can get it on [nodejs.org](https://nodejs.org/en/download) or, 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:
- Continue uses `pnpm` to manage node_modules. You can install `pnpm` globally with `npm install -g pnpm`, or another method described in [their docs](https://pnpm.io/installation#using-npm).

Pre-requisite: You should have Node.js version 20.11.0 (LTS) or higher installed. You can get it on [nodejs.org](https://nodejs.org/en/download) or, 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:
#### VS Code

```bash
nvm use
Expand All @@ -77,7 +80,7 @@ nvm use
1. The new VS Code window with the extension is referred to as the _Host VS Code_
2. The window you started debugging from is referred to as the _Main VS Code_

4. To package the extension, run `npm run package` in the `extensions/vscode` directory. This will generate `extensions/vscode/build/continue-patch.vsix`, which you can install by right-clicking and selecting "Install Extension VSIX".
4. To package the extension, run `pnpm package` in the `extensions/vscode` directory. This will generate `extensions/vscode/build/continue-patch.vsix`, which you can install by right-clicking and selecting "Install Extension VSIX".

> Note: Breakpoints can be used in both the `core` and `extensions/vscode` folders while debugging, but are not currently supported inside of `gui` code. Hot-reloading is enabled with Vite, so if you make any changes to the `gui`, they should be automatically reflected without rebuilding. Similarly, any changes to `core` or `extensions/vscode` will be automatically included by just reloading the _Host VS Code_ window with cmd/ctrl+shift+p "Reload Window".
Expand Down
2 changes: 1 addition & 1 deletion binary/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const targetToLanceDb = {
for (const target of targets) {
if (targetToLanceDb[target]) {
console.log(`[info] Downloading ${target}...`);
execSync(`yarn install -f ${targetToLanceDb[target]} --no-save`);
execSync(`npm install -f ${targetToLanceDb[target]} --no-save`);
}
}

Expand Down
Loading

0 comments on commit ffd531d

Please sign in to comment.