Repository navigation
Target Node.js 26 - #9
Merged
Merged
Conversation
Wechaty 2.0 requires Node.js 26, the current LTS. Puppet Neo now requires it too: engines, CI, @types/node and the README build note move from 24 to 26. The dev container was already on 26. @types/node 26 no longer accepts the Puppet's typed emitter in events.once(), so the Puppet test waits for the message event with a small helper instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves Puppet Neo to the baseline Huan set for Wechaty 2.0: Node.js 26, TypeScript 7, native ESM only, and TypeScript that runs directly. Wechaty 2.0.0-alpha.13 requires Node.js 26 and still depends on
wechaty-puppet ^1.20.1, so thewechaty-puppet1.20.2 peer dependency stays.engines.nodechanges from>=22.18.0to>=26.@types/nodemoves from 24.19.2 to 26.6.6. The README build note now says Node.js 26. The dev container already used 26.@types/node26 no longer accepts the Puppet's typed emitter inevents.once(). The Puppet test now waits for themessageevent with a small helper.TypeScript 7.0.2, ESM-only exports and
node examples/ding-dong-bot.tswere already in place. The package still ships compileddist/because Node.js doesn't strip types from files undernode_modules.Validation in
node:26-trixie(Node 26.13, glibc 2.41) with the Linux x64 addon:npm ci,npm test(build, typecheck, 3 tests) andnpm run test:packagepass.🤖 Generated with Claude Code