Skip to content

Commit

Permalink
fix(devops): update package.common to check for correct node version (#…
Browse files Browse the repository at this point in the history
…1053)

* include check for node version 18 or higher on install

* update each package to check for node 18 or higher
  • Loading branch information
Orloaft authored Jul 13, 2023
1 parent 322e9a6 commit 19f7d29
Show file tree
Hide file tree
Showing 22 changed files with 84 additions and 18 deletions.
5 changes: 4 additions & 1 deletion yarn-project/acir-simulator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/archiver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/aztec-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/aztec-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/aztec-rpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
3 changes: 3 additions & 0 deletions yarn-project/aztec-sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,8 @@
},
"testRegex": "./src/.*\\.test\\.ts$",
"rootDir": "./src"
},
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/aztec.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/circuits.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
3 changes: 3 additions & 0 deletions yarn-project/ethereum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,8 @@
},
"testRegex": "./src/.*\\.test\\.ts$",
"rootDir": "./src"
},
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/foundation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/key-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/merkle-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,8 @@
"!dest/test",
"!src/test"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/noir-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/noir-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
3 changes: 3 additions & 0 deletions yarn-project/p2p-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,8 @@
},
"testRegex": "./src/.*\\.test\\.ts$",
"rootDir": "./src"
},
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/p2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
3 changes: 3 additions & 0 deletions yarn-project/package.common.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"formatting:fix": "run -T prettier -w ./src",
"test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --passWithNoTests"
},
"engines":{
"node":">=18"
},
"files": ["dest", "src", "!*.test.*"],
"types": "./dest/index.d.ts",
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion yarn-project/prover-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/rollup-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/sequencer-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}
5 changes: 4 additions & 1 deletion yarn-project/world-state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,8 @@
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts"
"types": "./dest/index.d.ts",
"engines": {
"node": ">=18"
}
}

0 comments on commit 19f7d29

Please sign in to comment.