mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[8.x] [Cloud Security] Move @kbn/cloud-security-posture-storybook-config for Kibana sustainability (#204500) (#204736)
# Backport This will backport the following commits from `main` to `8.x`: - [[Cloud Security] Move @kbn/cloud-security-posture-storybook-config for Kibana sustainability (#204500)](https://github.com/elastic/kibana/pull/204500) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"seanrathier","email":"sean.rathier@gmail.com"},"sourceCommit":{"committedDate":"2024-12-18T12:09:38Z","message":"[Cloud Security] Move @kbn/cloud-security-posture-storybook-config for Kibana sustainability (#204500)\n\n## Summary\r\n\r\nMove @kbn/cloud-security-posture-storybook-config package to\r\n`x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook`\r\n\r\nRenamed removed the `config` folder to align with the `.storybook`\r\n[naming\r\nconvention](https://github.com/elastic/kibana/pull/204500/files#diff-91918a63f6365a8f40f674ab54a8df7ce9aeb313f77fe8eda76284d712ef5425R21).\r\n\r\n\r\n\r\n### Related Issues\r\n- https://github.com/elastic/kibana/pull/202862\r\n\r\n---------\r\n\r\nCo-authored-by: Brad White <Ikuni17@users.noreply.github.com>","sha":"d6cb398d1ab09af93369e84f0aa13f0688357082","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud Security","backport:prev-minor","ci:build-storybooks"],"title":"[Cloud Security] Move @kbn/cloud-security-posture-storybook-config for Kibana sustainability ","number":204500,"url":"https://github.com/elastic/kibana/pull/204500","mergeCommit":{"message":"[Cloud Security] Move @kbn/cloud-security-posture-storybook-config for Kibana sustainability (#204500)\n\n## Summary\r\n\r\nMove @kbn/cloud-security-posture-storybook-config package to\r\n`x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook`\r\n\r\nRenamed removed the `config` folder to align with the `.storybook`\r\n[naming\r\nconvention](https://github.com/elastic/kibana/pull/204500/files#diff-91918a63f6365a8f40f674ab54a8df7ce9aeb313f77fe8eda76284d712ef5425R21).\r\n\r\n\r\n\r\n### Related Issues\r\n- https://github.com/elastic/kibana/pull/202862\r\n\r\n---------\r\n\r\nCo-authored-by: Brad White <Ikuni17@users.noreply.github.com>","sha":"d6cb398d1ab09af93369e84f0aa13f0688357082"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204500","number":204500,"mergeCommit":{"message":"[Cloud Security] Move @kbn/cloud-security-posture-storybook-config for Kibana sustainability (#204500)\n\n## Summary\r\n\r\nMove @kbn/cloud-security-posture-storybook-config package to\r\n`x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook`\r\n\r\nRenamed removed the `config` folder to align with the `.storybook`\r\n[naming\r\nconvention](https://github.com/elastic/kibana/pull/204500/files#diff-91918a63f6365a8f40f674ab54a8df7ce9aeb313f77fe8eda76284d712ef5425R21).\r\n\r\n\r\n\r\n### Related Issues\r\n- https://github.com/elastic/kibana/pull/202862\r\n\r\n---------\r\n\r\nCo-authored-by: Brad White <Ikuni17@users.noreply.github.com>","sha":"d6cb398d1ab09af93369e84f0aa13f0688357082"}}]}] BACKPORT--> Co-authored-by: seanrathier <sean.rathier@gmail.com>
This commit is contained in:
parent
c7ffde5068
commit
7cd2ace06e
14 changed files with 14 additions and 23 deletions
|
@ -16,7 +16,8 @@ export const storybookAliases = {
|
|||
canvas: 'x-pack/plugins/canvas/storybook',
|
||||
cases: 'packages/kbn-cases-components/.storybook',
|
||||
cell_actions: 'src/platform/packages/shared/kbn-cell-actions/.storybook',
|
||||
cloud_security_posture_packages: 'x-pack/packages/kbn-cloud-security-posture/storybook/config',
|
||||
cloud_security_posture_packages:
|
||||
'x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook',
|
||||
cloud: 'packages/cloud/.storybook',
|
||||
coloring: 'packages/kbn-coloring/.storybook',
|
||||
language_documentation_popover:
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
||||
"jest",
|
||||
"node",
|
||||
"@kbn/ambient-storybook-types",
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"kbn_references": [
|
||||
"@kbn/storybook",
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
]
|
||||
}
|
|
@ -9,7 +9,7 @@ import { defaultConfig } from '@kbn/storybook';
|
|||
|
||||
module.exports = {
|
||||
...defaultConfig,
|
||||
stories: ['../../**/*.stories.+(tsx|mdx)'],
|
||||
stories: ['../**/*.stories.+(tsx|mdx)'],
|
||||
reactOptions: {
|
||||
strictMode: true,
|
||||
},
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"extends": "../../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": ["jest", "node", "@kbn/ambient-storybook-types"]
|
||||
},
|
||||
"include": ["**/*.ts"],
|
||||
"kbn_references": ["@kbn/storybook"],
|
||||
"exclude": ["target/**/*"]
|
||||
}
|
|
@ -11,7 +11,7 @@ module.exports = {
|
|||
rootDir: '../../../../../..',
|
||||
transform: {
|
||||
'^.+\\.(js|tsx?)$':
|
||||
'<rootDir>/x-pack/packages/kbn-cloud-security-posture/storybook/config/babel_with_emotion.ts',
|
||||
'<rootDir>/x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook/babel_with_emotion.ts',
|
||||
},
|
||||
setupFiles: ['jest-canvas-mock'],
|
||||
setupFilesAfterEnv: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue