⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
ci: build workspace packages before exporting the OpenAPI document
Andrej Acevskic24994f0fdd4
diff --git a/scripts/openapi/check.mjs b/scripts/openapi/check.mjsindex e27d63834..0de637cd6 100644--- a/scripts/openapi/check.mjs+++ b/scripts/openapi/check.mjs@@ -14,6 +14,13 @@ const workdir = mkdtempSync(join(tmpdir(), "kaneo-openapi-"));const generated = join(workdir, "openapi.json");try {+ // The exporter imports the API, which imports workspace packages from their+ // built dist output, so those builds have to run first. Every other turbo+ // task gets this from dependsOn: ["^build"]; this one is invoked directly.+ execFileSync("pnpm", ["turbo", "build", "--filter=@kaneo/api^..."], {+ stdio: ["ignore", "ignore", "inherit"],+ });+execFileSync("pnpm",[