Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6e31431

Browse files
committedMay 21, 2024
chore: merge PR #197 by @vag1830
2 parents f16f45d + dd84d32 commit 6e31431

File tree

10 files changed

+3965
-6469
lines changed

10 files changed

+3965
-6469
lines changed
 

‎CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
### [@coreui/angular](https://coreui.io/) changelog
22

3+
##### `v2.17.0`
4+
5+
- update to `Angular 17` - thanks: @vag1830
6+
37
##### `v2.16.1`
48

59
- chore(dependencies): update

‎CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Angular
22

3-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.2.11.
3+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.7.
44

55
## Code scaffolding
66

‎README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [@coreui/angular](https://coreui.io/angular)
22

3-
![angular](https://img.shields.io/badge/angular-^16.0.0-lightgrey.svg?style=flat-square&logo=angular)
3+
![angular](https://img.shields.io/badge/angular-^17.3.0-lightgrey.svg?style=flat-square&logo=angular)
44
[![npm package][npm-coreui-angular-badge-v2]][npm-coreui-angular]
55
[![npm package][npm-coreui-angular-badge-latest]][npm-coreui-angular]
66
[![NPM downloads][npm-coreui-angular-download]][npm-coreui-angular]
@@ -11,7 +11,7 @@
1111

1212

1313
[npm-coreui-angular]: https://www.npmjs.com/package/@coreui/angular
14-
[npm-coreui-angular-badge-v2]: https://img.shields.io/npm/v/@coreui/angular/v2-ng16?style=flat-square&color=red
14+
[npm-coreui-angular-badge-v2]: https://img.shields.io/npm/v/@coreui/angular/v2-ng17?style=flat-square&color=red
1515
[npm-coreui-angular-badge-latest]: https://img.shields.io/npm/v/@coreui/angular/latest?style=flat-square&color=red
1616
[npm-coreui-angular-badge-next]: https://img.shields.io/npm/v/@coreui/angular/next?style=flat-square&color=red
1717
[npm-coreui-angular-download]: https://img.shields.io/npm/dm/@coreui/angular.svg?style=flat-square
@@ -51,21 +51,27 @@ CoreUI is an Open Source UI Kit built on top of Bootstrap 4. CoreUI is the faste
5151

5252

5353
#### Prerequisites
54-
Before you begin, make sure your development environment includes `Node.js®` and an `npm` package manager.
54+
Before you begin, make sure your development environment includes the supported version `Typescript` as well as `Node.js®` and an `npm` package manager.
55+
56+
###### Typescript
57+
Angular 17 requires `Typescript` version `^5.2.0`.
58+
59+
- To check your version, run `tsc -v` in a terminal/console window.
60+
- To get `Typescript`, go to [www.typescriptlang.org](https://www.typescriptlang.org/).
5561

5662
###### Node.js
57-
Angular 16 requires `Node.js` version `^16.14.0` or `^18.10.0`.
63+
Angular 17 requires `Node.js` version `^18.13.0` or newer.
5864

5965
- To check your version, run `node -v` in a terminal/console window.
6066
- To get `Node.js`, go to [nodejs.org](https://nodejs.org/).
6167

6268
###### Angular CLI
6369
Install the Angular CLI globally using a terminal/console window.
6470
```bash
65-
npm install -g @angular/cli@16
71+
npm install -g @angular/cli@17
6672
```
6773

68-
##### Update to Angular 16
74+
##### Update to Angular 17
6975
see: [https://update.angular.io](https://update.angular.io)
7076

7177
## Installation
@@ -81,7 +87,7 @@ $ git clone https://github.com/coreui/coreui-angular.git
8187
### NPM
8288

8389
``` bash
84-
$ npm install @coreui/angular --save
90+
$ npm install @coreui/angular@2.17 --save
8591
```
8692

8793
### Yarn

‎angular.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,18 @@
7373
"builder": "@angular-devkit/build-angular:dev-server",
7474
"configurations": {
7575
"production": {
76-
"browserTarget": "coreui:build:production"
76+
"buildTarget": "coreui:build:production"
7777
},
7878
"development": {
79-
"browserTarget": "coreui:build:development"
79+
"buildTarget": "coreui:build:development"
8080
}
8181
},
8282
"defaultConfiguration": "development"
8383
},
8484
"extract-i18n": {
8585
"builder": "@angular-devkit/build-angular:extract-i18n",
8686
"options": {
87-
"browserTarget": "coreui:build"
87+
"buildTarget": "coreui:build"
8888
}
8989
},
9090
"test": {

‎package-lock.json

Lines changed: 3902 additions & 6421 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@coreui/angular-dev",
3-
"version": "2.16.1",
4-
"description": "CoreUI Angular 16 Bootstrap 4 components",
3+
"version": "2.17.0",
4+
"description": "CoreUI Angular 17 Bootstrap 4 components",
55
"license": "MIT",
66
"author": {
77
"name": "Łukasz Holeczek",
@@ -25,53 +25,53 @@
2525
"test": "ng test",
2626
"lint": "ng lint",
2727
"e2e": "ng e2e",
28-
"prepublish:lib": "ng test coreui-angular --karma-config=projects/coreui-angular/karma.conf.github.js && ng build coreui-angular --configuration production",
29-
"publish:lib": "cd dist/coreui-angular/ && npm publish --tag v2-ng16 --dry-run",
28+
"prepublish:lib": "ng test coreui-angular --karma-config=projects/coreui-angular/karma.conf.github.js && ng e2e && ng build coreui-angular --configuration production",
29+
"publish:lib": "cd dist/coreui-angular/ && npm publish --tag v2-ng17 --dry-run",
3030
"link": "cd dist/coreui-angular/ && npm link",
3131
"release-version": "node build/change-version.js",
3232
"cypress:open": "cypress open",
3333
"cypress:run": "cypress run"
3434
},
3535
"private": true,
3636
"dependencies": {
37-
"@angular/animations": "^16.2.12",
38-
"@angular/common": "^16.2.12",
39-
"@angular/compiler": "^16.2.12",
40-
"@angular/core": "^16.2.12",
41-
"@angular/forms": "^16.2.12",
42-
"@angular/localize": "^16.2.12",
43-
"@angular/platform-browser": "^16.2.12",
44-
"@angular/platform-browser-dynamic": "^16.2.12",
45-
"@angular/router": "^16.2.12",
37+
"@angular/animations": "^17.3.9",
38+
"@angular/common": "^17.3.9",
39+
"@angular/compiler": "^17.3.9",
40+
"@angular/core": "^17.3.9",
41+
"@angular/forms": "^17.3.9",
42+
"@angular/localize": "^17.3.9",
43+
"@angular/platform-browser": "^17.3.9",
44+
"@angular/platform-browser-dynamic": "^17.3.9",
45+
"@angular/router": "^17.3.9",
4646
"rxjs": "^7.8.1",
4747
"tslib": "^2.3.0",
48-
"zone.js": "~0.13.3"
48+
"zone.js": "~0.14.6"
4949
},
5050
"devDependencies": {
51-
"@angular-devkit/build-angular": "^16.2.14",
52-
"@angular/cli": "^16.2.14",
53-
"@angular/compiler-cli": "^16.2.12",
54-
"@angular/language-service": "^16.2.12",
51+
"@angular-devkit/build-angular": "^17.3.7",
52+
"@angular/cli": "^17.3.7",
53+
"@angular/compiler-cli": "^17.3.9",
54+
"@angular/language-service": "^17.3.9",
5555
"@coreui/coreui": "^2.1.16",
5656
"@cypress/schematic": "^2.5.1",
5757
"@types/jasmine": "^5.1.4",
58-
"@types/node": "^18.19.33",
58+
"@types/node": "^20.12.12",
5959
"jasmine-core": "^5.1.2",
6060
"jasmine-spec-reporter": "~7.0.0",
6161
"karma": "^6.4.3",
6262
"karma-chrome-launcher": "~3.2.0",
6363
"karma-coverage": "~2.2.1",
6464
"karma-jasmine": "~5.1.0",
6565
"karma-jasmine-html-reporter": "^2.1.0",
66-
"ng-packagr": "^16.2.3",
66+
"ng-packagr": "^17.3.0",
6767
"shelljs": "^0.8.5",
6868
"simple-line-icons": "^2.5.5",
6969
"ts-node": "^10.9.2",
70-
"typescript": "~4.9.5",
70+
"typescript": "~5.4.5",
7171
"cypress": "latest"
7272
},
7373
"engines": {
74-
"node": "^16.14.0 || ^18.10.0",
74+
"node": "^18.13.0 || ^20.9.0",
7575
"npm": ">= 8"
7676
}
7777
}

‎projects/coreui-angular/README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [@coreui/angular](https://coreui.io/angular)
22

3-
![angular](https://img.shields.io/badge/angular-^16.0.0-lightgrey.svg?style=flat-square&logo=angular)
3+
![angular](https://img.shields.io/badge/angular-^17.3.0-lightgrey.svg?style=flat-square&logo=angular)
44
[![npm package][npm-coreui-angular-badge-v2]][npm-coreui-angular]
55
[![npm package][npm-coreui-angular-badge-latest]][npm-coreui-angular]
66
[![NPM downloads][npm-coreui-angular-download]][npm-coreui-angular]
@@ -11,7 +11,7 @@
1111

1212

1313
[npm-coreui-angular]: https://www.npmjs.com/package/@coreui/angular
14-
[npm-coreui-angular-badge-v2]: https://img.shields.io/npm/v/@coreui/angular/v2-lts?style=flat-square&color=red
14+
[npm-coreui-angular-badge-v2]: https://img.shields.io/npm/v/@coreui/angular/v2-ng17?style=flat-square&color=red
1515
[npm-coreui-angular-badge-latest]: https://img.shields.io/npm/v/@coreui/angular/latest?style=flat-square&color=red
1616
[npm-coreui-angular-badge-next]: https://img.shields.io/npm/v/@coreui/angular/next?style=flat-square&color=red
1717
[npm-coreui-angular-download]: https://img.shields.io/npm/dm/@coreui/angular.svg?style=flat-square
@@ -51,21 +51,27 @@ CoreUI is an Open Source UI Kit built on top of Bootstrap 4. CoreUI is the faste
5151

5252

5353
#### Prerequisites
54-
Before you begin, make sure your development environment includes `Node.js®` and an `npm` package manager.
54+
Before you begin, make sure your development environment includes the supported version `Typescript` as well as `Node.js®` and an `npm` package manager.
55+
56+
###### Typescript
57+
Angular 17 requires `Typescript` version `^5.2.0`.
58+
59+
- To check your version, run `tsc -v` in a terminal/console window.
60+
- To get `Typescript`, go to [www.typescriptlang.org](https://www.typescriptlang.org/).
5561

5662
###### Node.js
57-
Angular 16 requires `Node.js` version `^16.14.0` or `^18.10.0`.
63+
Angular 17 requires `Node.js` version `^18.13.0` or newer.
5864

5965
- To check your version, run `node -v` in a terminal/console window.
6066
- To get `Node.js`, go to [nodejs.org](https://nodejs.org/).
6167

6268
###### Angular CLI
6369
Install the Angular CLI globally using a terminal/console window.
6470
```bash
65-
npm install -g @angular/cli@16
71+
npm install -g @angular/cli@17
6672
```
6773

68-
##### Update to Angular 16
74+
##### Update to Angular 17
6975
see: [https://update.angular.io](https://update.angular.io)
7076

7177
## Installation
@@ -81,7 +87,7 @@ $ git clone https://github.com/coreui/coreui-angular.git
8187
### NPM
8288

8389
``` bash
84-
$ npm install @coreui/angular --save
90+
$ npm install @coreui/angular@2.17 --save
8591
```
8692

8793
### Yarn

‎projects/coreui-angular/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@coreui/angular",
3-
"version": "2.16.1",
4-
"description": "CoreUI Angular 16 Bootstrap 4 components",
3+
"version": "2.17.0",
4+
"description": "CoreUI Angular 17 Bootstrap 4 components",
55
"license": "MIT",
66
"homepage": "https://coreui.io/angular",
77
"author": {
@@ -20,9 +20,9 @@
2020
"tslib": "^2.3.0"
2121
},
2222
"peerDependencies": {
23-
"@angular/common": "^16.0.0",
24-
"@angular/core": "^16.0.0",
25-
"@angular/router": "^16.0.0"
23+
"@angular/common": "^17.0.0",
24+
"@angular/core": "^17.0.0",
25+
"@angular/router": "^17.0.0"
2626
},
2727
"repository": {
2828
"type": "git",

‎src/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!doctype html>
22
<!--
3-
* CoreUI 2 for Angular 16 - test bed
4-
* @version v2.16.1
3+
* CoreUI 2 for Angular 17 - test bed
4+
* @version v2.17.0
55
* @link https://coreui.io/angular/
66
* Copyright (c) 2024 creativeLabs Łukasz Holeczek
77
-->

‎src/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ if (environment.production) {
99
}
1010

1111
platformBrowserDynamic().bootstrapModule(AppModule, {
12-
useJit: true,
1312
preserveWhitespaces: true
1413
})
1514
.catch(err => console.log(err));

0 commit comments

Comments
 (0)
Please sign in to comment.