ts: Update `engines.node` to `>= 17` (#3301)

This commit is contained in:
acheron 2024-10-09 23:58:09 +02:00 committed by GitHub
parent 6eb4cc7539
commit aa48efb437
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
46 changed files with 107 additions and 106 deletions

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "./test.sh"

View File

@ -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"
}
}

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor run test-with-build"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor run test-with-build"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test --skip-lint"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -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"
}
}

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -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"
}
}

View File

@ -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"
}
}

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor run test-with-build"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -11,7 +11,7 @@
"url": "https://github.com/coral-xyz/anchor.git"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"test": "anchor test"

View File

@ -19,7 +19,7 @@
"access": "public"
},
"engines": {
"node": ">=11"
"node": ">=17"
},
"scripts": {
"build": "rimraf dist/ && yarn build:node && yarn build:browser",