feat!: make author prompt even when already specified#352
Merged
Conversation
wraithgar
reviewed
Apr 14, 2026
11f5dc7 to
9ab3262
Compare
9ab3262 to
594e6bd
Compare
wraithgar
reviewed
Apr 15, 2026
594e6bd to
fbaf9d9
Compare
wraithgar
previously approved these changes
Apr 15, 2026
BREAKING CHANGE: The author prompt will now be shown even if an author is already specified in the existing package.json. If the user leaves the prompt blank, the author field will be omitted from the resulting package.json instead of being set to an empty string.
fbaf9d9 to
66062eb
Compare
wraithgar
approved these changes
Apr 15, 2026
Merged
owlstronaut
pushed a commit
that referenced
this pull request
May 22, 2026
🤖 I have created a release *beep* *boop* --- ## [9.0.0](v8.2.5...v9.0.0) (2026-05-22) ###⚠️ BREAKING CHANGES * `init-package-json` now supports node `^22.22.2 || ^24.15.0 || >=26.0.0` * template-oss-apply * The author prompt will now be shown even if an author is already specified in the existing package.json. If the user leaves the prompt blank, the author field will be omitted from the resulting package.json instead of being set to an empty string. * existing packages in `node_modules` are no longer used to try to pre-populate dependencies and devDependencies * The license field is no longer included by default when running `npm init` or `npm init --yes`. If you want to include a license, you can either set it in your npm config (`npm set init-license=MIT`) or provide it interactively when running `npm init`. ### Features * [`042e1c4`](042e1c4) [#359](#359) bump to new node engine range (@owlstronaut) * [`965f605`](965f605) [#359](#359) template-oss-apply (@owlstronaut) * [`0ab701a`](0ab701a) [#352](#352) make author prompt even when already specified (@owlstronaut) * [`6e34dd8`](6e34dd8) [#350](#350) omit license field by default when initializing package.json (@owlstronaut) ### Bug Fixes * [`cddad4f`](cddad4f) [#349](#349) stop auto populating dependencies (#349) (@wraithgar) ### Dependencies * [`2959f9c`](2959f9c) [#359](#359) `validate-npm-package-name@8.0.0` * [`96a5bb8`](96a5bb8) [#359](#359) `read@6.0.0` * [`fefbeee`](fefbeee) [#359](#359) `promzard@4.0.0` * [`6114288`](6114288) [#359](#359) `npm-package-arg@14.0.0` * [`da6fbc1`](da6fbc1) [#359](#359) `@npmcli/package-json@8.0.0` ### Chores * [`43073db`](43073db) [#359](#359) `@npmcli/eslint-config@7.0.0` (@owlstronaut) * [`0f70db1`](0f70db1) [#359](#359) template-oss-apply (@owlstronaut) * [`7dfdb1a`](7dfdb1a) [#359](#359) bumping @npmcli/template-oss from 4.30.0 to 5.1.0 (@owlstronaut) * [`cc57229`](cc57229) [#350](#350) template-oss-apply (@owlstronaut) * [`e885190`](e885190) [#348](#348) bump @npmcli/template-oss from 4.29.0 to 4.30.0 (#348) (@dependabot[bot], @npm-cli-bot) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BREAKING CHANGE: The author prompt will now be shown even if an author is already specified in the existing package.json. If the user leaves the prompt blank, the author field will be omitted from the resulting package.json instead of being set to an empty string.
Closes #30
Closes npm/statusboard#1078