Skip to content

Make init.author prompt like init.license #30

@ljharb

Description

@ljharb

https://github.com/npm/init-package-json/blob/master/default-input.js#L182-L194 doesn't prompt if the author is specified. However, https://github.com/npm/init-package-json/blob/master/default-input.js#L196-L200 prompts regardless, and just uses the init.license value as a default.

Would it be possible to prompt the user to confirm the init.author settings as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    semver:majorbackwards-incompatible breaking changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions