8000 chore: update to Angular 13 · coreui/coreui-icons-angular@ebc0ed2 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jul 13, 2022. It is now read-only.

Commit ebc0ed2

Browse files
committed
chore: update to Angular 13
1 parent d8c7ef7 commit ebc0ed2

File tree

16 files changed

+129
-95
lines changed

16 files changed

+129
-95
lines changed

.eslintrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
"error",
2424
{
2525
"type": "attribute",
26-
"prefix": "app",
26+
"prefix": "c",
2727
"style": "camelCase"
2828
}
2929
],
3030
"@angular-eslint/component-selector": [
3131
"error",
3232
{
3333
"type": "element",
34-
"prefix": "app",
34+
"prefix": "c",
3535
"style": "kebab-case"
3636
}
3737
],

.github/workflows/daily-project-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [14.x]
15+
node-version: [16.x]
1616
os: [ubuntu-latest]
1717

1818
steps:

.github/workflows/project-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Project check
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
build:
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [14.x]
18+
node-version: [16.x]
1919
os: [ubuntu-latest, windows-latest, macOS-latest]
2020

2121
steps:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ speed-measure-plugin*.json
3333
.history/*
3434

3535
# misc
36+
/.angular/cache
3637
/.sass-cache
3738
/connect.lock
3839
/coverage

NG.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

NG12.md renamed to NG13.md

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

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

55
## Code scaffolding
66

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
1+
<p align="center">
2+
<a href="https://coreui.io/">
3+
<img
4+
src="https://coreui.io/images/brand/coreui-signet.svg"
5+
alt="CoreUI logo"
6+
width="200"
7+
/>
8+
</a>
9+
</p>
10+
11+
<h3 align="center">CoreUI Icons for Angular</h3>
12+
13+
<p align="center">
14+
<br>
15+
<a href="https://coreui.io/angular/docs/4.0/icons"><strong>Explore CoreUI for Angular docs »</strong></a>
16+
<br>
17+
<br>
18+
<a href="https://icons.coreui.io/"><strong>CoreUI Icons »</strong></a>
19+
<br>
20+
<br>
21+
<a href="https://github.com/coreui/coreui-icons-angular/issues/new?template=bug_report.md">Report a bug</a>
22+
·
23+
<a href="https://github.com/coreui/coreui-icons-angular/issues/new?template=feature_request.md">Request a feature</a>
24+
·
25+
<a href="https://blog.coreui.io/">Blog</a>
26+
</p>
27+
128
# CoreUI Icons Angular
229

3-
![angular](https://img.shields.io/badge/angular-^12.2.0-lightgrey.svg?style=flat-square&logo=angular)
30+
![angular](https://img.shields.io/badge/angular-^13.0.0-lightgrey.svg?style=flat-square&logo=angular)
431
[![npm-coreui-angular-next][npm-coreui-icons-angular-next]][coreui-angular-icons-npm]
532
![angular](https://img.shields.io/badge/angular-^11.2.0-lightgrey.svg?style=flat-square&logo=angular)
633
[![NPM](https://img.shields.io/npm/v/@coreui/icons-angular/latest?style=flat-square&color=brightgreen)][coreui-angular-icons-npm]

angular.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"version": 1,
88
"newProjectRoot": "projects",
99
"projects": {
10-
"@coreui/icons-angular": {
10+
"coreui-icons-angular": {
1111
"projectType": "library",
1212
"schematics": {
1313
"@schematics/angular:component": {
@@ -53,5 +53,5 @@
5353
}
5454
}
5555
},
56-
"defaultProject": "@coreui/icons-angular"
56+
"defaultProject": "coreui-icons-angular"
5757
}

package.json

Lines changed: 36 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "coreui-icons-angular",
3-
"version": "3.0.0-alpha.3",
3+
"version": "3.0.0-alpha.4",
44
"description": "CoreUI Icons Angular component",
55
"license": "MIT",
66
"homepage": "https://coreui.io",
@@ -33,56 +33,53 @@
3333
"lint": "ng lint",
3434
"link:lib": "cd dist/coreui-icons-angular/ && npm link",
3535
"prepublish:lib": "ng lint && ng test --watch=false && ng build",
36-
"publish:lib": "cd dist/coreui-icons-angular/ && npm publish --tag next --dry-run",
37-
"e2e": "ng e2e"
36+
"publish:lib": "cd dist/coreui-icons-angular/ && npm publish --tag next --dry-run"
3837
},
3938
"private": true,
4039
"dependencies": {
41-
"@angular/common": "~12.2.13",
42-
"@angular/compiler": "~12.2.13",
43-
"@angular/core": "~12.2.13",
44-
"@angular/platform-browser": "~12.2.13",
45-
"@angular/platform-browser-dynamic": "~12.2.13",
46-
"rxjs": "~6.6.7",
47-
"tslib": "^2.3.1",
40+
"@angular/common": "~13.0.0",
41+
"@angular/compiler": "~13.0.0",
42+
"@angular/core": "~13.0.0",
43+
"@angular/platform-browser": "~13.0.0",
44+
"@angular/platform-browser-dynamic": "~13.0.0",
45+
"tslib": "^2.3.0",
4846
"zone.js": "~0.11.4"
4947
},
5048
"devDependencies": {
51-
"@angular-devkit/build-angular": "~12.2.13",
52-
"@angular-eslint/builder": "~12.6.1",
53-
"@angular-eslint/eslint-plugin": "~12.6.1",
54-
"@angular-eslint/eslint-plugin-template": "~12.6.1",
55-
"@angular-eslint/schematics": "~12.6.1",
56-
"@angular-eslint/template-parser": "~12.6.1",
57-
"@angular/cli": "~12.2.13",
58-
"@angular/compiler-cli": "~12.2.13",
49+
"@angular-devkit/build-angular": "~13.0.4",
50+
"@angular-eslint/builder": "13.0.1",
51+
"@angular-eslint/eslint-plugin": "13.0.1",
52+
"@angular-eslint/eslint-plugin-template": "13.0.1",
53+
"@angular-eslint/schematics": "13.0.1",
54+
"@angular-eslint/template-parser": "13.0.1",
55+
"@angular/cli": "~13.0.4",
56+
"@angular/compiler-cli": "~13.0.3",
5957
"@coreui/icons": "^2.1.0",
60-
"@types/jasmine": "~3.8.0",
61-
"@types/node": "^16.11.7",
62-
"@typescript-eslint/eslint-plugin": "~4.33.0",
63-
"@typescript-eslint/parser": "~4.33.0",
64-
"eslint": "^7.32.0",
65-
"jasmine-core": "~3.8.0",
66-
"karma": "~6.3.8",
58+
"@types/jasmine": "~3.10.0",
59+
"@types/node": "^16.11.11",
60+
"@typescript-eslint/eslint-plugin": "5.3.0",
61+
"@typescript-eslint/parser": "5.3.0",
62+
"eslint": "^8.2.0",
63+
"jasmine-core": "~3.10.0",
64+
"karma": "~6.3.0",
6765
"karma-chrome-launcher": "~3.1.0",
6866
"karma-coverage": "~2.0.3",
69-
"karma-jasmine": "~4.0.1",
67+
"karma-jasmine": "~4.0.0",
7068
"karma-jasmine-html-reporter": "~1.7.0",
71-
"ng-packagr": "^12.2.5",
72-
"prettier": "^2.4.1",
73-
"typescript": "~4.3.5"
69+
"ng-packagr": "^13.0.8",
70+
"typescript": "~4.4.3"
7471
},
7572
"keywords": [
76-
"coreui",
77-
"coreui-icons",
78-
"coreui-angular",
79-
"icons",
80-
"svg",
81-
"svg-icons",
82-
"layout",
83-
"component",
84-
"angular"
85-
],
73+
"coreui",
74+
"coreui-icons",
75+
"coreui-angular",
76+
"icons",
77+
"svg",
78+
"svg-icons",
79+
"layout",
80+
"component",
81+
"angular"
82+
],
8683
"engines": {
8784
"node": "^12.20.0 || ^14.15.0 || >=16.10.0",
8885
"npm": ">= 6"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# For the full list of supported browsers by the Angular framework, please see:
6+
# https://angular.io/guide/browser-support
7+
8+
# You can see what browsers were selected by your queries by running:
9+
# npx browserslist
10+
11+
last 1 Chrome version
12+
last 1 Firefox version
13< 10000 code class="diff-text syntax-highlighted-line addition">+
last 2 Edge major versions
14+
last 2 Safari major versions
15+
last 2 iOS major versions
16+
Firefox ESR

projects/coreui-icons-angular/README.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,38 @@
1+
<p align="center">
2+
<a href="https://coreui.io/">
3+
<img
4+
src="https://coreui.io/images/brand/coreui-signet.svg"
5+
alt="CoreUI logo"
6+
width="200"
7+
/>
8+
</a>
9+
</p>
10+
11+
<h3 align="center">CoreUI Icons for Angular</h3>
12+
13+
<p align="center">
14+
<br>
15+
<a href="https://coreui.io/angular/docs/4.0/icons"><strong>Explore CoreUI for Angular docs »</strong></a>
16+
<br>
17+
<br>
18+
<a href="https://icons.coreui.io/"><strong>CoreUI Icons »</strong></a>
19+
<br>
20+
<br>
21+
<a href="https://github.com/coreui/coreui-icons-angular/issues/new?template=bug_report.md">Report a bug</a>
22+
·
23+
<a href="https://github.com/coreui/coreui-icons-angular/issues/new?template=feature_request.md">Request a feature</a>
24+
·
25+
<a href="https://blog.coreui.io/">Blog</a>
26+
</p>
27+
128
# CoreUI Icons Angular
229

3-
![angular](https://img.shields.io/badge/angular-^12.2.0-lightgrey.svg?style=flat-square&logo=angular)
30+
![angular](https://img.shields.io/badge/angular-^13.0.0-lightgrey.svg?style=flat-square&logo=angular)
431
[![npm-coreui-angular-next][npm-coreui-icons-angular-next]][coreui-angular-icons-npm]
532
![angular](https://img.shields.io/badge/angular-^11.2.0-lightgrey.svg?style=flat-square&logo=angular)
6-
[![NPM](https://img.shields.io/npm/v/@coreui/icons-angular/latest?style=flat-square&color=brightgreen)][coreui-angular-icons-npm]
33+
[![NPM](https://img.shields.io/npm/v/@coreui/icons-angular/latest?style=flat-square&color=brightgreen)][coreui-angular-icons-npm]
734
[![Downloads](https://img.shields.io/npm/dm/@coreui/icons-angular.svg?style=flat-square)][coreui-angular-icons-npm]
8-
[![License](https://img.shields.io/npm/l/@coreui/angular?style=flat-square)][coreui]
35+
[![License](https://img.shields.io/npm/l/@coreui/angular?style=flat-square)][coreui]
936

1037
[coreui]: https://coreui.io/icons
1138
[coreui-angular-icons-npm]: https://www.npmjs.com/package/@coreui/icons-angular

projects/coreui-icons-angular/ng-package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,5 @@
33
"dest": "../../dist/coreui-icons-angular",
44
"lib": {
55
"entryFile": "src/public-api.ts"
6-
},
7-
"allowedNonPeerDependencies": [
8-
"."
9-
]
106
}
11-
}
7+
}

projects/coreui-icons-angular/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/icons-angular",
3-
"version": "3.0.0-alpha.3",
3+
"version": "3.0.0-alpha.4",
44
"description": "CoreUI Icons Angular component and service",
55
"copyright": "Copyright 2021 creativeLabs Łukasz Holeczek",
66
"license": "MIT",
@@ -25,8 +25,8 @@
2525
"url": "https://github.com/coreui/coreui-icons-angular/issues"
2626
},
2727
"peerDependencies": {
28-
"@angular/common": "^12.2.0",
29-
"@angular/core": "^12.2.0"
28+
"@angular/common": "^13.0.0",
29+
"@angular/core": "^13.0.0"
3030
},
3131
"dependencies": {
3232
"tslib": "^2.3.0"

projects/coreui-icons-angular/src/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import {
1010

1111
declare const require: {
1212
context(path: string, deep?: boolean, filter?: RegExp): {
13-
keys(): string[];
1413
<T>(id: string): T;
14+
keys(): string[];
1515
};
1616
};
1717

projects/coreui-icons-angular/tsconfig.lib.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,10 @@
33
"extends": "../../tsconfig.json",
44
"compilerOptions": {
55
"outDir": "../../out-tsc/lib",
6-
"target": "es2015",
76
"declaration": true,
87
"declarationMap": true,
98
"inlineSources": true,
10-
"types": [],
11-
"lib": [
12-
"dom",
13-
"es2018"
14-
]
9+
"types": []
1510
},
1611
"exclude": [
1712
"src/test.ts",

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"outDir": "./dist/out-tsc",
1313
"forceConsistentCasingInFileNames": true,
1414
"strict": true,
15+
"noImplicitOverride": true,
16+
"noPropertyAccessFromIndexSignature": true,
1517
"noImplicitReturns": true,
1618
"noFallthroughCasesInSwitch": true,
1719
"sourceMap": true,
@@ -23,7 +25,7 @@
2325
"target": "es2017",
2426
"module": "es2020",
2527
"lib": [
26-
"es2018",
28+
"es2020",
2729
"dom"
2830
]
2931
},

0 commit comments

Comments
 (0)
0