When bower init promps whether or not to mark a package as private and 'yes' is answered, it is still not marked private.
The printed json is the same as is written to the bower.json file.
$ bower --version
1.3.10
$ bower init
? name: bar
? version: 0.0.0
? description:
? main file:
? what types of modules does this package expose?:
? keywords:
? authors: Remco Haszing <remcohaszing@gmail.com>
? license: MIT
? homepage:
? set currently installed components as dependencies?: Yes
? add commonly ignored files to ignore list?: Yes
? would you like to mark this package as private which prevents it from being accidentally published to the registry?: Yes
{
name: 'bar',
version: '0.0.0',
authors: [
'Remco Haszing <remcohaszing@gmail.com>'
],
license: 'MIT',
ignore: [
'**/.*',
'node_modules',
'bower_components',
'test',
'tests'
]
}
? Looks good?: (Y/n)
When
bower initpromps whether or not to mark a package as private and 'yes' is answered, it is still not marked private.The printed json is the same as is written to the
bower.jsonfile.