Skip to content

Commit c74bba7

Browse files
committed
chore(dependencies): update to Angular 18
1 parent 5e333bb commit c74bba7

File tree

13 files changed

+74
-66
lines changed

13 files changed

+74
-66
lines changed

CLI.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @coreui/angular v4
22

3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.0.3.
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.0.2.
44

55
## Development server
66

@@ -24,4 +24,4 @@ Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To u
2424

2525
## Further help
2626

27-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
27+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 creativeLabs Łukasz Holeczek
3+
Copyright (c) 2024 creativeLabs Łukasz Holeczek
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,18 @@
2626
## Status
2727

2828
![angular][angular-badge]
29+
[![npm-coreui-angular-v4-ng18][npm-coreui-angular-badge-v4-ng18]][npm-coreui-angular]
2930
[![npm-coreui-angular-latest][npm-coreui-angular-badge-latest]][npm-coreui-angular]
3031
[![npm-coreui-angular-next][npm-coreui-angular-badge-next]][npm-coreui-angular]
31-
[![NPM downloads][npm-coreui-angular-download]][npm-coreui-angular]
32+
[![NPM downloads][npm-coreui-angular-download]][npm-coreui-angular]
3233
[![Build](https://github.com/coreui/coreui-angular/actions/workflows/build-check.yml/badge.svg)](https://github.com/coreui/coreui-angular/actions/workflows/build-check.yml)
3334

35+
[npm-coreui-angular-badge-v4-ng18]: https://img.shields.io/npm/v/@coreui/angular/v4-ng18?style=flat-square&color=brightgreen
3436
[npm-coreui-angular-badge-latest]: https://img.shields.io/npm/v/@coreui/angular/latest?style=flat-square&color=brightgreen
3537
[npm-coreui-angular-badge-next]: https://img.shields.io/npm/v/@coreui/angular/next?style=flat-square&color=red
3638
[npm-coreui-angular]: https://www.npmjs.com/package/@coreui/angular
3739
[npm-coreui-angular-download]: https://img.shields.io/npm/dm/@coreui/angular.svg?style=flat-square
38-
[angular-badge]: https://img.shields.io/badge/angular-^17.3.0-lightgrey.svg?style=flat-square&logo=angular
40+
[angular-badge]: https://img.shields.io/badge/angular-^18.0.0-lightgrey.svg?style=flat-square&logo=angular
3941

4042
## Table of contents
4143

@@ -59,7 +61,7 @@
5961
Before you begin, make sure your development environment includes `Node.js®` and `npm` package manager.
6062

6163
###### Node.js
62-
[**Angular 17**](https://angular.io/guide/what-is-angular) requires `Node.js` LTS version `^18.13` or `^20.9`.
64+
[**Angular 18**](https://angular.dev/overview) requires `Node.js` LTS version `^18.19` or newer.
6365

6466
- To check your version, run `node -v` in a terminal/console window.
6567
- To get `Node.js`, go to [nodejs.org](https://nodejs.org/).
@@ -76,8 +78,7 @@ Several quick start options are available (pick one):
7678

7779
- [Download the latest release](https://github.com/coreui/coreui-angular/)
7880
- Clone the repo: `git clone https://github.com/coreui/coreui-angular.git`
79-
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/angular`
80-
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/angular`
81+
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/angular @coreui/icons-angular @coreui/coreui`
8182

8283
Read the [Getting started page](https://coreui.io/angular/docs/) for information on the framework contents, templates and examples, and more.
8384

@@ -209,4 +210,4 @@ Thanks to all the backers and sponsors! Support this project by [becoming a back
209210

210211
## Copyright and license
211212

212-
Copyright 2023 creativeLabs Łukasz Holeczek. Code released under the [MIT License](https://github.com/coreui/coreui-angular/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).
213+
Copyright 2024 creativeLabs Łukasz Holeczek. Code released under the [MIT License](https://github.com/coreui/coreui-angular/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).

package.json

+25-25
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"test:lib:dev": "ng test coreui-angular",
1313
"test:lib:prod": "ng test coreui-angular --karma-config=projects/coreui-angular/karma.conf.github.js",
1414
"prepublish:lib": "ng build coreui-icons-angular && ng lint coreui-angular && ng test coreui-angular --watch=false && ng build coreui-angular",
15-
"publish:lib": "cd dist/coreui-angular/ && npm publish --tag v4-ng17 --dry-run",
15+
"publish:lib": "cd dist/coreui-angular/ && npm publish --tag v4-ng18 --dry-run",
1616
"lint:lib": "ng lint coreui-angular",
1717
"link:lib": "cd dist/coreui-angular/ && npm link",
1818
"chartjs": "ng",
@@ -21,7 +21,7 @@
2121
"test:chartjs:dev": "ng test coreui-angular-chartjs",
2222
"test:chartjs:prod": "ng test coreui-angular-chartjs --karma-config=projects/coreui-angular-chartjs/karma.conf.github.js",
2323
"prepublish:chartjs": "ng lint coreui-angular-chartjs && ng test coreui-angular-chartjs --watch=false && ng build coreui-angular-chartjs",
24-
"publish:chartjs": "cd dist/coreui-angular-chartjs/ && npm publish --tag v4-ng17 --dry-run",
24+
"publish:chartjs": "cd dist/coreui-angular-chartjs/ && npm publish --tag v4-ng18 --dry-run",
2525
"lint:chartjs": "ng lint coreui-angular-chartjs",
2626
"link:chartjs": "cd dist/coreui-angular-chartjs/ && npm link",
2727
"icons": "ng",
@@ -30,40 +30,40 @@
3030
"test:icons:dev": "ng test coreui-icons-angular",
3131
"test:icons:prod": "ng test coreui-icons-angular --karma-config=projects/coreui-icons-angular/karma.conf.github.js",
3232
"prepublish:icons": "ng lint coreui-icons-angular && ng test coreui-icons-angular --watch=false && ng build coreui-icons-angular",
33-
"publish:icons": "cd dist/coreui-icons-angular/ && npm publish --tag v4-ng17 --dry-run",
33+
"publish:icons": "cd dist/coreui-icons-angular/ && npm publish --tag v4-ng18 --dry-run",
3434
"lint:icons": "ng lint coreui-icons-angular",
3535
"link:icons": "cd dist/coreui-icons-angular/ && npm link"
3636
},
3737
"private": true,
3838
"dependencies": {
39-
"@angular/animations": "^17.3.11",
40-
"@angular/cdk": "^17.3.10",
41-
"@angular/common": "^17.3.11",
42-
"@angular/compiler": "^17.3.11",
43-
"@angular/core": "^17.3.11",
44-
"@angular/forms": "^17.3.11",
45-
"@angular/localize": "^17.3.11",
46-
"@angular/platform-browser": "^17.3.11",
47-
"@angular/platform-browser-dynamic": "^17.3.11",
48-
"@angular/router": "^17.3.11",
39+
"@angular/animations": "^18.0.3",
40+
"@angular/cdk": "^18.0.3",
41+
"@angular/common": "^18.0.3",
42+
"@angular/compiler": "^18.0.3",
43+
"@angular/core": "^18.0.3",
44+
"@angular/forms": "^18.0.3",
45+
"@angular/localize": "^18.0.3",
46+
"@angular/platform-browser": "^18.0.3",
47+
"@angular/platform-browser-dynamic": "^18.0.3",
48+
"@angular/router": "^18.0.3",
4949
"@coreui/chartjs": "^3.1.2",
5050
"@popperjs/core": "~2.11.8",
5151
"chart.js": "^3.9.1",
5252
"lodash-es": "^4.17.21",
5353
"rxjs": "~7.8.1",
5454
"tslib": "^2.6.3",
55-
"zone.js": "~0.14.4"
55+
"zone.js": "~0.14.7"
5656
},
5757
"devDependencies": {
58-
"@angular-devkit/build-angular": "^17.3.8",
59-
"@angular-eslint/builder": "^17.5.2",
60-
"@angular-eslint/eslint-plugin": "^17.5.2",
61-
"@angular-eslint/eslint-plugin-template": "^17.5.2",
62-
"@angular-eslint/schematics": "^17.5.2",
63-
"@angular-eslint/template-parser": "^17.5.2",
64-
"@angular/cli": "^17.3.8",
65-
"@angular/compiler-cli": "^17.3.11",
66-
"@angular/language-service": "^17.3.11",
58+
"@angular-devkit/build-angular": "^18.0.4",
59+
"@angular-eslint/builder": "^18.0.1",
60+
"@angular-eslint/eslint-plugin": "^18.0.1",
61+
"@angular-eslint/eslint-plugin-template": "^18.0.1",
62+
"@angular-eslint/schematics": "^18.0.1",
63+
"@angular-eslint/template-parser": "^18.0.1",
64+
"@angular/cli": "^18.0.4",
65+
"@angular/compiler-cli": "^18.0.3",
66+
"@angular/language-service": "^18.0.3",
6767
"@coreui/icons": "^3.0.1",
6868
"@types/jasmine": "^5.1.4",
6969
"@types/lodash-es": "^4.17.12",
@@ -77,7 +77,7 @@
7777
"karma-coverage": "^2.2.1",
7878
"karma-jasmine": "^5.1.0",
7979
"karma-jasmine-html-reporter": "^2.1.0",
80-
"ng-packagr": "^17.3.0",
80+
"ng-packagr": "^18.0.0",
8181
"prettier": "^3.3.2",
8282
"typescript": "~5.4.5"
8383
},
@@ -102,7 +102,7 @@
102102
"url": "git+https://github.com/coreui/coreui-angular.git"
103103
},
104104
"config": {
105-
"version_short": "4.7"
105+
"version_short": "4.8"
106106
},
107107
"engines": {
108108
"node": "^18.13.0 || ^20.9.0",

projects/coreui-angular-chartjs/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 creativeLabs Łukasz Holeczek
3+
Copyright (c) 2024 creativeLabs Łukasz Holeczek
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

projects/coreui-angular-chartjs/README.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</a>
99
</p>
1010

11-
<h3 align="center">CoreUI Angular wrapper for Chart.js</h3>
11+
<h3 align="center">CoreUI Angular wrapper for Chart.js v3</h3>
1212

1313
<p align="center">
1414
<a href="https://coreui.io/angular/docs/"><strong>Explore @coreui/angular-chartjs docs & examples »</strong></a>
@@ -24,23 +24,25 @@
2424
## Status
2525

2626
![angular][angular-badge]
27-
[![npm package][npm-badge]][npm]
28-
[![npm package][npm-badge-next]][npm]
27+
[![npm package][npm-badge-v4-ng18]][npm]
28+
[![npm package][npm-badge-latest]][npm]
29+
[![npm package][npm-badge-next]][npm]
2930
[![NPM downloads][npm-download]][npm]
3031

3132

32-
[npm-badge]: https://img.shields.io/npm/v/@coreui/angular-chartjs/latest?style=flat-square&color=brightgreen
33+
[npm-badge-v4-ng18]: https://img.shields.io/npm/v/@coreui/angular-chartjs/v4-ng18?style=flat-square&color=brightgreen
34+
[npm-badge-latest]: https://img.shields.io/npm/v/@coreui/angular-chartjs/latest?style=flat-square&color=brightgreen
3335
[npm-badge-next]: https://img.shields.io/npm/v/@coreui/angular-chartjs/next?style=flat-square&color=red
3436
[npm]: https://www.npmjs.com/package/@coreui/angular-chartjs
3537
[npm-download]: https://img.shields.io/npm/dm/@coreui/angular-chartjs.svg?style=flat-square
36-
[angular-badge]: https://img.shields.io/badge/angular-^17.3.0-lightgrey.svg?style=flat-square&logo=angular
38+
[angular-badge]: https://img.shields.io/badge/angular-^18.0.0-lightgrey.svg?style=flat-square&logo=angular
3739

3840
##### install:
3941

4042
```bash
41-
npm install chart.js
43+
npm install chart.js@3
4244
npm install @coreui/chartjs@3
43-
npm install @coreui/angular-chartjs
45+
npm install @coreui/angular-chartjs@4.8
4446
````
4547

4648
##### import:
@@ -182,4 +184,4 @@ Thanks to all the backers and sponsors! Support this project by [becoming a back
182184
183185
## Copyright and license
184186
185-
Copyright 2023 creativeLabs Łukasz Holeczek. Code released under the [MIT License](https://github.com/coreui/coreui-angular/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).
187+
Copyright 2024 creativeLabs Łukasz Holeczek. Code released under the [MIT License](https://github.com/coreui/coreui-angular/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).

projects/coreui-angular-chartjs/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"url": "https://github.com/coreui/coreui-angular/issues"
2626
},
2727
"peerDependencies": {
28-
"@angular/cdk": "^17.3.0",
29-
"@angular/common": "^17.3.0",
30-
"@angular/core": "^17.3.0",
28+
"@angular/cdk": "^18.0.0",
29+
"@angular/common": "^18.0.0",
30+
"@angular/core": "^18.0.0",
3131
"@coreui/chartjs": "^3.0.0",
3232
"chart.js": "^3.9.1"
3333
},

projects/coreui-angular/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 creativeLabs Łukasz Holeczek
3+
Copyright (c) 2024 creativeLabs Łukasz Holeczek
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

projects/coreui-angular/README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,18 @@
2626
## Status
2727

2828
![angular][angular-badge]
29+
[![npm-coreui-angular-v4-ng18][npm-coreui-angular-badge-v4-ng18]][npm-coreui-angular]
2930
[![npm-coreui-angular-latest][npm-coreui-angular-badge-latest]][npm-coreui-angular]
3031
[![npm-coreui-angular-next][npm-coreui-angular-badge-next]][npm-coreui-angular]
31-
[![NPM downloads][npm-coreui-angular-download]][npm-coreui-angular]
32+
[![NPM downloads][npm-coreui-angular-download]][npm-coreui-angular]
3233
[![Build](https://github.com/coreui/coreui-angular/actions/workflows/build-check.yml/badge.svg)](https://github.com/coreui/coreui-angular/actions/workflows/build-check.yml)
3334

35+
[npm-coreui-angular-badge-v4-ng18]: https://img.shields.io/npm/v/@coreui/angular/v4-ng18?style=flat-square&color=brightgreen
3436
[npm-coreui-angular-badge-latest]: https://img.shields.io/npm/v/@coreui/angular/latest?style=flat-square&color=brightgreen
3537
[npm-coreui-angular-badge-next]: https://img.shields.io/npm/v/@coreui/angular/next?style=flat-square&color=red
3638
[npm-coreui-angular]: https://www.npmjs.com/package/@coreui/angular
3739
[npm-coreui-angular-download]: https://img.shields.io/npm/dm/@coreui/angular.svg?style=flat-square
38-
[angular-badge]: https://img.shields.io/badge/angular-^17.3.0-lightgrey.svg?style=flat-square&logo=angular
40+
[angular-badge]: https://img.shields.io/badge/angular-^18.0.0-lightgrey.svg?style=flat-square&logo=angular
3941

4042
## Table of contents
4143

@@ -59,7 +61,7 @@
5961
Before you begin, make sure your development environment includes `Node.js®` and `npm` package manager.
6062

6163
###### Node.js
62-
[**Angular 17**](https://angular.io/guide/what-is-angular) requires `Node.js` LTS version `^18.13` or `^20.9`.
64+
[**Angular 18**](https://angular.dev/overview) requires `Node.js` LTS version `^18.19` or newer.
6365

6466
- To check your version, run `node -v` in a terminal/console window.
6567
- To get `Node.js`, go to [nodejs.org](https://nodejs.org/).
@@ -76,8 +78,7 @@ Several quick start options are available (pick one):
7678

7779
- [Download the latest release](https://github.com/coreui/coreui-angular/)
7880
- Clone the repo: `git clone https://github.com/coreui/coreui-angular.git`
79-
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/angular`
80-
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/angular`
81+
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/angular @coreui/icons-angular @coreui/coreui`
8182

8283
Read the [Getting started page](https://coreui.io/angular/docs/) for information on the framework contents, templates and examples, and more.
8384

@@ -209,4 +210,4 @@ Thanks to all the backers and sponsors! Support this project by [becoming a back
209210

210211
## Copyright and license
211212

212-
Copyright 2023 creativeLabs Łukasz Holeczek. Code released under the [MIT License](https://github.com/coreui/coreui-angular/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).
213+
Copyright 2024 creativeLabs Łukasz Holeczek. Code released under the [MIT License](https://github.com/coreui/coreui-angular/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).

projects/coreui-angular/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
},
2424
"sideEffects": false,
2525
"peerDependencies": {
26-
"@angular/animations": "^17.3.0",
27-
"@angular/cdk": "^17.3.0",
28-
"@angular/common": "^17.3.0",
29-
"@angular/core": "^17.3.0",
30-
"@angular/router": "^17.3.0",
26+
"@angular/animations": "^18.0.0",
27+
"@angular/cdk": "^18.0.0",
28+
"@angular/common": "^18.0.0",
29+
"@angular/core": "^18.0.0",
30+
"@angular/router": "^18.0.0",
3131
"rxjs": "^7.8.1"
3232
},
3333
"repository": {

projects/coreui-icons-angular/README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,18 @@
2828
# CoreUI Icons Angular
2929

3030
![angular][angular-badge]
31-
[![NPM](https://img.shields.io/npm/v/@coreui/icons-angular/latest?style=flat-square&color=brightgreen)][coreui-angular-icons-npm]
31+
[![npm-coreui-angular-v4-ng18][npm-coreui-icons-angular-v4-ng18]][coreui-angular-icons-npm]
32+
[![npm-coreui-angular-latest][npm-coreui-icons-angular-latest]][coreui-angular-icons-npm]
3233
[![npm-coreui-angular-next][npm-coreui-icons-angular-next]][coreui-angular-icons-npm]
3334
[![Downloads](https://img.shields.io/npm/dm/@coreui/icons-angular.svg?style=flat-square)][coreui-angular-icons-npm]
3435
[![License](https://img.shields.io/npm/l/@coreui/angular?style=flat-square)][coreui]
3536

3637
[coreui]: https://coreui.io/icons
3738
[coreui-angular-icons-npm]: https://www.npmjs.com/package/@coreui/icons-angular
38-
[npm-coreui-icons-angular-next]: https://img.shields.io/npm/v/@coreui/icons-angular/next.png?style=flat-square&color=red
39-
[angular-badge]: https://img.shields.io/badge/angular-^17.3.0-lightgrey.svg?style=flat-square&logo=angular
39+
[npm-coreui-icons-angular-v4-ng18]: https://img.shields.io/npm/v/@coreui/icons-angular/v4-ng18?style=flat-square&color=brightgreen
40+
[npm-coreui-icons-angular-latest]: https://img.shields.io/npm/v/@coreui/icons-angular/latest?style=flat-square&color=brightgreen
41+
[npm-coreui-icons-angular-next]: https://img.shields.io/npm/v/@coreui/icons-angular/next?style=flat-square&color=red
42+
[angular-badge]: https://img.shields.io/badge/angular-^18.0.0-lightgrey.svg?style=flat-square&logo=angular
4043

4144
## `cIcon` directive
4245

@@ -57,7 +60,7 @@ For directive description visit [https://coreui.io/angular/docs/](https://coreui
5760

5861
```shell
5962
npm install @coreui/icons@3
60-
npm install @coreui/icons-angular@4
63+
npm install @coreui/icons-angular@4.8
6164
```
6265

6366
### Usage

projects/coreui-icons-angular/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"url": "https://github.com/coreui/coreui-angular/issues"
2626
},
2727
"peerDependencies": {
28-
"@angular/common": "^17.3.0",
29-
"@angular/core": "^17.3.0",
30-
"@angular/platform-browser": "^17.3.0"
28+
"@angular/common": "^18.0.0",
29+
"@angular/core": "^18.0.0",
30+
"@angular/platform-browser": "^18.0.0"
3131
},
3232
"dependencies": {
3333
"tslib": "^2.3.0"

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@
2121
"noPropertyAccessFromIndexSignature": false,
2222
"noImplicitReturns": true,
2323
"noFallthroughCasesInSwitch": true,
24+
"skipLibCheck": true,
2425
"esModuleInterop": true,
2526
"sourceMap": true,
2627
"declaration": false,
2728
"experimentalDecorators": true,
28-
"moduleResolution": "node",
29+
"moduleResolution": "bundler",
2930
"importHelpers": true,
3031
"target": "ES2022",
3132
"module": "ES2022",

0 commit comments

Comments
 (0)