Opened 10 years ago
Closed 9 years ago
#9465 closed feature (fixed)
Add Bower Support
Reported by: | Scott González | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.11.0 |
Component: | [meta] ui.dev | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
bower install jquery-ui
should install the individual source files with @VERSION
replaced. Bower users will be expected to handle minification and concatenation on their own. This should be easily accomplies with the addition of AMD (#9464).
When this is ready, we'll need to claim ownership of the
jquery-ui
component in the Bower registry: https://github.com/bower/bower/issues/120
We decided to keep the "jqueryui" package as-is, instead of trying to take it over. That avoids various problems with backwards compatibility for existing bower users.
Change History (8)
comment:1 Changed 10 years ago by
Milestone: | none → 1.11.0 |
---|---|
Priority: | minor → blocker |
Status: | new → open |
comment:2 Changed 10 years ago by
Milestone: | 1.11.0 → 1.12.0 |
---|
comment:3 Changed 9 years ago by
Milestone: | 1.12.0 → 1.11.0 |
---|
comment:4 Changed 9 years ago by
I looked into this a bit. This is more or less the bower.json
we need (minus the dev dependencies, which are covered by #9507):
{ "name": "jquery-ui", "version": "1.11.0pre", "ignore": [ "**/.*", "build", "demos", "dist", "external", "tests" ], "dependencies": { "jquery": ">=1.6" } }
Other than the version, I'm not sure how much value there is in generating this file. The name will almost certainly never change, and we don't have a list of ignorable files, or our jQuery core version dependency stored anywhere currently.
comment:5 Changed 9 years ago by
We do have the jQuery core dependency listed in a grunt task. We should either move that to a separate file and populate both from that or just have the manifest pull the version out of bower.json
. Once we start using Bower, I'm ok with treating it as a canonical source for information that doesn't belong on package.json
.
comment:7 Changed 9 years ago by
Description: | modified (diff) |
---|
comment:8 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
All: Add Bower support
Fixes #9465 Closes gh-1189
Changeset: e837d11d6b3c8517e322ded24faaa400443402ef
Not super useful without AMD support, so moving this as well.