Skip to content

Commit bece123

Browse files
authored
Exp: Using pnpm alias approach instead of min catalog (#2759)
I'm trying to exclude `compat-test` workspace from renovate <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated dependency versions in the compatibility test package to use explicit versions. - Removed the minimum version catalog from workspace configuration. - Simplified Renovate configuration by excluding the compatibility test directory from automated dependency updates. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent a23da2b commit bece123

4 files changed

Lines changed: 13 additions & 62 deletions

File tree

compat-test/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"dependencies": {
1111
"@express-zod-api/migration": "workspace:*",
1212
"express-zod-api": "workspace:*",
13-
"express": "catalog:min",
14-
"typescript": "catalog:min",
15-
"http-errors": "catalog:min",
16-
"zod": "catalog:min"
13+
"express": "npm:[email protected]",
14+
"typescript": "npm:[email protected]",
15+
"http-errors": "npm:[email protected]",
16+
"zod": "npm:[email protected]"
1717
},
1818
"devDependencies": {
19-
"eslint": "catalog:min",
20-
"typescript-eslint": "catalog:min"
19+
"eslint": "npm:[email protected]",
20+
"typescript-eslint": "npm:[email protected]"
2121
}
2222
}

pnpm-lock.yaml

Lines changed: 6 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@ publicHoistPattern:
1818
- "@types/qs" # used by index.ts, fixes TS2742 for attachRouting
1919
- "@types/express-serve-static-core" # used by index.ts, fixes TS2742 for attachRouting
2020
catalogs:
21-
min:
22-
"express": "5.1.0"
23-
"typescript": "5.1.3"
24-
"http-errors": "2.0.0"
25-
"zod": "3.25.35"
26-
"eslint": "9.0.0"
27-
"typescript-eslint": "8.0.0"
2821
peer:
2922
"@types/compression": "^1.7.5"
3023
"@types/express": "^5.0.0"

renovate.json

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"extends": ["config:recommended"],
44
"dependencyDashboard": false,
55
"postUpdateOptions": ["pnpmDedupe"],
6+
"ignorePaths": ["**/compat-test/**"],
67
"packageRules": [
78
{
89
"groupName": "TypeScript-ESLint and its rule tester (used by migration)",
@@ -11,30 +12,6 @@
1112
{
1213
"groupName": "Vitest and its coverage provider",
1314
"matchPackageNames": ["vitest", "@vitest/*"]
14-
},
15-
{
16-
"groupName": "Disallow eslint bump in compat-test",
17-
"matchPackageNames": ["eslint"],
18-
"matchCurrentVersion": "9.0.0",
19-
"allowedVersions": "9.0.0"
20-
},
21-
{
22-
"groupName": "Disallow zod bump in compat-test",
23-
"matchPackageNames": ["zod"],
24-
"matchCurrentVersion": "3.25.35",
25-
"allowedVersions": "3.25.35"
26-
},
27-
{
28-
"groupName": "Disallow typescript bump in compat-test",
29-
"matchPackageNames": ["typescript"],
30-
"matchCurrentVersion": "5.1.3",
31-
"allowedVersions": "5.1.3"
32-
},
33-
{
34-
"groupName": "Disallow typescript-eslint bump in compat-test",
35-
"matchPackageNames": ["typescript-eslint"],
36-
"matchCurrentVersion": "8.0.0",
37-
"allowedVersions": "8.0.0"
3815
}
3916
]
4017
}

0 commit comments

Comments
 (0)