A monorepo containing Stencil Web Components, generated React components, design tokens, documentation in Storybook.
- Node.js (v24 or higher)
- pnpm (v10.7.0 or higher)
# Install dependencies
pnpm install
# Start development (builds tokens and components and starts Storybook)
pnpm devj26-web-components/
├── packages/
│ ├── design-tokens/ # Design tokens (CSS variables and more)
│ ├── ui-webc/ # Stencil Web Components
│ ├── ui-react/ # Generated React components
│ └── storybook/ # Storybook documentation
├── package.json # Root package with scripts
└── pnpm-workspace.yaml # Workspace configuration
This project uses Changesets to manage releases and changelogs.
- Add a changeset: Run
pnpm changesetand follow the prompts to describe your changes - Commit the changeset: The generated changeset file should be committed to your branch
- Automated PR creation: When your changes are merged to main, a release PR will be automatically created
- Merge to release: When the release PR is merged, the following happens automatically:
- A new version is published to npm
- The changelog is updated
- Storybook documentation is built and deployed to GitHub Pages
Note: Regular commits do not generate changelog entries. Only changesets create changelog entries.