diff --git a/.changeset/fair-plums-roll.md b/.changeset/fair-plums-roll.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/fair-plums-roll.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/actions/ci-setup/action.yaml b/.github/actions/ci-setup/action.yaml index a56ce209fcd..503ae5c9af0 100644 --- a/.github/actions/ci-setup/action.yaml +++ b/.github/actions/ci-setup/action.yaml @@ -5,7 +5,7 @@ inputs: default: 18.14.1 pnpm-version: description: "PNPM version" - default: 8.6.1 + default: 8.9.0 runs: using: "composite" steps: diff --git a/.npmrc b/.npmrc index a47628ce30c..f91354d0b66 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,3 @@ auto-install-peers=true enable-pre-post-scripts=true +engine-strict=true diff --git a/package.json b/package.json index cda1e98a402..bf8a6788fc3 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,10 @@ "author": "Fuel Labs (https://fuel.network/)", "private": true, "engines": { - "node": ">= 18.14.1", - "pnpm": ">= 8.1.1" + "node": "^18.14.1", + "pnpm": "^8.9.0" }, - "packageManager": "pnpm@8.1.1", + "packageManager": "pnpm@8.9.0", "scripts": { "dev": "nodemon --config nodemon.config.json -x 'pnpm build:packages'", "build": "turbo run build", @@ -64,7 +64,7 @@ "eslint-config-prettier": "^8.5.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsdoc": "^37.9.7", + "eslint-plugin-jsdoc": "^46.8.2", "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.10", diff --git a/packages/abi-coder/package.json b/packages/abi-coder/package.json index f756da0e475..918f7e7b7d2 100644 --- a/packages/abi-coder/package.json +++ b/packages/abi-coder/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/abi-typegen/package.json b/packages/abi-typegen/package.json index 9222349ac4a..69af27980c7 100644 --- a/packages/abi-typegen/package.json +++ b/packages/abi-typegen/package.json @@ -9,6 +9,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/address/package.json b/packages/address/package.json index 9b6d09b5b83..8002e8a1200 100644 --- a/packages/address/package.json +++ b/packages/address/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/contract/package.json b/packages/contract/package.json index d460609dbdb..bf45e5449b4 100644 --- a/packages/contract/package.json +++ b/packages/contract/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 63eaf3d1ccb..3443ce24db9 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "browser": { "./dist/index.mjs": "./dist/index.browser.mjs" }, diff --git a/packages/errors/package.json b/packages/errors/package.json index b94f80ae1dc..90d3b039e72 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/fuels/package.json b/packages/fuels/package.json index 88029cb6aee..bf885b5fe5e 100644 --- a/packages/fuels/package.json +++ b/packages/fuels/package.json @@ -9,6 +9,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/hasher/package.json b/packages/hasher/package.json index e0a47858c85..cda66af215a 100644 --- a/packages/hasher/package.json +++ b/packages/hasher/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/hdwallet/package.json b/packages/hdwallet/package.json index 35a35d1b0a5..3dd6f80306b 100644 --- a/packages/hdwallet/package.json +++ b/packages/hdwallet/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/interfaces/package.json b/packages/interfaces/package.json index f376f18b812..c1ee14fb371 100644 --- a/packages/interfaces/package.json +++ b/packages/interfaces/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/math/package.json b/packages/math/package.json index f224b3acf47..6d5c780baf7 100644 --- a/packages/math/package.json +++ b/packages/math/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/merkle/package.json b/packages/merkle/package.json index 7436a681be4..a880e454534 100644 --- a/packages/merkle/package.json +++ b/packages/merkle/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/mnemonic/package.json b/packages/mnemonic/package.json index 99884aaee46..0ffc2f9e6a7 100644 --- a/packages/mnemonic/package.json +++ b/packages/mnemonic/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/predicate/package.json b/packages/predicate/package.json index 550f130e1d4..c4353924311 100644 --- a/packages/predicate/package.json +++ b/packages/predicate/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/program/package.json b/packages/program/package.json index 251b6e86b6f..228910f47d8 100644 --- a/packages/program/package.json +++ b/packages/program/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/providers/package.json b/packages/providers/package.json index 6787fef54bd..67a85463580 100644 --- a/packages/providers/package.json +++ b/packages/providers/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/script/package.json b/packages/script/package.json index 19339980041..a0b1f0838b8 100644 --- a/packages/script/package.json +++ b/packages/script/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/signer/package.json b/packages/signer/package.json index d63640f9019..b9eb4ce9cc9 100644 --- a/packages/signer/package.json +++ b/packages/signer/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/transactions/package.json b/packages/transactions/package.json index 9b88054a1aa..a28f8398882 100644 --- a/packages/transactions/package.json +++ b/packages/transactions/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/utils/package.json b/packages/utils/package.json index e837e61875a..d8872ca85c0 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/versions/package.json b/packages/versions/package.json index 44d4eb88aba..59f3c535567 100644 --- a/packages/versions/package.json +++ b/packages/versions/package.json @@ -9,6 +9,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/wallet-manager/package.json b/packages/wallet-manager/package.json index 92b118fa263..63fcbadb335 100644 --- a/packages/wallet-manager/package.json +++ b/packages/wallet-manager/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/wallet/package.json b/packages/wallet/package.json index 46ea3d8e024..99d4d1dd262 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -6,6 +6,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/packages/wordlists/package.json b/packages/wordlists/package.json index 2ad48a5e4e4..8d9cfac4862 100644 --- a/packages/wordlists/package.json +++ b/packages/wordlists/package.json @@ -7,6 +7,11 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "engines": { + "node": "^18.14.1", + "pnpm": "^8.9.0" + }, + "packageManager": "pnpm@8.9.0", "exports": { ".": { "require": "./dist/index.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1454978e6cd..8847f2fe8c3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -75,8 +75,8 @@ importers: specifier: ^2.26.0 version: 2.26.0(@typescript-eslint/parser@5.59.0)(eslint@8.38.0) eslint-plugin-jsdoc: - specifier: ^37.9.7 - version: 37.9.7(eslint@8.38.0) + specifier: ^46.8.2 + version: 46.8.2(eslint@8.38.0) eslint-plugin-jsx-a11y: specifier: ^6.6.1 version: 6.6.1(eslint@8.38.0) @@ -3271,13 +3271,13 @@ packages: - search-insights dev: true - /@es-joy/jsdoccomment@0.20.1: - resolution: {integrity: sha512-oeJK41dcdqkvdZy/HctKklJNkt/jh+av3PZARrZEl+fs/8HaHeeYoAvEwOV0u5I6bArTF17JEsTZMY359e/nfQ==} - engines: {node: ^12 || ^14 || ^16 || ^17} + /@es-joy/jsdoccomment@0.40.1: + resolution: {integrity: sha512-YORCdZSusAlBrFpZ77pJjc5r1bQs5caPWtAu+WWmiSo+8XaUzseapVrfAtiRFbQWnrBxxLLEwF6f6ZG/UgCQCg==} + engines: {node: '>=16'} dependencies: - comment-parser: 1.3.0 + comment-parser: 1.4.0 esquery: 1.5.0 - jsdoc-type-pratt-parser: 2.2.5 + jsdoc-type-pratt-parser: 4.0.0 dev: true /@esbuild-kit/cjs-loader@2.4.2: @@ -6672,6 +6672,11 @@ packages: normalize-path: 3.0.0 picomatch: 2.3.1 + /are-docs-informative@0.0.2: + resolution: {integrity: sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==} + engines: {node: '>=14'} + dev: true + /arg@4.1.3: resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} dev: true @@ -7261,7 +7266,6 @@ packages: /builtin-modules@3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} - dev: false /bundle-require@4.0.1(esbuild@0.17.19): resolution: {integrity: sha512-9NQkRHlNdNpDBGmLpngF3EFDcwodhMUuLz9PaWYciVcQF9SE4LFjM2DB/xV1Li5JiuDMv7ZUWuC3rGbqR0MAXQ==} @@ -7649,8 +7653,8 @@ packages: engines: {node: ^12.20.0 || >=14} dev: false - /comment-parser@1.3.0: - resolution: {integrity: sha512-hRpmWIKgzd81vn0ydoWoyPoALEOnF4wt8yKD35Ib1D6XC2siLiYaiqfGkYrunuKdsXGwpBpHU3+9r+RVw2NZfA==} + /comment-parser@1.4.0: + resolution: {integrity: sha512-QLyTNiZ2KDOibvFPlZ6ZngVsZ/0gYnE6uTXi5aoDg8ed3AkJAz4sEje3Y8a29hQ1s6A99MZXe47fLAXQ1rTqaw==} engines: {node: '>= 12.0.0'} dev: true @@ -8910,20 +8914,21 @@ packages: - typescript dev: false - /eslint-plugin-jsdoc@37.9.7(eslint@8.38.0): - resolution: {integrity: sha512-8alON8yYcStY94o0HycU2zkLKQdcS+qhhOUNQpfONHHwvI99afbmfpYuPqf6PbLz5pLZldG3Te5I0RbAiTN42g==} - engines: {node: ^12 || ^14 || ^16 || ^17} + /eslint-plugin-jsdoc@46.8.2(eslint@8.38.0): + resolution: {integrity: sha512-5TSnD018f3tUJNne4s4gDWQflbsgOycIKEUBoCLn6XtBMgNHxQFmV8vVxUtiPxAQq8lrX85OaSG/2gnctxw9uQ==} + engines: {node: '>=16'} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@es-joy/jsdoccomment': 0.20.1 - comment-parser: 1.3.0 + '@es-joy/jsdoccomment': 0.40.1 + are-docs-informative: 0.0.2 + comment-parser: 1.4.0 debug: 4.3.4 escape-string-regexp: 4.0.0 eslint: 8.38.0 esquery: 1.5.0 - regextras: 0.8.0 - semver: 7.3.8 + is-builtin-module: 3.2.1 + semver: 7.5.4 spdx-expression-parse: 3.0.1 transitivePeerDependencies: - supports-color @@ -10415,6 +10420,13 @@ packages: engines: {node: '>=4'} dev: true + /is-builtin-module@3.2.1: + resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} + engines: {node: '>=6'} + dependencies: + builtin-modules: 3.3.0 + dev: true + /is-callable@1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} @@ -11773,8 +11785,8 @@ packages: dependencies: argparse: 2.0.1 - /jsdoc-type-pratt-parser@2.2.5: - resolution: {integrity: sha512-2a6eRxSxp1BW040hFvaJxhsCMI9lT8QB8t14t+NY5tC5rckIR0U9cr2tjOeaFirmEOy6MHvmJnY7zTBHq431Lw==} + /jsdoc-type-pratt-parser@4.0.0: + resolution: {integrity: sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==} engines: {node: '>=12.0.0'} dev: true @@ -14713,11 +14725,6 @@ packages: unicode-match-property-value-ecmascript: 2.1.0 dev: false - /regextras@0.8.0: - resolution: {integrity: sha512-k519uI04Z3SaY0fLX843MRXnDeG2+vHOFsyhiPZvNLe7r8rD2YNRjq4BQLZZ0oAr2NrtvZlICsXysGNFPGa3CQ==} - engines: {node: '>=0.1.14'} - dev: true - /regjsparser@0.9.1: resolution: {integrity: sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==} hasBin: true @@ -15133,6 +15140,14 @@ packages: lru-cache: 6.0.0 dev: true + /semver@7.5.4: + resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} + engines: {node: '>=10'} + hasBin: true + dependencies: + lru-cache: 6.0.0 + dev: true + /send@0.18.0: resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} engines: {node: '>= 0.8.0'}