Skip to content

Conversation

Retsam
Copy link
Contributor

@Retsam Retsam commented Sep 11, 2025

The platform-specific packages are currently being published with:

"engines": {
   "node": ">=20.6.0"
}

This will prevent the correct architecture's package from automatically installing when running an older version of node. (At least, this happened with pnpm - not sure if other bundlers use the engines field when checking optionalDependencies)

Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
@jakebailey
Copy link
Member

I think this is fine to do to fix the "package manager doesn't install anything" problem; I did not mean to put the engines in the other packages (they have no code). But note that this doesn't mean the package is going to work outside the engines range.

@jakebailey jakebailey added this pull request to the merge queue Sep 11, 2025
Merged via the queue into microsoft:main with commit 81bb6b9 Sep 11, 2025
22 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.

2 participants