Skip to content

Commit

Permalink
build(knapsack): fixing knapsack deploy (#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
owilliams320 authored Feb 16, 2024
1 parent 8d40f58 commit 481cc1d
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions apps/knapsack/project.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
{
"name": "knapsack",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/knapsack",
"projectType": "application",
"targets": {
"build": {
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/dist/apps/knapsack"],
"options": {
"commands": [
"knapsack --config apps/knapsack/knapsack.config.js build"
],
"parallel": false
}
},
"start": {
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/dist/apps/knapsack"],
"options": {
"commands": [
"knapsack --config apps/knapsack/knapsack.config.js start"
],
"parallel": false
}
},
"serve": {
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/dist/apps/knapsack"],
"options": {
"commands": [
"NODE_ENV=production knapsack --config apps/knapsack/knapsack.config.js serve"
],
"parallel": false
}
},
"test": {
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/dist/apps/knapsack"],
"options": {
"commands": [
"knapsack --config apps/knapsack/knapsack.config.js test"
],
"parallel": false
}
"name": "knapsack",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/knapsack",
"projectType": "application",
"targets": {
"build": {
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/dist/apps/knapsack"],
"options": {
"commands": [
"npx knapsack --config apps/knapsack/knapsack.config.js build"
],
"parallel": false
}
},
"tags": []
}
"start": {
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/dist/apps/knapsack"],
"options": {
"commands": [
"npx knapsack --config apps/knapsack/knapsack.config.js start"
],
"parallel": false
}
},
"serve": {
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/dist/apps/knapsack"],
"options": {
"commands": [
"NODE_ENV=production npx knapsack --config apps/knapsack/knapsack.config.js serve"
],
"parallel": false
}
},
"test": {
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/dist/apps/knapsack"],
"options": {
"commands": [
"npx knapsack --config apps/knapsack/knapsack.config.js test"
],
"parallel": false
}
}
},
"tags": []
}

0 comments on commit 481cc1d

Please sign in to comment.