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

Include Storybook files with .ts extension in Storybook config #1796

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

recondesigns
Copy link
Contributor

Description of changes

Our Storybook config currently only picks up stories in files with .js extension.

  • The Storybook main.js was changed to main.ts
  • The config was updated to include these Storybook file extensions: js | jsx | mjs | ts | tsx and .mdx files

Issue Resolved

Fixes #1795

Screenshots/GIFs

N/A

@recondesigns recondesigns requested a review from kylemh February 23, 2024 09:13
Copy link

vercel bot commented Feb 23, 2024

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

Name Status Preview Updated (UTC)
operation-code ✅ Ready (Inspect) Visit Preview Feb 23, 2024 9:13am
storybook ✅ Ready (Inspect) Visit Preview Feb 23, 2024 9:13am

Copy link

codeclimate bot commented Feb 23, 2024

Code Climate has analyzed commit 6996d48 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 74.1% (0.0% change).

View more on Code Climate.

@kylemh kylemh merged commit 0505d3c into main Feb 23, 2024
18 checks passed
@kylemh kylemh deleted the 1795-add-ts-storybook branch February 23, 2024 09:21
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.

Configure Storybook to include Storybook files with .ts extension
2 participants