Skip to content

Commit 5081c60

Browse files
author
Dirk Luijk
committed
feat: add support for Angular 14
1 parent 3d15add commit 5081c60

File tree

6 files changed

+1761
-2053
lines changed

6 files changed

+1761
-2053
lines changed

angular.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
}
115115
}
116116
},
117-
"defaultProject": "breadcrumpy",
118117
"cli": {
119118
"analytics": "807246b0-b4f3-4c7f-902e-42b931ce81d0"
120119
}

package.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"ng": "ng",
1212
"commit": "git-cz",
1313
"start": "ng serve demo",
14-
"build": "ng build --configuration production && yarn copy:readme",
14+
"build": "ng build --project breadcrumpy --configuration production && yarn copy:readme",
1515
"test": "ng test",
1616
"lint": "tslint --project . --fix",
1717
"contributors:add": "all-contributors add",
@@ -21,25 +21,25 @@
2121
},
2222
"private": false,
2323
"dependencies": {
24-
"@angular/animations": "~13.3.11",
25-
"@angular/common": "~13.3.11",
26-
"@angular/compiler": "~13.3.11",
27-
"@angular/core": "~13.3.11",
28-
"@angular/forms": "~13.3.11",
29-
"@angular/platform-browser": "~13.3.11",
30-
"@angular/platform-browser-dynamic": "~13.3.11",
31-
"@angular/router": "~13.3.11",
24+
"@angular/animations": "^14.0.3",
25+
"@angular/common": "^14.0.3",
26+
"@angular/compiler": "^14.0.3",
27+
"@angular/core": "^14.0.3",
28+
"@angular/forms": "^14.0.3",
29+
"@angular/platform-browser": "^14.0.3",
30+
"@angular/platform-browser-dynamic": "^14.0.3",
31+
"@angular/router": "^14.0.3",
3232
"rxjs": "~6.6.2",
3333
"rxjs-etc": "^10.4.0",
3434
"tslib": "^2.3.0",
3535
"zone.js": "~0.11.4"
3636
},
3737
"devDependencies": {
38-
"@angular-builders/jest": "^13.0.0",
39-
"@angular-devkit/build-angular": "~13.3.8",
40-
"@angular/cli": "~13.3.8",
41-
"@angular/compiler-cli": "~13.3.11",
42-
"@angular/language-service": "~13.3.11",
38+
"@angular-builders/jest": "^14.0.0",
39+
"@angular-devkit/build-angular": "^14.0.3",
40+
"@angular/cli": "^14.0.3",
41+
"@angular/compiler-cli": "^14.0.3",
42+
"@angular/language-service": "^14.0.3",
4343
"@commitlint/cli": "^8.1.0",
4444
"@commitlint/config-conventional": "^8.1.0",
4545
"@dirkluijk/observable-matchers": "^0.3.2",
@@ -52,8 +52,9 @@
5252
"commitizen": "^4.0.3",
5353
"cz-conventional-changelog": "^3.0.2",
5454
"husky": "^3.0.3",
55-
"jest": "^27.0.0",
56-
"ng-packagr": "^13.3.1",
55+
"jest": "^28.0.0",
56+
"jest-jasmine2": "^28.1.1",
57+
"ng-packagr": "^14.0.2",
5758
"protractor": "~7.0.0",
5859
"standard-version": "^9.0.0",
5960
"ts-node": "~7.0.0",

projects/breadcrumpy/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"license": "MIT",
77
"private": false,
88
"peerDependencies": {
9-
"@angular/core": "^13.0.0",
10-
"@angular/router": "^13.0.0",
9+
"@angular/core": "^14.0.0",
10+
"@angular/router": "^14.0.0",
1111
"rxjs": "^6.0.0",
1212
"rxjs-etc": "^10.0.0"
1313
},

projects/breadcrumpy/tsconfig.lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"compilerOptions": {
44
"outDir": "../../out-tsc/lib",
55
"declarationMap": true,
6-
"target": "es2015",
6+
"target": "es2020",
77
"declaration": true,
88
"inlineSources": true,
99
"types": [],

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
"experimentalDecorators": true,
2222
"module": "es2020",
2323
"moduleResolution": "node",
24+
"esModuleInterop": true,
2425
"importHelpers": true,
25-
"target": "es2015",
26+
"target": "es2020",
2627
"typeRoots": [
2728
"node_modules/@types"
2829
],

0 commit comments

Comments
 (0)