Skip to content

Commit 90dd60c

Browse files
committed
@angular/cli migration - workspace-version-9
Angular Workspace migration. Update an Angular CLI workspace to version 9.
1 parent 6e2a73b commit 90dd60c

6 files changed

+31
-107
lines changed

angular.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"sourceMap": false,
3636
"extractCss": true,
3737
"namedChunks": true,
38-
"aot": true,
3938
"es5BrowserSupport": false,
4039
"extractLicenses": true,
4140
"vendorChunk": false,
@@ -45,6 +44,10 @@
4544
"type": "initial",
4645
"maximumWarning": "2mb",
4746
"maximumError": "5mb"
47+
},
48+
{
49+
"type": "anyComponentStyle",
50+
"maximumWarning": "6kb"
4851
}
4952
],
5053
"fileReplacements": [

ngsw-config.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"/favicon.ico",
1111
"/index.html",
1212
"/*.css",
13-
"/*.js"
13+
"/*.js",
14+
"/manifest.webmanifest"
1415
]
1516
}
1617
}, {

package-lock.json

+18-92
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,24 @@
2222
"@angular/forms": "9.0.0",
2323
"@angular/platform-browser": "9.0.0",
2424
"@angular/platform-browser-dynamic": "9.0.0",
25-
"@angular/pwa": "0.803.23",
2625
"@angular/router": "9.0.0",
2726
"@angular/service-worker": "9.0.0",
2827
"core-js": "^3.6.4",
2928
"marked": "^0.8.0",
3029
"ngx-quicklink": "^0.2.0",
3130
"rxjs": "^6.5.4",
3231
"tslib": "^1.10.0",
33-
"zone.js": "^0.10.2"
32+
"zone.js": "~0.10.2"
3433
},
3534
"devDependencies": {
36-
"@angular-devkit/build-angular": "0.900.1",
35+
"@angular-devkit/build-angular": "~0.900.1",
3736
"@angular/cli": "9.0.1",
3837
"@angular/compiler-cli": "9.0.0",
3938
"@angular/language-service": "9.0.0",
4039
"@types/jasmine": "~3.5.0",
4140
"@types/jasminewd2": "~2.0.8",
42-
"@types/node": "^13.1.7",
43-
"codelyzer": "^5.2.1",
41+
"@types/node": "^12.11.1",
42+
"codelyzer": "^5.1.2",
4443
"jasmine-core": "~3.5.0",
4544
"jasmine-spec-reporter": "~4.2.1",
4645
"karma": "~4.4.1",

src/tsconfig.app.json

+3-7
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@
33
"compilerOptions": {
44
"outDir": "../out-tsc/app",
55
"baseUrl": "./",
6-
"module": "esnext",
76
"types": []
87
},
9-
"angularCompilerOptions": {
10-
"enableIvy": true
11-
},
12-
"exclude": [
13-
"test.ts",
14-
"**/*.spec.ts"
8+
"files": [
9+
"main.ts",
10+
"polyfills.ts"
1511
]
1612
}

src/tsconfig.spec.json

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"compilerOptions": {
44
"outDir": "../out-tsc/spec",
55
"baseUrl": "./",
6-
"module": "commonjs",
76
"target": "es5",
87
"types": [
98
"jasmine",

0 commit comments

Comments
 (0)