github JamieMason/syncpack 10.0.0

latest releases: 13.0.0, 12.4.0, 12.3.3...
16 months ago

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.

Don't miss a new syncpack release

NewReleases is sending notifications on new releases.