Skip to content

Commit

Permalink
ts: Update engines.node to >= 17 (#3301)
Browse files Browse the repository at this point in the history
  • Loading branch information
acheroncrypto authored Oct 9, 2024
1 parent 6eb4cc7 commit aa48efb
Show file tree
Hide file tree
Showing 46 changed files with 107 additions and 106 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ The minor version will be incremented upon a breaking change and the patch versi
- lang: Fix constant bytes declarations when using `declare_program!` ([#3287](https://github.com/coral-xyz/anchor/pull/3287)).
- lang: Fix using non-instruction composite accounts with `declare_program!` ([#3290](https://github.com/coral-xyz/anchor/pull/3290)).
- idl: Fix instructions with tuple parameters not producing an error([#3294](https://github.com/coral-xyz/anchor/pull/3294)).
- ts: Update `engines.node` to `>= 17` ([#3301](https://github.com/coral-xyz/anchor/pull/3301)).

### Breaking

Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/basic-0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test --skip-lint && anchor clean"
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/basic-1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test --skip-lint && anchor clean"
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/basic-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test --skip-lint && anchor clean"
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/basic-3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test --skip-lint && anchor clean"
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/basic-4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test --skip-lint && anchor clean"
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/basic-5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test --skip-lint && anchor clean"
Expand Down
2 changes: 1 addition & 1 deletion tests/anchor-cli-account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/anchor-cli-idl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "./test.sh"
Expand Down
28 changes: 14 additions & 14 deletions tests/bpf-upgradeable-state/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "bpf-upgradeable-state",
"version": "0.24.0",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {
"url": "https://github.com/coral-xyz/anchor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
}
"name": "bpf-upgradeable-state",
"version": "0.24.0",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {
"url": "https://github.com/coral-xyz/anchor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=17"
}
}
2 changes: 1 addition & 1 deletion tests/cashiers-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/cfo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor run test-with-build"
Expand Down
2 changes: 1 addition & 1 deletion tests/chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/composite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/cpi-returns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor run test-with-build"
Expand Down
2 changes: 1 addition & 1 deletion tests/custom-coder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test --skip-lint"
Expand Down
2 changes: 1 addition & 1 deletion tests/declare-id/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/escrow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
34 changes: 17 additions & 17 deletions tests/floats/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "floats",
"version": "0.30.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {
"url": "https://github.com/coral-xyz/anchor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
},
"scripts": {
"test": "anchor test"
}
"name": "floats",
"version": "0.30.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {
"url": "https://github.com/coral-xyz/anchor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=17"
},
"scripts": {
"test": "anchor test"
}
}
2 changes: 1 addition & 1 deletion tests/ido-pool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/lockup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/misc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
34 changes: 17 additions & 17 deletions tests/multiple-suites-run-single/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "multiple-suites-run-single",
"version": "0.24.2",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {
"url": "https://github.com/coral-xyz/anchor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
},
"scripts": {
"test": "anchor test"
}
"name": "multiple-suites-run-single",
"version": "0.24.2",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {
"url": "https://github.com/coral-xyz/anchor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=17"
},
"scripts": {
"test": "anchor test"
}
}
34 changes: 17 additions & 17 deletions tests/multiple-suites/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "multiple-suites",
"version": "0.30.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {
"url": "https://github.com/coral-xyz/anchor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
},
"scripts": {
"test": "anchor test"
}
"name": "multiple-suites",
"version": "0.30.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {
"url": "https://github.com/coral-xyz/anchor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=17"
},
"scripts": {
"test": "anchor test"
}
}
2 changes: 1 addition & 1 deletion tests/multisig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/optional/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/pda-derivation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/pyth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
2 changes: 1 addition & 1 deletion tests/realloc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"
Expand Down
Loading

0 comments on commit aa48efb

Please sign in to comment.