Skip to content

chore: update storybook defaults and TypeScript config#9

Merged
cristinecula merged 1 commit intomainfrom
chore/update-storybook-defaults
Feb 3, 2026
Merged

chore: update storybook defaults and TypeScript config#9
cristinecula merged 1 commit intomainfrom
chore/update-storybook-defaults

Conversation

@cristinecula
Copy link
Contributor

Summary

Updates the template to match patterns established in cosmoz-dropdown and cosmoz-command-menu.

Changes

  • .storybook/main.js — Add @storybook/addon-docs addon, autodocs: 'tag', expanded framework config format
  • package.json — Add @storybook/addon-docs devDependency
  • tsconfig.json — Add skipLibCheck: true (fixes @types/mdx JSX namespace errors pulled in by addon-docs)
  • stories/component.stories.js.ts — Convert to TypeScript with Meta/StoryObj types, tags: ['autodocs'], @pionjs/pion html import

- Add @storybook/addon-docs with autodocs support
- Use expanded framework config format in .storybook/main.js
- Add skipLibCheck to tsconfig (fixes @types/mdx JSX errors from addon-docs)
- Convert stories to TypeScript with proper Meta/StoryObj types
- Add tags: ['autodocs'] to story meta for auto-generated docs
@github-actions
Copy link

github-actions bot commented Feb 3, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://Neovici.github.io/cosmoz-component/pr/pr-9/

Built to branch gh-pages at 2026-02-03 14:06 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@cristinecula cristinecula self-assigned this Feb 3, 2026
@cristinecula cristinecula added the enhancement New feature or request label Feb 3, 2026
@cristinecula cristinecula marked this pull request as ready for review February 3, 2026 14:53
@cristinecula cristinecula merged commit 87cc258 into main Feb 3, 2026
2 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 3, 2026
## [1.2.1](v1.2.0...v1.2.1) (2026-02-03)

### Bug Fixes

* update storybook defaults and TypeScript config ([#9](#9)) ([87cc258](87cc258))
@github-actions
Copy link

github-actions bot commented Feb 3, 2026

🎉 This PR is included in version 1.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants