From 4eaa914e3507244f9f5f89eea0f5744d3ab8b1b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Carson=20Bogsrud?= Date: Tue, 24 May 2022 13:58:24 +0200 Subject: [PATCH] fix: ensure postinstall is only run for development, and not when consuming the npm package itself --- .pnp.cjs | 11 +++++++++++ .../pinst-npm-3.0.0-5d2b6c1dda-4ae48a6a60.zip | Bin 0 -> 3577 bytes package.json | 3 +++ yarn.lock | 10 ++++++++++ 4 files changed, 24 insertions(+) create mode 100644 .yarn/cache/pinst-npm-3.0.0-5d2b6c1dda-4ae48a6a60.zip diff --git a/.pnp.cjs b/.pnp.cjs index e30e94b8..c542c905 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -90,6 +90,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["jest-environment-jsdom", "npm:28.1.0"],\ ["lint-staged", "npm:12.4.1"],\ ["node-polyfill-webpack-plugin", "virtual:7d69a3a69852a0e9055ed3b5fdb5a65ed94a23b236d3ed1ddcff9e47ce5ff346d13a4e2fb43f7fd0870d44fbb16180838d7b0d3f66b4732761c6da62ed8923e9#npm:1.1.4"],\ + ["pinst", "npm:3.0.0"],\ ["postcss", "npm:8.4.14"],\ ["prettier", "npm:2.6.2"],\ ["react", "npm:18.1.0"],\ @@ -175,6 +176,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["jest-environment-jsdom", "npm:28.1.0"],\ ["lint-staged", "npm:12.4.1"],\ ["node-polyfill-webpack-plugin", "virtual:7d69a3a69852a0e9055ed3b5fdb5a65ed94a23b236d3ed1ddcff9e47ce5ff346d13a4e2fb43f7fd0870d44fbb16180838d7b0d3f66b4732761c6da62ed8923e9#npm:1.1.4"],\ + ["pinst", "npm:3.0.0"],\ ["postcss", "npm:8.4.14"],\ ["prettier", "npm:2.6.2"],\ ["react", "npm:18.1.0"],\ @@ -22698,6 +22700,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["pinst", [\ + ["npm:3.0.0", {\ + "packageLocation": "./.yarn/cache/pinst-npm-3.0.0-5d2b6c1dda-4ae48a6a60.zip/node_modules/pinst/",\ + "packageDependencies": [\ + ["pinst", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["pirates", [\ ["npm:4.0.5", {\ "packageLocation": "./.yarn/cache/pirates-npm-4.0.5-22f8e827ce-c9994e61b8.zip/node_modules/pirates/",\ diff --git a/.yarn/cache/pinst-npm-3.0.0-5d2b6c1dda-4ae48a6a60.zip b/.yarn/cache/pinst-npm-3.0.0-5d2b6c1dda-4ae48a6a60.zip new file mode 100644 index 0000000000000000000000000000000000000000..6485469fb736cbce0b344cd13f29b83d9778b2ce GIT binary patch literal 3577 zcmZ{n2{@G7AIHa%U8wBBh>b*~1{a7|S5bFkEYl>}0)}zs4FOO16@ntYutF z(O^Wj8D!t`pYFZ>_n*f-@AJIpyw7ufpYy)Y`M$sN{Tb?#kzWG*Y^s%`RDTZszR?qV zn3t2Yt*4ihzlXE$HN$_MdhzsBZz#;y@9zLo0M(!DWS2`Ro}>T(kQ@NuI6FX3`=*Az ziN-x+-Q>>_jPDN26XftZL)$)O2&qSq=OCZ2*+pD89b(HF3&tUpZ)Vi94FEa*&g&9e-X3_>IAkP*PBn^V4{ z4Dby)h{~|~>~9(o!eiLHA9rx1VC!Ng0er%uVx@=Kq4R_mGl$Bq{hE2)=zg_t`qdDZ ze!KEd2U7uq55NlxS1g+#PswssDiL1M@7O8ECl1;SS;r<0nO*qy7}wV-*{4@ZAgjmO z2G5#V49hbQNu{<%j_um;S7qFR)lAPcY%GPBk&1@8lQA7)ms=l2jTax+Uo8}M_MUdHxGQA5H%NwH@ z75+fZl0}MIcNT{kvk4D0h+cRf*qYawVEjIxJ@LzAYk=6ZTL`YO($um-wo>85E|*B5 z*Fi{_v)F}c%h8&Y3^R>3S5&N_6g5uA#}R$EU4^xk3E}0ou1}RSE&pJIyg1gY-C%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