Skip to content

Commit f4eae59

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

File tree

5 files changed

+4275
-7076
lines changed

5 files changed

+4275
-7076
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-workflow"
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
@@ -56,7 +56,6 @@
5656
"packages/manager/apps/pci-volume-backup",
5757
"packages/manager/apps/pci-volume-snapshot",
5858
"packages/manager/apps/pci-vouchers",
59-
"packages/manager/apps/pci-workflow",
6059
"packages/manager/apps/procedures",
6160
"packages/manager/apps/public-cloud",
6261
"packages/manager/apps/restricted",

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

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@ovh-ux/manager-core-api": "^0.19.3",
1919
"@ovh-ux/manager-core-utils": "^0.4.9",
2020
"@ovh-ux/manager-pci-common": "^0.17.0",
21-
"@ovh-ux/manager-react-components": "^1.46.0",
21+
"@ovh-ux/manager-react-components": "1.48.0",
2222
"@ovh-ux/manager-react-core-application": "^0.13.3",
2323
"@ovh-ux/manager-react-shell-client": "^0.11.2",
2424
"@ovh-ux/manager-tailwind-config": "^0.6.1",
@@ -28,32 +28,33 @@
2828
"@ovhcloud/ods-common-theming": "17.2.2",
2929
"@ovhcloud/ods-components": "17.2.2",
3030
"@ovhcloud/ods-theme-blue-jeans": "17.2.2",
31-
"@tanstack/react-query": "^5.51.21",
32-
"@tanstack/react-query-devtools": "^5.51.21",
33-
"@tanstack/react-table": "^8.20.1",
31+
"@tanstack/react-query": "5.90.11",
32+
"@tanstack/react-query-devtools": "5.91.1",
33+
"@tanstack/react-table": "8.21.3",
3434
"date-fns": "^3.6.0",
3535
"element-internals-polyfill": "^1.3.11",
36-
"i18next": "^23.8.2",
37-
"i18next-http-backend": "^2.5.2",
38-
"react": "^18.2.0",
39-
"react-dom": "^18.2.0",
40-
"react-hook-form": "^7.52.1",
41-
"react-i18next": "^14.1.2",
42-
"react-router-dom": "^6.3.0",
43-
"react-use": "^17.5.0",
36+
"i18next": "23.16.8",
37+
"i18next-http-backend": "2.7.3",
38+
"react": "18.3.1",
39+
"react-dom": "18.3.1",
40+
"react-hook-form": "7.67.0",
41+
"react-i18next": "14.1.3",
42+
"react-router-dom": "6.30.2",
43+
"react-use": "17.6.0",
4444
"zustand": "^4.5.5"
4545
},
4646
"devDependencies": {
4747
"@jest/globals": "^29.7.0",
4848
"@ovh-ux/manager-static-analysis-kit": "^0.14.0",
49+
"@ovh-ux/manager-tests-setup": "^0.4.7",
4950
"@ovh-ux/manager-vite-config": "^0.15.1",
5051
"@testing-library/dom": "^10.1.0",
5152
"@testing-library/jest-dom": "^6.4.5",
5253
"@testing-library/react": "^16.0.0",
5354
"@testing-library/user-event": "^14.5.2",
54-
"@types/jest": "^29.5.12",
55-
"@types/react": "^18.2.79",
56-
"@types/react-dom": "^18.3.0",
55+
"@types/jest": "29.5.14",
56+
"@types/react": "18.3.27",
57+
"@types/react-dom": "18.3.7",
5758
"@vitejs/plugin-react": "^4.3.0",
5859
"@vitest/coverage-v8": "^2.1.9",
5960
"autoprefixer": "^10.4.19",

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

Lines changed: 2 additions & 1 deletion
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';
@@ -29,7 +30,7 @@ export default defineConfig({
2930
],
3031
},
3132
},
32-
resolve: {
33+
resolve: { dedupe: [...defaultDedupedDependencies],
3334
alias: {
3435
'@': path.resolve(__dirname, 'src'),
3536
},

0 commit comments

Comments
 (0)