mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 08:32:39 +00:00
fix async await client, react components
This commit is contained in:
@@ -11,12 +11,12 @@
|
||||
],
|
||||
"scripts": {
|
||||
"generate": "buf generate https://github.com/zitadel/zitadel.git --path ./proto/zitadel",
|
||||
"build": "tsup src/index.ts --format esm,cjs --dts",
|
||||
"build": "tsup --dts",
|
||||
"test": "pnpm test:unit",
|
||||
"test:watch": "pnpm test:unit:watch",
|
||||
"test:unit": "jest",
|
||||
"test:unit:watch": "jest --watch",
|
||||
"dev": "tsup src/index.ts --format esm,cjs --watch --dts",
|
||||
"dev": "tsup --watch --dts",
|
||||
"lint": "eslint \"src/**/*.ts*\"",
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
|
||||
},
|
||||
@@ -41,4 +41,4 @@
|
||||
"nice-grpc-web": "^3.2.3",
|
||||
"protobufjs": "^7.2.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,3 +3,11 @@ export { initializeApp, getApps } from "./app";
|
||||
export { getAuth } from "./auth";
|
||||
|
||||
export type { ZitadelOptions } from "./app";
|
||||
export * from "./proto/client/zitadel/settings/v2alpha/legal_settings_pb";
|
||||
export * from "./proto/client/zitadel/settings/v2alpha/settings_service_pb";
|
||||
export * from "./proto/client/zitadel/settings/v2alpha/settings_pb";
|
||||
|
||||
export * from "./proto/client/zitadel/idp_pb";
|
||||
export * from "./proto/client/zitadel/user_pb";
|
||||
|
||||
export * from "./proto/client/zitadel/settings_pb";
|
||||
|
||||
13
packages/zitadel-client/tsup.config.ts
Normal file
13
packages/zitadel-client/tsup.config.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineConfig, Options } from "tsup";
|
||||
|
||||
export default defineConfig((options: Options) => ({
|
||||
treeshake: true,
|
||||
splitting: true,
|
||||
publicDir: true,
|
||||
entry: ["src/index.ts", "src/**/index.ts"],
|
||||
format: ["esm", "cjs"],
|
||||
dts: true,
|
||||
minify: true,
|
||||
clean: true,
|
||||
...options,
|
||||
}));
|
||||
Reference in New Issue
Block a user