Skip to content

Commit d3c8f0e

Browse files
committed
Update Angular 15.0.1
1 parent 1c9667c commit d3c8f0e

File tree

150 files changed

+4138
-5199
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+4138
-5199
lines changed

README.md

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

33
<table>
44
<tr>
@@ -12,7 +12,7 @@ it's part of a repo series designed
1212

1313
to create a **Web Application with Angular 14**
1414

15-
* Featuring [**Angular 14.2.10**](https://github.com/angular/angular/releases) & [**Angular CLI 14.2.9**](https://github.com/angular/angular-cli/releases/)
15+
* Featuring [**Angular 15.0.1**](https://github.com/angular/angular/releases) & [**Angular CLI 15.0.1**](https://github.com/angular/angular-cli/releases/)
1616

1717

1818
* 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

+12-17
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",
@@ -50,12 +48,6 @@
5048
"maximumError": "4kb"
5149
}
5250
],
53-
"fileReplacements": [
54-
{
55-
"replace": "src/environments/environment.ts",
56-
"with": "src/environments/environment.prod.ts"
57-
}
58-
],
5951
"outputHashing": "all"
6052
},
6153
"development": {
@@ -90,10 +82,11 @@
9082
"test": {
9183
"builder": "@angular-devkit/build-angular:karma",
9284
"options": {
93-
"main": "src/test.ts",
94-
"polyfills": "src/polyfills.ts",
85+
"polyfills": [
86+
"zone.js",
87+
"zone.js/testing"
88+
],
9589
"tsConfig": "tsconfig.spec.json",
96-
"karmaConfig": "karma.conf.js",
9790
"assets": [
9891
"src/favicon.ico",
9992
"src/assets"
@@ -117,6 +110,8 @@
117110
}
118111
},
119112
"cli": {
120-
"defaultCollection": "@angular-eslint/schematics"
113+
"schematicCollections": [
114+
"@angular-eslint/schematics"
115+
]
121116
}
122-
}
117+
}

angular/karma.conf.js

-44
This file was deleted.

0 commit comments

Comments
 (0)