fix console build

This commit is contained in:
Elio Bischof
2025-07-15 21:45:06 +02:00
parent 77f3747593
commit f40696fbc8
4 changed files with 6 additions and 5 deletions

View File

@@ -5,9 +5,7 @@
"ng": "ng", "ng": "ng",
"dev": "node prebuild.development.js && ng serve", "dev": "node prebuild.development.js && ng serve",
"start": "node prebuild.development.js && ng serve", "start": "node prebuild.development.js && ng serve",
"prebuild": "pnpm run generate",
"build": "ng build --configuration production --base-href=/ui/console/", "build": "ng build --configuration production --base-href=/ui/console/",
"prelint": "pnpm run generate",
"lint": "ng lint && prettier --check src", "lint": "ng lint && prettier --check src",
"lint:fix": "prettier --write src", "lint:fix": "prettier --write src",
"generate": "pnpm exec buf generate ../proto --include-imports --include-wkt" "generate": "pnpm exec buf generate ../proto --include-imports --include-wkt"

View File

@@ -64,6 +64,7 @@
"@bufbuild/buf": "^1.53.0", "@bufbuild/buf": "^1.53.0",
"@typescript-eslint/eslint-plugin": "^8.15.0", "@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0", "@typescript-eslint/parser": "^8.15.0",
"eslint": "^8.57.0" "eslint": "^8.57.0",
"tsup": "^8.4.0"
} }
} }

View File

@@ -2,8 +2,7 @@
"extends": ["//"], "extends": ["//"],
"tasks": { "tasks": {
"generate": { "generate": {
"outputs": ["zitadel/**"], "outputs": ["zitadel/**"]
"cache": false
} }
} }
} }

3
pnpm-lock.yaml generated
View File

@@ -654,6 +654,9 @@ importers:
eslint: eslint:
specifier: ^8.57.0 specifier: ^8.57.0
version: 8.57.1 version: 8.57.1
tsup:
specifier: ^8.4.0
version: 8.5.0(@swc/core@1.12.14)(jiti@1.21.7)(postcss@8.5.6)(typescript@5.8.3)(yaml@2.8.0)
login/packages/zitadel-proto: login/packages/zitadel-proto:
dependencies: dependencies: