Skip to content

feat(node-version-file): support parsing devEngines field - #1283

Merged
v-HarithaVattikuti merged 5 commits into
actions:mainfrom
susnux:feat/support-dev-engines
Feb 23, 2026
Merged

feat(node-version-file): support parsing devEngines field#1283
v-HarithaVattikuti merged 5 commits into
actions:mainfrom
susnux:feat/support-dev-engines

Conversation

@susnux

@susnux susnux commented Apr 20, 2025

Copy link
Copy Markdown
Contributor

Description:
Currently if you want to support multiple versions for running (e.g. a library) but enforce a specific version for development you can set devEngines with npm 11.
This PR adds support for parsing the devEngines.runtime field (if it is set to node) for allowing automatic setup.

Related issue:

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@susnux
susnux requested a review from a team as a code owner April 20, 2025 11:24
@zanminkian

Copy link
Copy Markdown

Awsome! Appreciate for your work.

@susnux

This comment was marked as outdated.

Comment thread src/util.ts
Comment thread __tests__/main.test.ts Outdated