This Turborepo is home to various libraries made by Glasshouse developers.
Versioning and package publishing is handled by Changesets and fully automated with GitHub Actions.
This Turborepo includes the following:
@glasshouse/docs
: A placeholder documentation site powered by Storybook@glasshouse/demo
: A placeholder demo site powered by Next.js@glasshouse/components
: core React components@glasshouse/utils
: shared React utilities@glasshouse/style-guide
: shared configs package used throughout the monorepo, included configs:typescript
,eslint
,prettier
,stylelint
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
- StyleLint for CSS formatting
pnpm build
- Build all packages and the docs sitepnpm dev
- Develop all packages and the docs sitepnpm lint
- Lint all packagespnpm changeset
- Generate a changesetpnpm clean
- Clean up allnode_modules
anddist
folders (runs each package's clean script)
Package publishing has been configured using Changesets. Please review their documentation to familiarize yourself with the workflow.
This example comes with automated npm releases setup in a GitHub Action.
For more information about this automation, refer to the official changesets documentation
If you want to publish package to the public npm registry and make them publicly available, this is already setup.