Skip to content

Commit

Permalink
Merge pull request #118 from liam-hq/turbo-dependencies-for-dev-task
Browse files Browse the repository at this point in the history
Fix CLI build command and Turbo dependencies for dev task
  • Loading branch information
MH4GF authored Dec 2, 2024
2 parents 78be4d7 + 061ba13 commit ca10f4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"build": "pnpm run '/^build:.*/'",
"build:cli": "rollup -c",
"build:vite": "vite build --outDir dist-cli/html",
"command:build": "pnpm build && node ./dist-cli/bin/cli.js erd build --input fixtures/input.schema.rb",
"command:build": "node ./dist-cli/bin/cli.js erd build --input fixtures/input.schema.rb",
"dev": "pnpm command:build && cp dist/schema.json public/ && pnpm run '/^dev:.*/'",
"dev:app": "vite",
"dev:css": "tcm src --watch",
Expand Down
5 changes: 5 additions & 0 deletions frontend/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"cache": false,
"persistent": true
},
"@liam/cli#dev": {
"dependsOn": ["build"],
"cache": false,
"persistent": true
},
"gen": {
"dependsOn": ["^gen"]
},
Expand Down

0 comments on commit ca10f4d

Please sign in to comment.