Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.

Commit a422075

Browse files
authored
Fix/patch packages (#84)
* fix: patch-package * fix: lint
1 parent 53e0af3 commit a422075

File tree

2 files changed

+30
-4
lines changed

2 files changed

+30
-4
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@onekeyfe/blockchain-libs",
33
"description": "OneKey Blockchain Libs",
4-
"version": "0.0.47",
4+
"version": "0.0.48",
55
"author": "OneKey Team",
66
"homepage": "https://github.com/OneKeyHQ/blockchain-libs",
77
"bugs": {
@@ -22,7 +22,7 @@
2222
"node": ">=10"
2323
},
2424
"scripts": {
25-
"postinstall": "patch-package",
25+
"postinstall": "npx patch-package",
2626
"build": "run-s clean build:main",
2727
"build:main": "tsc -p tsconfig.json",
2828
"fix": "run-s fix:*",
@@ -94,6 +94,7 @@
9494
"eslint-plugin-eslint-comments": "^3.2.0",
9595
"eslint-plugin-import": "^2.22.0",
9696
"eslint-plugin-unused-imports": "^1.1.5",
97+
"patch-package": "^6.5.0",
9798
"husky": "^7.0.2",
9899
"jest": "^27.2.5",
99100
"lint-staged": "^11.1.2",

yarn.lock

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2635,7 +2635,7 @@ chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2:
26352635
escape-string-regexp "^1.0.5"
26362636
supports-color "^5.3.0"
26372637

2638-
chalk@^4.0.0:
2638+
chalk@^4.0.0, chalk@^4.1.2:
26392639
version "4.1.2"
26402640
resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
26412641
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
@@ -5489,6 +5489,11 @@ minimist@^1.2.0, minimist@^1.2.5:
54895489
resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
54905490
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
54915491

5492+
minimist@^1.2.6:
5493+
version "1.2.7"
5494+
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18"
5495+
integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==
5496+
54925497
ms@2.0.0:
54935498
version "2.0.0"
54945499
resolved "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
@@ -5826,6 +5831,26 @@ patch-package@^6.2.2:
58265831
slash "^2.0.0"
58275832
tmp "^0.0.33"
58285833

5834+
patch-package@^6.5.0:
5835+
version "6.5.0"
5836+
resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-6.5.0.tgz#feb058db56f0005da59cfa316488321de585e88a"
5837+
integrity sha512-tC3EqJmo74yKqfsMzELaFwxOAu6FH6t+FzFOsnWAuARm7/n2xB5AOeOueE221eM9gtMuIKMKpF9tBy/X2mNP0Q==
5838+
dependencies:
5839+
"@yarnpkg/lockfile" "^1.1.0"
5840+
chalk "^4.1.2"
5841+
cross-spawn "^6.0.5"
5842+
find-yarn-workspace-root "^2.0.0"
5843+
fs-extra "^7.0.1"
5844+
is-ci "^2.0.0"
5845+
klaw-sync "^6.0.0"
5846+
minimist "^1.2.6"
5847+
open "^7.4.2"
5848+
rimraf "^2.6.3"
5849+
semver "^5.6.0"
5850+
slash "^2.0.0"
5851+
tmp "^0.0.33"
5852+
yaml "^1.10.2"
5853+
58295854
path-exists@^3.0.0:
58305855
version "3.0.0"
58315856
resolved "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
@@ -7332,7 +7357,7 @@ yallist@^4.0.0:
73327357
resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
73337358
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
73347359

7335-
yaml@^1.10.0:
7360+
yaml@^1.10.0, yaml@^1.10.2:
73367361
version "1.10.2"
73377362
resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b"
73387363
integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==

0 commit comments

Comments
 (0)