Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make init.author prompt like init.license #30

Open
ljharb opened this issue Dec 28, 2014 · 2 comments
Open

Make init.author prompt like init.license #30

ljharb opened this issue Dec 28, 2014 · 2 comments

Comments

@ljharb
Copy link

ljharb commented Dec 28, 2014

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?

@DanielFGray
Copy link

I support this. Although having different authors does seem like a rare occurrence, the option to change it should be there without having to unset init.author or manually edit the package.json file.

@kevinSuttle
Copy link

Not necessarily rare if your company has their own registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants