Skip to content

Front-end сборка для ваших проектов.

License

Notifications You must be signed in to change notification settings

SergeyShurkhovetckii/Turborepo-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Готовая сборка Turborepo

Turbo

Utilities

  • Used by Vite Fast build time
  • Used by Mock Service Worker Imitation back
  • Supports TypeScript out of the box and makes project installation easy
  • Integration Storybook Tool for developing UI components
  • Used by Tailwindcss
  • Used by Turborepo TuroRepo part of code management since each component is in a separate repository
  • ESlint Error and problem detection: ESLint can detect many errors
  • Prettier simplify the formatting process and use a consistent code style across the project.

Build

To build all apps and packages, run the following command:

cd my-turborepo
npm run build

Develop

To develop all apps and packages, run the following command:

cd my-turborepo
npm run dev
Vite: http://localhost:5173/
Styrybook :http://localhost:6006/

Remote Caching

Turborepo can use a technique known as Remote Caching to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.

By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can create one, then enter the following commands:

cd my-turborepo
npx turbo login

This will authenticate the Turborepo CLI with your Vercel account.

Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your turborepo:

npx turbo link

Useful Links

Learn more about the power of Turborepo: