Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade to v18 #52

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v18.0.0
## 破坏性更新
- feat: `angular`升级到`v18`;

---

# v17.0.0
## 破坏性更新
- feat: `angular`升级到`v17`;
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v18.0.0
## Breaking Changes
- feat: Upgrade `angular` to `v18`;

---

# v17.0.0
## Breaking Changes
- feat: Upgrade `angular` to `v17`;
Expand Down
1 change: 1 addition & 0 deletions README.CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Angular common lib by bigBear713, include some common `component`, `directive`,
| ^15.0.0 | ^15.0.0 |
| ^16.0.0 | ^16.0.0 |
| ^17.0.0 | ^17.0.0 |
| ^18.0.0 | ^18.0.0 |

---

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Angular common lib by bigBear713, include some common `component`, `directive`,
| ^15.0.0 | ^15.0.0 |
| ^16.0.0 | ^16.0.0 |
| ^17.0.0 | ^17.0.0 |
| ^18.0.0 | ^18.0.0 |

---

Expand Down
42 changes: 35 additions & 7 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/nb-common-demo",
"outputPath": {
"base": "dist/nb-common-demo"
},
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"src/polyfills.ts"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand All @@ -38,7 +41,8 @@
"styles": [
"src/styles.scss"
],
"scripts": []
"scripts": [],
"browser": "src/main.ts"
},
"configurations": {
"production": {
Expand All @@ -62,10 +66,34 @@
],
"outputHashing": "all"
},
"deploy": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"outputHashing": "all",
"outputPath":{
"base": "docs",
"browser": ""
},
"baseHref": "/nb-common/"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
Expand Down
1 change: 0 additions & 1 deletion docs/153.741b2b784256b353.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/363.3c483319babd76f2.js

This file was deleted.

128 changes: 61 additions & 67 deletions docs/3rdpartylicenses.txt
Original file line number Diff line number Diff line change
@@ -1,69 +1,13 @@
@angular/common
MIT

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

@angular/forms
MIT

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

@angular/router
MIT

@bigbear713/nb-common
MIT
MIT License

Copyright (c) 2022 @bigbear713/nb-common project

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.

dayjs
MIT
MIT License

Copyright (c) 2018-present, iamkun

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.


lodash-es
MIT
Copyright OpenJS Foundation and other contributors <https://openjsf.org/>

Based on Underscore.js, copyright Jeremy Ashkenas,
Expand Down Expand Up @@ -112,9 +56,41 @@ maintained libraries used by this software which have their own
licenses; we recommend you read them, as their terms may differ from the
terms above.

--------------------------------------------------------------------------------
Package: dayjs
License: "MIT"

MIT License

Copyright (c) 2018-present, iamkun

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.

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


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

rxjs
Apache-2.0
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -318,12 +294,28 @@ Apache-2.0
limitations under the License.


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


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


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


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

zone.js
MIT
The MIT License

Copyright (c) 2010-2023 Google LLC. https://angular.io/license
Copyright (c) 2010-2024 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 @@ -342,3 +334,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.

--------------------------------------------------------------------------------
50 changes: 25 additions & 25 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
<!doctype html>
<html data-critters-container>
<head>
<meta charset="utf-8">
<title>NbCommon</title>
<base href="/nb-common/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">

<head>
<meta charset="utf-8">
<title>NbCommon</title>
<base href="/nb-common/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X3MS052CM1"></script>
<script>
window.website_ga_id = 'G-X3MS052CM1';
window.libs_ga_id = 'G-V3SHZ9LQWZ';
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
window.gtag = gtag;
gtag('js', new Date());
gtag('config', window.website_ga_id);
gtag('config', window.libs_ga_id);
</script>
<link rel="stylesheet" href="styles.ef46db3751d8e999.css"></head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X3MS052CM1"></script>
<script>
window.website_ga_id = "G-X3MS052CM1";
window.libs_ga_id = "G-V3SHZ9LQWZ";
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
window.gtag = gtag;
gtag("js", new Date());
gtag("config", window.website_ga_id);
gtag("config", window.libs_ga_id);
</script>
<link rel="stylesheet" href="styles-5INURTSO.css"><link rel="modulepreload" href="chunk-7XPSJXHN.js"></head>

<body>
<app-root></app-root>
<script src="runtime.fa83d8c236d05208.js" type="module"></script><script src="polyfills.66531447a85fdc52.js" type="module"></script><script src="main.206ba1f9f8d87b4b.js" type="module"></script></body>

</html>
<body>
<app-root></app-root>
<script src="polyfills-Y3W47ZLP.js" type="module"></script><script src="main-C4T6GLEJ.js" type="module"></script></body>
</html>
Loading