diff --git a/apps/login/lib/zitadel.ts b/apps/login/lib/zitadel.ts index e894431d5fd..1937191f3a7 100644 --- a/apps/login/lib/zitadel.ts +++ b/apps/login/lib/zitadel.ts @@ -4,7 +4,7 @@ import { getServers, initializeServer, } from "@zitadel/server"; -import { getAuth } from "@zitadel/server/auth"; +// import { getAuth } from "@zitadel/server/auth"; export const zitadelConfig: ZitadelServerOptions = { apiUrl: process.env.ZITADEL_API_URL ?? "", @@ -17,8 +17,8 @@ if (!getServers().length) { const server = getServer(); -export async function getMyUser(): Promise { - const auth = await getAuth(); - const response = await auth.getMyUser({}); - return response; -} +// export async function getMyUser(): Promise { +// const auth = await getAuth(); +// const response = await auth.getMyUser({}); +// return response; +// } diff --git a/packages/zitadel-react/package.json b/packages/zitadel-react/package.json index 9343fa53ecc..1b0f7681979 100644 --- a/packages/zitadel-react/package.json +++ b/packages/zitadel-react/package.json @@ -12,7 +12,7 @@ "./assets/*": "./dist/assets/*" }, "scripts": { - "build": "tsup && pnpm run copy-files", + "build": "tsup", "dev": "tsup --watch", "lint": "eslint \"src/**/*.ts*\"", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", diff --git a/turbo.json b/turbo.json index e37781aa0df..faaa6592318 100644 --- a/turbo.json +++ b/turbo.json @@ -3,7 +3,7 @@ "pipeline": { "build": { "outputs": ["dist/**", ".next/**", "!.next/cache/**"], - "dependsOn": ["^build"] + "dependsOn": ["generate", "^build"] }, "test": { "outputs": ["coverage/**"],