Skip to content

Add an engines field to package.json #425

Description

@grantfox-oss

package.json has no engines field, so there's nothing stopping (or even warning) a contributor from running this on an incompatible Node version — relevant for a project onboarding many external GrantFox contributors who will each have their own local Node setup.

Scope: Add an engines.node field matching whatever version this project is actually built/tested against (check .github/workflows/ and any Docker/CI config for the Node version already in use elsewhere, so this doesn't introduce a new, undocumented requirement — it should just make an existing implicit one explicit).

Acceptance criteria:

engines.node is set to match the version already used in CI
npm install on that Node version proceeds without a new warning

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions