From 3a9ee6e0071149d1137eef0b76a991a7c3dd7a2d Mon Sep 17 00:00:00 2001 From: Joan Xie Date: Mon, 3 Nov 2025 15:59:40 -0800 Subject: [PATCH] Export schemas/index instead of specific version Changed all entry points (index.ts, cli.ts, node.ts) to export from schemas/index.js instead of schemas/0.3.js. This provides access to all versioned schemas (v0_1, v0_2, v0_3, vAny) and VERSIONED_MANIFEST_SCHEMAS without exposing a specific version. --- src/cli.ts | 2 +- src/index.ts | 2 +- src/node.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli.ts b/src/cli.ts index 809d6d4..a11144a 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -3,7 +3,7 @@ export * from "./cli/init.js"; export * from "./cli/pack.js"; // Include all shared exports -export * from "./schemas/0.3.js"; +export * from "./schemas/index.js"; export * from "./shared/config.js"; export * from "./shared/constants.js"; export * from "./types.js"; diff --git a/src/index.ts b/src/index.ts index 114e50d..1aad967 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ export * from "./cli/unpack.js"; export * from "./node/files.js"; export * from "./node/sign.js"; export * from "./node/validate.js"; -export * from "./schemas/0.3.js"; +export * from "./schemas/index.js"; export * from "./shared/config.js"; export * from "./shared/constants.js"; export * from "./types.js"; diff --git a/src/node.ts b/src/node.ts index 10aa2b5..193df7b 100644 --- a/src/node.ts +++ b/src/node.ts @@ -4,7 +4,7 @@ export * from "./node/sign.js"; export * from "./node/validate.js"; // Include all shared exports -export * from "./schemas/0.3.js"; +export * from "./schemas/index.js"; export * from "./shared/config.js"; export * from "./shared/constants.js"; export * from "./types.js";