Skip to content

Commit

Permalink
chore(docs): remove mention of useWorkspaces (#3986)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinji committed Apr 4, 2024
1 parent cbe01ba commit c78d8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/recipes/using-pnpm-with-lerna.md
Expand Up @@ -5,7 +5,7 @@ Lerna can be used in a [`pnpm` workspace](https://pnpm.io/workspaces) to get the
When used in a `pnpm` workspace, Lerna will:

- resolve package locations with `pnpm-workspace.yaml` (https://pnpm.io/workspaces)
- enforce `useWorkspaces: true` in `lerna.json` (and ignore `packages:` in `package.json`).
- ignore `"workspaces"` in `package.json`
- block usage of `bootstrap`, `link`, and `add` commands. Instead, you should use `pnpm` commands directly to manage dependencies (https://pnpm.io/cli/install).
- respect the [workspace protocol](https://pnpm.io/workspaces#workspace-protocol-workspace) for package dependencies.
- During `lerna version`, dependencies will be updated as normal, but will preserve the `workspace:` prefix if it exists.
Expand Down

0 comments on commit c78d8ff

Please sign in to comment.