npm / statusboard

Public monitor/status/health board for @npm/cli-team's maintained projects
https://npm.github.io/statusboard
Other
152 stars 50 forks source link

[epic] devEngines #861

Open wraithgar opened 2 months ago

wraithgar commented 2 months ago

Overview

Implement the spec at https://github.com/openjs-foundation/package-metadata-interoperability-collab-space/issues/15

The Plan

Because this has a complete overlap with existing checks we do for installs, npm-install-checks will still be where this logic lives. It will be changed to expect the data in this new format, and things that currently call it will conform their existing calls to that format. Then npm itself can also directly ask npm-install-checks passing it devEngines

# The Tasks
- [ ] add functionality to `npm-install-checks`
- [ ] move `npm-pick-manifest` over to new format of data
- [ ] have `npm install` et al pass `devEngines` and react accordingly
- [ ] docs
- [ ] add `libc` to `package.json` docs in cli
ljharb commented 2 months ago

My understanding is that npm won't implement the download field, and it's not clear if it will implement onFail either - if so, which enum values will it support?

wraithgar commented 2 months ago

It's not clear cause no code has been written. Please be patient.

ljharb commented 2 months ago

I just mean the plan isn't clear, no rush tho :-)

MrHBS commented 2 months ago

Is there a timeline for this?