Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pnpm to version 9 #963

Merged
merged 1 commit into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/starter/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"tsconfig.json"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"build": "tsc --build --verbose && next build",
Expand Down
2 changes: 1 addition & 1 deletion packages/starter/nextjs-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"tsconfig.json"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"build": "tsc --build --verbose && next build",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/ant-design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"styles.css"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/base-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/react-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"styles.css"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": [
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/avana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/bitkeep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/bitpie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/clover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/coin98/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/coinbase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/coinhub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/fractal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/huobi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/hyperpay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/keystone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/krystal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/ledger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/mathwallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/neko/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/nightly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/nufi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/onto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/particle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/phantom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/safepal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/saifu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/salmon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/sky/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/solflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/solong/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/spot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"LICENSE"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"type": "module",
"sideEffects": false,
Expand Down
Loading
Loading