From 94c0c63691976eaf7136c33365f611b465ba7f61 Mon Sep 17 00:00:00 2001 From: Konstantinos Kostarellis Date: Sun, 30 Mar 2014 00:57:24 +0100 Subject: [PATCH] Dependency version care in _bower.json - adjusts bower.json to allways depend on the latest stable 1.2.x release of angular - bumps version of bootstrap to match with the version of bootstrap-sass-official --- templates/common/_bower.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/common/_bower.json b/templates/common/_bower.json index 2316017a9..cc5a04444 100644 --- a/templates/common/_bower.json +++ b/templates/common/_bower.json @@ -2,20 +2,20 @@ "name": "<%= _.slugify(_.humanize(appname)) %>", "version": "0.0.0", "dependencies": { - "angular": "1.2.11", + "angular": ">=1.2.*", "json3": "~3.2.6", "es5-shim": "~2.1.0"<% if (bootstrap) { %>, "jquery": "~1.11.0"<% if (compassBootstrap) { %>, "bootstrap-sass-official": "~3.1.1"<% } else { %>, - "bootstrap": "~3.0.3"<% } } %><% if (resourceModule) { %>, - "angular-resource": "1.2.11"<% } %><% if (cookiesModule) { %>, - "angular-cookies": "1.2.11"<% } %><% if (sanitizeModule) { %>, - "angular-sanitize": "1.2.11"<% } %><% if (routeModule) { %>, - "angular-route": "1.2.11"<% } %> + "bootstrap": "~3.1.1"<% } } %><% if (resourceModule) { %>, + "angular-resource": ">=1.2.*"<% } %><% if (cookiesModule) { %>, + "angular-cookies": ">=1.2.*"<% } %><% if (sanitizeModule) { %>, + "angular-sanitize": ">=1.2.*"<% } %><% if (routeModule) { %>, + "angular-route": ">=1.2.*"<% } %> }, "devDependencies": { - "angular-mocks": "1.2.11", - "angular-scenario": "1.2.11" + "angular-mocks": ">=1.2.*", + "angular-scenario": ">=1.2.*" }, "testPath": "test/client/spec" }