Skip to content

Commit aba9a21

Browse files
seanrathierIkuni17
authored andcommitted
[Cloud Security] Move @kbn/cloud-security-posture-storybook-config for Kibana sustainability (elastic#204500)
## Summary Move @kbn/cloud-security-posture-storybook-config package to `x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook` Renamed removed the `config` folder to align with the `.storybook` [naming convention](https://github.com/elastic/kibana/pull/204500/files#diff-91918a63f6365a8f40f674ab54a8df7ce9aeb313f77fe8eda76284d712ef5425R21). ![Screenshot 2024-12-16 at 5 50 53 PM](https://github.com/user-attachments/assets/de1d0a81-353f-434c-bb2d-989210b35b43) ### Related Issues - elastic#202862 --------- Co-authored-by: Brad White <[email protected]>
1 parent 91da476 commit aba9a21

File tree

14 files changed

+14
-23
lines changed

14 files changed

+14
-23
lines changed

src/dev/storybook/aliases.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ export const storybookAliases = {
1717
canvas: 'x-pack/plugins/canvas/storybook',
1818
cases: 'packages/kbn-cases-components/.storybook',
1919
cell_actions: 'src/platform/packages/shared/kbn-cell-actions/.storybook',
20-
cloud_security_posture_packages: 'x-pack/packages/kbn-cloud-security-posture/storybook/config',
20+
cloud_security_posture_packages:
21+
'x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook',
2122
cloud: 'packages/cloud/.storybook',
2223
coloring: 'packages/kbn-coloring/.storybook',
2324
language_documentation_popover:

x-pack/packages/kbn-cloud-security-posture/storybook/config/tsconfig.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

x-pack/packages/kbn-cloud-security-posture/storybook/config/README.mdx renamed to x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook/README.mdx

File renamed without changes.

x-pack/packages/kbn-cloud-security-posture/storybook/config/babel_with_emotion.ts renamed to x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook/babel_with_emotion.ts

File renamed without changes.

x-pack/packages/kbn-cloud-security-posture/storybook/config/constants.ts renamed to x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook/constants.ts

File renamed without changes.

x-pack/packages/kbn-cloud-security-posture/storybook/config/index.ts renamed to x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook/index.ts

File renamed without changes.

x-pack/packages/kbn-cloud-security-posture/storybook/config/main.ts renamed to x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { defaultConfig } from '@kbn/storybook';
99

1010
module.exports = {
1111
...defaultConfig,
12-
stories: ['../../**/*.stories.+(tsx|mdx)'],
12+
stories: ['../**/*.stories.+(tsx|mdx)'],
1313
reactOptions: {
1414
strictMode: true,
1515
},

x-pack/packages/kbn-cloud-security-posture/storybook/config/manager.ts renamed to x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook/manager.ts

File renamed without changes.

x-pack/packages/kbn-cloud-security-posture/storybook/config/package.json renamed to x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook/package.json

File renamed without changes.

x-pack/packages/kbn-cloud-security-posture/storybook/config/preview.ts renamed to x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook/preview.ts

File renamed without changes.

0 commit comments

Comments
 (0)