Bumps the basic group in /examples/basic with 4 updates: [turbo](https://github.com/vercel/turborepo), [next](https://github.com/vercel/next.js), [eslint-plugin-turbo](https://github.com/vercel/turborepo/tree/HEAD/packages/eslint-plugin-turbo) and [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint). Updates `turbo` from 2.6.1 to 2.7.1 <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.7.1</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Docs</h3> <ul> <li>docs: Release post for 2.7 by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11272">vercel/turborepo#11272</a></li> </ul> <h3>Examples</h3> <ul> <li>fix: Typo in example with-solid README.md description by <a href="https://github.com/jack-dev-crypto"><code>@jack-dev-crypto</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11287">vercel/turborepo#11287</a></li> </ul> <h3>Changelog</h3> <ul> <li>fix: Correctly validate workspace root as package by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11284">vercel/turborepo#11284</a></li> <li>fix: Overly aggressive path checking in microfrontends loading by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11286">vercel/turborepo#11286</a></li> <li>chore(boundaries): Allow packages to import themselves by <a href="https://github.com/NicholasLYang"><code>@NicholasLYang</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/10202">vercel/turborepo#10202</a></li> <li>feat(query): Provide query for external dependencies by <a href="https://github.com/chris-olszewski"><code>@chris-olszewski</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/9929">vercel/turborepo#9929</a></li> <li>fix: Correct version mismatch causing noUpdateNotifier to fail by <a href="https://github.com/DevaanshKathuria"><code>@DevaanshKathuria</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11133">vercel/turborepo#11133</a></li> <li>chore: Format version printing similar to rest of prelude by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11289">vercel/turborepo#11289</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/jack-dev-crypto"><code>@jack-dev-crypto</code></a> made their first contribution in <a href="https://redirect.github.com/vercel/turborepo/pull/11287">vercel/turborepo#11287</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/vercel/turborepo/compare/v2.7.0...v2.7.1">https://github.com/vercel/turborepo/compare/v2.7.0...v2.7.1</a></p> <h2>Turborepo v2.7.1-canary.0</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Docs</h3> <ul> <li>docs: Release post for 2.7 by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11272">vercel/turborepo#11272</a></li> </ul> <h3>Changelog</h3> <ul> <li>fix: Correctly validate workspace root as package by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11284">vercel/turborepo#11284</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/vercel/turborepo/compare/v2.7.0...v2.7.1-canary.0">https://github.com/vercel/turborepo/compare/v2.7.0...v2.7.1-canary.0</a></p> <h2>Turborepo v2.7.0</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Docs</h3> <ul> <li>docs(security): Update Next.js by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11208">vercel/turborepo#11208</a></li> <li>docs: Remove flags code by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11209">vercel/turborepo#11209</a></li> <li>docs: Cleanup Sentry from gitignore by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11210">vercel/turborepo#11210</a></li> <li>docs: Comment out Tinybird by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11211">vercel/turborepo#11211</a></li> <li>docs(fix): Sitemap by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11207">vercel/turborepo#11207</a></li> <li>docs: Revert "Comment out Tinybird" by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11223">vercel/turborepo#11223</a></li> <li>docs: Move search to built-in by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11224">vercel/turborepo#11224</a></li> <li>docs: fix typo in design-system.css comment by <a href="https://github.com/YASHRDX0001"><code>@YASHRDX0001</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11231">vercel/turborepo#11231</a></li> <li>chore: Upgrade pnpm to 9 by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11226">vercel/turborepo#11226</a></li> <li>chore: Update pnpm to version 10 by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11237">vercel/turborepo#11237</a></li> <li>fix: React Server Components CVE vulnerabilities by <a href="https://github.com/vercel"><code>@vercel</code></a>[bot] in <a href="https://redirect.github.com/vercel/turborepo/pull/11245">vercel/turborepo#11245</a></li> <li>docs: Add <code>turboExtendsKeyword</code> future flag and <code>$TURBO_EXTENDS$</code> microsyntax by <a href="https://github.com/anthonyshew"><code>@anthonyshew</code></a> in <a href="https://redirect.github.com/vercel/turborepo/pull/11246">vercel/turborepo#11246</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
# With [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation) installed (recommended)
turbo build
# Without [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation), use your package manager
npx turbo build
yarn dlx turbo build
pnpm exec turbo build
You can build a specific package by using a filter:
# With [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation) installed (recommended)
turbo build --filter=docs
# Without [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation), use your package manager
npx turbo build --filter=docs
yarn exec turbo build --filter=docs
pnpm exec turbo build --filter=docs
Develop
To develop all apps and packages, run the following command:
cd my-turborepo
# With [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation) installed (recommended)
turbo dev
# Without [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation), use your package manager
npx turbo dev
yarn exec turbo dev
pnpm exec turbo dev
You can develop a specific package by using a filter:
# With [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation) installed (recommended)
turbo dev --filter=web
# Without [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation), use your package manager
npx turbo dev --filter=web
yarn exec turbo dev --filter=web
pnpm exec turbo dev --filter=web
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
# With [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation) installed (recommended)
turbo login
# Without [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation), use your package manager
npx turbo login
yarn exec turbo login
pnpm exec 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:
# With [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation) installed (recommended)
turbo link
# Without [global `turbo`](https://turborepo.com/docs/getting-started/installation#global-installation), use your package manager
npx turbo link
yarn exec turbo link
pnpm exec turbo link
Useful Links
Learn more about the power of Turborepo: