Skip to content

Commit

Permalink
🔧(all) pin node to 16.15 for volta user
Browse files Browse the repository at this point in the history
Volta.js is a tool to manage easily several versions of Node locally.
This tool is able to switch automatically to the right Node version by
parsing package.json of the project. So we run volta pin [email protected] for
each of cunningham package.
  • Loading branch information
jbpenrath committed Apr 12, 2023
1 parent b0c6b88 commit c3934ce
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 3 deletions.
4 changes: 4 additions & 0 deletions apps/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,9 @@
},
"engines": {
"node": ">=16.0.0"
},
"volta": {
"node": "16.15.1",
"yarn": "1.22.19"
}
}
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"dependencies": {
"@changesets/cli": "2.26.1"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"volta": {
"node": "16.15.1",
"yarn": "1.22.19"
}
}

4 changes: 4 additions & 0 deletions packages/eslint-config-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0"
},
"volta": {
"node": "16.15.1",
"yarn": "1.22.19"
}
}
4 changes: 4 additions & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,9 @@
"vite-tsconfig-paths": "4.0.7",
"vitest": "0.29.8",
"vitest-fetch-mock": "0.2.2"
},
"volta": {
"node": "16.15.1",
"yarn": "1.22.19"
}
}
4 changes: 4 additions & 0 deletions packages/tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,9 @@
},
"engines": {
"node": ">=16.0.0"
},
"volta": {
"node": "16.15.1",
"yarn": "1.22.19"
}
}
6 changes: 5 additions & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"name": "@openfun/typescript-configs",
"version": "0.0.0",
"private": true
"private": true,
"volta": {
"node": "16.15.1",
"yarn": "1.22.19"
}
}

0 comments on commit c3934ce

Please sign in to comment.