Creates npm-compatible tarballs from local projects.
Implements the npm pack functionality — reads files from package.json,
applies default exclusions, and generates a publishable tarball.
Summary
Functions
Checks if a file should always be included regardless of files field.
Returns the default files list when no files field is specified.
Checks if a file should be excluded from the tarball.
Lists files that would be included in the tarball.
Generates the tarball filename from package.json data.
Functions
Checks if a file should always be included regardless of files field.
Returns the default files list when no files field is specified.
Checks if a file should be excluded from the tarball.
Lists files that would be included in the tarball.
Generates the tarball filename from package.json data.