diff --git a/packages/manager-react-components/package.json b/packages/manager-react-components/package.json index a8e9cd482ae6..8d1c67dde8f9 100644 --- a/packages/manager-react-components/package.json +++ b/packages/manager-react-components/package.json @@ -1,17 +1,28 @@ { "name": "@ovh-ux/manager-react-components", - "version": "3.0.0", - "main": "src/lib.ts", + "version": "1.0.0", + "license": "BSD-3-Clause", + "author": "OVH SAS", + "types": "dist/types/src/lib.d.ts", + "main": "dist/src/lib.js", + "browser": "dist/manager-react-components-lib.es.ts", + "homepage": "https://github.com/ovh/manager/blob/master/packages/manager-react-components/README.md", + "bugs": { + "url": "https://github.com/ovh/manager/issues" + }, "repository": { "type": "git", "url": "git+https://github.com/ovh/manager.git", "directory": "packages/manager-react-components" }, - "ignoreDependencies": true, + "files": [ + "dist" + ], "scripts": { - "build": "echo build", + "build": "vite build && tsc", + "dev": "vite build && tsc", "build:storybook": "storybook build", - "dev": "tsc", + "prepare": "vite build && tsc", "prettier": "prettier --write \"src/**/*.{ts,tsx,js,mdx}\"", "start": "storybook dev -p 6006", "test": "jest --coverage -u", @@ -27,9 +38,11 @@ "dependencies": { "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@ovh-ux/manager-core-api": "^0.8.0", - "@ovh-ux/manager-react-shell-client": "^0.7.2", - "@ovhcloud/ods-components": "18.0.0", - "@ovhcloud/ods-themes": "18.0.0", + "@ovh-ux/manager-react-shell-client": "^0.7.3", + "@ovhcloud/ods-common-core": "17.2.2", + "@ovhcloud/ods-common-theming": "17.2.2", + "@ovhcloud/ods-components": "17.2.2", + "@ovhcloud/ods-theme-blue-jeans": "17.2.2", "@tanstack/react-query": "^5.51.21", "@tanstack/react-table": "^8.20.1", "@types/lodash.isdate": "^4.0.9", @@ -47,8 +60,8 @@ "devDependencies": { "@babel/core": "7.22.10", "@mdx-js/react": "^3.0.1", + "@ovh-ux/manager-tailwind-config": "^0.2.0", "@ovh-ux/manager-vite-config": "^0.8.0", - "@storybook/addon-a11y": "8.0.4", "@storybook/addon-docs": "^7.5.3", "@storybook/addon-essentials": "7.5.3", "@storybook/addon-interactions": "7.5.3", diff --git a/packages/manager-react-components/vite.config.ts b/packages/manager-react-components/vite.config.mts similarity index 100% rename from packages/manager-react-components/vite.config.ts rename to packages/manager-react-components/vite.config.mts diff --git a/packages/manager/modules/manager-pci-common/package.json b/packages/manager/modules/manager-pci-common/package.json index c5fe9e71068b..4d8efa695005 100644 --- a/packages/manager/modules/manager-pci-common/package.json +++ b/packages/manager/modules/manager-pci-common/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@ovh-ux/manager-core-api": "*", - "@ovh-ux/manager-react-components": "^1.37.0", + "@ovh-ux/manager-react-components": "^1.38.0", "@ovh-ux/manager-react-shell-client": "^0.7.2", "clsx": "2.1.1", "date-fns": "^3.6.0",