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 00000000..6485469f Binary files /dev/null and b/.yarn/cache/pinst-npm-3.0.0-5d2b6c1dda-4ae48a6a60.zip differ diff --git a/package.json b/package.json index 99552576..c4f2715d 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,8 @@ "build": "rollup -c", "build-storybook": "build-storybook --output-dir ./storybook-static", "postinstall": "husky install", + "prepack": "pinst --disable", + "postpack": "pinst --enable", "add-component": "node scripts/add-component.mjs" }, "dependencies": { @@ -86,6 +88,7 @@ "jest-environment-jsdom": "^28.1.0", "lint-staged": "^12.4.1", "node-polyfill-webpack-plugin": "^1.1.4", + "pinst": "^3.0.0", "postcss": "^8.4.14", "prettier": "^2.6.2", "react": "^18.1.0", diff --git a/yarn.lock b/yarn.lock index 8db9e0e9..5c9dad42 100644 --- a/yarn.lock +++ b/yarn.lock @@ -66,6 +66,7 @@ __metadata: jest-environment-jsdom: ^28.1.0 lint-staged: ^12.4.1 node-polyfill-webpack-plugin: ^1.1.4 + pinst: ^3.0.0 postcss: ^8.4.14 prettier: ^2.6.2 react: ^18.1.0 @@ -15402,6 +15403,15 @@ __metadata: languageName: node linkType: hard +"pinst@npm:^3.0.0": + version: 3.0.0 + resolution: "pinst@npm:3.0.0" + bin: + pinst: bin.js + checksum: 4ae48a6a60f79c37071233af51b4d91bfc85cfa3c12b66ccda60cdb642b4d14a4ab0cb3587afc55b1f6192cea1772a5e4822026a0d0d3528296edef00cc2d61f + languageName: node + linkType: hard + "pirates@npm:^4.0.1, pirates@npm:^4.0.4, pirates@npm:^4.0.5": version: 4.0.5 resolution: "pirates@npm:4.0.5"