Skip to content

chore: require Node.js 22 and accept kit 0.3 and schema 0.12 peers - #275

Merged
kodiakhq[bot] merged 2 commits into
mainfrom
chore/update-dependencies
Nov 2, 2026
Merged

kodiakhq[bot] merged 2 commits into
mainfrom
chore/update-dependencies

Conversation

@RedStar071

@RedStar071 RedStar071 commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

🔗 Linked issue

None. Related to #272, which bumps @wolfstar/kit to 0.3 and @wolfstar/schema to 0.12 as dev dependencies.

🧭 Context

Node.js 20 is end of life, and the published packages still declare >=20. Separately, @wolfstar/kit 0.3 and @wolfstar/schema 0.12 fall outside the ^0.2.0 and ^0.9.0 peer ranges, so a project on the new versions gets peer warnings from every plugin. Once #272 merges, pnpm peers check in this workspace reports the same warnings.

📚 Description

Raises the minimum Node.js version to 22 and widens the kit and schema peer ranges so both the old and the new versions are accepted.

Key changes

  • engines.node is >=22.0.0 in the eight packages that were on >=20, except plugin-i18next at >=22.22.0 because chokidar 6 needs it. plugin-gateway (>=24.17.0) and plugin-opentelemetry (>=22.15.0) already required more.
  • @wolfstar/kit peer range: ^0.2.0 becomes ^0.2.0 || ^0.3.0.
  • @wolfstar/schema peer range: ^0.9.0 becomes ^0.9.0 || ^0.12.0.
  • tests/module-entries.test.ts, AGENTS.md and the plugin-api README follow the new ranges.
  • Two changesets: Node 22 is a major for the 2.x packages (plugin-api, plugin-i18next, plugin-subcommands-advanced) and a minor for the 0.x ones. The peer ranges are a patch for every package.

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation change
  • Workflow / CI change

Pre-flight Checklist

  • I have read the Contributing Guidelines (if applicable)
  • My code follows the code style of this project
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have updated the documentation accordingly
  • I added a changeset with pnpm changeset (or pnpm changeset add --empty if no release is needed). See .changeset/README.md.

🤖 AI disclosure: Claude Code was used on this PR. Code written with claude-sonnet-5-5; PR description written with claude-sonnet-5-5. AI policy.

Raise engines.node to >=22.0.0 where it was lower.
Widen the @wolfstar/kit and @wolfstar/schema peer ranges to also accept
the 0.3 and 0.12 lines.
@coldtea-pr-lens

Copy link
Copy Markdown

Note

The title starts with chore:, so PR Lens left this pull request undrawn. Comment @pr-lens draw to draw it

github.comment.notice: false in .github/pr-lens.yml turns this note off

@wolfstarbot wolfstarbot added packages:plugin-api Changes in plugin-api packages:plugin-i18next Changes in plugin-i18next packages:plugin-logger Changes in plugin-logger packages:plugin-cache Changes in plugin-cache packages:plugin-gateway Changes in plugin-gateway packages:plugin-sharder Changes in plugin-sharder packages:plugin-broker Changes in plugin-broker packages:plugin-scheduled-tasks Changes in plugin-scheduled-tasks packages:plugin-opentelemetry Changes in plugin-opentelemetry labels Nov 2, 2026

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No critical issues — two small inconsistencies worth fixing before merge.

Reviewed changes

Reviewed the single commit: the Node floor and the kit/schema peer ranges across the ten packages, plus the changesets, AGENTS.md and the module-entries test.

  • Node 22 floor: engines.node becomes >=22.0.0 in the eight packages that were on >=20. The changeset bumps (major for plugin-api, plugin-i18next and plugin-subcommands-advanced, minor for the 0.x packages) match their current versions.
  • Peer ranges: @wolfstar/kit is ^0.2.0 || ^0.3.0 and @wolfstar/schema is ^0.9.0 || ^0.12.0 in all ten packages. These are the correct caret semantics for 0.x versions, and the dev ranges are left alone.
  • Docs and test: AGENTS.md and tests/module-entries.test.ts follow the new ranges.

ℹ️ plugin-api README still advertises Node >=20.18.1

packages/plugin-api/README.md:30 ("Requires Node.js >=20.18.1.") and :257 (the peer-range note ending in "Node.js >=20.18.1") now contradict engines.node. They are outside the diff, so I can't anchor them inline. The old design docs under docs/superpowers/ also mention >=20, but those are historical and can stay.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using claude-sonnet-5-5 | 𝕏

Comment thread packages/plugin-i18next/package.json Resolved
…gin-api README

plugin-i18next depends on chokidar 6, which needs Node 22.22.
The plugin-api README still named Node 20.18.1 and omitted framework 6.
@pkg-pr-new

pkg-pr-new Bot commented Nov 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

@wolfstar/plugin-api

pnpm add https://pkg.pr.new/@wolfstar/plugin-api@275

@wolfstar/plugin-broker

pnpm add https://pkg.pr.new/@wolfstar/plugin-broker@275

@wolfstar/plugin-cache

pnpm add https://pkg.pr.new/@wolfstar/plugin-cache@275

@wolfstar/plugin-gateway

pnpm add https://pkg.pr.new/@wolfstar/plugin-gateway@275

@wolfstar/plugin-i18next

pnpm add https://pkg.pr.new/@wolfstar/plugin-i18next@275

@wolfstar/plugin-logger

pnpm add https://pkg.pr.new/@wolfstar/plugin-logger@275

@wolfstar/plugin-opentelemetry

pnpm add https://pkg.pr.new/@wolfstar/plugin-opentelemetry@275

@wolfstar/plugin-scheduled-tasks

pnpm add https://pkg.pr.new/@wolfstar/plugin-scheduled-tasks@275

@wolfstar/plugin-sharder

pnpm add https://pkg.pr.new/@wolfstar/plugin-sharder@275

@wolfstar/plugin-subcommands-advanced

pnpm add https://pkg.pr.new/@wolfstar/plugin-subcommands-advanced@275

commit: 28e3651

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

Reviewed the new commit 28e3651 since the prior Pullfrog review of abacabd.

  • plugin-i18next engines: raised engines.node to >=22.22.0 to match chokidar 6, and AGENTS.md now lists it next to the other higher floors.
  • plugin-api README: the install note now says Node >=22.0.0, and the peer-range note lists ^3.6.0 || ^5.0.0 || ^6.0.0 with Node >=22.0.0, matching package.json.

Pullfrog  | View workflow run | Using claude-sonnet-5-5 | 𝕏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages:plugin-api Changes in plugin-api packages:plugin-broker Changes in plugin-broker packages:plugin-cache Changes in plugin-cache packages:plugin-gateway Changes in plugin-gateway packages:plugin-i18next Changes in plugin-i18next packages:plugin-logger Changes in plugin-logger packages:plugin-opentelemetry Changes in plugin-opentelemetry packages:plugin-scheduled-tasks Changes in plugin-scheduled-tasks packages:plugin-sharder Changes in plugin-sharder

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants