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.
This commit is contained in:
Joan Xie 2025-11-03 15:59:40 -08:00
commit 3a9ee6e007
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -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";

View file

@ -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";

View file

@ -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";