Skip to content

Commit 283c2f9

Browse files
committed
refactor(pci-gateway): migrate pci-gateway to pnpm
ref: MANAGER-20363 Signed-off-by: GitHub Actions <[email protected]>
1 parent 6da19c8 commit 283c2f9

File tree

5 files changed

+4270
-7160
lines changed

5 files changed

+4270
-7160
lines changed

packages/manager-tools/manager-pm/src/playbook/catalog/pnpm-catalog.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"packages/manager/apps/pci-instances",
66
"packages/manager/apps/web-hosting",
77
"packages/manager/apps/web-ongoing-operations",
8-
"packages/manager/apps/pci-block-storage"
8+
"packages/manager/apps/pci-block-storage",
9+
"packages/manager/apps/pci-gateway"
910
]

packages/manager-tools/manager-pm/src/playbook/catalog/yarn-catalog.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"packages/manager/apps/pci-cold-archive",
4242
"packages/manager/apps/pci-databases-analytics",
4343
"packages/manager/apps/pci-dataplatform",
44-
"packages/manager/apps/pci-gateway",
4544
"packages/manager/apps/pci-kubernetes",
4645
"packages/manager/apps/pci-load-balancer",
4746
"packages/manager/apps/pci-object-storage",

packages/manager/apps/pci-gateway/package.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@ovh-ux/manager-config": "^8.7.2",
1717
"@ovh-ux/manager-core-api": "^0.19.3",
1818
"@ovh-ux/manager-pci-common": "^0.17.0",
19-
"@ovh-ux/manager-react-components": "^1.46.0",
19+
"@ovh-ux/manager-react-components": "1.48.0",
2020
"@ovh-ux/manager-react-core-application": "^0.13.3",
2121
"@ovh-ux/manager-react-shell-client": "^0.11.2",
2222
"@ovh-ux/manager-tailwind-config": "^0.6.1",
@@ -25,34 +25,35 @@
2525
"@ovhcloud/ods-common-theming": "17.2.2",
2626
"@ovhcloud/ods-components": "17.2.2",
2727
"@ovhcloud/ods-theme-blue-jeans": "17.2.2",
28-
"@tanstack/react-query": "^5.51.21",
29-
"@tanstack/react-table": "^8.20.1",
28+
"@tanstack/react-query": "5.90.11",
29+
"@tanstack/react-table": "8.21.3",
3030
"axios": "^1.1.2",
3131
"clsx": "2.1.1",
3232
"element-internals-polyfill": "^1.3.10",
3333
"file-saver": "^2.0.5",
3434
"lodash.uniqby": "^4.7.0",
35-
"react": "^18.2.0",
36-
"react-dom": "^18.2.0",
37-
"react-hook-form": "^7.50.1",
38-
"react-i18next": "^14.0.5",
39-
"react-router-dom": "^6.3.0",
40-
"react-use": "^17.5.0",
35+
"react": "18.3.1",
36+
"react-dom": "18.3.1",
37+
"react-hook-form": "7.67.0",
38+
"react-i18next": "14.1.3",
39+
"react-router-dom": "6.30.2",
40+
"react-use": "17.6.0",
4141
"zustand": "^4.5.5"
4242
},
4343
"devDependencies": {
4444
"@jest/globals": "^29.7.0",
45+
"@ovh-ux/manager-tests-setup": "^0.4.7",
4546
"@ovh-ux/manager-vite-config": "^0.15.1",
46-
"@tanstack/react-query-devtools": "^5.51.21",
47+
"@tanstack/react-query-devtools": "5.91.1",
4748
"@testing-library/dom": "^9.3.4",
4849
"@testing-library/jest-dom": "^6.4.2",
4950
"@testing-library/react": "^14.2.1",
5051
"@testing-library/user-event": "^14.5.2",
5152
"@types/file-saver": "^2.0.7",
52-
"@types/jest": "^29.5.12",
53+
"@types/jest": "29.5.14",
5354
"@types/lodash.uniqby": "^4.7.9",
54-
"@types/react": "^18.2.55",
55-
"@types/react-dom": "^18.2.19",
55+
"@types/react": "18.3.27",
56+
"@types/react-dom": "18.3.7",
5657
"@types/react-query": "^1.2.9",
5758
"@vitejs/plugin-react": "^4.2.1",
5859
"@vitest/coverage-v8": "^2.1.9",

packages/manager/apps/pci-gateway/vitest.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { defaultDedupedDependencies } from '@ovh-ux/manager-tests-setup';
12
import path from 'path';
23
import { defineConfig } from 'vite';
34
import react from '@vitejs/plugin-react';
@@ -28,6 +29,7 @@ export default defineConfig({
2829
},
2930
},
3031
resolve: {
32+
dedupe: [...defaultDedupedDependencies],
3133
alias: {
3234
'@': path.resolve(__dirname, 'src'),
3335
},

0 commit comments

Comments
 (0)