From 89106bce1c4d8dc52ea693a7b846076cfc7038e9 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Wed, 10 Aug 2022 14:14:47 +0200 Subject: [PATCH] Added `monobundle` as a prepack step - in order to pack the tarball correctly, we need monobundle to run beforehand - up until now, it's the responsibility of the release script to make sure to run it before `npm pack` - this commit ensures it gets run, so the generated .tgz file is valid --- ghost/core/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/core/package.json b/ghost/core/package.json index ba876e0809..e7e497b01c 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -45,7 +45,7 @@ "lint:code": "yarn lint:server && yarn lint:shared && yarn lint:frontend", "lint": "yarn lint:server && yarn lint:shared && yarn lint:frontend && yarn lint:test", "build:css": "postcss core/frontend/public/ghost.css --no-map --use cssnano -o core/frontend/public/ghost.min.css", - "prepack": "yarn workspace ghost-admin run build:prod && yarn build:css" + "prepack": "npx --yes daniellockyer/monobundle && yarn workspace ghost-admin run build:prod && yarn build:css" }, "engines": { "node": "^14.17.0 || ^16.13.0",