Skip to content

feat!: make author prompt even when already specified#352

Merged
owlstronaut merged 1 commit into
mainfrom
author-prompt
Apr 15, 2026
Merged

feat!: make author prompt even when already specified#352
owlstronaut merged 1 commit into
mainfrom
author-prompt

Conversation

@owlstronaut
Copy link
Copy Markdown
Contributor

@owlstronaut owlstronaut commented Apr 14, 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.

Closes #30
Closes npm/statusboard#1078

@owlstronaut owlstronaut marked this pull request as ready for review April 14, 2026 21:05
@owlstronaut owlstronaut requested a review from a team as a code owner April 14, 2026 21:05
Comment thread lib/default-input.js Outdated
Comment thread test/author.js Outdated
wraithgar
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.
@owlstronaut owlstronaut merged commit 0ab701a into main Apr 15, 2026
17 checks passed
@owlstronaut owlstronaut deleted the author-prompt branch April 15, 2026 18:54
@github-actions github-actions Bot mentioned this pull request Apr 15, 2026
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>
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

Successfully merging this pull request may close these issues.

init.author prompt Make init.author prompt like init.license

2 participants