Skip to content

Commit b93d7a9

Browse files
committed
feat(ng): update to Angular v14
BREAKING CHANGE: Library is built with Angular v14
1 parent a958324 commit b93d7a9

16 files changed

+15112
-47283
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ speed-measure-plugin*.json
3232
.history/*
3333

3434
# misc
35+
/.angular/cache
3536
/.sass-cache
3637
/connect.lock
3738
/coverage

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"angular.enable-strict-mode-prompt": false
3+
}

angular.json

+14-19
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"prefix": "neb",
1111
"architect": {
1212
"build": {
13-
"builder": "@angular-devkit/build-ng-packagr:build",
13+
"builder": "@angular-devkit/build-angular:ng-packagr",
1414
"options": {
1515
"tsConfig": "projects/ngx-element-boundary/tsconfig.lib.json",
1616
"project": "projects/ngx-element-boundary/ng-package.json"
@@ -24,16 +24,6 @@
2424
"test": {
2525
"builder": "@angular-builders/jest:run",
2626
"options": {}
27-
},
28-
"lint": {
29-
"builder": "@angular-devkit/build-angular:tslint",
30-
"options": {
31-
"tsConfig": [
32-
"projects/ngx-element-boundary/tsconfig.lib.json",
33-
"projects/ngx-element-boundary/tsconfig.spec.json"
34-
],
35-
"exclude": ["**/node_modules/**"]
36-
}
3727
}
3828
}
3929
},
@@ -57,9 +47,7 @@
5747
"@schematics/angular:interceptor": {
5848
"skipTests": true
5949
},
60-
"@schematics/angular:module": {
61-
"skipTests": true
62-
},
50+
"@schematics/angular:module": {},
6351
"@schematics/angular:pipe": {
6452
"skipTests": true
6553
},
@@ -79,13 +67,18 @@
7967
"main": "projects/demo/src/main.ts",
8068
"polyfills": "projects/demo/src/polyfills.ts",
8169
"tsConfig": "projects/demo/tsconfig.app.json",
82-
"aot": true,
8370
"assets": [
8471
"projects/demo/src/favicon.ico",
8572
"projects/demo/src/assets"
8673
],
8774
"styles": ["projects/demo/src/styles.css"],
88-
"scripts": []
75+
"scripts": [],
76+
"vendorChunk": true,
77+
"extractLicenses": false,
78+
"buildOptimizer": false,
79+
"sourceMap": true,
80+
"optimization": false,
81+
"namedChunks": true
8982
},
9083
"configurations": {
9184
"production": {
@@ -98,7 +91,6 @@
9891
"optimization": true,
9992
"outputHashing": "all",
10093
"sourceMap": false,
101-
"extractCss": true,
10294
"namedChunks": false,
10395
"extractLicenses": true,
10496
"vendorChunk": false,
@@ -116,7 +108,8 @@
116108
}
117109
]
118110
}
119-
}
111+
},
112+
"defaultConfiguration": "production"
120113
},
121114
"serve": {
122115
"builder": "@angular-devkit/build-angular:dev-server",
@@ -138,5 +131,7 @@
138131
}
139132
}
140133
},
141-
"defaultProject": "ngx-element-boundary"
134+
"cli": {
135+
"analytics": false
136+
}
142137
}

0 commit comments

Comments
 (0)