Skip to content

Releases: JamieMason/syncpack

6.2.1

12 Apr 17:11

Choose a tag to compare

6.2.1 (2022-04-12)

Bug Fixes

6.2.0

03 Jan 17:46

Choose a tag to compare

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

03 Jan 16:55

Choose a tag to compare

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"
    }
  ]
}

6.0.0

01 Jan 17:18

Choose a tag to compare

6.0.0 (2022-01-01)

Bug Fixes

  • npm: update dependencies (fdef0a2)

Features

  • core: add glob support and semver range rule groups (787757c)

BREAKING CHANGES

  • core: Dependencies defined within the resolutions and overrides fields are now processed by syncpack and are enabled by default. To exclude these new fields you will need to define only the fields you do want to process, either in your configuration file:
{
  "dev": true,
  "peer": true,
  "prod": true
}

or via the command line:

syncpack list --dev --peer --prod

5.8.15

08 Aug 21:18

Choose a tag to compare

5.8.15 (2021-08-08)

Bug Fixes

  • npm: update dependencies (aea1f37)

5.8.14

01 Aug 14:37

Choose a tag to compare

5.8.14 (2021-08-01)

Bug Fixes

  • cli: apply breaking change from commander (a61d384)
  • format: write files if only whitespace changes (f38ea40), closes #54

5.8.12

01 Aug 12:55

Choose a tag to compare

5.8.12 (2021-08-01)

Bug Fixes

  • npm: update dependencies (91254f6)

Features

  • core: add lint-semver-ranges command (b4209f0), closes #56

5.7.11

29 Jan 18:50

Choose a tag to compare

5.7.11 (2021-01-29)

Bug Fixes

  • npm: update dependencies (5531da6)

Features

  • fix-mismatches: use local package version when available (640cb7f), closes #47

5.6.10

17 Sep 20:23

Choose a tag to compare

5.6.10 (2020-09-17)

Bug Fixes

  • cli: use defaults when source is empty array (c2f6199)
  • core: support multiple version groups (bfd12b4), closes #43
  • list: display mismatches from version groups (43ba18d)

5.6.7

30 Aug 16:47

Choose a tag to compare

5.6.7 (2020-08-30)

Bug Fixes

  • npm: update dependencies (2e3ea3b)

Features

  • core: support granular versioning rules (2197f90), closes #41