From 704fc1885638e2a1ecdef99746e5dd7f5b101790 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Fri, 14 Jul 2023 14:12:13 +0200 Subject: [PATCH] Removed duplicate build step during tarballing - we don't need to define this in `prepack` because Nx can be configured to do this for us --- ghost/core/package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ghost/core/package.json b/ghost/core/package.json index e4d9ec7c10..4c150f4cb4 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -52,7 +52,7 @@ "lint:test": "eslint -c test/.eslintrc.js --ignore-path test/.eslintignore 'test/**/*.js' --cache", "lint:code": "yarn lint:server && yarn lint:shared && yarn lint:frontend", "lint": "yarn lint:server && yarn lint:shared && yarn lint:frontend && yarn lint:test", - "prepack": "nx run-many -t build --projects='ghost/*' && monobundle" + "prepack": "monobundle" }, "engines": { "node": "^16.14.0 || ^18.12.1", @@ -265,7 +265,13 @@ "targets": { "archive": { "dependsOn": [ - "^build:ts" + "^build:ts", + { + "projects": [ + "ghost-admin" + ], + "target": "build" + } ] }, "dev": {