diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-07-16 14:08:10 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-07-16 14:08:10 +0200 |
commit | cd82b335a8d6029481383b3da3d920f0658acaf0 (patch) | |
tree | 9ee4310ba14a154c4151dee49344e6ca80c1d337 /build | |
parent | 44dda079c0d632ffc97e08a0cc63dc3db0f459a9 (diff) | |
download | jquery-ui-cd82b335a8d6029481383b3da3d920f0658acaf0.tar.gz jquery-ui-cd82b335a8d6029481383b3da3d920f0658acaf0.zip |
Manifest: Add category field
Diffstat (limited to 'build')
-rw-r--r-- | build/core.json | 4 | ||||
-rw-r--r-- | build/tasks/build.js | 10 | ||||
-rw-r--r-- | build/widgets.json | 3 |
3 files changed, 12 insertions, 5 deletions
diff --git a/build/core.json b/build/core.json index 5273ebf7a..aac41f7aa 100644 --- a/build/core.json +++ b/build/core.json @@ -13,7 +13,8 @@ "calendar", "date", "i18n" - ] + ], + "category": "widget" }, "effect": { "title": "jQuery UI Effects Core", @@ -27,6 +28,7 @@ "transition", "easing" ], + "category": "effect", "homepage": "http://jqueryui.com/", "demo": "http://jqueryui.com/", "docs": "http://api.jqueryui.com/category/effects-core" diff --git a/build/tasks/build.js b/build/tasks/build.js index 5dff38f6a..d1211f60b 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -8,12 +8,14 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( base = { core: { name: "ui.{plugin}", - title: "jQuery UI {Plugin}" + title: "jQuery UI {Plugin}", + category: "core" }, widgets: { name: "ui.{plugin}", title: "jQuery UI {Plugin}", - dependencies: [ "core", "widget" ] + dependencies: [ "core", "widget" ], + category: "widget" }, effects: { name: "ui.effect-{plugin}", @@ -22,7 +24,8 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( homepage: "http://jqueryui.com/{plugin}-effect/", demo: "http://jqueryui.com/{plugin}-effect/", docs: "http://api.jqueryui.com/{plugin}-effect/", - dependencies: [ "effect" ] + dependencies: [ "effect" ], + category: "effect" } }; @@ -46,6 +49,7 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( keywords: [ "ui", plugin ] .concat( baseManifest.keywords || [] ) .concat( data.keywords || [] ), + category: data.category || baseManifest.category, version: pkg.version, author: pkg.author, maintainers: pkg.maintainers, diff --git a/build/widgets.json b/build/widgets.json index b518e6d0b..9c70726ea 100644 --- a/build/widgets.json +++ b/build/widgets.json @@ -66,7 +66,8 @@ "description": "Abstracts mouse-based interactions to assist in creating certain widgets.", "keywords": [ "abstraction" - ] + ], + "category": "core" }, "progressbar": { "dependencies": [], |