This is from a Turborepo starter maintained by the Turborepo core team.
This example also shows how to use Workspace Configurations.
This Turborepo common config repo includes the following packages:
@devades/eslint-config
: ESLint configurations used throughout the monorepo@devades/jest-presets
: Jest configurations@devades/logger
: isomorphic logger (a small wrapper around console.log)@devades/typescript-config
: tsconfig.json's used throughout the monorepo@devades/tailwind-config
: tsconfig.json's used throughout the monorepo
Each package and app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Jest test runner for all things JavaScript
- Prettier for code formatting
Run the following command:
npx create-turbo@latest -e kitchen-sink
Instructions for installing packages or releasing from command line to devades github organisation as lari-ks github user (Admin user on devades org)
git config user.email "email"
npm login --scope=@NAMESPACE --auth-type=legacy --registry=https://npm.pkg.github.com
npm login --registry=https://npm.pkg.github.com
lari-ks as username
new personal access token as password, added as secret to repo settings secrets