Skip to content

Commit

Permalink
Update to 14 (#142)
Browse files Browse the repository at this point in the history
* Update to ng14 / resolve #141

* Update Angular 14
  • Loading branch information
czeckd authored Jun 16, 2022
1 parent ae81897 commit 875ee56
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 30 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Angular SVG Icon
=========

The **angular-svg-icon** is an Angular 13 service and component that provides a
The **angular-svg-icon** is an Angular 14 service and component that provides a
means to inline SVG files to allow for them to be easily styled by CSS and code.

The service provides an icon registery that loads and caches a SVG indexed by
Expand All @@ -19,6 +19,7 @@ This [demo](https://czeckd.github.io/angular-svg-icon/) shows this module in act
$ npm i angular-svg-icon --save
```
**Note on earlier versions of Angular:**
- For Angular 13, use [email protected]
- For Angular 12, use [email protected]
- For Angular 11, use [email protected]
- For Angular 10, use [email protected]
Expand Down
3 changes: 1 addition & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,5 @@
}
}
}
}},
"defaultProject": "svg-icon"
}}
}
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "svg-icon",
"description": "Angular 13 component for inlining SVGs allowing them to be easily styled with CSS.",
"version": "13.0.0",
"description": "Angular 14 component and service for inlining SVGs allowing them to be easily styled with CSS.",
"version": "14.0.0",
"repository": {
"type": "git",
"url": "https://github.com/czeckd/angular-svg-icon.git"
Expand All @@ -25,31 +25,31 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~13.3.5",
"@angular/common": "~13.3.5",
"@angular/compiler": "~13.3.5",
"@angular/core": "~13.3.5",
"@angular/forms": "~13.3.5",
"@angular/platform-browser": "~13.3.5",
"@angular/platform-browser-dynamic": "~13.3.5",
"@angular/router": "~13.3.5",
"@angular/animations": "^14.0.1",
"@angular/common": "^14.0.1",
"@angular/compiler": "^14.0.1",
"@angular/core": "^14.0.1",
"@angular/forms": "^14.0.1",
"@angular/platform-browser": "^14.0.1",
"@angular/platform-browser-dynamic": "^14.0.1",
"@angular/router": "^14.0.1",
"rxjs": "~6.6.3",
"tslib": "^2.3.1",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^13.3.4",
"@angular/cli": "~13.3.4",
"@angular/compiler-cli": "~13.3.5",
"@types/jasmine": "~3.6.0",
"@angular-devkit/build-angular": "^14.0.1",
"@angular/cli": "^14.0.1",
"@angular/compiler-cli": "^14.0.1",
"@types/jasmine": "~4.0.0",
"@types/node": "^12.11.1",
"jasmine-core": "~3.7.0",
"jasmine-core": "~4.1.0",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"ng-packagr": "^13.0.2",
"typescript": "~4.4.4"
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.0.0",
"karma-jasmine-html-reporter": "~1.7.0",
"ng-packagr": "^14.0.2",
"typescript": "~4.7.3"
}
}
}
8 changes: 4 additions & 4 deletions projects/angular-svg-icon/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-svg-icon",
"description": "Angular 13 component for inlining SVGs allowing them to be easily styled with CSS.",
"version": "13.0.0",
"description": "Angular 14 component and service for inlining SVGs allowing them to be easily styled with CSS.",
"version": "14.0.0",
"repository": {
"type": "git",
"url": "https://github.com/czeckd/angular-svg-icon.git"
Expand All @@ -14,8 +14,8 @@
"icon"
],
"peerDependencies": {
"@angular/core": ">=13.0.0",
"@angular/common": ">=13.0.0",
"@angular/core": ">=14.0.0",
"@angular/common": ">=14.0.0",
"rxjs": ">=6.6.3"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion projects/angular-svg-icon/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"declarationMap": true,
"target": "es2015",
"target": "es2020",
"declaration": true,
"inlineSources": true,
"types": [],
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"removeComments": false,
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true,
"target": "es2015",
"target": "es2020",
"typeRoots": [
"node_modules/@types"
],
Expand Down

0 comments on commit 875ee56

Please sign in to comment.