8000
Skip to content

Bower doesn't mark project private when answered yes in bower init prompt #1522

Description

@remcohaszing

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) 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

< 3526 span class="Section-module__emptyText__P72MM">None yet

Development

No branches or pull requests

Issue actions

0