feat(core-shared/conformance): barrel + ./conformance subpath export

This commit is contained in:
2026-05-12 21:37:18 +02:00
parent 82cfde9c93
commit c7bd9a2f8a
3 changed files with 9 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
"exports": {
".": "./src/index.ts",
"./audit": "./src/audit/index.ts",
"./conformance": "./src/conformance/index.ts",
"./di": "./src/di/index.ts",
"./di/bind-protocols": "./src/di/bind-protocols.ts",
"./di/bind-context": "./src/di/bind-context.ts",

View File

@@ -0,0 +1,4 @@
export type { Instrumented, Captured } from "./brands";
export type { FeatureManifest, UseCaseManifest } from "./define-feature";
export { defineFeature } from "./define-feature";
export type { ProductionUseCase } from "./production-use-case";

View File

@@ -29,3 +29,7 @@ export type { BindOtelOpts as BindSentryOpts } from "./di/bind-otel-instrumentat
export { initSentryClientReact } from "./sentry/init-client-react";
export { currentTraceId } from "./otel/current-trace-id";
// Re-export brand types alongside the wrappers that attach them, so callers
// can `import { withSpan, type Instrumented } from "@repo/core-shared/instrumentation"`.
export type { Instrumented, Captured } from "../conformance/brands";