Closed himedlooff closed 9 years ago
When you run bower install --save whatever-component
it automagically gets the version number from the component's bower.json manifest. https://github.com/cfpb/generator-cf/blob/master/app/index.js#L129
This reminds me I need update the component names now that they're published to bower's registry.
How come some were added and some were not?
Good q!
Now i'm seeing this:
"dependencies": {
"cf-buttons": "*",
"cf-expandables": "~0.6.2",
"cf-forms": "~1.1.1",
"cf-grid": "~0.9.1",
"cf-icons": "*",
"cf-layout": "~0.1.1",
"cf-pagination": "~0.4.2"
},
Some use *
and some use version numbers. Kind of weird.
Currently when running
$ yo cf
I get this in mybower.json
file:Where are the version numbers coming from? I don't see how this gets added in
app/templates/_bower.json
.