Skip to content

Commit 0c8cd4c

Browse files
committed
Update Angular 17.0.4 & Angular CLI 17.0.3
1 parent 9a60971 commit 0c8cd4c

File tree

163 files changed

+3927
-3385
lines changed

Some content is hidden

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

163 files changed

+3927
-3385
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Angular 16 & React 18 Examples Bootstrap
1+
# Angular 17 & React 18 Examples Bootstrap
22

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

1111
it's part of a repo series designed
1212

13-
to create a **Web Application with Angular 16**
13+
to create a **Web Application with Angular 17**
1414

15-
* Featuring [**Angular 16.2.7**](https://github.com/angular/angular/releases) & [**Angular CLI 16.2.4**](https://github.com/angular/angular-cli/releases/)
15+
* Featuring [**Angular 17.0.4**](https://github.com/angular/angular/releases) & [**Angular CLI 17.0.3**](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/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"id-length": "error",
5050
"newline-before-return": "error",
5151
"space-before-blocks": "error",
52-
"no-alert": "error"
52+
"no-alert": "error"
5353
}
5454
}
5555
]

angular/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
### Installation
3+
* `npm install` (installing dependencies)
4+
* `npm outdated` (verifying dependencies)
5+
6+
### Developpement
7+
* `npm run start`
8+
* in your browser [http://localhost:4200](http://localhost:4200)
9+
10+
## Linter
11+
* `npm run lint`
12+
13+
## Tests
14+
* `npm run test`
15+
* `npm run coverage`
16+
17+
### Compilation
18+
* `npm run build` ( without SSR)
19+
20+
### Production
21+
* `npm run serve`
22+
* in your browser [http://localhost:4000](http://localhost:4000)
23+
24+
25+
### Author
26+
* Author : danny

angular/angular.json

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
"prefix": "app",
1212
"architect": {
1313
"build": {
14-
"builder": "@angular-devkit/build-angular:browser",
14+
"builder": "@angular-devkit/build-angular:application",
1515
"options": {
1616
"outputPath": "dist/angular-starter",
1717
"index": "src/index.html",
18-
"main": "src/main.ts",
18+
"browser": "src/main.ts",
1919
"polyfills": [
2020
"zone.js"
2121
],
@@ -48,21 +48,18 @@
4848
"maximumError": "4kb"
4949
}
5050
],
51-
"fileReplacements": [
52-
{
53-
"replace": "src/environments/environment.ts",
54-
"with": "src/environments/environment.prod.ts"
55-
}
56-
],
5751
"outputHashing": "all"
5852
},
5953
"development": {
60-
"buildOptimizer": false,
6154
"optimization": false,
62-
"vendorChunk": true,
6355
"extractLicenses": false,
6456
"sourceMap": true,
65-
"namedChunks": true
57+
"fileReplacements": [
58+
{
59+
"replace": "src/environments/environment.ts",
60+
"with": "src/environments/environment.development.ts"
61+
}
62+
]
6663
}
6764
},
6865
"defaultConfiguration": "production"
@@ -71,18 +68,18 @@
7168
"builder": "@angular-devkit/build-angular:dev-server",
7269
"configurations": {
7370
"production": {
74-
"browserTarget": "angular-starter:build:production"
71+
"buildTarget": "angular-starter:build:production"
7572
},
7673
"development": {
77-
"browserTarget": "angular-starter:build:development"
74+
"buildTarget": "angular-starter:build:development"
7875
}
7976
},
8077
"defaultConfiguration": "development"
8178
},
8279
"extract-i18n": {
8380
"builder": "@angular-devkit/build-angular:extract-i18n",
8481
"options": {
85-
"browserTarget": "angular-starter:build"
82+
"buildTarget": "angular-starter:build"
8683
}
8784
},
8885
"test": {

angular/nginx.conf

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
user www-data;
22
worker_processes auto;
33
pid /run/nginx.pid;
4+
error_log /var/log/nginx/error.log;
45
include /etc/nginx/modules-enabled/*.conf;
56

67
events {
@@ -10,35 +11,27 @@ events {
1011
http {
1112
sendfile on;
1213
tcp_nopush on;
13-
tcp_nodelay on;
14-
keepalive_timeout 65;
1514
types_hash_max_size 2048;
15+
1616
include /etc/nginx/mime.types;
1717
default_type application/octet-stream;
1818

1919
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
2020
ssl_prefer_server_ciphers on;
2121

2222
access_log /var/log/nginx/access.log;
23-
error_log /var/log/nginx/error.log;
24-
2523
gzip on;
26-
2724
include /etc/nginx/conf.d/*.conf;
28-
2925
server {
3026
listen 80 default_server;
3127
listen [::]:80 default_server;
28+
3229
root /var/www/html;
3330
index index.html index.htm index.nginx-debian.html;
34-
3531
server_name _;
36-
3732
location / {
3833
try_files $uri $uri/ =404;
3934
}
4035

4136
}
42-
43-
}
44-
37+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy