Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 26c2cd5

Browse files
committedAug 26, 2024·
feat(*): replace name of manager components react lib
ref: MANAGER-14822 Signed-off-by: Alex Boungnaseng <alex.boungnaseng.ext@corp.ovh.com>
1 parent d622ae6 commit 26c2cd5

File tree

232 files changed

+854
-338
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+854
-338
lines changed
 

‎docs/docs/guide/manager-components.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ We use a library of super components in our react applications.
44

55
## The package is accessible on the monorepo
66

7-
- [@ovhcloud/manager-components](https://github.com/ovh/manager/blob/develop/packages/manager-components/README.md)
7+
- [@ovhcloud/manager-react-components](https://github.com/ovh/manager/blob/develop/packages/manager-components/README.md)
88

99
## The storybook :
1010

@@ -14,7 +14,7 @@ The storybook is accessible on
1414
## How to start the application?
1515

1616
```sh
17-
$ yarn workspace @ovhcloud/manager-components run start
17+
$ yarn workspace @ovhcloud/manager-react-components run start
1818
```
1919

2020
Go to `<http://localhost:6006>`
@@ -26,4 +26,4 @@ Go to `<http://localhost:6006>`
2626
## Importation of a component on your react code application :
2727

2828
The component is not builded so you can import directly the component named `Card` from the workspace like this :
29-
`import Card from '@ovhcloud/manager-components'`
29+
`import Card from '@ovhcloud/manager-react-components'`

‎packages/manager-components/.storybook/main.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
import { StorybookConfig } from '@storybook/react-vite';
22
const config: StorybookConfig = {
3-
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx|mdx)', '../src/docs/*.mdx'],
3+
stories: [
4+
'../src/**/*.stories.@(js|jsx|ts|tsx|mdx)',
5+
'../src/docs/*.mdx',
6+
'../src/docs/whatsnew/migration-guide/*.mdx',
7+
],
48
addons: [
59
'@storybook/addon-links',
610
'@storybook/addon-essentials',
711
'@storybook/addon-interactions',
812
'@storybook/addon-styling',
13+
'@storybook/addon-doc',
914
],
1015
framework: {
1116
name: '@storybook/react-vite',

0 commit comments

Comments
 (0)