Skip to content

Commit 9d944b7

Browse files
authored
Merge pull request #771 from devlinjunker/angular-v14
Update for Angular v14
2 parents 2de2557 + 15e957c commit 9d944b7

File tree

5 files changed

+3512
-3501
lines changed

5 files changed

+3512
-3501
lines changed

angular.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
}
107107
}
108108
},
109-
"defaultProject": "sample-app-angular",
110109
"schematics": {
111110
"@schematics/angular:component": {
112111
"prefix": "app",

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
},
2121
"private": true,
2222
"dependencies": {
23-
"@angular/common": "13.0.2",
24-
"@angular/compiler": "13.0.2",
25-
"@angular/core": "13.0.2",
26-
"@angular/forms": "13.0.2",
27-
"@angular/platform-browser": "13.0.2",
28-
"@angular/platform-browser-dynamic": "13.0.2",
23+
"@angular/common": "14.2.1",
24+
"@angular/compiler": "14.2.1",
25+
"@angular/core": "14.2.1",
26+
"@angular/forms": "14.2.1",
27+
"@angular/platform-browser": "14.2.1",
28+
"@angular/platform-browser-dynamic": "14.2.1",
2929
"@uirouter/angular": "^9.1.0",
3030
"@uirouter/core": "6.0.8",
3131
"@uirouter/rx": "1.0.0",
@@ -38,16 +38,16 @@
3838
"zone.js": "~0.11.4"
3939
},
4040
"devDependencies": {
41-
"@angular-devkit/build-angular": "^13",
42-
"@angular/animations": "13.0.2",
43-
"@angular/cli": "^13.0.3",
44-
"@angular/compiler-cli": "13.0.2",
41+
"@angular-devkit/build-angular": "^14.2.2",
42+
"@angular/animations": "14.2.1",
43+
"@angular/cli": "^14.2.2",
44+
"@angular/compiler-cli": "14.2.1",
4545
"@types/jasmine": "~3.10.2",
4646
"@uirouter/cypress-runner": "^2.0.0",
4747
"fibers": "5.0.0",
4848
"html-webpack-plugin": "5.5.0",
4949
"shx": "^0.3.3",
5050
"tslint": "6.1.3",
51-
"typescript": "~4.4.2"
51+
"typescript": "~4.8.3"
5252
}
53-
}
53+
}

src/app/global/global.module.ts

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ import { DialogComponent } from './dialog.component';
66
import { DialogService } from './dialog.service';
77

88
@NgModule({
9-
imports: [
10-
CommonModule
11-
],
12-
providers: [
13-
AppConfigService,
14-
AuthService,
15-
DialogService,
16-
],
17-
declarations: [DialogComponent],
18-
entryComponents: [DialogComponent],
9+
imports: [
10+
CommonModule
11+
],
12+
providers: [
13+
AppConfigService,
14+
AuthService,
15+
DialogService,
16+
],
17+
declarations: [DialogComponent]
1918
})
2019
export class GlobalModule { }

src/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"moduleResolution": "node",
1111
"outDir": "../dist/out-tsc",
1212
"sourceMap": true,
13-
"target": "es2015",
13+
"target": "es2020",
1414
"skipLibCheck": true,
1515
"typeRoots": [
1616
"../node_modules/@types"

0 commit comments

Comments
 (0)