Skip to content
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

Merged
merged 10 commits into from
Feb 5, 2025

Conversation

scott-williams-az
Copy link
Contributor

@scott-williams-az scott-williams-az requested a review from a team as a code owner January 28, 2025 04:36
@scott-williams-az
Copy link
Contributor Author

I am working on a few more changes to get the build. I will add comments as a code review

Comment on lines 6 to 9
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"),
Copy link
Contributor Author

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",

Comment on lines 14 to 15
],
core: {
builder: '@storybook/builder-vite'
},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not remove

Comment on lines 63 to 67
"@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",
Copy link
Contributor Author

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"],
Copy link
Contributor Author

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

@scott-williams-az scott-williams-az force-pushed the uds-1930-framework-control branch 2 times, most recently from 8e2fa5e to 3e09a2e Compare January 28, 2025 21:49
@scott-williams-az scott-williams-az force-pushed the uds-1930-framework-control branch from c80333f to 05c4182 Compare February 4, 2025 19:30
@mlsamuelson mlsamuelson merged commit 1455538 into component-consolidation Feb 5, 2025
1 check passed
@mlsamuelson mlsamuelson deleted the uds-1930-framework-control branch February 5, 2025 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants