Skip to content

Migrate from yarn to npm, node 18 -> 22, use npm workspaces#5446

Merged
Tyriar merged 5 commits intoxtermjs:masterfrom
Tyriar:tyriar/npm
Nov 23, 2025
Merged

Migrate from yarn to npm, node 18 -> 22, use npm workspaces#5446
Tyriar merged 5 commits intoxtermjs:masterfrom
Tyriar:tyriar/npm

Conversation

@Tyriar
Copy link
Copy Markdown
Member

@Tyriar Tyriar commented Nov 23, 2025

  • Node 18 -> 22 to align to an LTS and what VS Code is currently on
  • yarn -> npm to simplify build system
  • npm workspaces instead of install-addons script to simplify build system
    • Build times will likely increase as a result of this, but there were some big problems running these before
  • Removed peer dependencies for addons
    • These were also complicating things and causing the build system to do weird things as @xterm/xterm would get installed into the addon's modules

Fixes #5245

@Tyriar Tyriar added this to the 6.0.0 milestone Nov 23, 2025
@Tyriar Tyriar self-assigned this Nov 23, 2025
@Tyriar Tyriar changed the title Migrate from yarn to npm, replace install-addons.js with npm workspaces Migrate from yarn to npm, node 18 -> 22, use npm workspaces Nov 23, 2025
@Tyriar Tyriar closed this Nov 23, 2025
@Tyriar Tyriar reopened this Nov 23, 2025
@Tyriar Tyriar marked this pull request as ready for review November 23, 2025 20:51
@Tyriar Tyriar merged commit 80c3164 into xtermjs:master Nov 23, 2025
13 checks passed
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.

Replace yarn with npm

1 participant