File tree 2 files changed +29
-0
lines changed
2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ class Pack extends BaseCommand {
15
15
'workspace' ,
16
16
'workspaces' ,
17
17
'include-workspace-root' ,
18
+ 'ignore-scripts' ,
18
19
]
19
20
20
21
static usage = [ '<package-spec>' ]
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ Array [
119
119
"get",
120
120
"help",
121
121
"help-search",
122
+ "hook",
122
123
"init",
123
124
"install",
124
125
"install-ci-test",
@@ -3199,6 +3200,33 @@ Note: This command is unaware of workspaces.
3199
3200
#### \`long\`
3200
3201
`
3201
3202
3203
+ exports [ `test/lib/docs.js TAP usage hook > must match snapshot 1` ] = `
3204
+ Manage registry hooks
3205
+
3206
+ Usage:
3207
+ npm hook add <pkg> <url> <secret> [--type=<type>]
3208
+ npm hook ls [pkg]
3209
+ npm hook rm <id>
3210
+ npm hook update <id> <url> <secret>
3211
+
3212
+ Options:
3213
+ [--registry <registry>] [--otp <otp>]
3214
+
3215
+ Run "npm help hook" for more info
3216
+
3217
+ \`\`\`bash
3218
+ npm hook add <pkg> <url> <secret> [--type=<type>]
3219
+ npm hook ls [pkg]
3220
+ npm hook rm <id>
3221
+ npm hook update <id> <url> <secret>
3222
+ \`\`\`
3223
+
3224
+ Note: This command is unaware of workspaces.
3225
+
3226
+ #### \`registry\`
3227
+ #### \`otp\`
3228
+ `
3229
+
3202
3230
exports [ `test/lib/docs.js TAP usage init > must match snapshot 1` ] = `
3203
3231
Create a package.json file
3204
3232
You can’t perform that action at this time.
0 commit comments