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

feat(storybook): generate config for vite #13381

Merged
merged 2 commits into from
Nov 25, 2022

Conversation

mandarini
Copy link
Member

Generate Storybook configuration using Vite.

@mandarini mandarini self-assigned this Nov 24, 2022
@vercel
Copy link

vercel bot commented Nov 24, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
nx-dev ⬜️ Ignored (Inspect) Nov 25, 2022 at 9:24AM (UTC)

@mandarini mandarini force-pushed the feat/storybook-vite-gen branch from 9f7c5ec to 7e5db9e Compare November 25, 2022 09:16
@mandarini mandarini force-pushed the feat/storybook-vite-gen branch from 7e5db9e to fb577b0 Compare November 25, 2022 09:23
@@ -105,6 +105,20 @@ describe('@nrwl/storybook:configuration for workspaces with Root project', () =>
expect(tree.exists('.storybook/main.ts')).toBeTruthy();
expect(tree.exists('.storybook/tsconfig.json')).toBeTruthy();
expect(tree.exists('.storybook/preview.ts')).toBeTruthy();

expect(tree.read('.storybook/main.ts', 'utf-8')).toMatchSnapshot();
Copy link
Member

Choose a reason for hiding this comment

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

Since we're checking snapshots, the previous existence assertions aren't needed.

@jaysoo
Copy link
Member

jaysoo commented Nov 25, 2022

LGTM, just added a comment about test assertions. We can clean that up later too.

@jaysoo jaysoo merged commit 2d860ea into nrwl:master Nov 25, 2022
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants