Skip to content

Test against Node.js v26#722

Merged
yhatt merged 8 commits intomainfrom
test-node-26
May 6, 2026
Merged

Test against Node.js v26#722
yhatt merged 8 commits intomainfrom
test-node-26

Conversation

@yhatt
Copy link
Copy Markdown
Member

@yhatt yhatt commented May 5, 2026

https://nodejs.org/ja/blog/release/v26.0.0

ToDo

  • Test for Linux (CircleCI)
  • Test for Windows (GitHub Actions)

Note

yargs v17 breaks require('yargs/yargs') in Node.js 26. By moving yargs from dependencies to devDependencies, rollup will bundle it while building, so require('yargs/yargs') can remove from the built source code.

yhatt added 2 commits May 6, 2026 01:19
For Linux, the Docker image of Node.js 26 is not ready.
@yhatt yhatt marked this pull request as draft May 5, 2026 17:15
@yhatt yhatt marked this pull request as draft May 5, 2026 17:15
yhatt added 3 commits May 7, 2026 00:42
yargs v17 breaks `require('yargs/yargs')` in Node.js 26. By moving yargs
from dependencies to devDependencies, rollup will bundle it while
building, so `require('yargs/yargs')` can remove from the source code.
@yhatt yhatt changed the title Added test against Node.js v26 Test against Node.js v26 May 6, 2026
@yhatt yhatt marked this pull request as ready for review May 6, 2026 16:26
@yhatt yhatt linked an issue May 6, 2026 that may be closed by this pull request
@yhatt yhatt merged commit 9f3b207 into main May 6, 2026
@yhatt yhatt deleted the test-node-26 branch May 6, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Node 25.7.0 runtime failure from yargs v17 (require is not defined)

1 participant