statusboard icon indicating copy to clipboard operation
statusboard copied to clipboard

feat(init): add new config to `npm init` for setting `private` value (ie. `--init-private`)

Open darcyclarke opened this issue 2 years ago • 4 comments

darcyclarke avatar May 16 '22 18:05 darcyclarke

npm init does not currently have a config item that alters the private flag.

wraithgar avatar Sep 01 '22 17:09 wraithgar

When this was filed, the intention was to ship in npm 8 a config item for this that defaulted to false.

ljharb avatar Sep 01 '22 17:09 ljharb

I have the same recollection as @ljharb and think this should be changed to add a config option for this. Obviously that makes it no longer a breaking change.

lukekarrys avatar Sep 02 '22 18:09 lukekarrys

Is it too late to semver minor it into v8?

ljharb avatar Sep 02 '22 19:09 ljharb