mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-29 04:26:31 +00:00
57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
|
|
{
|
||
|
|
"$schema": "../node_modules/nx/schemas/project-schema.json",
|
||
|
|
"targets": {
|
||
|
|
"lint": {
|
||
|
|
"description": "Runs all linters",
|
||
|
|
"dependsOn": [
|
||
|
|
"lint-check-*"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"lint-check-prettier": {
|
||
|
|
"description": "Checks code formatting with Prettier",
|
||
|
|
"cache": true,
|
||
|
|
"inputs": [
|
||
|
|
"default"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"lint-check-ng": {
|
||
|
|
"description": "Runs Angular specific lint checks",
|
||
|
|
"cache": true,
|
||
|
|
"inputs": [
|
||
|
|
"default"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"generate": {
|
||
|
|
"description": "Generates code from protobuf definitions for API v1 endpoints",
|
||
|
|
"inputs": [
|
||
|
|
"{workspaceRoot}/proto/**/*",
|
||
|
|
"{projectRoot}/buf.gen.yaml",
|
||
|
|
"{projectRoot}/package.json",
|
||
|
|
"{workspaceRoot}/pnpm-lock.yaml"
|
||
|
|
],
|
||
|
|
"outputs": [
|
||
|
|
"{projectRoot}/src/app/proto/generated"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"build": {
|
||
|
|
"description": "Builds the Console for production",
|
||
|
|
"inputs": [
|
||
|
|
"default",
|
||
|
|
"{workspaceRoot}/pnpm-lock.yaml",
|
||
|
|
"{workspaceRoot}/docs/frameworks.json"
|
||
|
|
],
|
||
|
|
"outputs": [
|
||
|
|
"{projectRoot}/dist"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"dev": {
|
||
|
|
"description": "Runs the Console in development mode with hot-reloading",
|
||
|
|
"continuous": true,
|
||
|
|
"dependsOn": [
|
||
|
|
"generate",
|
||
|
|
"^build"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|