🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@runtyping/zod

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@runtyping/zod - npm Package Compare versions

Comparing version
4.0.1
to
5.0.0
+5
test/tsconfig.json
{
"extends": "../tsconfig.json",
"include": ["../src", "."],
"exclude": ["../dist"]
}
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
environment: 'node',
},
})
+29
-0
# Changelog
## [5.0.0](https://github.com/johngeorgewright/runtyping/compare/@runtyping/zod-v4.0.1...@runtyping/zod-v5.0.0) (2025-12-12)
### ⚠ BREAKING CHANGES
* All packages are now ESM.
* All packages are now ESM.
### Features
* import types ([e4ac342](https://github.com/johngeorgewright/runtyping/commit/e4ac3426b166239dc7c5b7f539c55000d38e19e6))
* import types ([887e2ab](https://github.com/johngeorgewright/runtyping/commit/887e2ab6472169bfa7685136bfcc3a66f390f547))
### Code Refactoring
* convert to esm ([286f029](https://github.com/johngeorgewright/runtyping/commit/286f029469e9b7dbf1d5b434718d88bc39d46826))
* convert to esm ([ee17af6](https://github.com/johngeorgewright/runtyping/commit/ee17af6962b9c3a60ff6b1077ed2e0dac78835aa))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @runtyping/generator bumped to 10.0.0
* @runtyping/zod-core bumped to 2.0.0
* devDependencies
* @runtyping/test-type-writers bumped to 4.0.0
## [4.0.1](https://github.com/johngeorgewright/runtyping/compare/@runtyping/zod-v4.0.0...@runtyping/zod-v4.0.1) (2025-12-12)

@@ -4,0 +33,0 @@

+3
-6
#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const generator_1 = require("@runtyping/generator");
const ZodTypeWriters_1 = tslib_1.__importDefault(require("./ZodTypeWriters"));
(0, generator_1.cli)('runtyping.yml', new ZodTypeWriters_1.default()).catch(console.error);
import { cli } from '@runtyping/generator';
import ZodTypeWriters from './ZodTypeWriters';
cli('runtyping.yml', new ZodTypeWriters()).catch(console.error);
//# sourceMappingURL=cli.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;;AAEA,oDAA0C;AAC1C,8EAA6C;AAE7C,IAAA,eAAG,EAAC,eAAe,EAAE,IAAI,wBAAc,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA"}
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAC1C,OAAO,cAAc,MAAM,kBAAkB,CAAA;AAE7C,GAAG,CAAC,eAAe,EAAE,IAAI,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA"}

@@ -1,12 +0,11 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const generator_1 = require("@runtyping/generator");
const ZodTypeWriters_1 = tslib_1.__importDefault(require("./ZodTypeWriters"));
class ZodGenerator extends generator_1.Generator {
import { Generator } from '@runtyping/generator';
import ZodTypeWriters from './ZodTypeWriters';
export default class ZodGenerator extends Generator {
constructor(options) {
super(Object.assign(Object.assign({}, options), { typeWriters: new ZodTypeWriters_1.default() }));
super({
...options,
typeWriters: new ZodTypeWriters(),
});
}
}
exports.default = ZodGenerator;
//# sourceMappingURL=Generator.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"Generator.js","sourceRoot":"","sources":["../src/Generator.ts"],"names":[],"mappings":";;;AAAA,oDAAkE;AAClE,8EAA6C;AAI7C,MAAqB,YAAa,SAAQ,qBAAS;IACjD,YAAY,OAA4B;QACtC,KAAK,iCACA,OAAO,KACV,WAAW,EAAE,IAAI,wBAAc,EAAE,IACjC,CAAA;IACJ,CAAC;CACF;AAPD,+BAOC"}
{"version":3,"file":"Generator.js","sourceRoot":"","sources":["../src/Generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoB,MAAM,sBAAsB,CAAA;AAClE,OAAO,cAAc,MAAM,kBAAkB,CAAA;AAI7C,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,SAAS;IACjD,YAAY,OAA4B;QACtC,KAAK,CAAC;YACJ,GAAG,OAAO;YACV,WAAW,EAAE,IAAI,cAAc,EAAE;SAClC,CAAC,CAAA;IACJ,CAAC;CACF"}
export * from '@runtyping/zod-core';
export { default as Generator } from './Generator';
export * from '@runtyping/generator/dist/runtypes';
export * from '@runtyping/generator/runtypes';

@@ -1,9 +0,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Generator = void 0;
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@runtyping/zod-core"), exports);
var Generator_1 = require("./Generator");
Object.defineProperty(exports, "Generator", { enumerable: true, get: function () { return tslib_1.__importDefault(Generator_1).default; } });
tslib_1.__exportStar(require("@runtyping/generator/dist/runtypes"), exports);
export * from '@runtyping/zod-core';
export { default as Generator } from './Generator';
export * from '@runtyping/generator/runtypes';
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,8DAAmC;AACnC,yCAAkD;AAAzC,+HAAA,OAAO,OAAa;AAC7B,6EAAkD"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,cAAc,+BAA+B,CAAA"}

@@ -1,6 +0,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const generator_1 = require("@runtyping/generator");
const zod_core_1 = require("@runtyping/zod-core");
class ZodTypeWriters extends zod_core_1.ZodCoreTypeWriters {
import { Import, Tuple, Write } from '@runtyping/generator';
import { ZodCoreTypeWriters } from '@runtyping/zod-core';
export default class ZodTypeWriters extends ZodCoreTypeWriters {
constructor() {

@@ -13,17 +11,16 @@ super(...arguments);

const alias = `${exportName}Transformer`;
yield [generator_1.Import, { source: fileName, name: exportName, alias }];
yield [Import, { source: fileName, name: exportName, alias }];
yield* typeWriter;
yield [generator_1.Write, `.transform(${alias})`];
yield [Write, `.transform(${alias})`];
}
*openVariadicTuple(type) {
yield [generator_1.Import, { source: this.parserModule, name: 'array' }];
yield [Import, { source: this.parserModule, name: 'array' }];
yield* this._array(this._simple('any'));
yield [generator_1.Write, `.min(${generator_1.Tuple.getTupleMinSize(type)})`];
yield [generator_1.Write, '.superRefine((data, ctx) => {'];
yield [Write, `.min(${Tuple.getTupleMinSize(type)})`];
yield [Write, '.superRefine((data, ctx) => {'];
}
*closeVariadicTuple() {
yield [generator_1.Write, '})'];
yield [Write, '})'];
}
}
exports.default = ZodTypeWriters;
//# sourceMappingURL=ZodTypeWriters.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"ZodTypeWriters.js","sourceRoot":"","sources":["../src/ZodTypeWriters.ts"],"names":[],"mappings":";;AAAA,oDAAuE;AACvE,kDAAwD;AAGxD,MAAqB,cAAe,SAAQ,6BAAkB;IAA9D;;QACY,iBAAY,GAAG,KAAK,CAAA;QACpB,eAAU,GAAG,gBAAgB,CAAC;IAuB1C,CAAC;IArBU,CAAC,iBAAiB,CACzB,UAAsB,EACtB,QAAgB,EAChB,UAAkB;QAElB,MAAM,KAAK,GAAG,GAAG,UAAU,aAAa,CAAA;QACxC,MAAM,CAAC,kBAAM,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAA;QAC7D,KAAK,CAAC,CAAC,UAAU,CAAA;QACjB,MAAM,CAAC,iBAAK,EAAE,cAAc,KAAK,GAAG,CAAC,CAAA;IACvC,CAAC;IAEkB,CAAC,iBAAiB,CAAC,IAAU;QAC9C,MAAM,CAAC,kBAAM,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAA;QAC5D,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAA;QACvC,MAAM,CAAC,iBAAK,EAAE,QAAQ,iBAAK,CAAC,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QACrD,MAAM,CAAC,iBAAK,EAAE,+BAA+B,CAAC,CAAA;IAChD,CAAC;IAEkB,CAAC,kBAAkB;QACpC,MAAM,CAAC,iBAAK,EAAE,IAAI,CAAC,CAAA;IACrB,CAAC;CACF;AAzBD,iCAyBC"}
{"version":3,"file":"ZodTypeWriters.js","sourceRoot":"","sources":["../src/ZodTypeWriters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAc,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAGxD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,kBAAkB;IAA9D;;QACY,iBAAY,GAAG,KAAK,CAAA;QACpB,eAAU,GAAG,gBAAgB,CAAC;IAuB1C,CAAC;IArBU,CAAC,iBAAiB,CACzB,UAAsB,EACtB,QAAgB,EAChB,UAAkB;QAElB,MAAM,KAAK,GAAG,GAAG,UAAU,aAAa,CAAA;QACxC,MAAM,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAA;QAC7D,KAAK,CAAC,CAAC,UAAU,CAAA;QACjB,MAAM,CAAC,KAAK,EAAE,cAAc,KAAK,GAAG,CAAC,CAAA;IACvC,CAAC;IAEkB,CAAC,iBAAiB,CAAC,IAAU;QAC9C,MAAM,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAA;QAC5D,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAA;QACvC,MAAM,CAAC,KAAK,EAAE,QAAQ,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QACrD,MAAM,CAAC,KAAK,EAAE,+BAA+B,CAAC,CAAA;IAChD,CAAC;IAEkB,CAAC,kBAAkB;QACpC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;IACrB,CAAC;CACF"}

@@ -1,2 +0,2 @@

import { array, number, object, output, string, union } from 'zod';
import { array, number, object, type output, string, union } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { boolean, output } from 'zod';
import { boolean, type output } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { instanceof as InstanceOf, object, output } from 'zod';
import { instanceof as InstanceOf, object, type output } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,3 +0,3 @@

import { array, lazy, literal, object, optional, output, undefined as Undefined, union } from 'zod';
import { $ZodType } from 'zod/v4/core';
import { array, lazy, literal, object, optional, type output, undefined as Undefined, union } from 'zod';
import { type $ZodType } from 'zod/v4/core';
import { Student as _Student, Teacher as _Teacher } from '../../../.yarn/__virtual__/@runtyping-test-type-writers-virtual-f1a80c3a62/1/packages/test-type-writers/fixtures/source/circular-references';

@@ -4,0 +4,0 @@

@@ -1,2 +0,2 @@

import { null as Null, object, output, string, union } from 'zod';
import { null as Null, object, type output, string, union } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { enum as Enum, literal, output, string, union } from 'zod';
import { enum as Enum, literal, type output, string, union } from 'zod';
import { A as _A, B as _B, C as _C, E as _E } from '../../../.yarn/__virtual__/@runtyping-test-type-writers-virtual-f1a80c3a62/1/packages/test-type-writers/fixtures/source/enum';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { instanceof as InstanceOf, output } from 'zod';
import { instanceof as InstanceOf, type output } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,3 +0,3 @@

import { intersection, number, object, output, string, union } from 'zod';
import { $ZodType } from 'zod/v4/core';
import { intersection, number, object, type output, string, union } from 'zod';
import { type $ZodType } from 'zod/v4/core';

@@ -4,0 +4,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,3 +0,3 @@

import { array, lazy, literal, null as Null, number, object, optional, output, record, string, undefined as Undefined, union } from 'zod';
import { $ZodType } from 'zod/v4/core';
import { array, lazy, literal, null as Null, number, object, optional, type output, record, string, undefined as Undefined, union } from 'zod';
import { type $ZodType } from 'zod/v4/core';
import { JSONSchema7 as _JSONSchema7, JSONSchema7Array as _JSONSchema7Array, JSONSchema7Definition as _JSONSchema7Definition, JSONSchema7Object as _JSONSchema7Object, JSONSchema7Type as _JSONSchema7Type } from 'json-schema/index';

@@ -4,0 +4,0 @@

@@ -1,2 +0,2 @@

import { literal, number, object, output, string } from 'zod';
import { literal, number, object, type output, string } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { boolean, instanceof as InstanceOf, literal, number, object, output, string } from 'zod';
import { boolean, instanceof as InstanceOf, literal, number, object, type output, string } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { intersection, object, output, string } from 'zod';
import { intersection, object, type output, string } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { literal, output } from 'zod';
import { literal, type output } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { object, optional, output, record, string, tuple, undefined as Undefined, union, unknown as Unknown } from 'zod';
import { object, optional, type output, record, string, tuple, undefined as Undefined, union, unknown as Unknown } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { any as Any, array, object, optional, output, record, safeParse, string, undefined as Undefined, union, unknown as Unknown } from 'zod';
import { any as Any, array, object, optional, type output, record, safeParse, string, undefined as Undefined, union, unknown as Unknown } from 'zod';
import { pipeIssues } from '@runtyping/zod';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

import { number, object, output, string, unknown as Unknown } from 'zod';
import { number, object, type output, string, unknown as Unknown } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { array, never as Never, output, record, string } from 'zod';
import { array, never as Never, type output, record, string } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { null as Null, object, optional, output, string, undefined as Undefined, union } from 'zod';
import { null as Null, object, optional, type output, string, undefined as Undefined, union } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { number, output } from 'zod';
import { number, type output } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { object, optional, output, string, undefined as Undefined, union } from 'zod';
import { object, optional, type output, string, undefined as Undefined, union } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { output, record, string } from 'zod';
import { type output, record, string } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,3 +0,3 @@

import { array, lazy, object, output, string, union } from 'zod';
import { $ZodType } from 'zod/v4/core';
import { array, lazy, object, type output, string, union } from 'zod';
import { type $ZodType } from 'zod/v4/core';
import { A as _A, B as _B } from '../../../.yarn/__virtual__/@runtyping-test-type-writers-virtual-f1a80c3a62/1/packages/test-type-writers/fixtures/source/recursive';

@@ -4,0 +4,0 @@

@@ -1,2 +0,2 @@

import { literal, number, object, optional, output, string, undefined as Undefined, union } from 'zod';
import { literal, number, object, optional, type output, string, undefined as Undefined, union } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { output, string } from 'zod';
import { type output, string } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,3 +0,3 @@

import { stringToNumber as stringToNumberTransformer } from '@runtyping/test-type-writers/dist/transformers/stringToNumber';
import { output, string } from 'zod';
import { stringToNumber as stringToNumberTransformer } from '@runtyping/test-type-writers/transformers/stringToNumber';
import { type output, string } from 'zod';

@@ -4,0 +4,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { number, output, string, tuple } from 'zod';
import { number, type output, string, tuple } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { number, output, string, union } from 'zod';
import { number, type output, string, union } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

@@ -1,2 +0,2 @@

import { any as Any, output, unknown as Unknown } from 'zod';
import { any as Any, type output, unknown as Unknown } from 'zod';

@@ -3,0 +3,0 @@ // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping).

{
"name": "@runtyping/zod",
"version": "4.0.1",
"version": "5.0.0",
"description": "Generate zod from static types & JSON schema.",
"type": "module",
"main": "dist/index.js",
"scripts": {
"build": "yarn clean && tsc",
"clean": "rimraf dist",
"start": "tsc --watch --preserveWatchOutput",
"test": "node --experimental-vm-modules $(yarn bin jest)"
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"license": "MIT",
"bugs": {
"url": "https://github.com/johngeorgewright/runtyping/issues"
},
"homepage": "https://github.com/johngeorgewright/runtyping#readme",
"bin": {
"runtyping": "dist/cli.js"
},
"scripts": {
"build": "tsc",
"clean": "rimraf dist && rimraf tsconfig.tsbuildinfo",
"start": "tsc --watch --preserveWatchOutput",
"test": "vitest run"
},
"peerDependencies": {

@@ -24,17 +26,15 @@ "zod": "^4.0.0"

"devDependencies": {
"@runtyping/test-type-writers": "3.1.2",
"@types/jest": "30.0.0",
"@runtyping/test-type-writers": "4.0.0",
"@types/json-schema": "7.0.15",
"@types/node": "24.10.3",
"jest": "30.2.0",
"rimraf": "6.1.2",
"ts-jest": "29.4.6",
"ts-node": "10.9.2",
"typescript": "5.9.3",
"vitest": "4.0.15",
"zod": "4.1.13"
},
"dependencies": {
"@runtyping/generator": "9.1.0",
"@runtyping/zod-core": "1.0.0",
"title-case": "3.0.3",
"@runtyping/generator": "10.0.0",
"@runtyping/zod-core": "2.0.0",
"title-case": "4.3.2",
"ts-morph": "27.0.2",

@@ -41,0 +41,0 @@ "tslib": "2.8.1"

export * from '@runtyping/zod-core'
export { default as Generator } from './Generator'
export * from '@runtyping/generator/dist/runtypes'
export * from '@runtyping/generator/runtypes'
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"target": "es2020",
"module": "es2020",
"lib": ["es2018"],

@@ -16,8 +16,13 @@ "importHelpers": true,

"noImplicitOverride": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"esModuleInterop": true,
"resolveJsonModule": true
"resolveJsonModule": true,
"rootDir": "src"
},
"include": ["src"],
"exclude": ["dist", "test", "jest.config.ts"]
"references": [
{ "path": "../generator" },
{ "path": "../test-type-writers" },
{ "path": "../zod-core" }
]
}
import { JestConfigWithTsJest } from 'ts-jest'
const config: JestConfigWithTsJest = {
testEnvironment: 'node',
transform: {
'^.+\\.tsx?$': ['ts-jest', { tsconfig: 'tsconfig.test.json' }],
},
}
export default config
{
"extends": "./tsconfig.json",
"include": ["src", "test"],
"exclude": ["dist"]
}

Sorry, the diff of this file is not supported yet