The npm package size has significantly increased in version 11.12.1 compared to 11.12.0. The package footprint skyrocketed from approximately 13MB to 292MB.
Initial investigation of the installed files reveals that development artifacts and unrelated tools are being bundled into the production package. Specifically, I have identified:
/usr/lib/node_modules/npm/.git (full version history)
/usr/lib/node_modules/npm/node_modules/release-please (and its dependencies)
These files should be excluded during the Wolfi build process to maintain the minimal footprint expected of Wolfi packages.
npm 11.12.0

npm 11.12.1

apk info -s npm

Related commit: 9d3cfbd
The npm package size has significantly increased in version 11.12.1 compared to 11.12.0. The package footprint skyrocketed from approximately 13MB to 292MB.
Initial investigation of the installed files reveals that development artifacts and unrelated tools are being bundled into the production package. Specifically, I have identified:
These files should be excluded during the Wolfi build process to maintain the minimal footprint expected of Wolfi packages.
npm 11.12.0

npm 11.12.1

apk info -s npm

Related commit: 9d3cfbd