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
@@ -92,13 +92,13 @@ A `NPM_TOKEN` needs to be created and added to the repository to [publish packag
92
92
| `comment_suffix` | Custom message to add to the end of the release GitHub comment. |
93
93
| `comment_packages` | Filter to include specific packages in the release GitHub comment. Separate multiple packages with commas. |
94
94
| `comment_is_global` | If true, the generated GitHub comment will show the command to install your packages globally. Otherwise, shows a JSON example to update local dependencies. |
95
+
| `comment_package_manager` | Package manager to show for global installation (`yarn`, `npm`, or `pnpm`). If not specified, auto-detects based on lock files. |
96
+
| `comment_shopify_registry` | Shopify NPM registry URL (e.g. `https://registry.npmjs.org`). Will be added as `--@shopify:registry=` to global installation command. |
95
97
| `cwd` | If specified, the action will run all commands for snapit in the specified directory. |
96
98
| `branch` | Push the changes to a branch instead of publishing to the NPM registry. |
97
99
| `post_install_script` | If specified, will run a script after dependencies are installed. |
98
100
| `build_script` | The build script to run before publishing. |
99
101
| `release_branch` | Default: `changeset-release/main`. If specified, will use this branch name in place of the default |
100
-
| `package_manager` | Package manager to show for global installation (`yarn`, `npm`, or `pnpm`). If not specified, auto-detects based on lock files. |
101
-
| `shopify_registry` | Shopify NPM registry URL (e.g. `https://registry.npmjs.org`). Will be added as `--@shopify:registry=` to global installation command. |
102
102
103
103
## Contributing
104
104
@@ -115,8 +115,8 @@ To contribute a change, bug fix or feature to snapit:
115
115
116
116
**`v0.0.16`**
117
117
118
-
- Add `package_manager` to specify which package manager to use instead of auto-detecting
Copy file name to clipboardExpand all lines: action.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,10 @@ inputs:
13
13
description: Which packages to include in the final output. All pacakges are still published, but only those in this list are shown in the final message. If empty, all packages are included.
14
14
comment_is_global:
15
15
description: If true, the generated GitHub comment will show the command to install your packages globally. Otherwise, shows a JSON example to update local dependencies.
16
+
comment_package_manager:
17
+
description: Package manager to show for global installation (yarn/npm/pnpm). If not specified, will auto-detect based on lock files.
18
+
comment_shopify_registry:
19
+
description: Shopify NPM registry URL (e.g. https://registry.npmjs.org). Will be added as --@shopify:registry= to global installation command.
16
20
cwd:
17
21
description: If specified, the action will run all commands for snapit in the specified directory.
18
22
branch:
@@ -24,10 +28,6 @@ inputs:
24
28
release_branch:
25
29
description: If specified, will use this branch name in place of the default `changeset-release/main` branch.
26
30
default: 'changeset-release/main'
27
-
package_manager:
28
-
description: Package manager to show for global installation (yarn/npm/pnpm). If not specified, will auto-detect based on lock files.
29
-
shopify_registry:
30
-
description: Shopify NPM registry URL (e.g. https://registry.npmjs.org). Will be added as --@shopify:registry= to global installation command.
0 commit comments