Skip to content

Commit 9b81c72

Browse files
committed
Update Angular 15.0.1
1 parent 37823c9 commit 9b81c72

37 files changed

+3920
-5119
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Angular 14 & React 18 Examples Routing
1+
# Angular 15 & React 18 Examples Routing
22

33
<table>
44
<tr>
@@ -10,10 +10,10 @@
1010

1111
it's part of a repo series designed
1212

13-
to create a **Web Application with Angular 14**
13+
to create a **Web Application with Angular 15**
1414

1515

16-
* Featuring [**Angular 14.2.6**](https://github.com/angular/angular/releases) & [**Angular CLI 14.2.6**](https://github.com/angular/angular-cli/releases/)
16+
* Featuring [**Angular 15.0.1**](https://github.com/angular/angular/releases) & [**Angular CLI 15.0.1**](https://github.com/angular/angular-cli/releases/)
1717

1818

1919
* See the [**Live demo**](#angular-live-demo), Test the repo with [**Quick start**](#angular-quick-start) and for more information Read the step by step [**Tutorial**](#angular-tutorial) or read the [**Getting started**](#angular-getting-started)

angular/.browserslistrc

-16
This file was deleted.

angular/.eslintrc.json

+13-16
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,13 @@
88
"files": [
99
"*.ts"
1010
],
11-
"parserOptions": {
12-
"project": [
13-
"tsconfig.json"
14-
],
15-
"createDefaultProgram": true
16-
},
1711
"extends": [
12+
"eslint:recommended",
13+
"plugin:@typescript-eslint/recommended",
1814
"plugin:@angular-eslint/recommended",
1915
"plugin:@angular-eslint/template/process-inline-templates"
2016
],
2117
"rules": {
22-
"no-undefined": "error",
23-
"no-var": "error",
24-
"prefer-const": "error",
25-
"func-names": "error",
26-
"id-length": "error",
27-
"newline-before-return": "error",
28-
"space-before-blocks": "error",
29-
"no-alert": "error",
3018
"@angular-eslint/directive-selector": [
3119
"error",
3220
{
@@ -52,7 +40,16 @@
5240
"extends": [
5341
"plugin:@angular-eslint/template/recommended"
5442
],
55-
"rules": {}
43+
"rules": {
44+
"no-undefined": "error",
45+
"no-var": "error",
46+
"prefer-const": "error",
47+
"func-names": "error",
48+
"id-length": "error",
49+
"newline-before-return": "error",
50+
"space-before-blocks": "error",
51+
"no-alert": "error"
52+
}
5653
}
5754
]
58-
}
55+
}

angular/angular.json

+11-16
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
"projects": {
66
"angular-starter": {
77
"projectType": "application",
8-
"schematics": {
9-
"@schematics/angular:application": {
10-
"strict": true
11-
}
12-
},
8+
"schematics": {},
139
"root": "",
1410
"sourceRoot": "src",
1511
"prefix": "app",
@@ -20,7 +16,9 @@
2016
"outputPath": "dist/angular-starter",
2117
"index": "src/index.html",
2218
"main": "src/main.ts",
23-
"polyfills": "src/polyfills.ts",
19+
"polyfills": [
20+
"zone.js"
21+
],
2422
"tsConfig": "tsconfig.app.json",
2523
"assets": [
2624
"src/favicon.ico",
@@ -45,12 +43,6 @@
4543
"maximumError": "4kb"
4644
}
4745
],
48-
"fileReplacements": [
49-
{
50-
"replace": "src/environments/environment.ts",
51-
"with": "src/environments/environment.prod.ts"
52-
}
53-
],
5446
"outputHashing": "all"
5547
},
5648
"development": {
@@ -85,10 +77,11 @@
8577
"test": {
8678
"builder": "@angular-devkit/build-angular:karma",
8779
"options": {
88-
"main": "src/test.ts",
89-
"polyfills": "src/polyfills.ts",
80+
"polyfills": [
81+
"zone.js",
82+
"zone.js/testing"
83+
],
9084
"tsConfig": "tsconfig.spec.json",
91-
"karmaConfig": "karma.conf.js",
9285
"assets": [
9386
"src/favicon.ico",
9487
"src/assets"
@@ -112,6 +105,8 @@
112105
}
113106
},
114107
"cli": {
115-
"defaultCollection": "@angular-eslint/schematics"
108+
"schematicCollections": [
109+
"@angular-eslint/schematics"
110+
]
116111
}
117112
}

angular/karma.conf.js

-44
This file was deleted.

0 commit comments

Comments
 (0)