Skip to content

Commit 40fd1df

Browse files
committed
Tweak
1 parent 5680070 commit 40fd1df

File tree

4 files changed

+51
-50
lines changed

4 files changed

+51
-50
lines changed

.npmignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
node_modules
2-
example-app/**/*
1+
example-app/
32
.eslintrc
4-
build.mjs
3+
build.mjs
4+
tsconfig.json
5+
yarn.lock

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
save-exact = true

package.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,21 @@
2222
"np": "np patch"
2323
},
2424
"devDependencies": {
25-
"@typescript-eslint/eslint-plugin": "^5.4.0",
26-
"@typescript-eslint/parser": "^5.4.0",
27-
"esbuild": "^0.13.15",
28-
"eslint": "^8.3.0",
29-
"eslint-plugin-react-hooks": "^4.3.0",
30-
"np": "^7.6.0",
31-
"npm-run-all": "^4.1.5",
32-
"typescript": "^4.5.2",
33-
"yargs-parser": "^21.0.0"
25+
"@typescript-eslint/eslint-plugin": "5.4.0",
26+
"@typescript-eslint/parser": "5.4.0",
27+
"esbuild": "0.13.15",
28+
"eslint": "8.3.0",
29+
"eslint-plugin-react-hooks": "4.3.0",
30+
"np": "7.6.0",
31+
"npm-run-all": "4.1.5",
32+
"typescript": "4.5.2",
33+
"yargs-parser": "21.0.0"
3434
},
3535
"dependencies": {
3636
"fast-safe-stringify": "2.1.1",
37-
"react-query": "^3.33.5"
37+
"react-query": "3.33.5"
3838
},
3939
"peerDependencies": {
40-
"react": "*",
41-
"react-query": "*"
40+
"react": "*"
4241
}
4342
}

yarn.lock

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@
2424
js-tokens "^4.0.0"
2525

2626
"@babel/runtime@^7.12.5", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.2", "@babel/runtime@^7.7.2":
27-
version "7.16.3"
28-
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.3.tgz#b86f0db02a04187a3c17caa77de69840165d42d5"
29-
integrity sha512-WBwekcqacdY2e9AF/Q7WLFUWmdJGJTkbjqTjoMDgXkVZ3ZRUvOPsLb5KdwISoQVsbP+DQzVZW4Zhci0DvpbNTQ==
27+
version "7.16.5"
28+
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.5.tgz#7f3e34bf8bdbbadf03fbb7b1ea0d929569c9487a"
29+
integrity sha512-TXWihFIS3Pyv5hzR7j6ihmeLkZfrXGxAr5UfSl8CHf+6q/wpiYDkUau0czckpYG8QmnCIuPpdLtuA9VmuGGyMA==
3030
dependencies:
3131
regenerator-runtime "^0.13.4"
3232

3333
"@eslint/eslintrc@^1.0.4":
34-
version "1.0.4"
35-
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.0.4.tgz#dfe0ff7ba270848d10c5add0715e04964c034b31"
36-
integrity sha512-h8Vx6MdxwWI2WM8/zREHMoqdgLNXEL4QX3MWSVMdyNJGvXVOs+6lp+m2hc3FnuMHDc4poxFNI20vCk0OmI4G0Q==
34+
version "1.0.5"
35+
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.0.5.tgz#33f1b838dbf1f923bfa517e008362b78ddbbf318"
36+
integrity sha512-BLxsnmK3KyPunz5wmCCpqy0YelEoxxGmH73Is+Z74oOTMtExcjkr3dDR6quwrjh1YspA8DH9gnX1o069KiS9AQ==
3737
dependencies:
3838
ajv "^6.12.4"
3939
debug "^4.3.2"
40-
espree "^9.0.0"
40+
espree "^9.2.0"
4141
globals "^13.9.0"
4242
ignore "^4.0.6"
4343
import-fresh "^3.2.1"
@@ -170,7 +170,7 @@
170170
dependencies:
171171
"@types/node" "*"
172172

173-
"@typescript-eslint/eslint-plugin@^5.4.0":
173+
"@typescript-eslint/[email protected]":
174174
version "5.4.0"
175175
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.4.0.tgz#05e711a2e7b68342661fde61bccbd1531c19521a"
176176
integrity sha512-9/yPSBlwzsetCsGEn9j24D8vGQgJkOTr4oMLas/w886ZtzKIs1iyoqFrwsX2fqYEeUwsdBpC21gcjRGo57u0eg==
@@ -196,7 +196,7 @@
196196
eslint-scope "^5.1.1"
197197
eslint-utils "^3.0.0"
198198

199-
"@typescript-eslint/parser@^5.4.0":
199+
"@typescript-eslint/[email protected]":
200200
version "5.4.0"
201201
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.4.0.tgz#3aa83ce349d66e39b84151f6d5464928044ca9e3"
202202
integrity sha512-JoB41EmxiYpaEsRwpZEYAJ9XQURPFer8hpkIW9GiaspVLX8oqbqNM8P4EP8HOZg96yaALiLEVWllA2E8vwsIKw==
@@ -923,7 +923,7 @@ [email protected]:
923923
resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.13.15.tgz#482173070810df22a752c686509c370c3be3b3c3"
924924
integrity sha512-zzvyCVVpbwQQATaf3IG8mu1IwGEiDxKkYUdA4FpoCHi1KtPa13jeScYDjlW0Qh+ebWzpKfR2ZwvqAQkSWNcKjA==
925925

926-
esbuild@^0.13.15:
926+
927927
version "0.13.15"
928928
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.13.15.tgz#db56a88166ee373f87dbb2d8798ff449e0450cdf"
929929
integrity sha512-raCxt02HBKv8RJxE8vkTSCXGIyKHdEdGfUmiYb8wnabnaEmHzyW7DCHb5tEN0xU8ryqg5xw54mcwnYkC4x3AIw==
@@ -966,7 +966,7 @@ escape-string-regexp@^4.0.0:
966966
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
967967
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
968968

969-
eslint-plugin-react-hooks@^4.3.0:
969+
970970
version "4.3.0"
971971
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.3.0.tgz#318dbf312e06fab1c835a4abef00121751ac1172"
972972
integrity sha512-XslZy0LnMn+84NEG9jSGR6eGqaZB3133L8xewQo3fQagbQuGt7a63gf+P1NGKZavEYEC3UXaWEAA/AqDkuN6xA==
@@ -1004,7 +1004,7 @@ eslint-visitor-keys@^3.0.0, eslint-visitor-keys@^3.1.0:
10041004
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.1.0.tgz#eee4acea891814cda67a7d8812d9647dd0179af2"
10051005
integrity sha512-yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA==
10061006

1007-
eslint@^8.3.0:
1007+
10081008
version "8.3.0"
10091009
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.3.0.tgz#a3c2409507403c1c7f6c42926111d6cbefbc3e85"
10101010
integrity sha512-aIay56Ph6RxOTC7xyr59Kt3ewX185SaGnAr8eWukoPLeriCrvGjvAubxuvaXOfsxhtwV5g0uBOsyhAom4qJdww==
@@ -1048,10 +1048,10 @@ eslint@^8.3.0:
10481048
text-table "^0.2.0"
10491049
v8-compile-cache "^2.0.3"
10501050

1051-
espree@^9.0.0, espree@^9.1.0:
1052-
version "9.1.0"
1053-
resolved "https://registry.yarnpkg.com/espree/-/espree-9.1.0.tgz#ba9d3c9b34eeae205724124e31de4543d59fbf74"
1054-
integrity sha512-ZgYLvCS1wxOczBYGcQT9DDWgicXwJ4dbocr9uYN+/eresBAUuBu+O4WzB21ufQ/JqQT8gyp7hJ3z8SHii32mTQ==
1051+
espree@^9.1.0, espree@^9.2.0:
1052+
version "9.2.0"
1053+
resolved "https://registry.yarnpkg.com/espree/-/espree-9.2.0.tgz#c50814e01611c2d0f8bd4daa83c369eabba80dbc"
1054+
integrity sha512-oP3utRkynpZWF/F2x/HZJ+AGtnIclaR7z1pYPxy7NYM2fSO6LgK/Rkny8anRSPK/VwEA1eqm2squui0T7ZMOBg==
10551055
dependencies:
10561056
acorn "^8.6.0"
10571057
acorn-jsx "^5.3.1"
@@ -1697,9 +1697,9 @@ is-interactive@^1.0.0:
16971697
integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==
16981698

16991699
is-negative-zero@^2.0.1:
1700-
version "2.0.1"
1701-
resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.1.tgz#3de746c18dda2319241a53675908d8f766f11c24"
1702-
integrity sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==
1700+
version "2.0.2"
1701+
resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150"
1702+
integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==
17031703

17041704
is-npm@^5.0.0:
17051705
version "5.0.0"
@@ -1810,11 +1810,11 @@ is-url-superb@^4.0.0:
18101810
integrity sha512-GI+WjezhPPcbM+tqE9LnmsY5qqjwHzTvjJ36wxYX5ujNXefSUJ/T17r5bqDV8yLhcgB59KTPNOc9O9cmHTPWsA==
18111811

18121812
is-weakref@^1.0.1:
1813-
version "1.0.1"
1814-
resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.1.tgz#842dba4ec17fa9ac9850df2d6efbc1737274f2a2"
1815-
integrity sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==
1813+
version "1.0.2"
1814+
resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2"
1815+
integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==
18161816
dependencies:
1817-
call-bind "^1.0.0"
1817+
call-bind "^1.0.2"
18181818

18191819
is-wsl@^2.1.1:
18201820
version "2.2.0"
@@ -2260,7 +2260,7 @@ normalize-url@^6.0.1:
22602260
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a"
22612261
integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==
22622262

2263-
np@^7.6.0:
2263+
22642264
version "7.6.0"
22652265
resolved "https://registry.yarnpkg.com/np/-/np-7.6.0.tgz#779e885a9a98246a1d7bbf6e4c1469d348929ac1"
22662266
integrity sha512-WWGZtfNkE6MEkI7LE8NtG7poTqzTHj/tssBzcPnBAdMVPXkXDtX2wk0ptrj8YZ3u4TFmGSqioSohdud86aJxSg==
@@ -2320,7 +2320,7 @@ npm-name@^6.0.1:
23202320
registry-url "^5.1.0"
23212321
validate-npm-package-name "^3.0.0"
23222322

2323-
npm-run-all@^4.1.5:
2323+
23242324
version "4.1.5"
23252325
resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba"
23262326
integrity sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==
@@ -2353,9 +2353,9 @@ object-assign@^4.1.0:
23532353
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
23542354

23552355
object-inspect@^1.11.0, object-inspect@^1.9.0:
2356-
version "1.11.0"
2357-
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.11.0.tgz#9dceb146cedd4148a0d9e51ab88d34cf509922b1"
2358-
integrity sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==
2356+
version "1.11.1"
2357+
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.11.1.tgz#d4bd7d7de54b9a75599f59a00bd698c1f1c6549b"
2358+
integrity sha512-If7BjFlpkzzBeV1cqgT3OSWT3azyoxDGajR+iGnFBfVV2EWyDyWaZZW2ERDjUaY2QM8i5jI3Sj7mhsM4DDAqWA==
23592359

23602360
object-keys@^1.0.12, object-keys@^1.1.1:
23612361
version "1.1.1"
@@ -2709,7 +2709,7 @@ rc@^1.2.8:
27092709
minimist "^1.2.0"
27102710
strip-json-comments "~2.0.1"
27112711

2712-
react-query@^3.33.5:
2712+
27132713
version "3.33.5"
27142714
resolved "https://registry.yarnpkg.com/react-query/-/react-query-3.33.5.tgz#5d8a42bd3237e25a00173a8f8aa59c04b6af5729"
27152715
integrity sha512-gNpTzbY9Xw/s0ALeLsXdUGXtzXbXQcRAMa4Ina2JOJHbDr2mdA79O2SMNUwctKJ1/c0vKTdALIdn4taptv+MTQ==
@@ -3240,7 +3240,7 @@ typedarray-to-buffer@^3.1.5:
32403240
dependencies:
32413241
is-typedarray "^1.0.0"
32423242

3243-
typescript@^4.5.2:
3243+
32443244
version "4.5.2"
32453245
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998"
32463246
integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==
@@ -3413,16 +3413,16 @@ yaml@^1.10.0:
34133413
resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b"
34143414
integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==
34153415

3416+
3417+
version "21.0.0"
3418+
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.0.0.tgz#a485d3966be4317426dd56bdb6a30131b281dc55"
3419+
integrity sha512-z9kApYUOCwoeZ78rfRYYWdiU/iNL6mwwYlkkZfJoyMR1xps+NEBX5X7XmRpxkZHhXJ6+Ey00IwKxBBSW9FIjyA==
3420+
34163421
yargs-parser@^20.2.3:
34173422
version "20.2.9"
34183423
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee"
34193424
integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==
34203425

3421-
yargs-parser@^21.0.0:
3422-
version "21.0.0"
3423-
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.0.0.tgz#a485d3966be4317426dd56bdb6a30131b281dc55"
3424-
integrity sha512-z9kApYUOCwoeZ78rfRYYWdiU/iNL6mwwYlkkZfJoyMR1xps+NEBX5X7XmRpxkZHhXJ6+Ey00IwKxBBSW9FIjyA==
3425-
34263426
yocto-queue@^0.1.0:
34273427
version "0.1.0"
34283428
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"

0 commit comments

Comments
 (0)