Skip to content

Commit

Permalink
docs: add note about depdencies: false with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Antyos authored Jul 3, 2023
1 parent a798103 commit b34b0d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ You can set any or all of the following input parameters:
|`dryRun` |boolean |no | `false` | Set this option to `true` to package your extension but do not publish it. When using this option set the `pat` option to a stub value.
|`noVerify` |boolean| no |`false` | Allow publishing extensions to the visual studio marketplace which use a proposed API (enableProposedApi: true). Similar to vsce's `--noVerify` command line argument.
|`preRelease` |boolean| no |`false` | Mark the extensions release as pre-release. Currently only supported for the visual studio marketplace. Is only considered when packaging an extension.
|`dependencies` |boolean| no |`true` | Check that dependencies defined in `package.json` exist in `node_modules`. Set to `false` if using yarn berry with PnP.
|`dependencies` |boolean| no |`true` | Check that dependencies defined in `package.json` exist in `node_modules`. Set to `false` if using pnpm or yarn v2+ with PnP.

## Outputs

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ inputs:
required: false
default: false
dependencies:
description: 'Check that dependencies defined in package.json exist in node_modules. Set to false if using yarn v2+ with pnp.'
description: 'Check that dependencies defined in package.json exist in node_modules. Set to false if using pnpm or yarn v2+ with pnp.'
required: false
default: true

Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface ActionOptions {
/**
* This is the inverse of the `--no-dependencies` flag in vsce. When false, vsce will
* not check for the existence of dependencies defined in package.json in node_modules.
* Set this to false if using yarn v2+ with PnP enabled.
* Set this to false if using pnpm or yarn v2+ with PnP enabled.
*/
dependencies?: boolean;
}
Expand Down

0 comments on commit b34b0d0

Please sign in to comment.