turborepo
133cacee - docs: Fix Bun filtered install commands (#11260)

Commit
67 days ago
docs: Fix Bun filtered install commands (#11260) ### Description Fixes TURBO-5029. This PR corrects `bun install` commands across several documentation files. Previously, these commands incorrectly used the `--filter` flag, which Bun does not support for installing packages into specific workspaces. This resulted in packages being installed to the root `package.json`. The commands have been updated to use the correct Bun approach: `cd` into the target workspace and then run `bun install`. **Files updated:** - `docs/site/content/docs/crafting-your-repository/managing-dependencies.mdx` - `docs/site/content/docs/guides/tools/jest.mdx` - `docs/site/content/docs/guides/tools/storybook.mdx` - `docs/site/content/docs/guides/tools/tailwind.mdx` - `docs/site/content/docs/reference/eslint-config-turbo.mdx` - `docs/site/content/docs/reference/eslint-plugin-turbo.mdx` ### Testing Instructions 1. In a Turborepo project using Bun, navigate to one of the updated documentation pages (e.g., `docs/guides/tools/jest.mdx`). 2. Attempt to run the "Before" command (e.g., `bun install jest --dev --filter=@repo/ui --filter=web`) and observe that `jest` is installed in the root `package.json`. 3. Attempt to run the "After" commands (e.g., `cd apps/web && bun install jest --dev` and `cd packages/ui && bun install jest --dev`). 4. Verify that `jest` is installed in the `package.json` files of the `apps/web` and `packages/ui` workspaces, and not in the root `package.json`. --- Linear Issue: [TURBO-5029](https://linear.app/vercel/issue/TURBO-5029/docs-bun-install-jest-dev-filter=repoui-filter=web) <a href="https://cursor.com/background-agent?bcId=bc-bd688bd8-442c-48eb-a3d0-8b63336db881"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in Cursor" src="https://cursor.com/open-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?id=bc-bd688bd8-442c-48eb-a3d0-8b63336db881"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web" src="https://cursor.com/open-in-web.svg"></picture></a> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Author
Parents
Loading