diff --git a/.github/workflows/syncpack.yaml b/.github/workflows/syncpack.yaml index 9160d2b82..8c2e74819 100644 --- a/.github/workflows/syncpack.yaml +++ b/.github/workflows/syncpack.yaml @@ -15,5 +15,5 @@ jobs: with: node-version: 18 - run: npm install - - run: npm install -g syncpack - - run: syncpack list-mismatches + - run: npm install -g syncpack@14 + - run: syncpack lint diff --git a/.syncpackrc.json b/.syncpackrc.json index 566d7eec0..634a704e1 100644 --- a/.syncpackrc.json +++ b/.syncpackrc.json @@ -1,12 +1,14 @@ { - "dependencyTypes": ["prod"], + "$schema": "./node_modules/syncpack/schema.json", "versionGroups": [ { - "label": "Allow minor and patch version bumps", - "dependencies": ["**"], - "packages": ["**"], - "sameMinorNew": true, - "dependencyTypes": ["prod"] + "label": "Allow minor and patch version bumps in dependencies", + "dependencyTypes": ["prod"], + "policy": "sameMinor" + }, + { + "label": "Ignore all other dependency types", + "isIgnored": true } ] -} \ No newline at end of file +} diff --git a/package.json b/package.json index 417d0d23b..c0af93824 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,9 @@ }, "scripts": { "lint-fix": "ci/lint-fix.sh", - "syncpack-fix": "syncpack fix-mismatches" + "syncpack-fix": "syncpack fix" }, "devDependencies": { - "syncpack": "^13.0.4" + "syncpack": "^14.0.2" } }