Skip to content

Commit

Permalink
Update to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
digikid committed Aug 29, 2022
1 parent 5aab2cb commit 28b4cea
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist linguist-generated
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Release Notes

[1.1.0]: https://github.com/digikid/icomoon-converter/releases/tag/1.1.0

## [1.1.0] - 2022-08-30

### Updates

- Update installation command

### Bug Fixes

- Fixed installation error in npm 7+ with adding specific [--install-links](https://github.com/npm/cli/issues/2339#issuecomment-1111228605) flag

[1.0.2]: https://github.com/digikid/icomoon-converter/releases/tag/1.0.2

## [1.0.2] - 2022-07-17
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
## Install

```shell
npm i -g digikid/icomoon-converter
npm i digikid/icomoon-converter --global --install-links
```

## Run
Expand Down
2 changes: 1 addition & 1 deletion README.ru-RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
## Установка

```shell
npm i -g digikid/icomoon-converter
npm i digikid/icomoon-converter --global --install-links
```

## Запуск
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "icomoon-converter",
"version": "1.0.2",
"version": "1.1.0",
"description": "Icomoon project to SASS / SVG converter",
"type": "module",
"main": "dist/index.js",
Expand All @@ -22,11 +22,12 @@
"svg",
"converter"
],
"prepublish": "tsc",
"scripts": {
"prepare": "tsc",
"tsc": "node_modules/typescript/bin/tsc",
"build": "tsc",
"dev": "tsc --watch",
"local-install": "npm i -g ./",
"local-update": "tsc"
"postinstall": "npm run build"
},
"author": "Alexander Dovlatov <dev@digkid.ru> (https://dev.digikid.ru/)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/object.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const findDeep = <T>(obj: T, cb: (obj: T) => boolean): T[] => {
export const findDeep = <T extends Record<string, any>>(obj: T, cb: (obj: T) => boolean): T[] => {
const keys = (Object.keys(obj) as (keyof typeof obj)[]) || [];

let result: T[] = [];
Expand Down

0 comments on commit 28b4cea

Please sign in to comment.