package-json

Programmatic API to update package.json

OTHER License

Downloads
20.3M
Stars
53
Committers
5

Bot releases are visible (Hide)

package-json - v5.2.0 Latest Release

Published by github-actions[bot] 5 months ago

5.2.0 (2024-06-03)

Features

  • 62e585a #106 add readPackage helper (#106) (@wraithgar)
package-json - v5.1.1

Published by github-actions[bot] 5 months ago

5.1.1 (2024-05-28)

Bug Fixes

  • 54756d2 #105 apply securePath to package bin (#105) (@antongolub)
  • 46c563b add normalizePackageMan helper (#100) (@antongolub)
  • a974274 prevent directory.man referencing outside the package root (#104) (@antongolub)
  • 191b521 #102 invalid scripts warning fixed for undefined scripts (#102) (@milaninfy)

Chores

  • 45a2937 #98 bump @npmcli/template-oss to 4.22.0 (@lukekarrys)
  • 90863c1 #98 postinstall for dependabot template-oss PR (@lukekarrys)
package-json - v5.1.0

Published by github-actions[bot] 6 months ago

5.1.0 (2024-04-22)

Features

  • 17788d0 #96 add fromContent method to set contents directly (#96) (@lukekarrys)

Chores

  • 9597b84 #94 postinstall for dependabot template-oss PR (@lukekarrys)
  • 5e20e64 #94 bump @npmcli/template-oss from 4.21.3 to 4.21.4 (@dependabot[bot])
package-json - v5.0.3

Published by github-actions[bot] 6 months ago

5.0.3 (2024-04-12)

Dependencies

package-json - v5.0.2

Published by github-actions[bot] 6 months ago

5.0.2 (2024-04-10)

Bug Fixes

  • a67317b #90 perf: lazy load hosted git info on normalize (#90) (@H4ad)
  • 06df698 #89 perf: lazy load glob on normalize.js (#89) (@H4ad)
package-json - v5.0.1

Published by github-actions[bot] 6 months ago

5.0.1 (2024-04-07)

Bug Fixes

  • fda5722 #87 perf: lazy load un-common dependencies for npm run (#87) (@H4ad)
  • 71f09d6 #88 perf: only import necessary functions from semver (#88) (@H4ad)

Documentation

  • 6ebb3c9 #85 readme: fix broken badge URL (#85) (@10xLaCroixDrinker)

Chores

  • 66e0c23 #80 postinstall for dependabot template-oss PR (@lukekarrys)
  • 00e4bbb #80 bump @npmcli/template-oss from 4.21.1 to 4.21.3 (@dependabot[bot])
  • d784aa8 #77 postinstall for dependabot template-oss PR (@lukekarrys)
  • efeee22 #77 bump @npmcli/template-oss from 4.19.0 to 4.21.1 (@dependabot[bot])
  • a4df4cf #56 bump read-package-json from 6.0.4 to 7.0.0 (@dependabot[bot])
  • f7c048a #58 postinstall for dependabot template-oss PR (@lukekarrys)
  • 6240313 #58 bump @npmcli/template-oss from 4.18.1 to 4.19.0 (@dependabot[bot])
  • 5ab117c #57 postinstall for dependabot template-oss PR (@lukekarrys)
  • f56390e #57 bump @npmcli/template-oss from 4.18.0 to 4.18.1 (@dependabot[bot])
package-json - v5.0.0

Published by github-actions[bot] about 1 year ago

5.0.0 (2023-08-15)

⚠️ BREAKING CHANGES

  • support for node 14 has been removed

Bug Fixes

Dependencies

  • f08b79e #55 bump normalize-package-data from 5.0.0 to 6.0.0
  • 5c4de21 #52 bump hosted-git-info from 6.1.1 to 7.0.0
  • 02e0ef2 #51 bump @npmcli/git from 4.1.0 to 5.0.0
package-json - v4.0.1

Published by github-actions[bot] over 1 year ago

4.0.1 (2023-07-17)

Bug Fixes

  • 04bc9cf #49 don't report node_modules/.bin fix unless it happened (@wraithgar)
  • 3c1cb66 #49 inline bin normalization code (@wraithgar)
  • e97e423 #48 properly parse strict flag on version check (#48) (@wraithgar)
  • 3bcf2fd #47 only report bundleDependencies change if it was changed (@wraithgar)
  • 09d8573 #47 pull in fix logic from normalize-package-data (@wraithgar)
  • 60a09da #44 check for changes array during author step (#44) (@wraithgar)

Dependencies

package-json - v4.0.0

Published by github-actions[bot] over 1 year ago

4.0.0 (2023-07-05)

⚠️ BREAKING CHANGES

  • the path parameter is now tied to load and not the class constructor.

Features

  • e2bc4f3 #43 add fix method (@wraithgar)
  • 7ddb1d1 #41 add changes array to normalize functions (#41) (@wraithgar)
  • 4775bf3 add create functionality (@wraithgar)

Bug Fixes

  • ed68a28 #43 typo in changes message (@wraithgar)
  • c3d11c2 move path parameter to load (@wraithgar)
package-json - v3.1.1

Published by github-actions[bot] over 1 year ago

3.1.1 (2023-06-06)

Bug Fixes

  • 9e0859b #36 make prepare and normalize have feature parity with legacy packages (@lukekarrys)

Dependencies

package-json - v3.1.0

Published by github-actions[bot] over 1 year ago

3.1.0 (2023-05-15)

Features

Dependencies

package-json - v3.0.0

Published by github-actions[bot] about 2 years ago

3.0.0 (2022-10-12)

⚠️ BREAKING CHANGES

  • @npmcli/package-json is now compatible with the following semver range for node: ^14.17.0 || ^16.13.0 || >=18.0.0

Features

  • 7617680 #10 postinstall for dependabot template-oss PR (@lukekarrys)

Dependencies

  • 391bcb4 #17 bump json-parse-even-better-errors from 2.3.1 to 3.0.0
package-json - v2.0.0

Published by github-actions[bot] over 2 years ago

2.0.0 (2022-04-05)

⚠ BREAKING CHANGES

  • this drops support for node10 and non-LTS versions of node 12 and node 14

Documentation

Dependencies