Skip to content

Commit 1d322e5

Browse files
authored
chore(pnpm): add catalogs (#2492)
1 parent ee035ee commit 1d322e5

File tree

16 files changed

+526
-977
lines changed

16 files changed

+526
-977
lines changed

.github/renovate.json

Lines changed: 19 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,63 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"assignees": [
4-
"team:console"
5-
],
3+
"assignees": ["team:console"],
64
"assigneesSampleSize": 1,
75
"automerge": false,
86
"dependencyDashboard": true,
9-
"enabledManagers": [
10-
"github-actions",
11-
"npm"
12-
],
13-
"extends": [
14-
"config:recommended",
15-
":combinePatchMinorReleases"
16-
],
17-
"labels": [
18-
"dependencies"
19-
],
7+
"enabledManagers": ["github-actions", "npm"],
8+
"extends": ["config:recommended", ":combinePatchMinorReleases"],
9+
"labels": ["dependencies"],
2010
"prConcurrentLimit": 10,
2111
"prHourlyLimit": 5,
2212
"rangeStrategy": "pin",
2313
"rebaseWhen": "auto",
24-
"reviewers": [
25-
"team:console"
26-
],
14+
"reviewers": ["team:console"],
2715
"reviewersSampleSize": 2,
2816
"semanticCommitScope": "deps",
2917
"semanticCommitType": "chore",
30-
"ignorePaths": [
31-
"packages_deprecated/**/package.json"
32-
],
18+
"ignorePaths": ["packages_deprecated/**/package.json"],
3319
"packageRules": [
3420
{
35-
"matchDepTypes": [
36-
"engines",
37-
"peerDependencies"
38-
],
21+
"matchDepTypes": ["engines", "peerDependencies"],
3922
"rangeStrategy": "widen"
4023
},
4124
{
42-
"matchManagers": [
43-
"github-actions"
44-
],
25+
"matchManagers": ["github-actions"],
4526
"semanticCommitScope": "devDeps",
4627
"automerge": true,
4728
"autoApprove": true
4829
},
4930
{
5031
"semanticCommitScope": "devDeps",
51-
"matchDepTypes": [
52-
"packageManager",
53-
"devDependencies"
54-
],
55-
"matchUpdateTypes": [
56-
"major"
57-
]
32+
"matchDepTypes": ["packageManager", "devDependencies"],
33+
"matchUpdateTypes": ["major"]
5834
},
5935
{
6036
"semanticCommitScope": "devDeps",
61-
"matchDepTypes": [
62-
"packageManager",
63-
"devDependencies"
64-
],
65-
"matchUpdateTypes": [
66-
"minor",
67-
"patch"
68-
]
37+
"matchDepTypes": ["packageManager", "devDependencies"],
38+
"matchUpdateTypes": ["minor", "patch"]
6939
},
7040
{
71-
"labels": [
72-
"UPDATE-MAJOR"
73-
],
41+
"labels": ["UPDATE-MAJOR"],
7442
"minimumReleaseAge": "14 days",
75-
"matchUpdateTypes": [
76-
"major"
77-
]
43+
"matchUpdateTypes": ["major"]
7844
},
7945
{
80-
"labels": [
81-
"UPDATE-MINOR"
82-
],
46+
"labels": ["UPDATE-MINOR"],
8347
"minimumReleaseAge": "7 days",
84-
"matchUpdateTypes": [
85-
"minor"
86-
],
48+
"matchUpdateTypes": ["minor"],
8749
"automerge": true,
8850
"autoApprove": true
8951
},
9052
{
91-
"labels": [
92-
"UPDATE-PATCH"
93-
],
53+
"labels": ["UPDATE-PATCH"],
9454
"minimumReleaseAge": "3 days",
95-
"matchUpdateTypes": [
96-
"patch"
97-
],
55+
"matchUpdateTypes": ["patch"],
9856
"automerge": true,
9957
"autoApprove": true
10058
},
10159
{
102-
"matchDepTypes": [
103-
"engines"
104-
],
60+
"matchDepTypes": ["engines"],
10561
"rangeStrategy": "widen"
10662
}
10763
]

package.json

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -11,46 +11,46 @@
1111
"pnpm": ">=9.x"
1212
},
1313
"dependencies": {
14-
"@babel/core": "7.26.9",
15-
"@babel/eslint-parser": "7.26.8",
16-
"@babel/plugin-transform-runtime": "7.26.9",
17-
"@babel/preset-env": "7.26.9",
18-
"@babel/preset-react": "7.26.3",
19-
"@babel/preset-typescript": "7.26.0",
20-
"@biomejs/biome": "1.9.4",
21-
"@changesets/changelog-github": "0.5.1",
22-
"@changesets/cli": "2.28.1",
23-
"@commitlint/cli": "19.6.1",
24-
"@commitlint/config-conventional": "19.6.0",
25-
"@eslint/eslintrc": "3.3.0",
14+
"@babel/core": "catalog:",
15+
"@babel/eslint-parser": "catalog:",
16+
"@babel/plugin-transform-runtime": "catalog:",
17+
"@babel/preset-env": "catalog:",
18+
"@babel/preset-react": "catalog:",
19+
"@babel/preset-typescript": "catalog:",
20+
"@biomejs/biome": "catalog:",
21+
"@changesets/changelog-github": "catalog:",
22+
"@changesets/cli": "catalog:",
23+
"@commitlint/cli": "catalog:",
24+
"@commitlint/config-conventional": "catalog:",
25+
"@eslint/eslintrc": "catalog:",
2626
"@scaleway/eslint-config-react": "workspace:*",
2727
"@scaleway/tsconfig": "workspace:*",
28-
"@testing-library/jest-dom": "6.6.3",
29-
"@testing-library/react": "16.2.0",
30-
"@types/jest": "29.5.14",
31-
"@types/node": "22.13.10",
32-
"@types/react": "19.0.10",
33-
"@types/react-dom": "19.0.4",
34-
"@vitejs/plugin-react": "4.3.4",
35-
"@vitest/coverage-istanbul": "3.0.8",
36-
"browserslist": "4.24.4",
37-
"builtin-modules": "4.0.0",
38-
"cross-env": "7.0.3",
39-
"esbuild-plugin-browserslist": "0.16.0",
40-
"eslint": "9.19.0",
41-
"globals": "15.15.0",
42-
"happy-dom": "17.1.4",
43-
"husky": "9.1.7",
44-
"lint-staged": "15.4.3",
45-
"mockdate": "3.0.5",
46-
"read-pkg": "9.0.1",
47-
"shx": "0.3.4",
48-
"tstyche": "3.5.0",
49-
"typescript": "5.8.2",
50-
"vite": "6.2.0",
51-
"vitest": "3.0.8",
52-
"vitest-localstorage-mock": "0.1.2",
53-
"wait-for-expect": "3.0.2"
28+
"@testing-library/jest-dom": "catalog:",
29+
"@testing-library/react": "catalog:",
30+
"@types/jest": "catalog:",
31+
"@types/node": "catalog:",
32+
"@types/react": "catalog:",
33+
"@types/react-dom": "catalog:",
34+
"@vitejs/plugin-react": "catalog:",
35+
"@vitest/coverage-istanbul": "catalog:",
36+
"browserslist": "catalog:",
37+
"builtin-modules": "catalog:",
38+
"cross-env": "catalog:",
39+
"esbuild-plugin-browserslist": "catalog:",
40+
"eslint": "catalog:",
41+
"globals": "catalog:",
42+
"happy-dom": "catalog:",
43+
"husky": "catalog:",
44+
"lint-staged": "catalog:",
45+
"mockdate": "catalog:",
46+
"read-pkg": "catalog:",
47+
"shx": "catalog:",
48+
"tstyche": "catalog:",
49+
"typescript": "catalog:",
50+
"vite": "catalog:",
51+
"vitest": "catalog:",
52+
"vitest-localstorage-mock": "catalog:",
53+
"wait-for-expect": "catalog:"
5454
},
5555
"scripts": {
5656
"lint": "eslint --cache .",

packages/changesets-renovate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@
4646
"sync"
4747
],
4848
"dependencies": {
49-
"simple-git": "3.27.0"
49+
"simple-git": "catalog:"
5050
}
5151
}

packages/cookie-consent/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
"directory": "packages/cookie-consent"
4545
},
4646
"dependencies": {
47-
"cookie": "1.0.2"
47+
"cookie": "catalog:"
4848
},
4949
"devDependencies": {
50-
"react": "19.0.0",
50+
"react": "catalog:",
5151
"@scaleway/use-segment": "workspace:*"
5252
},
5353
"peerDependencies": {

packages/eslint-config-react/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,26 @@
3434
],
3535
"license": "MIT",
3636
"dependencies": {
37-
"@emotion/eslint-plugin": "11.12.0",
38-
"@eslint/compat": "1.2.7",
39-
"@eslint/eslintrc": "3.3.0",
40-
"@stylistic/eslint-plugin": "4.0.1",
41-
"@typescript-eslint/eslint-plugin": "8.25.0",
42-
"@typescript-eslint/parser": "8.25.0",
43-
"eslint-config-airbnb": "19.0.4",
44-
"eslint-config-prettier": "10.0.2",
45-
"eslint-import-resolver-typescript": "3.8.3",
46-
"eslint-plugin-eslint-comments": "3.2.0",
47-
"eslint-plugin-import": "2.31.0",
48-
"eslint-plugin-jsx-a11y": "6.10.2",
49-
"eslint-plugin-react": "7.37.4",
50-
"eslint-plugin-react-hooks": "5.2.0"
37+
"@emotion/eslint-plugin": "catalog:",
38+
"@eslint/compat": "catalog:",
39+
"@eslint/eslintrc": "catalog:",
40+
"@stylistic/eslint-plugin": "catalog:",
41+
"@typescript-eslint/eslint-plugin": "catalog:",
42+
"@typescript-eslint/parser": "catalog:",
43+
"eslint-config-airbnb": "catalog:",
44+
"eslint-config-prettier": "catalog:",
45+
"eslint-import-resolver-typescript": "catalog:",
46+
"eslint-plugin-eslint-comments": "catalog:",
47+
"eslint-plugin-import": "catalog:",
48+
"eslint-plugin-jsx-a11y": "catalog:",
49+
"eslint-plugin-react": "catalog:",
50+
"eslint-plugin-react-hooks": "catalog:"
5151
},
5252
"peerDependencies": {
5353
"eslint": ">= 9.x"
5454
},
5555
"devDependencies": {
56-
"eslint": "9.19.0",
57-
"typescript": "5.8.2"
56+
"eslint": "catalog:",
57+
"typescript": "catalog:"
5858
}
5959
}

packages/use-dataloader/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"dataloader"
4747
],
4848
"devDependencies": {
49-
"react": "19.0.0"
49+
"react": "catalog:"
5050
},
5151
"peerDependencies": {
5252
"react": "18.x || 19.x"

packages/use-growthbook/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
"feature flags"
4545
],
4646
"dependencies": {
47-
"@growthbook/growthbook-react": "1.4.1"
47+
"@growthbook/growthbook-react": "catalog:"
4848
},
4949
"devDependencies": {
50-
"react": "19.0.0"
50+
"react": "catalog:"
5151
},
5252
"peerDependencies": {
5353
"react": "18.x || 19.x"

packages/use-i18n/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@
4747
"test:unit:coverage": "pnpm test:unit --coverage"
4848
},
4949
"dependencies": {
50-
"@formatjs/ecma402-abstract": "2.3.3",
51-
"@formatjs/fast-memoize": "2.2.6",
52-
"date-fns": "4.1.0",
53-
"filesize": "10.1.6",
54-
"international-types": "0.8.1",
55-
"intl-messageformat": "10.7.15"
50+
"@formatjs/ecma402-abstract": "catalog:",
51+
"@formatjs/fast-memoize": "catalog:",
52+
"date-fns": "catalog:",
53+
"filesize": "catalog:",
54+
"international-types": "catalog:",
55+
"intl-messageformat": "catalog:"
5656
},
5757
"devDependencies": {
58-
"react": "19.0.0",
59-
"react-dom": "19.0.0"
58+
"react": "catalog:",
59+
"react-dom": "catalog:"
6060
},
6161
"peerDependencies": {
6262
"date-fns": "3.x || 4.x",

packages/use-media/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"react": "18.x || 19.x"
5050
},
5151
"devDependencies": {
52-
"react": "19.0.0"
52+
"react": "catalog:"
5353
}
5454
}

packages/use-query-params/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@
4848
"query-params"
4949
],
5050
"dependencies": {
51-
"history": "5.3.0",
52-
"query-string": "9.1.1"
51+
"history": "catalog:",
52+
"query-string": "catalog:"
5353
},
5454
"peerDependencies": {
5555
"react": "18.x || 19.x",
5656
"react-dom": "18.x || 19.x",
5757
"react-router-dom": "^6.0.0"
5858
},
5959
"devDependencies": {
60-
"react": "19.0.0",
61-
"react-dom": "19.0.0",
62-
"react-router-dom": "6.29.0"
60+
"react": "catalog:",
61+
"react-dom": "catalog:",
62+
"react-router-dom": "catalog:"
6363
}
6464
}

0 commit comments

Comments
 (0)