chore: use volta to manage node and npm versions
This commit is contained in:
		
							parent
							
								
									3cfc5f8bc2
								
							
						
					
					
						commit
						d600b40b0d
					
				| @ -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). | [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 | ```sh | ||||||
| nvm use | curl https://get.volta.sh | bash | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ### Project Setup | ### Project Setup | ||||||
|  | |||||||
| @ -65,5 +65,9 @@ | |||||||
|     "vite-svg-loader": "^3.2.0", |     "vite-svg-loader": "^3.2.0", | ||||||
|     "vitest": "^0.5.0", |     "vitest": "^0.5.0", | ||||||
|     "vue-tsc": "^0.31.4" |     "vue-tsc": "^0.31.4" | ||||||
|  |   }, | ||||||
|  |   "volta": { | ||||||
|  |     "node": "16.15.0", | ||||||
|  |     "npm": "8.5.5" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user