Skip to content

Commit

Permalink
docs: add ignore-workspace-root-check info
Browse files Browse the repository at this point in the history
  • Loading branch information
happycollision authored Jan 2, 2025
1 parent 199e60d commit 4716466
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/npmrc.md
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,15 @@ When executing commands recursively in a workspace, execute them on the root wor

When set to `true`, no workspace cycle warnings will be printed.

### ignore-workspace-root-check

* Default: **false**
* Type: **Boolean**

When set to `true`, you can add dependencies to the workspace root _without_ using the `--ignore-workspace-root-check` or `-w` flag.

For instance, `pnpm add debug` will fail in the workspace root unless this setting is true. (`pnpm add debug -w` will always work.)

### disallow-workspace-cycles

* Default: **false**
Expand Down

0 comments on commit 4716466

Please sign in to comment.