Skip to content

Commit 9c335d8

Browse files
committed
migrate workspace for @angular/[email protected]
1 parent 3ccfe10 commit 9c335d8

File tree

6 files changed

+29
-26
lines changed

6 files changed

+29
-26
lines changed

angular.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
},
3131
"configurations": {
3232
"production": {
33+
"budgets": [
34+
{
35+
"type": "anyComponentStyle",
36+
"maximumWarning": "6kb"
37+
}
38+
],
3339
"fileReplacements": [
3440
{
3541
"replace": "src/environments/environment.ts",
@@ -133,7 +139,8 @@
133139
"configurations": {
134140
"production": {
135141
"project": "projects/coreui/angular/ng-package.prod.json"
136-
}
142+
, "tsConfig": "projects/coreui/angular/tsconfig.lib.prod.json"
143+
}
137144
}
138145
},
139146
"test": {

package-lock.json

Lines changed: 3 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,20 @@
3838
"@angular/router": "^9.0.0-rc.0",
3939
"core-js": "^2.6.10",
4040
"rxjs": "^6.5.3",
41-
"zone.js": "^0.10.2"
41+
"tslib": "^1.10.0",
42+
"zone.js": "~0.10.2"
4243
},
4344
"devDependencies": {
44-
"@angular-devkit/build-angular": "^0.900.0-rc.0",
45-
"@angular-devkit/build-ng-packagr": "^0.900.0-rc.0",
45+
"@angular-devkit/build-angular": "~0.900.0-rc.0",
46+
"@angular-devkit/build-ng-packagr": "~0.900.0-rc.0",
4647
"@angular/cli": "^9.0.0-rc.0",
4748
"@angular/compiler-cli": "^9.0.0-rc.0",
4849
"@angular/language-service": "^9.0.0-rc.0",
4950
"@types/jasmine": "^3.4.4",
5051
"@types/jasminewd2": "^2.0.8",
51-
"@types/node": "^11.13.22",
52+
"@types/node": "^12.11.1",
5253
"@coreui/coreui": "^2.1.12",
53-
"codelyzer": "^5.2.0",
54+
"codelyzer": "^5.1.2",
5455
"jasmine-core": "^3.5.0",
5556
"jasmine-spec-reporter": "^4.2.1",
5657
"karma": "^4.4.1",
@@ -64,8 +65,6 @@
6465
"simple-line-icons": "^2.4.1",
6566
"shelljs": "^0.8.3",
6667
"ts-node": "^8.4.1",
67-
"tsickle": "~0.37.0",
68-
"tslib": "^1.10.0",
6968
"tslint": "^5.20.0",
7069
"typescript": "~3.6.4"
7170
}

projects/coreui/angular/tsconfig.lib.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
]
1919
},
2020
"angularCompilerOptions": {
21-
"annotateForClosureCompiler": true,
2221
"skipTemplateCodegen": true,
2322
"strictMetadataEmit": true,
2423
"fullTemplateTypeCheck": true,
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.lib.json",
3+
"angularCompilerOptions": {
4+
"enableIvy": false
5+
}
6+
}

src/tsconfig.app.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@
1515
"angularCompilerOptions": {
1616
"enableIvy": false
1717
},
18-
"exclude": [
19-
"test.ts",
20-
"**/*.spec.ts"
18+
"files": [
19+
"main.ts",
20+
"polyfills.ts"
21+
],
22+
"include": [
23+
"**/*.d.ts"
2124
]
2225
}

0 commit comments

Comments
 (0)