Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
fahslaj committed Apr 4, 2024
2 parents 06b5f14 + c78d8ff commit e860eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/recipes/using-pnpm-with-lerna.md
Original file line number Diff line number Diff line change
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 e860eb7

Please sign in to comment.