Skip to content

Commit

Permalink
update Angular starter (#35)
Browse files Browse the repository at this point in the history
* enable target ES2022
* update to 18.1
* Set zone.js in the polyfill entry
  • Loading branch information
JeanMeche authored Aug 6, 2024
1 parent 601c330 commit ed1c8a9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
1 change: 1 addition & 0 deletions angular/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"index": "src/index.html",
"browser": "src/main.ts",
"outputPath": "dist/demo",
"polyfills": ["zone.js"],
"scripts": [],
"styles": ["src/global_styles.css"],
"tsConfig": "tsconfig.app.json"
Expand Down
22 changes: 11 additions & 11 deletions angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@
"build": "ng build"
},
"dependencies": {
"@angular/animations": "^18.0.0",
"@angular/common": "^18.0.0",
"@angular/compiler": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/forms": "^18.0.0",
"@angular/platform-browser": "^18.0.0",
"@angular/router": "^18.0.0",
"@angular/animations": "^18.1.0",
"@angular/common": "^18.1.0",
"@angular/compiler": "^18.1.0",
"@angular/core": "^18.1.0",
"@angular/forms": "^18.1.0",
"@angular/platform-browser": "^18.1.0",
"@angular/router": "^18.1.0",
"rxjs": "^7.8.1",
"tslib": "^2.5.0",
"zone.js": "~0.14.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^18.0.0",
"@angular/cli": "^18.0.1",
"@angular/compiler-cli": "^18.0.0",
"typescript": "~5.4.0"
"@angular-devkit/build-angular": "^18.1.0",
"@angular/cli": "^18.1.0",
"@angular/compiler-cli": "^18.1.0",
"typescript": "~5.5.0"
}
}
1 change: 0 additions & 1 deletion angular/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Component } from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';
import 'zone.js';

@Component({
selector: 'app-root',
Expand Down
2 changes: 1 addition & 1 deletion angular/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "ES2015",
"target": "ES2022",
"module": "ES2022",
"useDefineForClassFields": false,
"lib": ["ES2022", "dom"]
Expand Down

0 comments on commit ed1c8a9

Please sign in to comment.