Skip to content

Commit 475153c

Browse files
committed
fix(packages): Don't apply patch-package if no package to patch
1 parent 19c4688 commit 475153c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"test": "jest",
5151
"screenshots:server": "nodemon ./scripts/pixelmatch-server/server.js -e js,hbs",
5252
"postbuild": "postcss transpiled/react/stylesheet.css --replace",
53-
"postinstall": "patch-package",
53+
"postinstall": "if [ -d 'node_modules/@fastify/deepmerge' ]; then patch-package; fi",
5454
"travis-deploy-once": "travis-deploy-once",
5555
"start:css:utils": "yarn build:css:utils --watch",
5656
"start:css": "yarn build:css --watch",

0 commit comments

Comments
 (0)