Skip to content

Releases: JamieMason/syncpack

10.9.3

31 Jul 19:50

Choose a tag to compare

10.9.3 (2023-07-31)

Features

10.7.3

03 Jul 21:16

Choose a tag to compare

10.7.3 (2023-07-03)

Bug Fixes

10.7.2

02 Jul 21:56

Choose a tag to compare

10.7.2 (2023-07-02)

Bug Fixes

  • npm: update dependencies (bf432a7)

Features

  • cli: add command to update dependencies (1c1be99)

10.6.1

18 Jun 21:51

Choose a tag to compare

10.6.1 (2023-06-18)

Features

  • Closes #111 – Throw when config is invalid, instead of defaulting
  • Closes #132 – Show more detailed information about errors and warnings
  • Closes #139 – Handle !negated globs
  • Closes #140 – When linting semver ranges, warn on non-semver versions but don't error

10.5.1

04 Jun 17:12

Choose a tag to compare

10.5.1 (2023-06-04)

Summary

  • Adds a new syncpack prompt command which displays a series of prompts to fix version mismatches which syncpack cannot fix automatically.
  • Adds a new Same Range Version Group which relaxes syncpack to ensure that all versions have semver ranges which all satisfy each other, instead of the default behaviour of them having to be identical.

Bug Fixes

  • cli: add missing syncpack-lint binary (ae265cb)

Features

  • cli: add prompt to fix unsupported mismatches (296fad5)
  • format: sort bin property alphabetically (f7c87a8)
  • groups: manage intersecting range versions (96d6c6d)

10.2.0

03 Jun 07:35

Choose a tag to compare

10.2.0 (2023-06-03)

Features

  • cli: change output of lint command (765376c), closes #134

10.1.0

29 May 19:32

Choose a tag to compare

10.1.0 (2023-05-29)

Features

10.0.0

28 May 11:09

Choose a tag to compare

10.0.0 (2023-05-28)

Summary

  • When using the workspace dependency type, packages installing that dependency no longer have to exactly match the version property of the package.json of origin.

    If the version or version range used by every dependent package matches, it is considered valid.
  • JavaScript config files now have support for TypeScript IntelliSense.

    See https://jamiemason.github.io/syncpack/config-file#typescript-intellisense.
  • Unsupported versions can now at least be managed via pinVersion, where previously anything which was not valid semver would be ignored.
  • TypeScript IntelliSense support helps catch invalid config, but more work is needed to display useful error messages at runtime.
  • Syncpack's internals are now better organised, so providing a Node.js API and general lint and fix CLI commands are now closer to being released.

Bug Fixes

BREAKING CHANGES

  • core:
    • fix-mismatches will now exit with a status code of 1 if there are mismatches among unsupported versions which syncpack cannot auto-fix.
    • Although they are still not auto-fixable, unsupported versions which were previously ignored are now acknowledged, which may introduce mismatches which previously would have been considered valid.
    • This release was also a huge rewrite of Syncpack's internals and, while there is a large amount of tests, some scenarios may have been missed.
    • If you run into any problems, please create an issue.

9.8.6

23 Apr 16:35

Choose a tag to compare

9.8.6 (2023-04-23)

Bug Fixes

  • config: prevent default source overriding rcfile (1d6a4ba), closes #123
  • npm: update minor dependencies (91f4967)

9.8.4

21 Feb 16:15

Choose a tag to compare

9.8.4 (2023-02-21)

Features

  • semver: support resolving with lowest version (a17e423), closes #110