mirror of
https://github.com/unraid/api.git
synced 2026-01-06 08:39:54 -06:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Upgraded Storybook and related dependencies to the latest major version. * Updated Storybook configuration and removed deprecated addons. * Added Storybook linting plugin to the development environment. * Added deployment scripts and configuration for Storybook to Cloudflare Workers. * Introduced GitHub Actions workflow for automated Storybook deployment to staging and production environments. * Enhanced environment variable loading to suppress output in production and non-development environments. * **Refactor** * Updated all Storybook stories to use the new Storybook package imports and consistent single-quote formatting. * Improved ESLint configuration formatting and included recommended Storybook linting rules. * **Style** * Standardized import statements and string quotes across all Storybook story files for consistency. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
25 lines
545 B
TOML
25 lines
545 B
TOML
name = "unraid-ui-storybook"
|
|
compatibility_date = "2024-12-30"
|
|
compatibility_flags = ["nodejs_compat"]
|
|
|
|
[env.production]
|
|
name = "unraid-ui-storybook"
|
|
|
|
[env.staging]
|
|
name = "unraid-ui-storybook-staging"
|
|
|
|
# Static Assets configuration for Storybook
|
|
[assets]
|
|
directory = "./storybook-static"
|
|
|
|
# Custom domain configuration (update with your domain)
|
|
# routes = [
|
|
# { pattern = "storybook.yourdomain.com", custom_domain = true }
|
|
# ]
|
|
|
|
# Environment variables (if needed)
|
|
[vars]
|
|
ENVIRONMENT = "production"
|
|
|
|
[env.staging.vars]
|
|
ENVIRONMENT = "staging" |