diff --git a/@packages/@hooks/messaging-hooks/tsup.config.ts b/@packages/@hooks/messaging-hooks/tsup.config.ts new file mode 100644 index 000000000..50e0da7f9 --- /dev/null +++ b/@packages/@hooks/messaging-hooks/tsup.config.ts @@ -0,0 +1,3 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig(); diff --git a/@packages/@hooks/react-query-utils/tsup.config.ts b/@packages/@hooks/react-query-utils/tsup.config.ts new file mode 100644 index 000000000..50e0da7f9 --- /dev/null +++ b/@packages/@hooks/react-query-utils/tsup.config.ts @@ -0,0 +1,3 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig(); diff --git a/@packages/@infrastructure/health-client/tsup.config.ts b/@packages/@infrastructure/health-client/tsup.config.ts new file mode 100644 index 000000000..50e0da7f9 --- /dev/null +++ b/@packages/@infrastructure/health-client/tsup.config.ts @@ -0,0 +1,3 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig(); diff --git a/@packages/@infrastructure/sso-client/tsup.config.ts b/@packages/@infrastructure/sso-client/tsup.config.ts new file mode 100644 index 000000000..24a3d7297 --- /dev/null +++ b/@packages/@infrastructure/sso-client/tsup.config.ts @@ -0,0 +1,8 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig({ + entry: { + index: 'src/index.ts', + react: 'src/hooks/index.ts', + }, +}); diff --git a/@packages/@providers/auth-provider/tsup.config.ts b/@packages/@providers/auth-provider/tsup.config.ts new file mode 100644 index 000000000..50e0da7f9 --- /dev/null +++ b/@packages/@providers/auth-provider/tsup.config.ts @@ -0,0 +1,3 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig(); diff --git a/@packages/@providers/profile-client/tsup.config.ts b/@packages/@providers/profile-client/tsup.config.ts new file mode 100644 index 000000000..50e0da7f9 --- /dev/null +++ b/@packages/@providers/profile-client/tsup.config.ts @@ -0,0 +1,3 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig(); diff --git a/@packages/@testing/mocks/tsup.config.ts b/@packages/@testing/mocks/tsup.config.ts new file mode 100644 index 000000000..50e0da7f9 --- /dev/null +++ b/@packages/@testing/mocks/tsup.config.ts @@ -0,0 +1,3 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig(); diff --git a/@packages/@ui/developer-fab/tsup.config.ts b/@packages/@ui/developer-fab/tsup.config.ts new file mode 100644 index 000000000..929f1c2cf --- /dev/null +++ b/@packages/@ui/developer-fab/tsup.config.ts @@ -0,0 +1,6 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig({ + // Inject CSS into JS bundle for UI components + injectStyle: true, +}); diff --git a/@packages/@ui/locale-pipeline-admin/tsup.config.ts b/@packages/@ui/locale-pipeline-admin/tsup.config.ts new file mode 100644 index 000000000..929f1c2cf --- /dev/null +++ b/@packages/@ui/locale-pipeline-admin/tsup.config.ts @@ -0,0 +1,6 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig({ + // Inject CSS into JS bundle for UI components + injectStyle: true, +}); diff --git a/features/attributes/frontend-admin/tsup.config.ts b/features/attributes/frontend-admin/tsup.config.ts new file mode 100644 index 000000000..9e3af5df6 --- /dev/null +++ b/features/attributes/frontend-admin/tsup.config.ts @@ -0,0 +1,11 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig({ + entry: { + index: 'src/index.ts', + hooks: 'src/hooks/index.ts', + components: 'src/components/index.ts', + }, + // Inject CSS into JS bundle for UI components + injectStyle: true, +}); diff --git a/features/email/frontend-users/tsup.config.ts b/features/email/frontend-users/tsup.config.ts new file mode 100644 index 000000000..929f1c2cf --- /dev/null +++ b/features/email/frontend-users/tsup.config.ts @@ -0,0 +1,6 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig({ + // Inject CSS into JS bundle for UI components + injectStyle: true, +}); diff --git a/features/email/shared/tsup.config.ts b/features/email/shared/tsup.config.ts new file mode 100644 index 000000000..50e0da7f9 --- /dev/null +++ b/features/email/shared/tsup.config.ts @@ -0,0 +1,3 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig(); diff --git a/features/feature-flags/shared/tsup.config.ts b/features/feature-flags/shared/tsup.config.ts new file mode 100644 index 000000000..9da340064 --- /dev/null +++ b/features/feature-flags/shared/tsup.config.ts @@ -0,0 +1,9 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig({ + entry: { + index: 'src/index.ts', + react: 'src/react.ts', + nestjs: 'src/nestjs.ts', + }, +}); diff --git a/features/marketplace/frontend-public/tsup.config.ts b/features/marketplace/frontend-public/tsup.config.ts new file mode 100644 index 000000000..4e9afadab --- /dev/null +++ b/features/marketplace/frontend-public/tsup.config.ts @@ -0,0 +1,12 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig({ + entry: { + index: 'src/index.ts', + 'extension-points': 'src/extension-points/index.ts', + plugins: 'src/plugins/index.ts', + theme: 'src/theme/index.ts', + }, + // Inject CSS into JS bundle for UI components + injectStyle: true, +}); diff --git a/features/profile/frontend-app/tsup.config.ts b/features/profile/frontend-app/tsup.config.ts new file mode 100644 index 000000000..0a828844e --- /dev/null +++ b/features/profile/frontend-app/tsup.config.ts @@ -0,0 +1,12 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig({ + entry: { + index: 'src/index.ts', + pages: 'src/pages/index.ts', + hooks: 'src/hooks/index.ts', + configs: 'src/configs/index.ts', + }, + // Inject CSS into JS bundle for UI components + injectStyle: true, +}); diff --git a/features/seo/frontend-admin/tsup.config.ts b/features/seo/frontend-admin/tsup.config.ts new file mode 100644 index 000000000..929f1c2cf --- /dev/null +++ b/features/seo/frontend-admin/tsup.config.ts @@ -0,0 +1,6 @@ +import { createLibraryConfig } from '@lilith/lix-configs/tsup/library'; + +export default createLibraryConfig({ + // Inject CSS into JS bundle for UI components + injectStyle: true, +});