Skip to content

Commit

Permalink
Merge pull request #24 from melgish/upgrade-angular
Browse files Browse the repository at this point in the history
Upgrade Angular to 12
  • Loading branch information
melgish authored Aug 31, 2021
2 parents b1a710a + a987b43 commit d961a5c
Show file tree
Hide file tree
Showing 31 changed files with 5,609 additions and 7,924 deletions.
File renamed without changes.
16 changes: 10 additions & 6 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist/demo",
"index": "src/index.html",
"main": "src/main.ts",
Expand All @@ -25,7 +24,13 @@
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/styles.scss"
],
"scripts": []
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
Expand All @@ -39,9 +44,7 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
Expand All @@ -52,7 +55,8 @@
}
]
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
Expand Down Expand Up @@ -141,7 +145,7 @@
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/weather-gauges/tsconfig.lib.json",
"project": "projects/weather-gauges/ng-package.json"
Expand Down
28 changes: 2 additions & 26 deletions docs/3rdpartylicenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ THE SOFTWARE.

core-js
MIT
Copyright (c) 2014-2020 Denis Pushkarev
Copyright (c) 2014-2021 Denis Pushkarev

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 @@ -118,30 +118,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


css-loader
MIT
Copyright JS Foundation and other contributors

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.


regenerator-runtime
MIT
MIT License
Expand Down Expand Up @@ -377,7 +353,7 @@ zone.js
MIT
The MIT License

Copyright (c) 2010-2020 Google LLC. http://angular.io/license
Copyright (c) 2010-2020 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 Down
14 changes: 7 additions & 7 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<title>Weather Gauges</title>
<base href="/weather-gauges/"> <meta name="viewport" content="width=device-width, initial-scale=1">
<base href="/weather-gauges/">
<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.978bd2de0a03e440279d.css"></head>
<style>:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;}*,:after,:before{box-sizing:border-box;}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff;}@media print{*,:after,:before{text-shadow:none!important;box-shadow:none!important;}@page {size:a3;}body{min-width:992px!important;}}</style><link rel="stylesheet" href="styles.b66de46047fb6bf28093.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.b66de46047fb6bf28093.css"></noscript></head>
<body>
<app-root></app-root>
<script src="runtime-es2015.0dae8cbc97194c7caed4.js" type="module"></script><script src="runtime-es5.0dae8cbc97194c7caed4.js" nomodule defer></script><script src="polyfills-es5.87b4a1c1d894fe453dc8.js" nomodule defer></script><script src="polyfills-es2015.7f2be5c3211715ed096a.js" type="module"></script><script src="main-es2015.dcdcd4194f7f4c903e59.js" type="module"></script><script src="main-es5.dcdcd4194f7f4c903e59.js" nomodule defer></script></body>
</html>
<script src="runtime-es2015.f24b465e6bea26e38db5.js" type="module"></script><script src="runtime-es5.f24b465e6bea26e38db5.js" nomodule defer></script><script src="polyfills-es5.eedff104c0e925c62e52.js" nomodule defer></script><script src="polyfills-es2015.4a08a0e6e264d202449b.js" type="module"></script><script src="main-es2015.3128121cc2cf828775c7.js" type="module"></script><script src="main-es5.3128121cc2cf828775c7.js" nomodule defer></script>

</body></html>
14 changes: 7 additions & 7 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<title>Weather Gauges</title>
<base href="/weather-gauges/"> <meta name="viewport" content="width=device-width, initial-scale=1">
<base href="/weather-gauges/">
<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.978bd2de0a03e440279d.css"></head>
<style>:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;}*,:after,:before{box-sizing:border-box;}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff;}@media print{*,:after,:before{text-shadow:none!important;box-shadow:none!important;}@page {size:a3;}body{min-width:992px!important;}}</style><link rel="stylesheet" href="styles.b66de46047fb6bf28093.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.b66de46047fb6bf28093.css"></noscript></head>
<body>
<app-root></app-root>
<script src="runtime-es2015.0dae8cbc97194c7caed4.js" type="module"></script><script src="runtime-es5.0dae8cbc97194c7caed4.js" nomodule defer></script><script src="polyfills-es5.87b4a1c1d894fe453dc8.js" nomodule defer></script><script src="polyfills-es2015.7f2be5c3211715ed096a.js" type="module"></script><script src="main-es2015.dcdcd4194f7f4c903e59.js" type="module"></script><script src="main-es5.dcdcd4194f7f4c903e59.js" nomodule defer></script></body>
</html>
<script src="runtime-es2015.f24b465e6bea26e38db5.js" type="module"></script><script src="runtime-es5.f24b465e6bea26e38db5.js" nomodule defer></script><script src="polyfills-es5.eedff104c0e925c62e52.js" nomodule defer></script><script src="polyfills-es2015.4a08a0e6e264d202449b.js" type="module"></script><script src="main-es2015.3128121cc2cf828775c7.js" type="module"></script><script src="main-es5.3128121cc2cf828775c7.js" nomodule defer></script>

</body></html>
1 change: 1 addition & 0 deletions docs/main-es2015.3128121cc2cf828775c7.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/main-es2015.dcdcd4194f7f4c903e59.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/main-es5.3128121cc2cf828775c7.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/main-es5.dcdcd4194f7f4c903e59.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/polyfills-es2015.4a08a0e6e264d202449b.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/polyfills-es2015.7f2be5c3211715ed096a.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/polyfills-es5.87b4a1c1d894fe453dc8.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/polyfills-es5.eedff104c0e925c62e52.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/runtime-es2015.0dae8cbc97194c7caed4.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/runtime-es2015.f24b465e6bea26e38db5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/runtime-es5.0dae8cbc97194c7caed4.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/runtime-es5.f24b465e6bea26e38db5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions docs/styles.978bd2de0a03e440279d.css

This file was deleted.

6 changes: 6 additions & 0 deletions docs/styles.b66de46047fb6bf28093.css

Large diffs are not rendered by default.

Loading

0 comments on commit d961a5c

Please sign in to comment.