Releases: JamieMason/syncpack
8.2.5
8.2.4
8.0.0
8.0.0 (2022-05-31)
Features
BREAKING CHANGES
-
pnpm: The
--overridesoption delivered in 6.0.0 was originally intended to support pnpm, but erroneously read from the.overridesproperty of package.json files and not.pnpm.overrides.However, npm now also has an
.overridesproperty to support the same functionality for users of npm.From this release, the
--overridesoption of syncpack now refers to npm overrides. Pnpm users should change to using the new--pnpmOverridesoption instead.
7.2.2
7.2.1
7.1.0
7.0.0
7.0.0 (2022-04-27)
Bug Fixes
Features
BREAKING CHANGES
- cli: If a package developed in your Monorepo depends on another package developed in your Monorepo, syncpack will now fix the installed version of the dependent to match the actual version from the package.json file of the local package.
You can disable this functionality by setting "workspace": false in your .syncpackrc config file, or by omitting the new --workspace option when using --dev, --prod etc. to define which dependency types you wish to include.
6.2.1
6.2.0
6.2.0 (2022-01-03)
Features
- groups: target specific dependency types (565c1e7)
Examples
Use loose semver ranges for devDependencies only, with the rest of the repo using the default setting.
{
"semverGroups": [
{
"dependencies": ["**"],
"dependencyTypes": ["devDependencies"],
"packages": ["**"],
"semverRange": "^"
}
]
}Force the version of jest to * (latest) for the whole monorepo, but only within peerDependencies.
{
"versionGroups": [
{
"dependencies": ["jest"],
"dependencyTypes": ["peerDependencies"],
"packages": ["**"],
"pinVersion": "*"
}
]
}6.1.0
6.1.0 (2022-01-03)
Features
Examples
Set every dependency from the AWS SDK to all use 1.64.1 in the whole monorepo.
- @aws-cdk/assert 1.64.1
- @aws-cdk/aws-s3 1.64.1
- @aws-cdk/aws-ssm 1.64.1
- @aws-cdk/core 1.64.1
{
"versionGroups": [
{
"dependencies": ["@aws-cdk/**"],
"packages": ["**"],
"pinVersion": "1.64.1"
}
]
}Set every dependency from the AWS SDK to 1.64.1 in your alpha packages, and 0.37.0 for those packages in the rest of the monorepo:
{
"versionGroups": [
{
"dependencies": ["@aws-cdk/**"],
"packages": ["@alpha/**"],
"pinVersion": "1.64.1"
},
{
"dependencies": ["@aws-cdk/**"],
"packages": ["**"],
"pinVersion": "0.37.0"
}
]
}Lock the version of lodash everywhere
{
"versionGroups": [
{
"dependencies": ["lodash"],
"packages": ["**"],
"pinVersion": "14.17.0"
}
]
}Use webpack@4 in some packages and webpack@5 in others
{
"versionGroups": [
{
"dependencies": ["webpack"],
"packages": ["@old-stuff/server", "@old-stuff/ui"],
"pinVersion": "4.x.x"
},
{
"dependencies": ["webpack"],
"packages": ["@new-stuff/server", "@new-stuff/ui"],
"pinVersion": "5.x.x"
}
]
}