-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(unity-react-core): control render framework per story #1453
chore(unity-react-core): control render framework per story #1453
Conversation
I am working on a few more changes to get the build. I will add comments as a code review |
addons: [ | ||
"../../../.storybook-config", | ||
"../../../.storybook-config/dataLayerListener", | ||
"@whitespace/storybook-addon-html", | ||
"@storybook/addon-links", | ||
"@storybook/addon-essentials", | ||
'@storybook/addon-a11y', | ||
"storybook-css-modules-preset", | ||
getAbsolutePath("@whitespace/storybook-addon-html"), | ||
getAbsolutePath("@storybook/addon-links"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not remove
"../../../.storybook-config",
"../../../.storybook-config/dataLayerListener",
], | ||
core: { | ||
builder: '@storybook/builder-vite' | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not remove
"@storybook/react-vite": "^7.6.14", | ||
"@storybook/addon-a11y": "^8.5.1", | ||
"@storybook/addon-essentials": "^8.5.1", | ||
"@storybook/addon-interactions": "^8.5.1", | ||
"@storybook/addon-links": "^8.5.1", | ||
"@storybook/builder-vite": "^8.5.1", | ||
"@storybook/components": "^8.5.1", | ||
"@storybook/jest": "^0.2.3", | ||
"@storybook/manager-api": "^8.5.1", | ||
"@storybook/react": "^8.5.1", | ||
"@storybook/react-vite": "^8.5.1", | ||
"@storybook/test": "^8.5.1", | ||
"@storybook/test-runner": "^0.21.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove dependencies that do not apply with this update (I added a few during discovery that we are not using... YET)
coverage: { | ||
// 👇 Add this | ||
exclude: [ | ||
...coverageConfigDefaults.exclude, | ||
'**/.storybook/**', | ||
// 👇 This pattern must align with the `stories` property of your `.storybook/main.ts` config | ||
'**/*.stories.*', | ||
// 👇 This pattern must align with the output directory of `storybook build` | ||
'**/storybook-static/**', | ||
], | ||
}, | ||
environment: "jsdom", | ||
setupFiles: ["./vitest.setup.ts"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove. This adds tests that can be run from storybook, which is super cool. but out of scope for this ticket
8e2fa5e
to
3e09a2e
Compare
c80333f
to
05c4182
Compare
JIRA ticket
Component consolidation #1346 (review)
carousel based stories need to force React version. When Bootstrap version displays, they are not interactive.
Modal and Tabbed Panels stories throw error on Docs page.