Skip to content

Clean up yargs override#136

Merged
brianc merged 1 commit into
brianc:masterfrom
mureinik:yargs-cleanup
Jul 17, 2026
Merged

Clean up yargs override#136
brianc merged 1 commit into
brianc:masterfrom
mureinik:yargs-cleanup

Conversation

@mureinik

Copy link
Copy Markdown
Contributor

Follow up on 59a1c9a.
Using yargs@16.6.2 allows us to use a unified yargs version for all supproted Node.js versions instead of havng a workaround for Node.js 26 (and newer).
See yargs/yargs#2514 for details on the yargs fix.

This approach has two advantages:

  • It simplifies the build process by having a unified approach for every Node.js version
  • It (modorately) speeds up the Node.js 26 CI, as it can now use a straightforward npm ci, and no longer needs to perform package resolution with npm install.

Related to #132

Follow up on 59a1c9a.
Using `yargs@16.6.2` allows us to use a unified `yargs` version for all
supproted Node.js versions instead of having a workaround for Node.js 26 (and
newer).
See yargs/yargs#2514 for details on the `yargs` fix.

This approach has two advantages:
- It simplifies the build process by having a unified approach for every Node.js
  version
- It (moderately) speeds up the Node.js 26 CI, as it can now use a
  straightforward `npm ci`, and no longer needs to perform package resolution
  with `npm install`.

Related to brianc#132
@mureinik

Copy link
Copy Markdown
Contributor Author

Side note: yargs@17.7.3 contains the same fix. As this repo used 16.2.0 before this PR, I thought it was best to have the minimal change and not upgrade a major version.

@brianc

brianc commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Makes total sense. Thanks - dependency hell is real and you are helping move us out of it.

@brianc
brianc merged commit 9d055d0 into brianc:master Jul 17, 2026
5 checks passed
@mureinik
mureinik deleted the yargs-cleanup branch July 17, 2026 13:06
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.

2 participants