From 69c993d9ba3231a1cba8b2e716ac7f95c2172367 Mon Sep 17 00:00:00 2001 From: Douglas Duteil Date: Wed, 5 Feb 2014 19:30:34 +0100 Subject: [PATCH] fix(publisher): corrected main path I finally took the time to do it... I added a `bowerData` key to the client publishers to overwrite any existing bower properties in the built output (we you run `grunt build:bower`). This fix exits in `angular-ui-publisher@1.1.1` and `angular-ui-publisher@1.2.4` so old and new repos can use it. Closes #177, #161, #157 --- bower.json | 2 +- package.json | 2 +- publish.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bower.json b/bower.json index e93b5c1e..ffd75ac2 100644 --- a/bower.json +++ b/bower.json @@ -2,7 +2,7 @@ "author": "AngularUI Team", "name": "angular-ui-utils", "description": "AngularUI Utilities - Companion Suite for AngularJS", - "version": "0.1.0", + "version": "0.1.1", "homepage": "http://angular-ui.github.com", "main": "./modules/utils.js", "dependencies": { diff --git a/package.json b/package.json index 217014e8..116eedd6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-ui-utils", - "version": "0.1.0", + "version": "0.1.1", "description": "Swiss-Army-Knife of AngularJS tools (with no external dependencies!)", "author": "https://github.com/angular-ui/ui-utils/graphs/contributors", "license": "MIT License, http://www.opensource.org/licenses/MIT", diff --git a/publish.js b/publish.js index fae15f0f..34d7b0d8 100644 --- a/publish.js +++ b/publish.js @@ -35,6 +35,7 @@ module.exports = function() { // HACK... main_dist_dir: 'main', + bowerData : { main: './ui-utils.js'}, // The sub-components subcomponents : modulesName.reduce(makingComponentData, {}),