This is an official starter Turborepo.
Run the following command:
npx create-turbo@latestThis Turborepo includes the following packages/apps:
api: a vanilla typescript appbuilder: a react appmedia: a react appnextjs: a Next.js appui: a stub React component library shared by bothmediaandbuilderapplicationseslint-config-custom:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)tsconfig:tsconfig.jsons 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 build all apps and packages, run the following command:
cd webpack-module-federation
pnpm build
To develop all apps and packages, run the following command:
cd webpack-module-federation
pnpm dev
Learn more about the power of Turborepo: