Skip to content

Commit 69c9dd4

Browse files
committed
bower_components moved outside of the /app folder
1 parent eb9a5e1 commit 69c9dd4

22 files changed

+77
-76
lines changed

.bowerrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"directory": "app/bower_components"
2+
"directory": "bower_components"
33
}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/.idea
2-
app/bower_components
2+
bower_components
33
/env.properties
44
/node_modules
55
target

.scss-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ linters:
1010

1111
SelectorDepth:
1212
enabled: true
13-
max_depth: 5
13+
max_depth: 6
1414

1515
ImportantRule:
1616
enabled: false

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ The use of the this Gulp build tool is based on applications code being structur
3636

3737
|---- /app
3838
| |
39-
| |---- bower_components
4039
| |---- components
4140
| |---- sections
4241
| |---- img
4342
| |---- styles
4443
| |---- index.html
4544
| |---- app.js
4645
| |---- .eslint.rc.yml
46+
|---- /bower_components
4747
|---- /target
4848
| |---- dist
4949
| |---- tmp
@@ -58,8 +58,8 @@ which means:
5858
- `app` : contains the application source code
5959
- `app/sections` : contains the subsections of the application code
6060
- `app/components`: contains the components (directives, services etc.) embedded in the application
61-
- `app/bower_components` : libraries downloaded by [Bower](http://bower.io/)
6261
- `app/app.js` or `app/App.ts` : the entry point of the Angular application
62+
- `bower_components` : libraries downloaded by [Bower](http://bower.io/)
6363
- `node_modules` : tools downloaded by [npm](https://www.npmjs.org/)
6464
- `target/tmp` : contains generated files (compiled TypeScript, compiled Sass styles, Angular templates etc.)
6565
- `target/dist` : contains app distribution package

app/App.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/// <reference path="bower_components/DefinitelyTyped/angularjs/angular.d.ts" />
2-
/// <reference path="bower_components/DefinitelyTyped/angularjs/angular-route.d.ts" />
1+
/// <reference path="../bower_components/DefinitelyTyped/angularjs/angular.d.ts" />
2+
/// <reference path="../bower_components/DefinitelyTyped/angularjs/angular-route.d.ts" />
33
/// <reference path="Routes.ts" />
44
/// <reference path='sections/portfolio/PortfolioModule.ts'/>
55

app/Routes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/// <reference path="bower_components/DefinitelyTyped/angularjs/angular.d.ts" />
2-
/// <reference path="bower_components/DefinitelyTyped/angularjs/angular-route.d.ts" />
1+
/// <reference path="../bower_components/DefinitelyTyped/angularjs/angular.d.ts" />
2+
/// <reference path="../bower_components/DefinitelyTyped/angularjs/angular-route.d.ts" />
33
module App {
44
export class Routes {
55
static $inject = ['$routeProvider'];

app/app.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import "styles/variables";
22

3-
@import "bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap";
3+
@import "../bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap";
44

55
/*import mixins */
66
@import "styles/mixins";

app/components/navigation/NavigationController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// <reference path='../../bower_components/DefinitelyTyped/angularjs/angular.d.ts' />
1+
/// <reference path='../../../bower_components/DefinitelyTyped/angularjs/angular.d.ts' />
22

33
module Portfolio {
44

app/components/portfolio/PortfolioServiceTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/// <reference path="../../bower_components/DefinitelyTyped/jasmine/jasmine.d.ts" />
2-
/// <reference path="../../bower_components/DefinitelyTyped/angularjs/angular-mocks.d.ts" />
1+
/// <reference path="../../../bower_components/DefinitelyTyped/jasmine/jasmine.d.ts" />
2+
/// <reference path="../../../bower_components/DefinitelyTyped/angularjs/angular-mocks.d.ts" />
33

44
describe('PortfolioService', () => {
55
var service;

app/sections/portfolio/PortfolioModule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// <reference path="../../bower_components/DefinitelyTyped/angularjs/angular.d.ts" />
1+
/// <reference path="../../../bower_components/DefinitelyTyped/angularjs/angular.d.ts" />
22
/// <reference path='PortfolioController.ts' />
33
/// <reference path='../../components/portfolio/PortfolioService.ts' />
44
/// <reference path='../../components/navigation/NavigationController.ts' />

0 commit comments

Comments
 (0)