You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,7 @@ You can set any or all of the following input parameters:
70
70
|`package` |string |./package.json |The path of your package.json file
71
71
|`tag` |string |"latest" |The tag to publish to. This allows people to install the package using `npm install <package-name>@<tag>`.
72
72
|`access` |string |"public" for non-scoped packages. "restricted" for scoped packages.|Determines whether the published package should be publicly visible, or restricted to members of your NPM organization.
73
+
|`target` |string |"" |The package to publish (the first argument to npm publish).
73
74
|`dry-run` |boolean |false |Run NPM publish with the `--dry-run` flag to prevent publication
74
75
|`check-version` |boolean |true |Only publish to NPM if the version number in `package.json` differs from the latest on NPM
75
76
|`greater-version-only`|boolean |false |Only publish to NPM if the version number in `package.json` is greater than the latest on NPM |
@@ -135,6 +136,7 @@ As shown in the example above, you can pass options to the `npmPublish()` functi
135
136
| `tag` | string | "latest" | The tag to publish to. This allows people to install the package using `npm install <package-name>@<tag>`. |
136
137
| `access` | string | "public" for non-scoped packages. "restricted" for scoped packages. | Determines whether the published package should be publicly visible, or restricted to members of your NPM organization. |
137
138
| `dryRun` | boolean | false | Run NPM publish with the `--dry-run` flag to prevent publication |
139
+
| `target` | string | "" | The package to publish (the first argument to npm publish) |
138
140
| `checkVersion` | boolean | true | Only publish to NPM if the version number in `package.json` differs from the latest on NPM |
139
141
| `greaterVersionOnly` | boolean | false | Only publish to NPM if the version number in `package.json` is greater then the latest on NPM |
140
142
| `quiet` | boolean | false | Suppress console output from NPM and npm-publish |
0 commit comments