Skip to content

Replace the published engines field with devEngines in the JS client - #87

Merged
lorisleiva merged 2 commits into
mainfrom
loris/drop-published-engines
Sep 1, 2026
Merged

Replace the published engines field with devEngines in the JS client#87
lorisleiva merged 2 commits into
mainfrom
loris/drop-published-engines

Conversation

@lorisleiva

@lorisleiva lorisleiva commented Sep 1, 2026

Copy link
Copy Markdown
Member

This PR removes the engines field from the published JS client manifest and declares the Node 24 dev-tooling floor via devEngines.runtime instead. engines constrains consumers rather than contributors — Yarn Classic hard-fails installing the client into any project running Node < 24 (see solana-program/token#176) — while the client's actual runtime floor is simply inherited from @solana/kit. devEngines only applies to this repository's own development and is enforced by npm ≥ 10.9.

This PR removes the engines field from the published JS client manifest and declares the Node 24 dev-tooling floor via devEngines.runtime instead. engines constrains consumers rather than contributors - Yarn Classic hard-fails installing the client into any project running Node < 24 - while the client's actual runtime floor is simply inherited from @solana/kit. devEngines only applies to this repository's own development and is enforced by npm ≥ 10.9. It also bumps the pinned pnpm from 9.1.0 to 10.15.1 to align with the rest of the fleet, with lockfiles rebuilt from scratch using the pinned version.
Restores the root manifest and both lockfiles to main. The from-scratch root lockfile rebuild that accompanied the pnpm 10 bump re-resolved the Codama renderers, whose newer patch versions change the generated Rust client output and fail the client-generation check. The pnpm alignment and the renderer bump will each get their own PR.
@lorisleiva
lorisleiva merged commit 35a1e2d into main Sep 1, 2026
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.

1 participant