From 9d2491a808a887f604c4ba091b6a1b7fc6f937b6 Mon Sep 17 00:00:00 2001 From: Rodrigo Willrich Date: Sun, 1 Sep 2013 16:24:42 -0300 Subject: [PATCH 1/2] Bower: Ignore development and documentation files on bower.json. Fix #10313. I've kept only the files I consider relevant to bower installation: - Files in dist directory; - Files in js directory; - Files in less directory; - bower.json file; - README.md file; - LICENSE file. --- bower.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 0d03da6c90..91d667c114 100644 --- a/bower.json +++ b/bower.json @@ -3,7 +3,19 @@ "version": "3.0.0", "main": ["./dist/js/bootstrap.js", "./dist/css/bootstrap.css", "./dist/fonts/*"], "ignore": [ - "**/.*" + "**/.*", + "_*", + "assets", + "examples", + "/fonts", + "js/tests", + "CNAME", + "CONTRIBUTING.md", + "Gruntfile.js", + "browserstack.json", + "composer.json", + "package.json", + "*.html" ], "dependencies": { "jquery": ">= 1.9.0" From f32abbb6e18b8be2fb35df06ed19b4dc7c6e0f7b Mon Sep 17 00:00:00 2001 From: Rodrigo Willrich Date: Fri, 27 Sep 2013 09:04:33 -0300 Subject: [PATCH 2/2] bower.json: Modify `assets` directory on ignore to `docs-assets` --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 91d667c114..813ab8ee0d 100644 --- a/bower.json +++ b/bower.json @@ -5,7 +5,7 @@ "ignore": [ "**/.*", "_*", - "assets", + "docs-assets", "examples", "/fonts", "js/tests",