Skip to content

Commit 33c8a67

Browse files
committed
docs: 添加 npm 发布时禁用来源验证的选项
在 npmo 包的 README.md 文件中,添加了一个新的配置选项 `disableProvenance`。这个选项允许用户在发布 npm 包时禁用来源验证功能。具体信息如下: - 参数名称:`disableProvenance` - 类型:布尔值 - 默认值:`false` - 描述:禁用 npm 发布时的来源验证 这个新功能为用户提供了更灵活的发布选项,特别是在某些情况下需要绕过来源验证时。
1 parent 2ec0100 commit 33c8a67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
| `tag` | false | `latest` | The version label to release, the default is latest |
7272
| `dryRun` | false | `false` | Pretend to publish, but don't actually upload to the registry. |
7373
| `includePrivate` | false | `false` | publish private packages as well. |
74+
| `disableProvenance` | false | `false` | Disable provenance for npm publish. |
7475

7576
# Outputs
7677

0 commit comments

Comments
 (0)