Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit a9b18aa

Browse files
author
Dmitry Efimenko
committed
feat: 🎸 bump Angular to v13
BREAKING CHANGE: 🧨 Require Angular v13
1 parent 5153afe commit a9b18aa

File tree

18 files changed

+31602
-16324
lines changed

18 files changed

+31602
-16324
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
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

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install -- commitlint -e $GIT_PARAMS

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run hooks:pre-commit && node_modules/.bin/lint-staged

.husky/pre-push

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run test:lib:headless

angular.json

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"prefix": "ngx",
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-errors/tsconfig.lib.json",
1616
"project": "projects/ngx-errors/ng-package.json"
@@ -28,16 +28,6 @@
2828
"tsConfig": "projects/ngx-errors/tsconfig.spec.json",
2929
"karmaConfig": "projects/ngx-errors/karma.conf.js"
3030
}
31-
},
32-
"lint": {
33-
"builder": "@angular-devkit/build-angular:tslint",
34-
"options": {
35-
"tsConfig": [
36-
"projects/ngx-errors/tsconfig.lib.json",
37-
"projects/ngx-errors/tsconfig.spec.json"
38-
],
39-
"exclude": ["**/node_modules/**"]
40-
}
4131
}
4232
}
4333
},
@@ -60,13 +50,18 @@
6050
"main": "projects/playground/src/main.ts",
6151
"polyfills": "projects/playground/src/polyfills.ts",
6252
"tsConfig": "projects/playground/tsconfig.app.json",
63-
"aot": true,
6453
"assets": [
6554
"projects/playground/src/favicon.ico",
6655
"projects/playground/src/assets"
6756
],
6857
"styles": ["projects/playground/src/styles.scss"],
69-
"scripts": []
58+
"scripts": [],
59+
"vendorChunk": true,
60+
"extractLicenses": false,
61+
"buildOptimizer": false,
62+
"sourceMap": true,
63+
"optimization": false,
64+
"namedChunks": true
7065
},
7166
"configurations": {
7267
"production": {
@@ -79,7 +74,6 @@
7974
"optimization": true,
8075
"outputHashing": "all",
8176
"sourceMap": false,
82-
"extractCss": true,
8377
"namedChunks": false,
8478
"extractLicenses": true,
8579
"vendorChunk": false,
@@ -97,7 +91,8 @@
9791
}
9892
]
9993
}
100-
}
94+
},
95+
"defaultConfiguration": ""
10196
},
10297
"serve": {
10398
"builder": "@angular-devkit/build-angular:dev-server",
@@ -131,17 +126,6 @@
131126
"scripts": []
132127
}
133128
},
134-
"lint": {
135-
"builder": "@angular-devkit/build-angular:tslint",
136-
"options": {
137-
"tsConfig": [
138-
"projects/playground/tsconfig.app.json",
139-
"projects/playground/tsconfig.spec.json",
140-
"projects/playground/e2e/tsconfig.json"
141-
],
142-
"exclude": ["**/node_modules/**"]
143-
}
144-
},
145129
"e2e": {
146130
"builder": "@angular-devkit/build-angular:protractor",
147131
"options": {

0 commit comments

Comments
 (0)