mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:37:33 +00:00
add @zitadel/client dep to console turbo.json
This commit is contained in:
@@ -95,6 +95,17 @@ pnpm run lint:fix
|
|||||||
|
|
||||||
The Console app uses **dual proto generation** managed by Turbo dependencies:
|
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)
|
### Legacy v1 API (Traditional Protobuf)
|
||||||
|
|
||||||
- Uses local `buf.gen.yaml` configuration
|
- Uses local `buf.gen.yaml` configuration
|
||||||
|
@@ -7,11 +7,11 @@
|
|||||||
"outputs": ["src/app/proto/generated/**"]
|
"outputs": ["src/app/proto/generated/**"]
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"dependsOn": ["generate"],
|
"dependsOn": ["generate", "@zitadel/client#build"],
|
||||||
"outputs": ["dist/**"]
|
"outputs": ["dist/**"]
|
||||||
},
|
},
|
||||||
"start": {
|
"start": {
|
||||||
"dependsOn": ["generate"],
|
"dependsOn": ["generate", "@zitadel/client#build"],
|
||||||
"cache": false,
|
"cache": false,
|
||||||
"persistent": true
|
"persistent": true
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user