Skip to content

Commit 54cc523

Browse files
committed
chore(FR-1524): apply pnpm catalog
1 parent 471b868 commit 54cc523

File tree

3 files changed

+67
-44
lines changed

3 files changed

+67
-44
lines changed

packages/backend.ai-ui/package.json

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,21 @@
5454
}
5555
},
5656
"peerDependencies": {
57-
"@ant-design/icons": "^5.6.1",
5857
"@tanstack/react-query": "^5.69.0",
5958
"ahooks": "^3.8.4",
60-
"antd": "^5.27.4",
61-
"antd-style": "^3.7.1",
62-
"graphql": "^16.10.0",
63-
"i18next": "^24.2.3",
64-
"react": "^19.0.0",
65-
"react-dom": "^19.0.0",
66-
"react-i18next": "^15.4.1",
67-
"react-relay": "^20.1.0",
68-
"react-router-dom": "^6.30.0",
69-
"relay-runtime": "^20.1.0"
59+
"antd": "catalog",
60+
"antd-style": "catalog",
61+
"graphql": "catalog",
62+
"i18next": "catalog",
63+
"react": "catalog",
64+
"react-dom": "catalog",
65+
"react-i18next": "catalog",
66+
"react-relay": "catalog",
67+
"react-router-dom": "catalog",
68+
"relay-runtime": "catalog"
7069
},
7170
"dependencies": {
72-
"@ant-design/icons": "^6.0.0",
71+
"@ant-design/icons": "catalog",
7372
"@dnd-kit/core": "^6.1.0",
7473
"@dnd-kit/modifiers": "^7.0.0",
7574
"@dnd-kit/sortable": "^8.0.0",
@@ -78,9 +77,9 @@
7877
"ahooks": "^3.8.4",
7978
"big.js": "^7.0.1",
8079
"classnames": "^2.5.1",
81-
"dayjs": "^1.11.13",
82-
"lodash": "^4.17.21",
83-
"lucide-react": "^0.484.0",
80+
"dayjs": "catalog",
81+
"lodash": "catalog",
82+
"lucide-react": "catalog",
8483
"react-copy-to-clipboard": "^5.1.0",
8584
"react-draggable": "^4.4.6",
8685
"react-resizable": "^3.0.5"
@@ -97,14 +96,14 @@
9796
"@testing-library/react": "^16.2.0",
9897
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
9998
"@types/big.js": "^6.2.2",
100-
"@types/lodash": "^4.17.13",
101-
"@types/react": "^19.0.0",
99+
"@types/lodash": "catalog",
100+
"@types/react": "catalog",
102101
"@types/react-copy-to-clipboard": "^5.0.7",
103-
"@types/react-dom": "^19.0.3",
104-
"@types/react-relay": "^18.2.1",
102+
"@types/react-dom": "catalog",
103+
"@types/react-relay": "catalog",
105104
"@types/react-resizable": "^3.0.8",
106-
"@types/relay-runtime": "^19.0.2",
107-
"@types/relay-test-utils": "^19.0.0",
105+
"@types/relay-runtime": "catalog",
106+
"@types/relay-test-utils": "catalog",
108107
"@vitejs/plugin-react": "^4.5.0",
109108
"eslint": "^8.57.1",
110109
"eslint-config-react-app": "^7.0.1",
@@ -118,7 +117,7 @@
118117
"relay-test-utils": "^20.1.1",
119118
"storybook": "^9.1.1",
120119
"ts-jest": "^29.2.5",
121-
"typescript": "^5.7.2",
120+
"typescript": "catalog",
122121
"vite": "^6.3.5",
123122
"vite-plugin-dts": "^4.5.4",
124123
"vite-plugin-relay-lite": "^0.11.0",

pnpm-workspace.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,27 @@ patchedDependencies:
2121
2222

2323
minimumReleaseAge: 1440
24+
25+
catalog:
26+
typescript: "^5.7.2"
27+
react: ^19.0.0
28+
react-dom: ^19.0.0
29+
react-router-dom: ^6.30.0
30+
relay-compiler: "^20.1.0"
31+
graphql: "^16.10.0"
32+
react-relay: ^20.1.0
33+
relay-runtime: ^20.1.0
34+
react-i18next: ^15.4.1
35+
i18next: ^24.2.3
36+
antd: ^5.27.4
37+
antd-style: ^3.7.1
38+
"@ant-design/icons": ^6.0.0
39+
lucid-react: ^0.542.0
40+
dayjs: ^1.11.13
41+
lodash: ^4.17.21
42+
"@types/lodash": ^4.17.13
43+
"@types/react": ^19.0.7
44+
"@types/react-dom": "^19.0.3"
45+
"@types/react-relay": "^18.2.1"
46+
"@types/relay-runtime": "^19.0.2"
47+
"@types/relay-test-utils": "^19.0.0"

react/package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@ant-design/charts": "^2.2.7",
99
"@ant-design/colors": "^7.2.1",
1010
"@ant-design/cssinjs": "^1.23.0",
11-
"@ant-design/icons": "^5.6.1",
11+
"@ant-design/icons": "catalog",
1212
"@ant-design/v5-patch-for-react-19": "^1.0.3",
1313
"@ant-design/x": "^1.0.6",
1414
"@cloudscape-design/board-components": "3.0.60",
@@ -28,47 +28,47 @@
2828
"ahooks": "^3.8.4",
2929
"ai": "^4.3.15",
3030
"ansi_up": "^6.0.2",
31-
"antd": "^5.27.4",
32-
"antd-style": "^3.7.1",
31+
"antd": "catalog",
32+
"antd-style": "catalog",
3333
"backend.ai-ui": "workspace:*",
3434
"big.js": "^7.0.1",
3535
"classnames": "^2.5.1",
36-
"dayjs": "^1.11.13",
36+
"dayjs": "catalog",
3737
"fast-deep-equal": "^3.1.3",
3838
"gpt-tokenizer": "^2.9.0",
39-
"graphql": "^16.10.0",
40-
"i18next": "^24.2.3",
39+
"graphql": "catalog",
40+
"i18next": "catalog",
4141
"i18next-http-backend": "^3.0.2",
4242
"jotai": "^2.12.2",
4343
"jotai-effect": "^2.0.2",
4444
"katex": "^0.16.21",
45-
"lodash": "^4.17.21",
46-
"lucide-react": "^0.542.0",
45+
"lodash": "catalog",
46+
"lucide-react": "catalog",
4747
"markdown-to-jsx": "^7.7.4",
4848
"marked": "^12.0.2",
4949
"p-queue": "^8.1.0",
5050
"prettier": "^3.5.3",
5151
"prism-react-renderer": "^2.4.1",
52-
"react": "^19.0.0",
52+
"react": "catalog",
5353
"react-copy-to-clipboard": "^5.1.0",
54-
"react-dom": "^19.0.0",
54+
"react-dom": "catalog",
5555
"react-error-boundary": "^5.0.0",
56-
"react-i18next": "^15.4.1",
56+
"react-i18next": "catalog",
5757
"react-markdown": "^10.1.0",
58-
"react-relay": "^20.1.0",
59-
"react-router-dom": "^6.30.0",
58+
"react-relay": "catalog",
59+
"react-router-dom": "catalog",
6060
"react-scripts": "5.0.1",
6161
"react-syntax-highlighter": "^15.6.1",
6262
"react-virtuoso": "^4.12.5",
6363
"recharts": "^2.15.1",
6464
"rehype-katex": "^7.0.1",
65-
"relay-runtime": "^20.1.0",
65+
"relay-runtime": "catalog",
6666
"remark-gfm": "^4.0.1",
6767
"remark-math": "^6.0.0",
6868
"shiki": "^3.2.1",
6969
"swr": "^2.3.3",
7070
"ts-md5": "^1.3.1",
71-
"typescript": "^5.7.2",
71+
"typescript": "catalog",
7272
"use-query-params": "^2.2.1",
7373
"uuid": "^9.0.1",
7474
"web-vitals": "^3.5.2",
@@ -151,16 +151,16 @@
151151
"@testing-library/user-event": "^14.6.1",
152152
"@types/big.js": "^6.2.2",
153153
"@types/jest": "^29.5.14",
154-
"@types/lodash": "^4.17.13",
154+
"@types/lodash": "catalog",
155155
"@types/node": "^20.17.6",
156-
"@types/react": "^19.0.7",
156+
"@types/react": "catalog",
157157
"@types/react-copy-to-clipboard": "^5.0.7",
158-
"@types/react-dom": "^19.0.3",
159-
"@types/react-relay": "^18.2.1",
158+
"@types/react-dom": "catalog",
159+
"@types/react-relay": "catalog",
160160
"@types/react-syntax-highlighter": "^15.5.13",
161161
"@types/react-test-renderer": "^19.0.0",
162-
"@types/relay-runtime": "^19.0.2",
163-
"@types/relay-test-utils": "^19.0.0",
162+
"@types/relay-runtime": "catalog",
163+
"@types/relay-test-utils": "catalog",
164164
"@types/uuid": "^9.0.8",
165165
"ajv": "^8.17.1",
166166
"babel-jest": "^30.0.5",
@@ -183,7 +183,7 @@
183183
"prop-types": "^15.8.1",
184184
"react-dev-utils": "^12.0.1",
185185
"react-test-renderer": "^19.0.0",
186-
"relay-compiler": "^20.1.0",
186+
"relay-compiler": "catalog",
187187
"relay-test-utils": "^20.1.0",
188188
"storybook": "^8.4.5",
189189
"stream-browserify": "^3.0.0",

0 commit comments

Comments
 (0)