mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +00:00
# Which Problems Are Solved - `@zitadel/docs:generate-proto-docs` could block while `npx` waited for confirmation to install `@bufbuild/buf`. - When the docs generation ran through `nx run-many --target generate`, that interactive prompt was hidden, so the task appeared stuck without visible output. # How the Problems Are Solved - Resolve Buf from the workspace root with `pnpm exec buf generate` so the repo-pinned CLI is used non-interactively. - Run the Buf command from the workspace context instead of the temporary execution directory. - Keep the existing generation arguments, template handling, and excluded path handling intact. # Additional Changes - Remove the temporary directory setup that was only needed for the previous `npx`-based invocation. - Keep the existing `protoc-gen-connect-openapi` installation and PATH wiring unchanged. # Additional Context - Follow-up for the docs generation issue discussed in Discord where `@zitadel/docs:generate-proto-docs` prompted for `@bufbuild/buf` installation and appeared blocked under `nx run-many --target generate`. - Validated with `pnpm nx run @zitadel/docs:generate-proto-docs --outputStyle=stream`. - Validated with `pnpm nx run @zitadel/docs:generate --outputStyle=stream`.