#14798 closed bug (fixed)
Define bower.json#main for all tags
Reported by: | Owned by: | Timmy Willison | |
---|---|---|---|
Priority: | high | Milestone: | 1.11.1/2.1.1 |
Component: | build | Version: | 1.11.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I raised a bug with bower https://github.com/bower/bower/issues/1118 asthe bower registry entry for lower case jquery no longer points to /components/jquery, but to jquery/jquery, which I'm told was done in response to a request from jquery.
It's a sensible move, but this breaks the build for a decent number of apps because we use browserify + debowerify, which relies on bower.json#main being properly defined (for jquery it should probably be ['dist/jquery.js', 'dist/jquery.min.js', 'dist/jquery.map']
).
I'll bet debowerify isn't the only tool out there that makes use of bower.json#main. Can you please republish your tags with the main property defined and, in the meantime, ask bower to temporarily revert the url routing.
Change History (7)
comment:1 Changed 9 years ago by
comment:3 Changed 9 years ago by
Component: | unfiled → build |
---|---|
Owner: | set to Timmy Willison |
Priority: | undecided → high |
Status: | new → assigned |
comment:4 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Bower: add main property, move Sizzle to devDependencies, add license property
Fixes #14798 Close gh-1516 Ref gh-1338
Changeset: 027d470b574e15c94cda28f5e2c7a0ed54c11fa6
comment:5 Changed 9 years ago by
Tags 1.11.0 and 2.1.0 have also been updated. Let us know if you have anymore problems.
comment:6 Changed 9 years ago by
Bower: stop ignoring yourself, bower
Ref #14798 Ref gh-1516 Ref gh-1338
Changeset: a35996141e3c1de92e89ed77eac1799124e747d3
comment:7 Changed 9 years ago by
Milestone: | None → 1.11.1/2.1.1 |
---|
+1. And I don't use browserify + debowerify. Just brunch build:
[Error: Component JSON file "/home/sasha/suitcase/client/bower_components/jquery/.bower.json" must have `main` property. See https://github.com/paulmillr/read-components#README]