This monorepo includes the following packages/apps:
@repo/api
: API functions used throughout the monorepo using@tanstack/react-query
@repo/assets
: Shared assets used throughout the monorepo@repo/config
: Configuration files used throughout the monorepo@repo/react-hooks
: React hooks used throughout the monorepo@repo/types
: Type declarations used throughout the monorepo@repo/utils
: Utility functions used throughout the monorepo@repo/stylesheets
: Tailwind setup and global theme styles@repo/storybook
: Shared components used throughout the monorepo
Each package/app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
To enable support for VS code extension "Tailwind CSS IntelliSense" you need to do the following:
- Switch the extension to pre-release version
- In your project vscode settigns .vscode -> settings.json add
{
"tailwindCSS.experimental.configFile": "./packages/stylesheets/tailwind.css"
}
To build all apps and packages, run the following command:
npm run build
To develop all apps and packages in a "local" way, run the following command:
npm run dev
To develop all apps and packages with module federation, run the following command:
npm run preview
Learn more about the power of Turborepo: