Bumps the basic group in /examples/basic with 4 updates: [turbo](https://github.com/vercel/turborepo), [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint-plugin-turbo](https://github.com/vercel/turborepo/tree/HEAD/packages/eslint-plugin-turbo) and [@turbo/gen](https://github.com/vercel/turborepo/tree/HEAD/packages/turbo-gen). Updates `turbo` from 2.3.4 to 2.4.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vercel/turborepo/releases">turbo's releases</a>.</em></p> <blockquote> <h2>Turborepo v2.4.0</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Docs</h3> <ul> <li>docs: migration guide for users coming from Nx by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9762">vercel/turborepo#9762</a></li> <li>docs: make incremental migration more prominent on Nx doc by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9796">vercel/turborepo#9796</a></li> <li>feat(prune): add <code>--use-gitignore</code> flag by <a href="https://github.com/chris-olszewski"><code>@chris-olszewski</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9797">vercel/turborepo#9797</a></li> <li>docs: fix typo by <a href="https://github.com/arosequist"><code>@arosequist</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9814">vercel/turborepo#9814</a></li> <li>docs: update ESLint package docs by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9833">vercel/turborepo#9833</a></li> <li>docs: new page for examples by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9843">vercel/turborepo#9843</a></li> <li>docs: Fix broken link by <a href="https://github.com/benwaffle"><code>@benwaffle</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9857">vercel/turborepo#9857</a></li> <li>docs: <code>schema.json</code> in <code>node_modules</code> by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9832">vercel/turborepo#9832</a></li> <li>docs: keybinds for tui by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9831">vercel/turborepo#9831</a></li> <li>docs: experimental flag for <code>watch</code> caching by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9830">vercel/turborepo#9830</a></li> <li>docs: <code>boundaries</code> experimental page by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9834">vercel/turborepo#9834</a></li> </ul> <h3><code>@turbo/repository</code></h3> <ul> <li>feat: makes <code>affectedPackages</code> lockfile aware by <a href="https://github.com/dimitropoulos"><code>@dimitropoulos</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9795">vercel/turborepo#9795</a></li> <li>chore(<code>@turbo/repository</code>): silence noop lint by <a href="https://github.com/chris-olszewski"><code>@chris-olszewski</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9835">vercel/turborepo#9835</a></li> </ul> <h3>Examples</h3> <ul> <li>feat(create-turbo): fix official examples by <a href="https://github.com/tknickman"><code>@tknickman</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9837">vercel/turborepo#9837</a></li> <li>chore: move <code>create-turbo</code> community note and format it better by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9836">vercel/turborepo#9836</a></li> <li>chore(examples): update <code>with-tailwind</code> by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9764">vercel/turborepo#9764</a></li> <li>chore(examples): update non-monorepo example by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9770">vercel/turborepo#9770</a></li> <li>chore: add best practices to Prisma ORM example by <a href="https://github.com/ankur-arch"><code>@ankur-arch</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9794">vercel/turborepo#9794</a></li> <li>chore(deps): bump the basic group across 1 directory with 17 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9772">vercel/turborepo#9772</a></li> <li>feat(examples): add example-with-vite-react by <a href="https://github.com/shivam-pawar"><code>@shivam-pawar</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9620">vercel/turborepo#9620</a></li> <li>chore(deps): bump the kitchen-sink group across 1 directory with 25 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9771">vercel/turborepo#9771</a></li> <li>chore(deps-dev): bump <code>@types/node</code> from 20.17.16 to 22.10.10 in /examples/non-monorepo in the non-monorepo group across 1 directory by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9777">vercel/turborepo#9777</a></li> <li>chore(deps-dev): bump the basic group in /examples/basic with 6 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9806">vercel/turborepo#9806</a></li> <li>chore(deps-dev): bump turbo from 2.3.3 to 2.3.4 in /examples/with-shell-commands in the with-shell-commands group by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9807">vercel/turborepo#9807</a></li> <li>chore(deps-dev): bump the with-tailwind group in /examples/with-tailwind with 6 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9808">vercel/turborepo#9808</a></li> <li>fix(example): remove conflict css property from with-tailwind example by <a href="https://github.com/kayumuzzaman"><code>@kayumuzzaman</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9816">vercel/turborepo#9816</a></li> <li>chore(examples): update <code>with-svelte</code> dependencies by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9822">vercel/turborepo#9822</a></li> <li>ci: add <code>check-types</code> task to examples testing by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9824">vercel/turborepo#9824</a></li> <li>chore(deps-dev): bump the basic group in /examples/basic with 2 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9846">vercel/turborepo#9846</a></li> <li>chore(deps-dev): bump the with-tailwind group in /examples/with-tailwind with 2 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9847">vercel/turborepo#9847</a></li> <li>chore(deps): bump the kitchen-sink group in /examples/kitchen-sink with 2 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9848">vercel/turborepo#9848</a></li> <li>fix(examples): kitchen-sink package tests by <a href="https://github.com/tknickman"><code>@tknickman</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9851">vercel/turborepo#9851</a></li> <li>fix(examples): downgrade tailwind by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9855">vercel/turborepo#9855</a></li> <li>chore: removing unused script by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9854">vercel/turborepo#9854</a></li> <li>fix(pnpm): revert lockfile upgrade by <a href="https://github.com/tknickman"><code>@tknickman</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9862">vercel/turborepo#9862</a></li> </ul> <h3>Changelog</h3> <ul> <li>chore: upgrade to Rust 1.84.0 by <a href="https://github.com/ognevny"><code>@ognevny</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9766">vercel/turborepo#9766</a></li> <li>feat(mfe): v2->v1 & make version optional by <a href="https://github.com/tknickman"><code>@tknickman</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9787">vercel/turborepo#9787</a></li> <li>feat(mfe): support user specified local proxy by <a href="https://github.com/chris-olszewski"><code>@chris-olszewski</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9695">vercel/turborepo#9695</a></li> <li>feat(watch): caching by <a href="https://github.com/NicholasLYang"><code>@NicholasLYang</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9815">vercel/turborepo#9815</a></li> <li>chore: suggest ways to break cyclic dependencies by <a href="https://github.com/chris-olszewski"><code>@chris-olszewski</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9799">vercel/turborepo#9799</a></li> <li>fix(deps): use windows-sys instead of winapi by <a href="https://github.com/ognevny"><code>@ognevny</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9805">vercel/turborepo#9805</a></li> <li>chore(turborepo-wax): remove lockfile by <a href="https://github.com/ognevny"><code>@ognevny</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9817">vercel/turborepo#9817</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|---|---|---|
| .. | ||
| apps | ||
| packages | ||
| .gitignore | ||
| .npmrc | ||
| meta.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| turbo.json | ||
Turborepo starter
This Turborepo starter is maintained by the Turborepo core team.
Using this example
Run the following command:
npx create-turbo@latest
What's inside?
This Turborepo includes the following packages/apps:
Apps and Packages
docs: a Next.js appweb: another Next.js app@repo/ui: a stub React component library shared by bothwebanddocsapplications@repo/eslint-config:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)@repo/typescript-config:tsconfig.jsons used throughout the monorepo
Each package/app is 100% TypeScript.
Utilities
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
Build
To build all apps and packages, run the following command:
cd my-turborepo
pnpm build
Develop
To develop all apps and packages, run the following command:
cd my-turborepo
pnpm dev
Remote Caching
Tip
Vercel Remote Cache is free for all plans. Get started today at vercel.com.
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: