From 68606733bf0cbe0c4359882dce928e8f940b11ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Vilcot?= Date: Thu, 5 Dec 2024 17:00:09 +0100 Subject: [PATCH] build(pci-common): update dependencies & scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ref: TAPC-2378 Signed-off-by: Frédéric Vilcot --- .../modules/manager-pci-common/package.json | 28 +++++++------------ .../modules/manager-pci-common/src/index.ts | 2 ++ yarn.lock | 17 +++++++++++ 3 files changed, 29 insertions(+), 18 deletions(-) diff --git a/packages/manager/modules/manager-pci-common/package.json b/packages/manager/modules/manager-pci-common/package.json index 4b15b60f1e33..18077b970ecf 100644 --- a/packages/manager/modules/manager-pci-common/package.json +++ b/packages/manager/modules/manager-pci-common/package.json @@ -21,17 +21,16 @@ "dist" ], "scripts": { - "build": "vite build", + "build": "tsc --noEmit && vite build", "clean": "rimraf node_modules && rimraf dist && yarn cache clean", - "dev": "vite build", + "dev": "tsc --noEmit", "lint": "eslint ./src", "lint:fix": "eslint ./src --fix", - "prepare": "vite build", + "prepare": "tsc --noEmit && vite build", "prettier": "prettier --write \"src/**/*.{ts,tsx,js,mdx}\"", "test": "vitest run", "test:coverage": "vitest run --coverage", - "test:watch": "vitest --watch", - "type:check": "tsc --noEmit" + "test:watch": "vitest --watch" }, "dependencies": { "@ovh-ux/manager-tailwind-config": "^0.2.1", @@ -41,14 +40,11 @@ }, "devDependencies": { "@ovh-ux/manager-core-api": "^0.9.0", - "@ovh-ux/manager-react-components": "^1.43.0", + "@ovh-ux/manager-react-components": "^2.5.1", "@ovh-ux/manager-react-shell-client": "^0.8.3", "@ovh-ux/manager-vite-config": "^0.8.3", - "@ovhcloud/ods-common-core": "^17.2.2", - "@ovhcloud/ods-common-stencil": "^17.2.2", - "@ovhcloud/ods-common-theming": "^17.2.2", - "@ovhcloud/ods-components": "^17.2.2", - "@ovhcloud/ods-theme-blue-jeans": "^17.2.2", + "@ovhcloud/ods-components": "^18.4.0", + "@ovhcloud/ods-themes": "^18.4.0", "@tanstack/react-query": "^5.51.21", "@testing-library/dom": "^10.1.0", "@testing-library/jest-dom": "^6.4.6", @@ -73,15 +69,11 @@ "peerDependencies": { "@ovh-ux/manager-config": "^7.3.2", "@ovh-ux/manager-core-api": "^0.9.0", - "@ovh-ux/manager-react-components": "^1.43.0", + "@ovh-ux/manager-react-components": "^2.5.1", "@ovh-ux/manager-react-shell-client": "^0.8.3", - "@ovh-ux/manager-tailwind-config": "^0.2.0", "@ovh-ux/shell": "^3.7.0", - "@ovhcloud/ods-common-core": "^17.2.2", - "@ovhcloud/ods-common-stencil": "^17.2.2", - "@ovhcloud/ods-common-theming": "^17.2.2", - "@ovhcloud/ods-components": "^17.2.2", - "@ovhcloud/ods-theme-blue-jeans": "^17.2.2", + "@ovhcloud/ods-components": "^18.4.0", + "@ovhcloud/ods-themes": "^18.4.0", "@tanstack/react-query": "^5.51.21", "i18next": "^23.8.2", "react": "^18.2.0", diff --git a/packages/manager/modules/manager-pci-common/src/index.ts b/packages/manager/modules/manager-pci-common/src/index.ts index eb660b04e2e7..6e7d01f53e86 100644 --- a/packages/manager/modules/manager-pci-common/src/index.ts +++ b/packages/manager/modules/manager-pci-common/src/index.ts @@ -1,3 +1,5 @@ +import '@ovhcloud/ods-themes/default'; + export * from './api/data'; export * from './api/hook'; export * from './components/accordion/Accordion.component'; diff --git a/yarn.lock b/yarn.lock index 973abdeb1c23..26673c9a36b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6117,6 +6117,18 @@ tslib "2.6.3" vanillajs-datepicker "1.3.4" +"@ovhcloud/ods-components@^18.4.0": + version "18.4.0" + resolved "https://registry.yarnpkg.com/@ovhcloud/ods-components/-/ods-components-18.4.0.tgz#039490f269b0aa6309037739a55df129d3bad55d" + integrity sha512-XTEzEInatQIiEavVp556J9bgDlnnrkJLejIzPTQsT1wPfinSA9C8wk0L3bsTIIpSBPOkms6stQT4jLGxW8dH5A== + dependencies: + "@floating-ui/dom" "1.6.11" + "@stencil/core" "4.16.0" + google-libphonenumber "3.2.35" + tom-select "2.3.1" + tslib "2.6.3" + vanillajs-datepicker "1.3.4" + "@ovhcloud/ods-theme-blue-jeans@17.2.1": version "17.2.1" resolved "https://registry.yarnpkg.com/@ovhcloud/ods-theme-blue-jeans/-/ods-theme-blue-jeans-17.2.1.tgz#6495afedce96505481f38ea072177d5be8ff4446" @@ -6141,6 +6153,11 @@ resolved "https://registry.yarnpkg.com/@ovhcloud/ods-themes/-/ods-themes-18.3.1.tgz#de608212bd8171249c2e7730fd42b642a0452555" integrity sha512-VoKERtF39uX6wTR+2SjqJSPGCNyfzcG88psnhfIUk9CYgU/v0sCQ7w5JSbwD2h7Gd+YCQiJb5QdYRgczZsbiWA== +"@ovhcloud/ods-themes@^18.4.0": + version "18.4.0" + resolved "https://registry.yarnpkg.com/@ovhcloud/ods-themes/-/ods-themes-18.4.0.tgz#dd2c0633d9973487587c25b390f0e9d8370f55a0" + integrity sha512-im4vTYMPx9t9nFSqeh/U7XHTopxpNOGAySt0Tk9mVxhkRpanDrV06eUH4DlGm+k4AhLiRsOFfmDdMuiU/xqCBg== + "@ovhcloud/reket-axios-client@^0.2.1": version "0.2.1" resolved "https://registry.yarnpkg.com/@ovhcloud/reket-axios-client/-/reket-axios-client-0.2.1.tgz#835997e9d3514a5855dc4d7ac867abe8b2c8638d"