chore: use volta to manage node and npm versions

This commit is contained in:
Frode Fuglestad 2022-05-13 19:37:38 +02:00
parent 3cfc5f8bc2
commit d600b40b0d
2 changed files with 7 additions and 3 deletions

View file

@ -14,12 +14,12 @@ You have an idea of a tool? Submit a [feature request](https://github.com/Corent
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.vscode-typescript-vue-plugin).
### Node version
### Node & NPM versions
Ensure you have the correct node/npm version
Volta manages node and npm versions automatically in this project.
```sh
nvm use
curl https://get.volta.sh | bash
```
### Project Setup

View file

@ -65,5 +65,9 @@
"vite-svg-loader": "^3.2.0",
"vitest": "^0.5.0",
"vue-tsc": "^0.31.4"
},
"volta": {
"node": "16.15.0",
"npm": "8.5.5"
}
}