Skip to content

Commit

Permalink
feat(react): update react storybook to v7.6.7
Browse files Browse the repository at this point in the history
Install storybook v7.6.7, update scripts, add new Storybook plugin for GitHub-flavoured markdown,
fixes to stories

. #977
  • Loading branch information
GCHQ-Developer-112 committed Jan 12, 2024
1 parent c053329 commit 5c79039
Show file tree
Hide file tree
Showing 6 changed files with 8,869 additions and 14,420 deletions.
18 changes: 18 additions & 0 deletions packages/react/.babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"sourceType": "unambiguous",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"chrome": 100,
"safari": 15,
"firefox": 91
}
}
],
"@babel/preset-typescript",
"@babel/preset-react"
],
"plugins": []
}
16 changes: 13 additions & 3 deletions packages/react/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
module.exports = {
"core": {
builder: "webpack5",
disableTelemetry: true,
disableTelemetry: true
},

"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],

"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-postcss",
"@storybook/addon-a11y",
"@storybook/addon-mdx-gfm"
],
"framework": "@storybook/react"

"framework": {
name: "@storybook/react-webpack5",
options: {}
},

docs: {
autodocs: true
}
}
Loading

0 comments on commit 5c79039

Please sign in to comment.