Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/cli/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,21 @@ ENTRYPOINT ["node", "index.js"]

## Options

### --force

If the target directory that you deploy to is not empty, the deploy command will fail with error `ERR_PNPM_DEPLOY_DIR_NOT_EMPTY`.

Use `--force` option to override this behavior and allow deploying to a non-empty directory.

### --ignore-scripts

`pnpm deploy` will call `pnpm install` behind the scenes to resolve dependencies,
which in turn may trigger lifecycle scripts like `prepare`, `preinstall`, `postinstall`, etc.

Use `--ignore-scripts` option to prevent running those scripts during deployment.

Read more at [install --ignore-scripts](./install.md#--ignore-scripts).

### --dev, -D

Only `devDependencies` are installed.
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/patch.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ allowUnusedPatches: true

### ignorePatchFailures

Added in: v10.7.0
Added in: v10.7.0 (but will be removed in v11)

* Default: **undefined**
* Type: **Boolean**, **undefined**
Expand Down