Files
Michael BiancoandGitHub 58da3e15a3 feat(node): include corepack shims in runtime image for Node 25+ (#568)
* test(node): add node-pnpm-corepack-runtime example

- Introduce a new example project demonstrating Node.js 25+ integration with Corepack and pnpm.
- Includes a test specification to verify runtime version and execution flow.

Generated-by: aiautocommit

* docs(node): document node 25 corepack behaviors and constraints

- Explain the shift in corepack availability and requirement in Node 25+.
- Detail the directory structure for shims and the impact on the build process.
- Update maintenance documentation to include pnpm lockfile version mapping.

Generated-by: aiautocommit

* feat(node): ensure corepack binaries are available in runtime

* Include /mise/installs and /mise/shims in buildIncludeDirs when using corepack.
* This ensures that binaries like pnpm are correctly captured in the final image despite runtime mutations performed by corepack.

Generated-by: aiautocommit

* chore(test): update expectations for Node 25 and pnpm 11 in runtime test

Generated-by: aiautocommit

* feat(test): add mise paths to build plan snapshots

- Include `/mise/installs` and `/mise/shims` in the build plan snapshots to support mise-managed toolchains.
- Update pnpm-corepack-runtime snapshot to reflect current install and build command logic.

Generated-by: aiautocommit

* docs: add architectural documentation for input ordering and layering

Generated-by: aiautocommit

* refactor: rename example directory and bump node version

- Rename node-pnpm-corepack-runtime to pnpm-corepack-runtime-usage to better reflect its purpose.
- Update node engine version to v26 in example configuration.
- Update test expectation to match the new node version.

Generated-by: aiautocommit

* test: rename snapshot file for pnpm-corepack-runtime test

Generated-by: aiautocommit
2026-06-01 09:07:49 +02:00

11 lines
222 B
JSON

[
{
"expectedOutput": [
"Node.js version: v26",
"Started through pnpm run start"
],
// pnpm 11 writes the invoked script command to stderr during `pnpm run start`.
"stderrAllowed": true
}
]