Skip to content

Commit 9c380f7

Browse files
committed
codesandbox: use npm 8.5
Our engines requires this, but it's not in Node v16. Hat tip to @trevor-scheer who implemented this in the apollo-utils repo.
1 parent e9e8e1a commit 9c380f7

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.codesandbox/ci.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"buildCommand": "compile",
3+
"installCommand": "install-with-npm-8.5",
34
"packages": [
45
"packages/usage-reporting-protobuf",
56
"packages/server",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"compile": "tsc --build tsconfig.build.json",
99
"compile:clean": "tsc --build tsconfig.build.json --clean",
1010
"watch": "tsc --build tsconfig.build.json --watch",
11+
"install-with-npm-8.5": "npm i -g npm@^8.5.0 && npm i",
1112
"postinstall": "npm run compile",
1213
"pretest": "tsc --build tsconfig.json",
1314
"test": "jest --verbose",

0 commit comments

Comments
 (0)