Change Log
All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
4.0.0 (2021-02-10)
Code Refactoring
- package: Move Package.lazy() to static method (e52108e)
Features
- package: Improve JSDoc-inferred types, encapsulation (4d80c38)
- Consume named exports of sibling modules (63499e3)
- Drop support for Node v6.x & v8.x (ff4bb4d)
- Expose named export (c1303f1)
- Remove default export (e2f1ec3)
- deps: load-json-file@^6.2.0 (239f54b)
- deps: npm-package-arg@^8.1.0 (12c8923)
- deps: write-pkg@^4.0.0 (34db21c)
BREAKING CHANGES
- The default export has been removed, please use a named export instead.
- package: The
lazy
named export is now a proper static method of Package
.
- Node v6.x & v8.x are no longer supported. Please upgrade to the latest LTS release.
Here's the gnarly one-liner I used to make these changes:
npx lerna exec --concurrency 1 --stream -- 'json -I -f package.json -e '"'"'this.engines=this.engines||{};this.engines.node=">= 10.18.0"'"'"
(requires npm i -g json
beforehand)
3.16.0 (2019-07-18)
Features
- deps:
load-json-file@^5.3.0
(3718cc9)
3.14.2 (2019-06-09)
Bug Fixes
- publish: Allow per-leaf subdirectory publishing (ea861d9), closes #2109
3.13.0 (2019-02-15)
Features
- meta: Add
repository.directory
field to package.json (aec5023)
- meta: Normalize package.json
homepage
field (abeb4dc)
3.11.0 (2019-02-08)
Bug Fixes
- deps: Explicit npm-package-arg ^6.1.0 (4b20791)
- deps: Remove unused libnpm (replaced by direct sub-packages) (1caeb28)
3.7.2 (2018-12-21)
Bug Fixes
- package: Add Package.lazy() helper (4aa9d37)
- package: Chain self from serialize() method for parity with refresh() (98c812c)
3.7.0 (2018-12-19)
Features
- package: Add .refresh() method to update internal state when external changes have occurred (905ba10)
3.6.0 (2018-12-07)
Features
3.0.0 (2018-08-10)
Bug Fixes
- publish: Improve
npm pack
experience (627cfc2)
Features
- package: Add tarball property (be453cd)
Bug Fixes
- core/package: Serialize hosted git URLs with original protocol/shorthand (60ff432), closes #1499
Bug Fixes
- package: Resolve correct relative spec (ec2b8f5)
Features
- package: Add
serialize()
method (fdec3ac)
- package: Add Map-like get/set methods, remove raw json getter (707d1f0)
BREAKING CHANGES
- package: The
Package
class no longer provides direct access to the JSON object
used to construct the instance. Map-like get()
/set(val)
methods are
available to modify the internal representation.
Features