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

Commit

Permalink
feat: 🎸 bump Angular to v13
Browse files Browse the repository at this point in the history
BREAKING CHANGE: 🧨 Require Angular v13
  • Loading branch information
Dmitry Efimenko committed Dec 9, 2021
1 parent 5153afe commit a9b18aa
Show file tree
Hide file tree
Showing 18 changed files with 31,602 additions and 16,324 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ speed-measure-plugin*.json
.history/*

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install -- commitlint -e $GIT_PARAMS
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

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

npm run test:lib:headless
36 changes: 10 additions & 26 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"prefix": "ngx",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/ngx-errors/tsconfig.lib.json",
"project": "projects/ngx-errors/ng-package.json"
Expand All @@ -28,16 +28,6 @@
"tsConfig": "projects/ngx-errors/tsconfig.spec.json",
"karmaConfig": "projects/ngx-errors/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/ngx-errors/tsconfig.lib.json",
"projects/ngx-errors/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
}
}
}
},
Expand All @@ -60,13 +50,18 @@
"main": "projects/playground/src/main.ts",
"polyfills": "projects/playground/src/polyfills.ts",
"tsConfig": "projects/playground/tsconfig.app.json",
"aot": true,
"assets": [
"projects/playground/src/favicon.ico",
"projects/playground/src/assets"
],
"styles": ["projects/playground/src/styles.scss"],
"scripts": []
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
Expand All @@ -79,7 +74,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
Expand All @@ -97,7 +91,8 @@
}
]
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
Expand Down Expand Up @@ -131,17 +126,6 @@
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/playground/tsconfig.app.json",
"projects/playground/tsconfig.spec.json",
"projects/playground/e2e/tsconfig.json"
],
"exclude": ["**/node_modules/**"]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
Expand Down
Loading

0 comments on commit a9b18aa

Please sign in to comment.