diff --git a/lib/commands/pack.js b/lib/commands/pack.js index 6a1bb53acb8aa..bd190d88d82b6 100644 --- a/lib/commands/pack.js +++ b/lib/commands/pack.js @@ -15,6 +15,7 @@ class Pack extends BaseCommand { 'workspace', 'workspaces', 'include-workspace-root', + 'ignore-scripts', ] static usage = [''] diff --git a/tap-snapshots/test/lib/docs.js.test.cjs b/tap-snapshots/test/lib/docs.js.test.cjs index 8e1c57be0bf93..81cd5c1f11ba8 100644 --- a/tap-snapshots/test/lib/docs.js.test.cjs +++ b/tap-snapshots/test/lib/docs.js.test.cjs @@ -119,6 +119,7 @@ Array [ "get", "help", "help-search", + "hook", "init", "install", "install-ci-test", @@ -3199,6 +3200,33 @@ Note: This command is unaware of workspaces. #### \`long\` ` +exports[`test/lib/docs.js TAP usage hook > must match snapshot 1`] = ` +Manage registry hooks + +Usage: +npm hook add [--type=] +npm hook ls [pkg] +npm hook rm +npm hook update + +Options: +[--registry ] [--otp ] + +Run "npm help hook" for more info + +\`\`\`bash +npm hook add [--type=] +npm hook ls [pkg] +npm hook rm +npm hook update +\`\`\` + +Note: This command is unaware of workspaces. + +#### \`registry\` +#### \`otp\` +` + exports[`test/lib/docs.js TAP usage init > must match snapshot 1`] = ` Create a package.json file