Skip to content

Commit c00c5f5

Browse files
authored
Merge pull request #468 from umbraco/feature/update-storybook
chore/upgrade storybook
2 parents c015461 + e0e6b27 commit c00c5f5

File tree

98 files changed

+6544
-20691
lines changed

Some content is hidden

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

98 files changed

+6544
-20691
lines changed

.storybook/main.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,39 @@
11
const tsconfigPaths = require('vite-tsconfig-paths').default;
2-
32
module.exports = {
43
stories: [
54
'../packages/**/*.story.ts',
65
'../stories/**/*.story.ts',
76
'../packages/**/*.story.mdx',
87
'../stories/**/*.story.mdx',
8+
'../packages/**/*.mdx',
9+
'../stories/**/*.mdx',
910
],
1011
addons: [
1112
'@storybook/addon-essentials',
1213
'@storybook/addon-links',
1314
'@storybook/addon-a11y',
1415
'../storyhelpers/storybook-readme/preset.js',
16+
'@storybook/addon-mdx-gfm',
1517
],
16-
framework: '@storybook/web-components',
17-
features: { storyStoreV7: false },
18-
core: { builder: '@storybook/builder-vite' },
18+
framework: {
19+
name: '@storybook/web-components-vite',
20+
options: {},
21+
},
1922
staticDirs: ['./images'],
20-
2123
async viteFinal(config, { configType }) {
2224
// customize the Vite config here
2325

2426
const processLitCSSPlugin = (
2527
await import('../scripts/processLitCSSPlugin.mjs')
2628
).default;
2729
config.plugins.push(processLitCSSPlugin());
28-
2930
if (configType === 'DEVELOPMENT') {
3031
// add plugins
3132
config.plugins.push(tsconfigPaths());
3233
}
33-
3434
return config;
3535
},
36+
docs: {
37+
autodocs: true,
38+
},
3639
};

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
153153

154154
### Reverts
155155

156-
- Revert "build(deps-dev): bump rimraf from 3.0.2 to 4.1.2" ([1516f6a](https://github.com/umbraco/Umbraco.UI/commit/1516f6a37961635edb7ae95597a8e435700ab464))
156+
- Revert "build(deps-dev): bump rimraf -g from 3.0.2 to 4.1.2" ([1516f6a](https://github.com/umbraco/Umbraco.UI/commit/1516f6a37961635edb7ae95597a8e435700ab464))
157157
- Revert "try to optimise chromatic by not customising the name of build-storybook" ([73548dd](https://github.com/umbraco/Umbraco.UI/commit/73548ddd03416f8b418100e82d69276656b379ca))
158158
- Revert "added missing properties to the list and added docs" ([92d8e22](https://github.com/umbraco/Umbraco.UI/commit/92d8e22d32b4bc2978303ea0376c1556bb61e6db))
159159
- Revert "see if turbo works without cache" ([fb58473](https://github.com/umbraco/Umbraco.UI/commit/fb584737582ee047261707a87c9bf0d48e12a882))

0 commit comments

Comments
 (0)