mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 13:19:21 +00:00
fix lint
This commit is contained in:
@@ -8,14 +8,13 @@
|
|||||||
"build": "next build",
|
"build": "next build",
|
||||||
"build:standalone": "NEXT_PUBLIC_BASE_PATH=/ui/v2/login NEXT_OUTPUT_MODE=standalone next build",
|
"build:standalone": "NEXT_PUBLIC_BASE_PATH=/ui/v2/login NEXT_OUTPUT_MODE=standalone next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "pnpm run '/^(lint:next|prettier|knip)$/'",
|
"lint": "pnpm run '/^lint:check:.*$/'",
|
||||||
|
"lint:check:next": "next lint",
|
||||||
|
"lint:check:knip": "knip",
|
||||||
|
"lint:check:prettier": "prettier --check .",
|
||||||
"lint:fix": "prettier --write .",
|
"lint:fix": "prettier --write .",
|
||||||
"lint:next": "next lint",
|
|
||||||
"prettier:fix": "prettier --check .",
|
|
||||||
"knip:fix": "knip --fix",
|
|
||||||
"test:unit": "vitest --run",
|
"test:unit": "vitest --run",
|
||||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
|
||||||
"knip": "knip"
|
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"overrides": {
|
"overrides": {
|
||||||
|
@@ -6,7 +6,9 @@
|
|||||||
"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",
|
||||||
"build": "ng build --configuration production --base-href=/ui/console/",
|
"build": "ng build --configuration production --base-href=/ui/console/",
|
||||||
"lint": "ng lint && prettier --check src",
|
"lint": "pnpm run '/^lint:check:.*$/'",
|
||||||
|
"lint:check:ng": "ng lint",
|
||||||
|
"lint:check:prettier": "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"
|
||||||
},
|
},
|
||||||
|
@@ -19,10 +19,6 @@
|
|||||||
"dependsOn": ["generate", "@zitadel/client#build"],
|
"dependsOn": ["generate", "@zitadel/client#build"],
|
||||||
"cache": false,
|
"cache": false,
|
||||||
"persistent": true
|
"persistent": true
|
||||||
},
|
|
||||||
"lint": {
|
|
||||||
"dependsOn": ["generate"],
|
|
||||||
"outputs": []
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
26
package.json
26
package.json
@@ -3,31 +3,11 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"name": "zitadel-monorepo",
|
"name": "zitadel-monorepo",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"generate": "pnpm exec turbo run generate",
|
"changeset": "changeset",
|
||||||
"build": "pnpm exec turbo run build",
|
|
||||||
"build:client:standalone": "pnpm exec turbo run build:client:standalone",
|
|
||||||
"build:login:standalone": "pnpm exec turbo run build:login:standalone",
|
|
||||||
"build:packages": "pnpm exec turbo run build --filter=./login/packages/*",
|
|
||||||
"build:apps": "pnpm exec turbo run build --filter=./login/apps/*",
|
|
||||||
"build:console": "pnpm exec turbo run build --filter=console",
|
|
||||||
"test": "pnpm exec turbo run test",
|
|
||||||
"start": "pnpm exec turbo run start",
|
|
||||||
"start:built": "pnpm exec turbo run start:built",
|
|
||||||
"test:unit": "pnpm exec turbo run test:unit",
|
|
||||||
"test:unit:standalone": "pnpm exec turbo run test:unit:standalone -- --passWithNoTests",
|
|
||||||
"test:integration": "cd login/integration && pnpm test:integration",
|
"test:integration": "cd login/integration && pnpm test:integration",
|
||||||
"test:integration:setup": "NODE_ENV=test pnpm exec turbo run test:integration:setup",
|
"test:integration:setup": "cd login/integration && NODE_ENV=test pnpm exec turbo run test:integration:setup",
|
||||||
"test:acceptance": "cd login/acceptance && pnpm test:acceptance",
|
"test:acceptance": "cd login/acceptance && pnpm test:acceptance",
|
||||||
"test:acceptance:setup": "cd login/apps/login-test-acceptance && pnpm test:acceptance:setup",
|
"test:acceptance:setup": "cd login/apps/login-test-acceptance && pnpm test:acceptance:setup"
|
||||||
"dev": "pnpm exec turbo run dev --no-cache --continue",
|
|
||||||
"dev:local": "pnpm test:acceptance:setup",
|
|
||||||
"dev:console": "pnpm exec turbo run start --filter=console",
|
|
||||||
"clean": "pnpm exec turbo run clean && rm -rf node_modules",
|
|
||||||
"format:fix": "pnpm exec prettier --write \"**/*.{ts,tsx,md}\"",
|
|
||||||
"format": "pnpm exec prettier --check \"**/*.{ts,tsx,md}\"",
|
|
||||||
"changeset": "pnpm exec changeset",
|
|
||||||
"version-packages": "pnpm exec changeset version",
|
|
||||||
"release": "pnpm exec turbo run build --filter=login^... && pnpm exec changeset publish"
|
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"overrides": {
|
"overrides": {
|
||||||
|
6
packages/zitadel-client/knip.json
Normal file
6
packages/zitadel-client/knip.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://unpkg.com/knip@5/schema.json",
|
||||||
|
"ignoreDependencies": [
|
||||||
|
"@zitadel/proto"
|
||||||
|
]
|
||||||
|
}
|
Reference in New Issue
Block a user