Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Remove volta and engines.pnpm settings (#4583)

Olga Bulat1485ff67ecc8
diff --git a/.gitignore b/.gitignore
index e69e4c03a..b9d3c693f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,6 +34,7 @@ npm-debug.log*
# Nuxt
.nuxt
+node-jiti/
# Airflow
airflow.cfg
diff --git a/frontend/justfile b/frontend/justfile
index d70e59609..bd8868ad7 100644
--- a/frontend/justfile
+++ b/frontend/justfile
@@ -14,7 +14,7 @@ NO_COLOR := "\\033[0m"
# Version #
###########
-export FRONTEND_NODE_VERSION := `grep "volta" -A 1 ../package.json | tail -n 1 | awk -F'[:"]' '{print $5}' | cut -d. -f1`
+export FRONTEND_NODE_VERSION := `grep 'node": ">= ' ../package.json | awk -F'>= ' '{print $2}' | awk -F'.' '{print $1}'`
export FRONTEND_PNPM_VERSION := `grep 'packageManager' ../package.json | awk -F'@' '{print $2}' | sed 's/",//g'`
# Print the Node.js version specified in `package.json`
diff --git a/package.json b/package.json
index d115562ac..1d5ecd78a 100644
--- a/package.json
+++ b/package.json
@@ -15,11 +15,7 @@
},
"packageManager": "[email protected]",
"engines": {
- "node": ">= 20.0.0 <21",
- "pnpm": ">= 9.1.4"
- },
- "volta": {
- "node": "20.14.0"
+ "node": ">= 20.0.0 <21"
},
"devDependencies": {
"@openverse/eslint-plugin": "workspace:*",