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`
This commit is contained in:
Daniel Lockyer 2024-05-06 15:02:07 +02:00 committed by Daniel Lockyer
parent a50bb8d79e
commit 88ff804242

View File

@ -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"
]
}
}