From 81ae1b12389f1c2b1ca9aa5ed0660a0f569c4c9d Mon Sep 17 00:00:00 2001 From: Matthieu Sieben Date: Fri, 18 Oct 2024 20:57:31 +0200 Subject: [PATCH] Fix dockerbuild (#2891) * do not install puppeteer in prod * fix * single bracket --- packages/pds/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pds/package.json b/packages/pds/package.json index 581cd98b98b..bdb00de78a8 100644 --- a/packages/pds/package.json +++ b/packages/pds/package.json @@ -17,7 +17,7 @@ "types": "dist/index.d.ts", "bin": "dist/bin.js", "scripts": { - "postinstall": "puppeteer browsers install chrome", + "prepare": "[ \"$npm_config_production\" = true ] || puppeteer browsers install chrome", "codegen": "lex gen-server --yes ./src/lexicon ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/*", "build": "tsc --build tsconfig.build.json", "postbuild": "node ./build.templates.js",