feat: introduced omptype validation package and migrated workspace dependencies
- Introduce `@oh-my-pi/omptype` as a new ArkType-compatible schema validation package featuring a lazy JIT runtime, JSON Schema emission, and compatibility adapters. - Replace `arktype` across workspace packages and test utilities with `@oh-my-pi/omptype`. - Add benchmark suites, tests, and documentation for the new validation engine and adapters. - Update workspace build, test runner, and release configurations to include the new package.
This commit is contained in:
@@ -24,7 +24,7 @@ const BUNDLED_PACKAGES: readonly BundledPackage[] = [
|
||||
];
|
||||
|
||||
const TYPEBOX_MODULE_KEY = "typebox";
|
||||
const TYPEBOX_SHIM = "typebox.ts";
|
||||
const TYPEBOX_COMPAT_MODULE = "legacy-typebox.ts";
|
||||
const SKIPPED_WILDCARD_BASENAMES = new Set(["index"]);
|
||||
const MAIN_THREAD_UNSAFE_WILDCARD_BASENAMES = new Set(["worker-entry"]);
|
||||
|
||||
@@ -172,7 +172,7 @@ export async function collectBundledPiEntries(): Promise<BundledPiEntry[]> {
|
||||
}
|
||||
}
|
||||
|
||||
addEntry(TYPEBOX_MODULE_KEY, "bundledTypeBoxShim", shimSpecifier(TYPEBOX_SHIM));
|
||||
addEntry(TYPEBOX_MODULE_KEY, "bundledTypeBoxShim", shimSpecifier(TYPEBOX_COMPAT_MODULE));
|
||||
return entries;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user