diff --git a/frontend/packages/cli/package.json b/frontend/packages/cli/package.json index 53f20bd6..cbc8d715 100644 --- a/frontend/packages/cli/package.json +++ b/frontend/packages/cli/package.json @@ -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", diff --git a/frontend/turbo.json b/frontend/turbo.json index 7989fd47..80e091ce 100644 --- a/frontend/turbo.json +++ b/frontend/turbo.json @@ -9,6 +9,11 @@ "cache": false, "persistent": true }, + "@liam/cli#dev": { + "dependsOn": ["build"], + "cache": false, + "persistent": true + }, "gen": { "dependsOn": ["^gen"] },