Harden dependency isolation check and run it in CI
npm pack runs the prepare script for directory specs even with --ignore-scripts and its output can pollute stdout, so locate the packed tarball on disk instead of parsing --json output. Run npm with a minimal environment so caller npm config cannot leak into the synthetic consumers, and require exact versions for the consumers' dependencies. Add a CI job that runs the check on Node 22.
O
Olivier Chafik committed
f28f5ddb3c3d451923d25e5591841ba76ef21df0
Parent: 9012373