Skip to content
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
7 changes: 7 additions & 0 deletions .changeset/node-22-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@seamless-auth/client': patch
'@seamless-auth/react': patch
'@seamless-auth/react-native': patch
---

Support Node 22 and newer. The `engines` field now requires `>=22` instead of `>=24.0.0 <25.0.0`, and CI runs on Node 22, 24, and the latest release (fells-code/seamless-auth-api#339).
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [24]
# The supported range is engines >=22: the oldest supported LTS, the
# development default from .nvmrc, and the newest release.
node-version: [22, 24, latest]

steps:
- name: Checkout repo
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ The workflow:
Do not create release tags manually for normal releases. The workflow owns stable package tags after
the reviewed release PR is merged.

This package targets a Node 24 baseline. The `engines` field requires Node 24 (`>=24.0.0 <25.0.0`),
`.nvmrc` pins 24, and both CI and release automation run on Node 24 in GitHub Actions. Use Node 24.10
or newer locally so development and release commands match the workflows.
These packages support Node 22 or newer. The `engines` field requires `>=22`, and CI tests Node 22,
24, and the latest release. `.nvmrc` pins 24, which release automation uses, so use Node 24.10 or
newer locally to match the release workflow.

### npm Publishing

Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"packages/react-native"
],
"engines": {
"node": ">=24.0.0 <25.0.0",
"node": ">=22",
"npm": ">=9.0.0 <13.0.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"LICENSE"
],
"engines": {
"node": ">=24.0.0 <25.0.0",
"node": ">=22",
"npm": ">=9.0.0 <13.0.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"LICENSE"
],
"engines": {
"node": ">=24.0.0 <25.0.0",
"node": ">=22",
"npm": ">=9.0.0 <13.0.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"LICENSE"
],
"engines": {
"node": ">=24.0.0 <25.0.0",
"node": ">=22",
"npm": ">=9.0.0 <13.0.0"
},
"scripts": {
Expand Down
Loading