Skip to content

Commit 4267dcb

Browse files
authored
Merge pull request #148 from capitalone/upgrade-angular
Upgrade angular
2 parents 01bc2a5 + 16fb572 commit 4267dcb

File tree

11 files changed

+11582
-4555
lines changed

11 files changed

+11582
-4555
lines changed

angular.json

Lines changed: 135 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -1,130 +1,136 @@
1-
{
2-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3-
"cli": {
4-
"analytics": "e205d455-d9b6-4270-bf44-2d20845c2817"
5-
},
6-
"version": 1,
7-
"newProjectRoot": "projects",
8-
"projects":{
9-
"acronym-decoder": {
10-
"projectType": "application",
11-
"schematics": {
12-
"@schematics/angular:application": {
13-
"strict": true
14-
}
15-
},
16-
"root": "",
17-
"sourceRoot": "src",
18-
"prefix": "app",
19-
"architect": {
20-
"build": {
21-
"builder": "@angular-devkit/build-angular:browser",
22-
"options":{
23-
"outputPath": "dist",
24-
"index": "src/index.html",
25-
"main": "src/main.ts",
26-
"polyfills": "src/polyfills.ts",
27-
"tsConfig": "src/tsconfig.app.json",
28-
"assets": [
29-
"src/assets",
30-
"src/favicon.ico",
31-
"src/manifest.json",
32-
"src/glossary.json",
33-
"src/config.json"
34-
],
35-
"styles": [
36-
"node_modules/bootstrap/dist/css/bootstrap.min.css",
37-
"./src/styles.scss"
38-
],
39-
"scripts": []
40-
},
41-
"configurations": {
42-
"production": {
43-
"budgets": [
44-
{
45-
"type": "initial",
46-
"maximumWarning": "2mb",
47-
"maximumError": "5mb"
48-
},
49-
{
50-
"type": "anyComponentStyle",
51-
"maximumWarning": "2kb",
52-
"maximumError": "4kb"
53-
}
54-
],
55-
"fileReplacements": [
56-
{
57-
"replace": "src/environments/environment.ts",
58-
"with": "src/environments/environment.prod.ts"
59-
}
60-
],
61-
"outputHashing": "none",
62-
"extractLicenses": false,
63-
"sourceMap": true,
64-
"vendorChunk": true,
65-
"optimization":{
66-
"styles":{
67-
"inlineCritical": false
68-
}
69-
}
70-
},
71-
"development": {
72-
"buildOptimizer": false,
73-
"optimization": false,
74-
"vendorChunk": true,
75-
"extractLicenses": false,
76-
"sourceMap": true,
77-
"namedChunks": true
78-
}
79-
},
80-
"defaultConfiguration": "production"
81-
},
82-
"serve": {
83-
"builder": "@angular-devkit/build-angular:dev-server",
84-
"configurations": {
85-
"production": {
86-
"browserTarget": "acronym-decoder:build:production"
87-
},
88-
"development": {
89-
"browserTarget": "acronym-decoder:build:development"
90-
}
91-
},
92-
"defaultConfiguration": "development"
93-
},
94-
"extract-i18n": {
95-
"builder": "@angular-devkit/build-angular:extract-i18n",
96-
"options": {
97-
"browserTarget": "acronym-decoder:build"
98-
}
99-
},
100-
"test": {
101-
"builder": "@angular-devkit/build-angular:karma",
102-
"options": {
103-
"main": "src/test.ts",
104-
"polyfills": "src/polyfills.ts",
105-
"tsConfig": "tsconfig.spec.json",
106-
"karmaConfig": "karma.conf.js",
107-
"assets": [
108-
"src/favicon.ico",
109-
"src/assets"
110-
],
111-
"styles": [
112-
{
113-
"input": "node_modules/bootstrap/dist/css/bootstrap.min.css",
114-
"inject": false,
115-
"bundleName": "style"
116-
},
117-
{
118-
"input": "./src/styles.scss",
119-
"inject": false,
120-
"bundleName": "style"
121-
}
122-
],
123-
"scripts": []
124-
}
125-
}
126-
}
127-
}
128-
},
129-
"defaultProject": "acronym-decoder"
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"cli": {
4+
"analytics": "e205d455-d9b6-4270-bf44-2d20845c2817"
5+
},
6+
"version": 1,
7+
"newProjectRoot": "projects",
8+
"projects":{
9+
"acronym-decoder": {
10+
"projectType": "application",
11+
"schematics": {
12+
"@schematics/angular:application": {
13+
"strict": true
14+
}
15+
},
16+
"root": "",
17+
"sourceRoot": "src",
18+
"prefix": "app",
19+
"architect": {
20+
"build": {
21+
"builder": "@angular-devkit/build-angular:application",
22+
"options":{
23+
"outputPath": {
24+
"base": "dist"
25+
},
26+
"index": "src/index.html",
27+
"polyfills": [
28+
"src/polyfills.ts"
29+
],
30+
"tsConfig": "src/tsconfig.app.json",
31+
"assets": [
32+
"src/assets",
33+
"src/favicon.ico",
34+
"src/manifest.json",
35+
"src/glossary.json",
36+
"src/config.json"
37+
],
38+
"styles": [
39+
"node_modules/bootstrap/dist/css/bootstrap.min.css",
40+
"./src/styles.scss"
41+
],
42+
"scripts": [],
43+
"browser": "src/main.ts",
44+
"stylePreprocessorOptions": {
45+
"includePaths": [
46+
"."
47+
]
48+
}
49+
},
50+
"configurations": {
51+
"production": {
52+
"budgets": [
53+
{
54+
"type": "initial",
55+
"maximumWarning": "2mb",
56+
"maximumError": "5mb"
57+
},
58+
{
59+
"type": "anyComponentStyle",
60+
"maximumWarning": "2kb",
61+
"maximumError": "4kb"
62+
}
63+
],
64+
"fileReplacements": [
65+
{
66+
"replace": "src/environments/environment.ts",
67+
"with": "src/environments/environment.prod.ts"
68+
}
69+
],
70+
"outputHashing": "none",
71+
"extractLicenses": false,
72+
"sourceMap": true,
73+
"optimization":{
74+
"styles":{
75+
"inlineCritical": false
76+
}
77+
}
78+
},
79+
"development": {
80+
"optimization": false,
81+
"extractLicenses": false,
82+
"sourceMap": true,
83+
"namedChunks": true
84+
}
85+
},
86+
"defaultConfiguration": "production"
87+
},
88+
"serve": {
89+
"builder": "@angular-devkit/build-angular:dev-server",
90+
"configurations": {
91+
"production": {
92+
"buildTarget": "acronym-decoder:build:production"
93+
},
94+
"development": {
95+
"buildTarget": "acronym-decoder:build:development"
96+
}
97+
},
98+
"defaultConfiguration": "development"
99+
},
100+
"extract-i18n": {
101+
"builder": "@angular-devkit/build-angular:extract-i18n",
102+
"options": {
103+
"buildTarget": "acronym-decoder:build"
104+
}
105+
},
106+
"test": {
107+
"builder": "@angular-devkit/build-angular:karma",
108+
"options": {
109+
"main": "src/test.ts",
110+
"polyfills": "src/polyfills.ts",
111+
"tsConfig": "tsconfig.spec.json",
112+
"karmaConfig": "karma.conf.js",
113+
"assets": [
114+
"src/favicon.ico",
115+
"src/assets"
116+
],
117+
"styles": [
118+
{
119+
"input": "node_modules/bootstrap/dist/css/bootstrap.min.css",
120+
"inject": false,
121+
"bundleName": "style"
122+
},
123+
{
124+
"input": "./src/styles.scss",
125+
"inject": false,
126+
"bundleName": "style"
127+
}
128+
],
129+
"scripts": []
130+
}
131+
}
132+
}
133+
}
134+
},
135+
"defaultProject": "acronym-decoder"
130136
}

0 commit comments

Comments
 (0)