File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ const BaseCommand = require('../base-command.js')
16
16
class Init extends BaseCommand {
17
17
static description = 'Create a package.json file'
18
18
static params = [
19
+ 'init-author-name' ,
20
+ 'init-author-url' ,
21
+ 'init-license' ,
22
+ 'init-module' ,
23
+ 'init-version' ,
19
24
'yes' ,
20
25
'force' ,
21
26
'scope' ,
Original file line number Diff line number Diff line change @@ -315,6 +315,7 @@ exports[`test/lib/commands/publish.js TAP re-loads publishConfig.registry if add
315
315
`
316
316
317
317
exports [ `test/lib/commands/publish.js TAP respects publishConfig.registry, runs appropriate scripts > new package version 1` ] = `
318
+
318
319
`
319
320
320
321
exports [ `test/lib/commands/publish.js TAP restricted access > must match snapshot 1` ] = `
Original file line number Diff line number Diff line change @@ -3160,7 +3160,9 @@ npm init <package-spec> (same as \`npx <package-spec>\`)
3160
3160
npm init <@scope> (same as \`npx <@scope>/create\`)
3161
3161
3162
3162
Options:
3163
- [-y|--yes] [-f|--force] [--scope <@scope>]
3163
+ [--init-author-name <init-author-name>] [--init-author-url <init-author-url>]
3164
+ [--init-license <init-license>] [--init-module <init-module>]
3165
+ [--init-version <init-version>] [-y|--yes] [-f|--force] [--scope <@scope>]
3164
3166
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
3165
3167
[-ws|--workspaces] [--no-workspaces-update] [--include-workspace-root]
3166
3168
@@ -3175,6 +3177,11 @@ npm init <@scope> (same as \`npx <@scope>/create\`)
3175
3177
aliases: create, innit
3176
3178
\`\`\`
3177
3179
3180
+ #### \`init-author-name\`
3181
+ #### \`init-author-url\`
3182
+ #### \`init-license\`
3183
+ #### \`init-module\`
3184
+ #### \`init-version\`
3178
3185
#### \`yes\`
3179
3186
#### \`force\`
3180
3187
#### \`scope\`
You can’t perform that action at this time.
0 commit comments