Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

enforced node version 20 #67

Merged
merged 1 commit into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions frontend/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# https://www.stefanjudis.com/today-i-learned/prevent-npm-install-for-not-supported-node-js-versions/

# ### node version 20
# install [nvm](https://github.com/nvm-sh/nvm)
#
# \> nvm install 20 \
# \> nvm use 20
#
# reload terminal window
#
# \> node -v
#
# ### npm version 10.2.4
# \> npm install -g [email protected] \
# \> npm -v

engine-strict=true
3 changes: 3 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"private": true,
"version": "0.0.0",
"type": "module",
"engines": {
"node": "^20.0.0"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
Expand Down