Skip to content

Releases: JamieMason/syncpack

10.1.0

29 May 19:32
Compare
Choose a tag to compare

10.1.0 (2023-05-29)

Features

10.0.0

28 May 11:09
Compare
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
Compare
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
Compare
Choose a tag to compare

9.8.4 (2023-02-21)

Features

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

9.7.4

19 Feb 20:39
Compare
Choose a tag to compare

9.7.4 (2023-02-19)

Bug Fixes

  • indent: use value from config file (aa31244)
  • npm: update dependencies (558d177)

Features

  • engines: increase node from 10 to 14 (603f058)
  • groups: handle long and multi-line labels (ecc58ff)
  • semver: recognise ^6, >=5 etc as valid (be637f0), closes #122
  • versionGroups: add optional snapTo property (fd0edb6), closes #87

Performance Improvements

  • imports: skip barrel files where possible (1ee2776)

9.3.2

17 Feb 12:16
Compare
Choose a tag to compare

9.3.2 (2023-02-17)

Features

  • groups: add optional label to semver/version groups (ff466af), closes #118
  • groups: output groups in order they're defined (88950f1), closes #120

9.1.2

16 Feb 23:07
Compare
Choose a tag to compare

9.1.2 (2023-02-16)

Features

  • semver: mention unsupported versions in output (69edcaf), closes #121 #119

Reverts

  • fix-mismatches: don't remove nested empty objects (393d004), closes #117

9.0.2

15 Feb 11:46
Compare
Choose a tag to compare

9.0.2 (2023-02-15)

Bug Fixes

  • options: fix --source regression in 9.0.0 (379409f), closes #116
  • semver: fix false positive for workspace mismatches (4f696c5)

9.0.0

14 Feb 19:06
Compare
Choose a tag to compare

9.0.0 (2023-02-14)

Features

  • custom: support custom version locations (2cd34fd), closes #112 #113
  • fix-mismatches: remove any empty objects (a279e56)

BREAKING CHANGES

  1. The following options were replaced in [email protected]:

    -p, --prod              include dependencies
    -d, --dev               include devDependencies
    -P, --peer              include peerDependencies
    -R, --resolutions       include resolutions (yarn)
    -o, --overrides         include overrides (npm)
    -O, --pnpmOverrides     include overrides (pnpm)
    -w, --workspace         include locally developed package versions
    

    Instead use the new --types option like so:

    --types dev,prod,peer
    
  2. In .syncpackrc, the following options were replaced:

    "dev": true,
    "overrides": true,
    "peer": true,
    "pnpmOverrides": true,
    "prod": true,
    "resolutions": true,
    "workspace": true,
    

    Instead use the new dependencyTypes array like so:

    "dependencyTypes": ["dev", "prod", "peer"]
    

8.5.14

07 Feb 19:52
Compare
Choose a tag to compare

8.5.14 (2023-02-07)

Bug Fixes

  • npm: update dependencies (f2c0322)
  • npm: update dependencies (3ec1361)
  • output: remove console.log in readConfigFileSync (1c51366), closes #106

Features

  • cli: tidy log output and make it more consistent (cb58070)