Skip to content

Commit

Permalink
Fix engines.node to match module template
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmire committed Feb 9, 2024
1 parent 63deb23 commit 65304db
Show file tree
Hide file tree
Showing 33 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ gen_enforced_dependency(WorkspaceCwd, DependencyIdent, CorrectPeerDependencyRang
).

% All packages must specify a minimum Node version of 18.
gen_enforced_field(WorkspaceCwd, 'engines.node', '>=18.18 || >=20').
gen_enforced_field(WorkspaceCwd, 'engines.node', '^18.18 || >=20').

% All published packages are public.
gen_enforced_field(WorkspaceCwd, 'publishConfig.access', 'public') :-
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"lavamoat": {
"allowScripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/accounts-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@metamask/snaps-controllers": "^4.0.0"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/address-book-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/announcement-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/approval-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/assets-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"@metamask/preferences-controller": "^7.0.0"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/base-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/build-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/composable-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/controller-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/ens-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@metamask/network-controller": "^17.2.0"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/eth-json-rpc-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/gas-fee-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@metamask/network-controller": "^17.2.0"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/json-rpc-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/json-rpc-middleware-stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"webextension-polyfill-ts": "^0.26.0"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/keyring-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"uuid": "^8.3.2"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/logging-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/message-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/name-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/network-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/notification-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/permission-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@metamask/approval-controller": "^5.1.2"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/permission-log-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/phishing-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/polling-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@metamask/network-controller": "^17.2.0"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/preferences-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@metamask/keyring-controller": "^12.2.0"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/queued-request-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@metamask/selected-network-controller": "^7.0.1"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/rate-limit-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"typescript": "~4.8.4"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/selected-network-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@metamask/network-controller": "^17.2.0"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/signature-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@metamask/logging-controller": "^2.0.2"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/transaction-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@metamask/network-controller": "^17.2.0"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/user-operation-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@metamask/transaction-controller": "^21.2.0"
},
"engines": {
"node": ">=18.18 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down

0 comments on commit 65304db

Please sign in to comment.