ts: Update `engines.node` to `>= 17` (#3301)
This commit is contained in:
parent
6eb4cc7539
commit
aa48efb437
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "./test.sh"
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor run test-with-build"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor run test-with-build"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test --skip-lint"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor run test-with-build"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"url": "https://github.com/coral-xyz/anchor.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "anchor test"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"access": "public"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=11"
|
||||
"node": ">=17"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rimraf dist/ && yarn build:node && yarn build:browser",
|
||||
|
|
Loading…
Reference in New Issue