Skip to content

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

Merged
kylemh merged 1 commit intomainfrom
1795-add-ts-storybook
Feb 23, 2024
Merged

Include Storybook files with .ts extension in Storybook config#1796
kylemh merged 1 commit intomainfrom
1795-add-ts-storybook

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
@vercel
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

@qlty-cloud-legacy
Copy link

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
@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