Skip to content

Commit

Permalink
Update solution to Angular v17
Browse files Browse the repository at this point in the history
  • Loading branch information
changhuixu committed Dec 5, 2023
1 parent ccdd5f2 commit 7381c3b
Show file tree
Hide file tree
Showing 28 changed files with 5,918 additions and 12,874 deletions.
16 changes: 0 additions & 16 deletions .browserslistrc

This file was deleted.

2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"configurations": [
{
"name": "ng serve",
"type": "pwa-chrome",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: start",
"url": "http://localhost:4200/"
Expand Down
41 changes: 15 additions & 26 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"skipTests": true
"skipTests": true,
"standalone": false
},
"@schematics/angular:class": {
"skipTests": true
},
"@schematics/angular:directive": {
"skipTests": true
"skipTests": true,
"standalone": false
},
"@schematics/angular:guard": {
"skipTests": true
Expand All @@ -22,7 +24,8 @@
"skipTests": true
},
"@schematics/angular:pipe": {
"skipTests": true
"skipTests": true,
"standalone": false
},
"@schematics/angular:resolver": {
"skipTests": true
Expand All @@ -36,20 +39,15 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/session-expiration-alert-demo",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"browser": "src/main.ts",
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": []
},
"configurations": {
Expand All @@ -66,21 +64,12 @@
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
"sourceMap": true
}
},
"defaultConfiguration": "production"
Expand All @@ -89,18 +78,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "session-expiration-alert-demo:build:production"
"buildTarget": "session-expiration-alert-demo:build:production"
},
"development": {
"browserTarget": "session-expiration-alert-demo:build:development"
"buildTarget": "session-expiration-alert-demo:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "session-expiration-alert-demo:build"
"buildTarget": "session-expiration-alert-demo:build"
}
}
}
Expand Down
64 changes: 26 additions & 38 deletions docs/3rdpartylicenses.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
@angular/common
MIT

@angular/core
MIT
--------------------------------------------------------------------------------
Package: @angular/core
License: "MIT"

@angular/platform-browser
MIT

rxjs
Apache-2.0
--------------------------------------------------------------------------------
Package: rxjs
License: "Apache-2.0"

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -212,34 +211,10 @@ Apache-2.0
limitations under the License.


--------------------------------------------------------------------------------
Package: tslib
License: "0BSD"

session-expiration-alert
MIT
MIT License

Copyright (c) 2017 David Herges

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


tslib
0BSD
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
Expand All @@ -252,12 +227,23 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
--------------------------------------------------------------------------------
Package: @angular/common
License: "MIT"


--------------------------------------------------------------------------------
Package: @angular/platform-browser
License: "MIT"


--------------------------------------------------------------------------------
Package: zone.js
License: "MIT"

zone.js
MIT
The MIT License

Copyright (c) 2010-2022 Google LLC. https://angular.io/license
Copyright (c) 2010-2023 Google LLC. https://angular.io/license

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -276,3 +262,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

--------------------------------------------------------------------------------
12 changes: 0 additions & 12 deletions docs/404.html

This file was deleted.

Binary file added docs/browser/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions docs/browser/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en" data-critters-container>
<head>
<meta charset="utf-8">
<title>SessionExpirationAlertDemo</title>
<base href="/session-expiration-alert/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="styles-5INURTSO.css"></head>
<body>
<app-root></app-root>
<script src="polyfills-LZBJRJJE.js" type="module"></script><script src="main-O3OHKUX7.js" type="module"></script></body>
</html>
10 changes: 10 additions & 0 deletions docs/browser/main-O3OHKUX7.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/browser/polyfills-LZBJRJJE.js

Large diffs are not rendered by default.

File renamed without changes.
Binary file removed docs/favicon.ico
Binary file not shown.
12 changes: 0 additions & 12 deletions docs/index.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/main.bd9da09af1000bf7.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/polyfills.d34b6559ec466e34.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/runtime.a430f459c22cdb03.js

This file was deleted.

Loading

0 comments on commit 7381c3b

Please sign in to comment.