From 99d3611afebd23d74608f3c8056cfcdb06e4a394 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Wed, 12 Jun 2024 14:22:06 +0200 Subject: [PATCH] small fix to npm package (#30365) Signed-off-by: Erik Jan de Wit --- js/apps/account-ui/src/index.ts | 7 +++++++ js/apps/account-ui/vite.config.ts | 1 + 2 files changed, 8 insertions(+) diff --git a/js/apps/account-ui/src/index.ts b/js/apps/account-ui/src/index.ts index bc29e4b8d7..5bfe06a547 100644 --- a/js/apps/account-ui/src/index.ts +++ b/js/apps/account-ui/src/index.ts @@ -55,3 +55,10 @@ export { savePersonalInfo, unLinkAccount, } from "./api/methods"; +export type { Environment as AccountEnvironment } from "./environment"; +export { + KeycloakProvider, + useEnvironment, + useAlerts, +} from "@keycloak/keycloak-ui-shared"; +export { usePromise } from "./utils/usePromise"; diff --git a/js/apps/account-ui/vite.config.ts b/js/apps/account-ui/vite.config.ts index 51ea701599..d3d666f7df 100644 --- a/js/apps/account-ui/vite.config.ts +++ b/js/apps/account-ui/vite.config.ts @@ -16,6 +16,7 @@ export default defineConfig(({ mode }) => { } const lib = env.LIB ? { + copyPublicDir: false, outDir: "lib", lib: { entry: path.resolve(__dirname, "src/index.ts"),