Consistent dependency versions in large JavaScript Monorepos.
MIT License
Bot releases are visible (Hide)
Aside from updating npm dependencies, all changes are pull requests by @ardelato, @evaliyev, @mctrafik, and @chaseholdren – thanks for contributing.
Published by JamieMason 10 months ago
Published by JamieMason 10 months ago
See also the release notes for 12.0.0-alpha.0 and 12.0.0-alpha.1 for all changes made in
latest
since 11.2.1.
Published by JamieMason 10 months ago
Published by JamieMason 12 months ago
$LOCAL
keyword in config, Closes #161dependencies: ["**"]
and packages: ["**"]
to be omittedsyncpack list
, Closes #162--indent ‘\t’
workspace:~
and workspace:*
npm:[email protected]
>=1.0.0 <=3.0.0
git://github.com/user/project.git#0.3.0
4.0.0-alpha.61
semverRange
has been deprecated in config files, if you'd like to define a global policy for semver ranges you can achieve this with a semver group.
{
- "semverRange": "^",
+ "semverGroups": [{ "range": "^" }]
}
There is no longer a default Semver Group. By default, version mismatches will be fixed while leaving the semver ranges as they were. This is intended to make it easier for new users to onboard, but it is recommended that you define Semver Groups yourself which match your project's requirements.
See the Getting Started guide for a walkthrough on this.
This is the biggest syncpack release to date and has taken a couple of months to complete. Given the scale of the changes, it is an alpha release.
The tests have been rewritten to be easier to maintain and bugs were found along the way, so there will be other small improvements and bug fixes which I've lost track of that are not listed here.
Please give it a try in a local branch and submit an issue if you find any problems.
There is a brand new Getting Started guide and other new documentation which I encourage you to read.
Finally, if anyone reading this finds syncpack useful then please tell people about it – it's completely free and has been a ton of work.
Published by JamieMason about 1 year ago
'!peer'
and '**'
(06f2e88)'workspace'
to 'local'
(463c936), closes #154
In command line options:
- syncpack list --types prod,workspace
+ syncpack list --types prod,local
In configuration files:
- dependencyTypes: ['prod', 'workspace'],
+ dependencyTypes: ['prod', 'local'],
Published by JamieMason over 1 year ago
Published by JamieMason over 1 year ago
syncpack prompt
command which displays a series of prompts to fix version mismatches which syncpack cannot fix automatically.Published by JamieMason over 1 year ago
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.pinVersion
, where previously anything which was not valid semver would be ignored.fix-mismatches
will now exit with a status code of 1 if there are mismatches among unsupported versions which syncpack cannot auto-fix.