From 575dcc7c26e4f2253a0b3c18bee85e7a11e68acf Mon Sep 17 00:00:00 2001 From: steveluscher Date: Mon, 13 May 2024 23:16:08 +0000 Subject: [PATCH] `pnpm` to version 9 --- .github/workflows/build-and-test.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- BUILD.md | 6 +++--- package.json | 6 +++--- packages/core/base/package.json | 2 +- packages/core/react/package.json | 2 +- packages/starter/example/package.json | 2 +- packages/starter/nextjs-starter/package.json | 2 +- packages/ui/ant-design/package.json | 2 +- packages/ui/base-ui/package.json | 2 +- packages/ui/material-ui/package.json | 2 +- packages/ui/react-ui/package.json | 2 +- packages/wallets/alpha/package.json | 2 +- packages/wallets/avana/package.json | 2 +- packages/wallets/bitkeep/package.json | 2 +- packages/wallets/bitpie/package.json | 2 +- packages/wallets/clover/package.json | 2 +- packages/wallets/coin98/package.json | 2 +- packages/wallets/coinbase/package.json | 2 +- packages/wallets/coinhub/package.json | 2 +- packages/wallets/fractal/package.json | 2 +- packages/wallets/huobi/package.json | 2 +- packages/wallets/hyperpay/package.json | 2 +- packages/wallets/keystone/package.json | 2 +- packages/wallets/krystal/package.json | 2 +- packages/wallets/ledger/package.json | 2 +- packages/wallets/mathwallet/package.json | 2 +- packages/wallets/neko/package.json | 2 +- packages/wallets/nightly/package.json | 2 +- packages/wallets/nufi/package.json | 2 +- packages/wallets/onto/package.json | 2 +- packages/wallets/particle/package.json | 2 +- packages/wallets/phantom/package.json | 2 +- packages/wallets/safepal/package.json | 2 +- packages/wallets/saifu/package.json | 2 +- packages/wallets/salmon/package.json | 2 +- packages/wallets/sky/package.json | 2 +- packages/wallets/solflare/package.json | 2 +- packages/wallets/solong/package.json | 2 +- packages/wallets/spot/package.json | 2 +- packages/wallets/tokenary/package.json | 2 +- packages/wallets/tokenpocket/package.json | 2 +- packages/wallets/torus/package.json | 2 +- packages/wallets/trezor/package.json | 2 +- packages/wallets/trust/package.json | 2 +- packages/wallets/unsafe-burner/package.json | 2 +- packages/wallets/walletconnect/package.json | 2 +- packages/wallets/wallets/package.json | 2 +- packages/wallets/xdefi/package.json | 2 +- pnpm-lock.yaml | 12 ++++++------ 50 files changed, 61 insertions(+), 61 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index eea12b302..65c0a37cd 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -23,14 +23,14 @@ jobs: id: install-pnpm uses: pnpm/action-setup@v2 with: - version: 8 + version: 9 run_install: false - name: Install Node.js id: install-node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 cache: 'pnpm' - name: Get pnpm store directory diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df179796f..0d702bc47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,14 +23,14 @@ jobs: id: install-pnpm uses: pnpm/action-setup@v2 with: - version: 8 + version: 9 run_install: false - name: Install Node.js id: install-node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 cache: 'pnpm' - name: Get pnpm store directory diff --git a/BUILD.md b/BUILD.md index 6e1225812..51146ad91 100644 --- a/BUILD.md +++ b/BUILD.md @@ -2,8 +2,8 @@ ### 0. Prerequisites -* Node 16+ -* PNPM +* Node 18+ +* PNPM 9+ If you have Node 16+, you can [activate PNPM with Corepack](https://pnpm.io/installation#using-corepack): ```shell @@ -13,7 +13,7 @@ corepack prepare pnpm@`npm info pnpm --json | jq -r .version` --activate Corepack requires a version to enable, so if you don't have [jq](https://stedolan.github.io/jq/) installed, you can [install it](https://formulae.brew.sh/formula/jq), or just manually get the current version of pnpm with `npm info pnpm` and use it like this: ```shell -corepack prepare pnpm@8.1.0 --activate +corepack prepare pnpm@9.1.0 --activate ``` ### 1. Clone the project: diff --git a/package.json b/package.json index 93dfb9c40..3c45b514a 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "repository": "https://github.com/anza-xyz/wallet-adapter", "license": "Apache-2.0", "engines": { - "node": ">=16", - "pnpm": ">=8" + "node": ">=18", + "pnpm": ">=9" }, "type": "module", "sideEffects": false, @@ -40,7 +40,7 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-require-extensions": "^0.1.3", "gh-pages": "^4.0.0", - "pnpm": "^8.6.3", + "pnpm": "^9", "prettier": "^2.8.8", "shx": "^0.3.4", "turbo": "^1.13.3", diff --git a/packages/core/base/package.json b/packages/core/base/package.json index 5ef6faa2a..f2a6975bf 100644 --- a/packages/core/base/package.json +++ b/packages/core/base/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/core/react/package.json b/packages/core/react/package.json index 827e843e2..5a4d5067b 100644 --- a/packages/core/react/package.json +++ b/packages/core/react/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/starter/example/package.json b/packages/starter/example/package.json index 62a32446c..f6bd8ff6c 100644 --- a/packages/starter/example/package.json +++ b/packages/starter/example/package.json @@ -23,7 +23,7 @@ "tsconfig.json" ], "engines": { - "node": ">=16" + "node": ">=18" }, "scripts": { "build": "tsc --build --verbose && next build", diff --git a/packages/starter/nextjs-starter/package.json b/packages/starter/nextjs-starter/package.json index 2643e7376..7e444bb70 100644 --- a/packages/starter/nextjs-starter/package.json +++ b/packages/starter/nextjs-starter/package.json @@ -23,7 +23,7 @@ "tsconfig.json" ], "engines": { - "node": ">=16" + "node": ">=18" }, "scripts": { "build": "tsc --build --verbose && next build", diff --git a/packages/ui/ant-design/package.json b/packages/ui/ant-design/package.json index e2f710639..aea6b1c5f 100644 --- a/packages/ui/ant-design/package.json +++ b/packages/ui/ant-design/package.json @@ -14,7 +14,7 @@ "styles.css" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/ui/base-ui/package.json b/packages/ui/base-ui/package.json index 059f66be4..4b25ecb58 100644 --- a/packages/ui/base-ui/package.json +++ b/packages/ui/base-ui/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/ui/material-ui/package.json b/packages/ui/material-ui/package.json index c9c5e3613..6e95ba3fb 100644 --- a/packages/ui/material-ui/package.json +++ b/packages/ui/material-ui/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/ui/react-ui/package.json b/packages/ui/react-ui/package.json index 24b6392a4..22a97c970 100644 --- a/packages/ui/react-ui/package.json +++ b/packages/ui/react-ui/package.json @@ -14,7 +14,7 @@ "styles.css" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": [ diff --git a/packages/wallets/alpha/package.json b/packages/wallets/alpha/package.json index 10033fe60..20f5908c5 100644 --- a/packages/wallets/alpha/package.json +++ b/packages/wallets/alpha/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/avana/package.json b/packages/wallets/avana/package.json index 89cc007e1..c997a58b9 100644 --- a/packages/wallets/avana/package.json +++ b/packages/wallets/avana/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/bitkeep/package.json b/packages/wallets/bitkeep/package.json index 9aa264bb2..210db255d 100644 --- a/packages/wallets/bitkeep/package.json +++ b/packages/wallets/bitkeep/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/bitpie/package.json b/packages/wallets/bitpie/package.json index 4fcd0817c..2f7a6aed4 100644 --- a/packages/wallets/bitpie/package.json +++ b/packages/wallets/bitpie/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/clover/package.json b/packages/wallets/clover/package.json index 0010d5c1f..782c9e8ce 100644 --- a/packages/wallets/clover/package.json +++ b/packages/wallets/clover/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/coin98/package.json b/packages/wallets/coin98/package.json index f80d86db2..37e55d6e7 100644 --- a/packages/wallets/coin98/package.json +++ b/packages/wallets/coin98/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/coinbase/package.json b/packages/wallets/coinbase/package.json index 63135920f..213303a41 100644 --- a/packages/wallets/coinbase/package.json +++ b/packages/wallets/coinbase/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/coinhub/package.json b/packages/wallets/coinhub/package.json index 69f99e748..6c850fbe6 100644 --- a/packages/wallets/coinhub/package.json +++ b/packages/wallets/coinhub/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/fractal/package.json b/packages/wallets/fractal/package.json index 0738c0d31..cf494e768 100644 --- a/packages/wallets/fractal/package.json +++ b/packages/wallets/fractal/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/huobi/package.json b/packages/wallets/huobi/package.json index 3aee35dc4..6ea3ba2d0 100644 --- a/packages/wallets/huobi/package.json +++ b/packages/wallets/huobi/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/hyperpay/package.json b/packages/wallets/hyperpay/package.json index 1c566bf98..c20bfb97d 100644 --- a/packages/wallets/hyperpay/package.json +++ b/packages/wallets/hyperpay/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/keystone/package.json b/packages/wallets/keystone/package.json index a549a098d..f24da7435 100644 --- a/packages/wallets/keystone/package.json +++ b/packages/wallets/keystone/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/krystal/package.json b/packages/wallets/krystal/package.json index 20389c608..6f7cdf32b 100644 --- a/packages/wallets/krystal/package.json +++ b/packages/wallets/krystal/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/ledger/package.json b/packages/wallets/ledger/package.json index cbd88eef3..a9383665c 100644 --- a/packages/wallets/ledger/package.json +++ b/packages/wallets/ledger/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/mathwallet/package.json b/packages/wallets/mathwallet/package.json index 40c3e1116..49da41fd2 100644 --- a/packages/wallets/mathwallet/package.json +++ b/packages/wallets/mathwallet/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/neko/package.json b/packages/wallets/neko/package.json index b72a9c5b5..3be0a94ee 100644 --- a/packages/wallets/neko/package.json +++ b/packages/wallets/neko/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/nightly/package.json b/packages/wallets/nightly/package.json index 263349f96..ed86df5bf 100644 --- a/packages/wallets/nightly/package.json +++ b/packages/wallets/nightly/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/nufi/package.json b/packages/wallets/nufi/package.json index 2cf0acad7..fcbbb6478 100644 --- a/packages/wallets/nufi/package.json +++ b/packages/wallets/nufi/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/onto/package.json b/packages/wallets/onto/package.json index f3d00c074..e95a73481 100644 --- a/packages/wallets/onto/package.json +++ b/packages/wallets/onto/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/particle/package.json b/packages/wallets/particle/package.json index d64d9bc59..71162d84d 100644 --- a/packages/wallets/particle/package.json +++ b/packages/wallets/particle/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/phantom/package.json b/packages/wallets/phantom/package.json index ee7817484..2d4065788 100644 --- a/packages/wallets/phantom/package.json +++ b/packages/wallets/phantom/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/safepal/package.json b/packages/wallets/safepal/package.json index 3d08b7541..e41d9120b 100644 --- a/packages/wallets/safepal/package.json +++ b/packages/wallets/safepal/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/saifu/package.json b/packages/wallets/saifu/package.json index 94d2d7284..f6170b398 100644 --- a/packages/wallets/saifu/package.json +++ b/packages/wallets/saifu/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/salmon/package.json b/packages/wallets/salmon/package.json index 281df22fa..7bfe3c8ec 100644 --- a/packages/wallets/salmon/package.json +++ b/packages/wallets/salmon/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/sky/package.json b/packages/wallets/sky/package.json index 74a4d2b83..e7b485bde 100644 --- a/packages/wallets/sky/package.json +++ b/packages/wallets/sky/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/solflare/package.json b/packages/wallets/solflare/package.json index d2e7f17e3..4375a7d8e 100644 --- a/packages/wallets/solflare/package.json +++ b/packages/wallets/solflare/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/solong/package.json b/packages/wallets/solong/package.json index 099210ba3..29e0042a9 100644 --- a/packages/wallets/solong/package.json +++ b/packages/wallets/solong/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/spot/package.json b/packages/wallets/spot/package.json index 6c3536326..1a99e9067 100644 --- a/packages/wallets/spot/package.json +++ b/packages/wallets/spot/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/tokenary/package.json b/packages/wallets/tokenary/package.json index da80b4504..7bded4ae8 100644 --- a/packages/wallets/tokenary/package.json +++ b/packages/wallets/tokenary/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/tokenpocket/package.json b/packages/wallets/tokenpocket/package.json index f80d53f95..e13782dcc 100644 --- a/packages/wallets/tokenpocket/package.json +++ b/packages/wallets/tokenpocket/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/torus/package.json b/packages/wallets/torus/package.json index a04714689..4dad2d0ac 100644 --- a/packages/wallets/torus/package.json +++ b/packages/wallets/torus/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/trezor/package.json b/packages/wallets/trezor/package.json index f3b500791..742586b7a 100644 --- a/packages/wallets/trezor/package.json +++ b/packages/wallets/trezor/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/trust/package.json b/packages/wallets/trust/package.json index cb58ac461..c911853f1 100644 --- a/packages/wallets/trust/package.json +++ b/packages/wallets/trust/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/unsafe-burner/package.json b/packages/wallets/unsafe-burner/package.json index c5fef1414..851209817 100644 --- a/packages/wallets/unsafe-burner/package.json +++ b/packages/wallets/unsafe-burner/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/walletconnect/package.json b/packages/wallets/walletconnect/package.json index 70188c57d..47e5c1142 100644 --- a/packages/wallets/walletconnect/package.json +++ b/packages/wallets/walletconnect/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/wallets/package.json b/packages/wallets/wallets/package.json index f6bd33d1e..2fe685ce7 100644 --- a/packages/wallets/wallets/package.json +++ b/packages/wallets/wallets/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/packages/wallets/xdefi/package.json b/packages/wallets/xdefi/package.json index 1c51e44b8..69c21575f 100644 --- a/packages/wallets/xdefi/package.json +++ b/packages/wallets/xdefi/package.json @@ -13,7 +13,7 @@ "LICENSE" ], "engines": { - "node": ">=16" + "node": ">=18" }, "type": "module", "sideEffects": false, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e70a9599e..b8c685d14 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,8 +51,8 @@ importers: specifier: ^4.0.0 version: 4.0.0 pnpm: - specifier: ^8.6.3 - version: 8.6.9 + specifier: ^9 + version: 9.1.1 prettier: specifier: ^2.8.8 version: 2.8.8 @@ -8985,9 +8985,9 @@ packages: resolution: {integrity: sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==} engines: {node: '>=4.0.0'} - pnpm@8.6.9: - resolution: {integrity: sha512-LPEaCGvlV4dVGeJeHqi/pCR/SETooqmScv2wcr0gTqGUebpkt1w9TIEX0awLMhLO29p7pcXfz5ZO59B70Tnc0w==} - engines: {node: '>=16.14'} + pnpm@9.1.1: + resolution: {integrity: sha512-FOkVdZwR936sB/q6TQGcGT7IY3Ip5i7Jnu+3zzw7dcZER4grfEhRQkUe46a0CAWc37e3+gNBuXXxLQ92KccRlQ==} + engines: {node: '>=18.12'} hasBin: true pony-cause@2.1.10: @@ -22245,7 +22245,7 @@ snapshots: pngjs@3.4.0: {} - pnpm@8.6.9: {} + pnpm@9.1.1: {} pony-cause@2.1.10: {}