Skip to content

Releases: prantlf/package-cost

Release v0.3.0

18 Apr 22:35
Compare
Choose a tag to compare

BREAKING CHANGES:

  • Rename property tarballSize to tarSize.
  • Rename property unpackedSize to rawSize.
  • Rename option concurrency to parallel.
  • Convert the default export to named exports.

Other changes:

  • Let single-letter command-line argument chained in a single argument.
  • Compute size of the JavaScript bundle concatenated of the main module export and all its dependencies.
  • Compute compressed size of the minified JavaScript bundle.
  • Let the extent of the operation to be set to none or all - a single parameter for the two options below.
  • Let the operation be limited to the specified packages only without traversing their dependencies.
  • Let the operation print sizes for all package dependencies recursively.
  • Let the result be formatted in a table.
  • Let the table be sorted by a selected column.
  • Optionally cache the once computed package information.
  • Reduce the default parallelism to 10.
  • Execute NPM as a child process. The programmatic interface changed between NPM 6 and 7.

Release v0.2.0

12 Apr 01:04
Compare
Choose a tag to compare

Add typings.

Release v0.1.0

11 Apr 17:40
Compare
Choose a tag to compare

Expose the package size estimation method as an API.

Release v0.0.2

11 Apr 17:06
Compare
Choose a tag to compare

Add shebang to the binary script

Release v0.0.1

11 Apr 16:50
Compare
Choose a tag to compare

Initial release.