Skip to content

Align runtime to Node 20 LTS and enforce version via engines/.nvmrc; update README #1182

@BMJ-075

Description

@BMJ-075

README states Node 16 (Gallium), but repo uses Yarn Berry (v4), @types/node@20, and node --test which requires Node 18+. Running with Node 16 can currently throw a Corepack URL.canParse error if the environment isn’t set up consistently.

Proposed changes:

  • Update README to require Node 20.x LTS (Iron).
  • Add .nvmrc with 20.x (e.g., 20.19.0)
  • Add engines to package.json and .npmrc with engine-strict=true.
  • Add README setup steps: corepack enable and yarn --version sanity check.

Rationale: Prevents toolchain drift and avoids Corepack/Yarn mismatch. Matches TypeScript types and built-in test runner.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions