Skip to content

Commit fac789a

Browse files
committed
Update Angular 15.0.1
1 parent ca1fc82 commit fac789a

File tree

182 files changed

+4515
-6973
lines changed

Some content is hidden

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

182 files changed

+4515
-6973
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Angular 14 & React 18 Examples PWA
1+
# Angular 15 & React 18 Examples PWA
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.2**](https://github.com/angular/angular/releases) & [**Angular CLI 14.2.3**](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

Lines changed: 0 additions & 16 deletions
This file was deleted.

angular/.eslintrc.json

Lines changed: 13 additions & 16 deletions
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

Lines changed: 11 additions & 16 deletions
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",
@@ -53,12 +51,6 @@
5351
"maximumError": "4kb"
5452
}
5553
],
56-
"fileReplacements": [
57-
{
58-
"replace": "src/environments/environment.ts",
59-
"with": "src/environments/environment.prod.ts"
60-
}
61-
],
6254
"outputHashing": "all"
6355
},
6456
"development": {
@@ -93,10 +85,11 @@
9385
"test": {
9486
"builder": "@angular-devkit/build-angular:karma",
9587
"options": {
96-
"main": "src/test.ts",
97-
"polyfills": "src/polyfills.ts",
88+
"polyfills": [
89+
"zone.js",
90+
"zone.js/testing"
91+
],
9892
"tsConfig": "tsconfig.spec.json",
99-
"karmaConfig": "karma.conf.js",
10093
"assets": [
10194
"src/favicon.ico",
10295
"src/assets",
@@ -121,6 +114,8 @@
121114
}
122115
},
123116
"cli": {
124-
"defaultCollection": "@angular-eslint/schematics"
117+
"schematicCollections": [
118+
"@angular-eslint/schematics"
119+
]
125120
}
126121
}

angular/karma.conf.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)