Skip to content

Commit

Permalink
feat(sb-8): upgrade to storybook 8.x.x
Browse files Browse the repository at this point in the history
- do upgrade
- fixed base .mdx
- renamed all stories with _1._ts for now, it will be fix and return.
  • Loading branch information
AndyKIron committed Nov 25, 2024
1 parent 1207c32 commit 9d951f9
Show file tree
Hide file tree
Showing 112 changed files with 13,283 additions and 43,455 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"root": true,
"ignorePatterns": ["projects/**/*"],
"ignorePatterns": [".storybook", "projects/**/*"],
"overrides": [
{
"files": ["*.ts"],
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ angular.json

karma.conf.js

projects/fusion-schematics/

9 changes: 5 additions & 4 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import remarkGfm from 'remark-gfm';

/** @type { import('@storybook/angular').StorybookConfig } */
const config = {
stories: ['../projects/fusion-ui/components/Introduction.mdx', '../projects/fusion-ui/**/*.mdx', '../projects/fusion-ui/**/*.stories.ts'],
stories: ['../projects/fusion-ui/storybook-foundations/**/*.mdx', /*'../projects/fusion-ui/!**!/!*.mdx',*/ '../projects/fusion-ui/**/*.stories.ts'],
staticDirs: ['../public'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@ironsource/storybook-addon-stackblitz',
'@storybook/addon-mdx-gfm'
],
framework: {
name: '@storybook/angular'
name: '@storybook/angular',
options: {}
},
docs: {
/*autodocs: true // auto generate mdx dox story*/
Expand Down
7 changes: 0 additions & 7 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ setCompodocJson(docJson);

/** @type { import('@storybook/angular').Preview } */
const preview = {
globals: {
stackblitzGlobals: {
stackblitzAdditionalDependency: {
'@ironsource/fusion-ui': '7.0.0-rc.3'
}
}
},
parameters: {
actions: {argTypesRegex: '^on[A-Z].*'},
controls: {
Expand Down
Loading

0 comments on commit 9d951f9

Please sign in to comment.