Skip to content

Commit

Permalink
Update Angular 15.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ganatan committed Nov 24, 2022
1 parent 37823c9 commit 9b81c72
Show file tree
Hide file tree
Showing 37 changed files with 3,920 additions and 5,119 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Angular 14 & React 18 Examples Routing
# Angular 15 & React 18 Examples Routing

<table>
<tr>
Expand All @@ -10,10 +10,10 @@

it's part of a repo series designed

to create a **Web Application with Angular 14**
to create a **Web Application with Angular 15**


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


* 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)
Expand Down
16 changes: 0 additions & 16 deletions angular/.browserslistrc

This file was deleted.

29 changes: 13 additions & 16 deletions angular/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,13 @@
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"no-undefined": "error",
"no-var": "error",
"prefer-const": "error",
"func-names": "error",
"id-length": "error",
"newline-before-return": "error",
"space-before-blocks": "error",
"no-alert": "error",
"@angular-eslint/directive-selector": [
"error",
{
Expand All @@ -52,7 +40,16 @@
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {}
"rules": {
"no-undefined": "error",
"no-var": "error",
"prefer-const": "error",
"func-names": "error",
"id-length": "error",
"newline-before-return": "error",
"space-before-blocks": "error",
"no-alert": "error"
}
}
]
}
}
27 changes: 11 additions & 16 deletions angular/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
"projects": {
"angular-starter": {
"projectType": "application",
"schematics": {
"@schematics/angular:application": {
"strict": true
}
},
"schematics": {},
"root": "",
"sourceRoot": "src",
"prefix": "app",
Expand All @@ -20,7 +16,9 @@
"outputPath": "dist/angular-starter",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
Expand All @@ -45,12 +43,6 @@
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"outputHashing": "all"
},
"development": {
Expand Down Expand Up @@ -85,10 +77,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": [
"src/favicon.ico",
"src/assets"
Expand All @@ -112,6 +105,8 @@
}
},
"cli": {
"defaultCollection": "@angular-eslint/schematics"
"schematicCollections": [
"@angular-eslint/schematics"
]
}
}
44 changes: 0 additions & 44 deletions angular/karma.conf.js

This file was deleted.

Loading

0 comments on commit 9b81c72

Please sign in to comment.