Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: modern stack #122

Merged

Conversation

termontwouter
Copy link
Contributor

Given that official support for Node.js 14 and 16 has past (their respective end-of-life dates were April 30th and September 11th 2023), I propose we drop support for them in the Components.js stack. Moving to Node.js 18 brings a number of relevant advantages:

  • (Finally) stable ESM support!
  • (Experimental) integrated fetch API!
  • Support for Yarn 4, which brings us:
    • Full integration with Node.js CorePack
    • Automatic management of @types/... packages.
    • Support for (unasserted) JSON modules
    • ESM loaders

Note: I first did a bump to Node.js 16 (with Yarn 3). Should we still want to support that version longer, the last commit can be reverted.

@rubensworks rubensworks merged commit 557cd41 into LinkedSoftwareDependencies:master Nov 30, 2023
15 checks passed
@rubensworks
Copy link
Member

Nice, thanks!

@termontwouter termontwouter deleted the build/modern-stack branch December 19, 2023 21:38
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