feat(core-shared/conformance): barrel + ./conformance subpath export
This commit is contained in:
@@ -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",
|
||||
|
||||
4
packages/core-shared/src/conformance/index.ts
Normal file
4
packages/core-shared/src/conformance/index.ts
Normal 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";
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user