File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
node_modules/init-package-json Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -266,3 +266,8 @@ const type = package.type || getConfig('type') || 'commonjs'
266266exports . type = yes ? type : prompt ( 'type' , type , ( data ) => {
267267 return data
268268} )
269+
270+ const initPrivate = package . private || getConfig ( 'private' )
271+ if ( initPrivate === true ) {
272+ exports . private = true
273+ }
Original file line number Diff line number Diff line change 11{
22 "name" : " init-package-json" ,
3- "version" : " 8.0.0 " ,
3+ "version" : " 8.1.1 " ,
44 "main" : " lib/init-package-json.js" ,
55 "scripts" : {
66 "test" : " tap" ,
2929 "validate-npm-package-name" : " ^6.0.0"
3030 },
3131 "devDependencies" : {
32- "@npmcli/config" : " ^9 .0.0" ,
32+ "@npmcli/config" : " ^10 .0.0" ,
3333 "@npmcli/eslint-config" : " ^5.0.0" ,
3434 "@npmcli/template-oss" : " 4.23.4" ,
3535 "tap" : " ^16.0.1"
Original file line number Diff line number Diff line change 94939493 }
94949494 },
94959495 "node_modules/init-package-json": {
9496- "version": "8.0.0 ",
9497- "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-8.0.0 .tgz",
9498- "integrity": "sha512-zKgxfaGt6Zzi8VBSInOK0CYDigA9gzDCWPnSzGIoUlTU/5w7qIyi+6MyJYX96mMlxDGrIR85FhQszVyodYfB9g ==",
9496+ "version": "8.1.1 ",
9497+ "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-8.1.1 .tgz",
9498+ "integrity": "sha512-MSbYZ+5kPal/gtUX4MO1rDWOQMkG/Wo6u7JbvAaYlEYpeCtARfDLJkF88ZQxOCOoqpxI0sUQuQIVJqhXv6fQtw ==",
94999499 "inBundle": true,
95009500 "license": "ISC",
95019501 "dependencies": {
You can’t perform that action at this time.
0 commit comments