Skip to content

Commit

Permalink
build(knapsack): setting up dependent nx tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 26, 2024
1 parent fefdec8 commit cb62347
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions apps/knapsack/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@
"npx knapsack --config apps/knapsack/knapsack.config.js build"
],
"parallel": false
}
},
"dependsOn": [
{
"projects": ["components"],
"target": "build",
"params": "ignore"
}
]
},
"start": {
"executor": "nx:run-commands",
Expand All @@ -22,7 +29,8 @@
"npx knapsack --config apps/knapsack/knapsack.config.js start"
],
"parallel": false
}
},
"dependsOn": ["build"]
},
"serve": {
"executor": "nx:run-commands",
Expand All @@ -32,7 +40,8 @@
"NODE_ENV=production npx knapsack --config apps/knapsack/knapsack.config.js serve"
],
"parallel": false
}
},
"dependsOn": ["build"]
},
"test": {
"executor": "nx:run-commands",
Expand All @@ -42,7 +51,14 @@
"npx knapsack --config apps/knapsack/knapsack.config.js test"
],
"parallel": false
}
},
"dependsOn": [
{
"projects": ["components"],
"target": "build",
"params": "ignore"
}
]
}
},
"tags": []
Expand Down

0 comments on commit cb62347

Please sign in to comment.