From 88ff8042429850d0f2497cfa419e486fdaf47194 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Mon, 6 May 2024 15:02:07 +0200 Subject: [PATCH] Simplified Nx dev config for AdminX ActivityPub package - we can avoid a lot of the unnecessary duplication by using the caret, which automatically includes dependencies - also adds a config for `dev` --- apps/admin-x-activitypub/package.json | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/apps/admin-x-activitypub/package.json b/apps/admin-x-activitypub/package.json index f79552440f..f8b0ee1196 100644 --- a/apps/admin-x-activitypub/package.json +++ b/apps/admin-x-activitypub/package.json @@ -44,22 +44,24 @@ "targets": { "build": { "dependsOn": [ - "build", - {"projects": ["@tryghost/admin-x-design-system", "@tryghost/admin-x-framework"], "target": "build"} + "^build" + ] + }, + "dev": { + "dependsOn": [ + "^build" ] }, "test:unit": { "dependsOn": [ - "build", - "test:unit", - {"projects": ["@tryghost/admin-x-design-system", "@tryghost/admin-x-framework"], "target": "build"} + "^build", + "test:unit" ] }, "test:acceptance": { "dependsOn": [ - "build", - "test:acceptance", - {"projects": ["@tryghost/admin-x-design-system", "@tryghost/admin-x-framework"], "target": "build"} + "^build", + "test:acceptance" ] } }