add @zitadel/client dep to console turbo.json

This commit is contained in:
Max Peintner
2025-07-11 14:31:49 +02:00
parent 75612bf2b1
commit 1c936f8b66
2 changed files with 13 additions and 2 deletions

View File

@@ -95,6 +95,17 @@ pnpm run lint:fix
The Console app uses **dual proto generation** managed by Turbo dependencies:
### Dependency Chain
The Console app has the following build dependencies managed by Turbo:
1. `@zitadel/proto#generate` - Generates modern protobuf files
2. `@zitadel/client#build` - Builds the TypeScript gRPC client library
3. `console#generate` - Generates Console-specific protobuf files
4. `console#build` - Builds the Angular application
This ensures that the Console always has access to the latest client library and protobuf definitions.
### Legacy v1 API (Traditional Protobuf)
- Uses local `buf.gen.yaml` configuration

View File

@@ -7,11 +7,11 @@
"outputs": ["src/app/proto/generated/**"]
},
"build": {
"dependsOn": ["generate"],
"dependsOn": ["generate", "@zitadel/client#build"],
"outputs": ["dist/**"]
},
"start": {
"dependsOn": ["generate"],
"dependsOn": ["generate", "@zitadel/client#build"],
"cache": false,
"persistent": true
},