Skip to content

Fix Netlify Build Issues by Updating Storybook Configuration #2541

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

moshloop
Copy link
Member

This pull request addresses the failing Netlify builds by modifying the Storybook configuration in the main.ts file. The changes include adding TypeScript support with specific options to enhance type checking and documentation generation.

Key changes include:

  • Added TypeScript configuration with check set to false to prevent build failures related to type checking.
  • Configured reactDocgen to use react-docgen-typescript for improved documentation extraction from TypeScript components.
  • Implemented a propFilter to exclude props from node_modules, ensuring cleaner documentation output.

These adjustments should resolve the build issues and improve the overall documentation process.


This pull request was co-created with Cosine Genie

Original Task: flanksource-ui/m6b8h4w2ettj
Author: Moshe Immerman

Copy link

vercel bot commented Apr 15, 2025

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

Name Status Preview Updated (UTC)
aws-preview ✅ Ready (Inspect) Visit Preview Apr 15, 2025 4:17pm
flanksource-ui ✅ Ready (Inspect) Visit Preview Apr 15, 2025 4:17pm

Copy link

netlify bot commented Apr 15, 2025

Deploy Preview for flanksource-demo-stable ready!

Name Link
🔨 Latest commit c459881
🔍 Latest deploy log https://app.netlify.com/sites/flanksource-demo-stable/deploys/67fe7e8b271c3f0008232fde
😎 Deploy Preview https://deploy-preview-2541--flanksource-demo-stable.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 15, 2025

Deploy Preview for goofy-euclid-75956c ready!

Name Link
🔨 Latest commit c459881
🔍 Latest deploy log https://app.netlify.com/sites/goofy-euclid-75956c/deploys/67fe7e8b9cb3e00008025a07
😎 Deploy Preview https://deploy-preview-2541--goofy-euclid-75956c.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 15, 2025

Deploy Preview for clerk-saas-ui ready!

Name Link
🔨 Latest commit c459881
🔍 Latest deploy log https://app.netlify.com/sites/clerk-saas-ui/deploys/67fe7e8b81bf4a0007acda4b
😎 Deploy Preview https://deploy-preview-2541--clerk-saas-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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.

1 participant