Contracts 1.0.0: generated JSON Schema for every contract
- schemas/: JSON Schema (draft 2020-12) generated from the zod schemas by npm run build (scripts/json-schemas.cjs), exported as @crosscode/contracts/schemas/* - Test: files match the zod schemas, every sample passes them (Ajv) - Version 1.0.0, CHANGELOG and README Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ export default defineConfig([
|
||||
...tseslint.configs.recommended,
|
||||
{
|
||||
files: ["**/*.cjs", "**/jest.config.js"],
|
||||
languageOptions: { sourceType: "commonjs", globals: { module: "writable", require: "readonly" } },
|
||||
languageOptions: { sourceType: "commonjs", globals: { module: "writable", require: "readonly", __dirname: "readonly", process: "readonly", console: "readonly" } },
|
||||
rules: { "@typescript-eslint/no-require-imports": "off" },
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user