-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch to tshy * Switch to tshy * Switch to tshy * Fix vitest issue * Remove tsc-perf * Format packagejsons * Tweak * Format package jsons * Update biome settings * Remove source dialects
- Loading branch information
1 parent
b3b36b7
commit 0dedd82
Showing
110 changed files
with
644 additions
and
474 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ logos | |
dist | ||
.tshy | ||
.tshy-build | ||
packages/tsc-perf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"private": true, | ||
"type": "module", | ||
"name": "zod-benchmarks", | ||
"devDependencies": { | ||
"zod": "3.23.8" | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"name": "@zod-plugin/effect", | ||
"type": "module", | ||
"version": "0.1.0", | ||
"author": "Colin McDonnell <[email protected]>", | ||
"files": ["src", "dist"], | ||
|
@@ -9,11 +10,13 @@ | |
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "./dist/commonjs/index.js", | ||
"module": "./dist/esm/index.js", | ||
"types": "./dist/commonjs/index.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"@zod/source": "./src/index.ts", | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
|
@@ -23,6 +26,12 @@ | |
} | ||
} | ||
}, | ||
"tshy": { | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": "./src/index.ts" | ||
} | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/colinhacks/zod.git" | ||
|
@@ -41,9 +50,7 @@ | |
}, | ||
"scripts": { | ||
"clean": "rm -rf dist", | ||
"build": "pnpm run clean && pnpm build:cjs && pnpm build:esm", | ||
"build:esm": "pnpm tsc -p ./tsconfig.build.json --noEmit false --declaration --declarationMap --sourceMap --rootDir src --module esnext --moduleResolution node10 --outDir dist/esm", | ||
"build:cjs": "pnpm tsc -p ./tsconfig.build.json --noEmit false --rootDir src --sourceMap --module commonjs --moduleResolution node10 --outDir dist/cjs", | ||
"build": "tshy", | ||
"test": "vitest run", | ||
"prepublishOnly": "pnpm test && pnpm build" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "../../.configs/tsconfig.base.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { defineConfig, mergeConfig } from "vitest/config"; | ||
import rootConfig from "../../vitest.root"; | ||
import { defineProject, mergeConfig } from "vitest/config"; | ||
import rootConfig from "../../vitest.root.mjs"; | ||
|
||
const config: Record<string, any> = mergeConfig(rootConfig, defineConfig({})); | ||
const config: Record<string, any> = mergeConfig(rootConfig, defineProject({})); | ||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"name": "zod", | ||
"type": "module", | ||
"version": "3.23.8", | ||
"author": "Colin McDonnell <[email protected]>", | ||
"description": "TypeScript-first schema declaration and validation library with static type inference", | ||
|
@@ -9,20 +10,39 @@ | |
"keywords": ["typescript", "schema", "validation", "type", "inference"], | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "./dist/cjs/index.js", | ||
"main": "./dist/commonjs/index.js", | ||
"module": "./dist/esm/index.js", | ||
"types": "./dist/esm/index.d.ts", | ||
"types": "./dist/commonjs/index.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"types": "./dist/esm/index.d.ts", | ||
"require": "./dist/cjs/index.js", | ||
"import": "./dist/esm/index.js" | ||
"import": { | ||
"@zod/source": "./src/index.ts", | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/commonjs/index.d.ts", | ||
"default": "./dist/commonjs/index.js" | ||
} | ||
}, | ||
"./package.json": "./package.json", | ||
"./locales/*": { | ||
"types": "./dist/esm/locales/*.d.ts", | ||
"require": "./dist/cjs/locales/*.js", | ||
"import": "./dist/esm/locales/*.js" | ||
"import": { | ||
"@zod/source": "./src/locales/*", | ||
"types": "./dist/esm/locales/*", | ||
"default": "./dist/esm/locales/*" | ||
}, | ||
"require": { | ||
"types": "./dist/commonjs/locales/*", | ||
"default": "./dist/commonjs/locales/*" | ||
} | ||
} | ||
}, | ||
"tshy": { | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": "./src/index.ts", | ||
"./locales/*": "./src/locales/*" | ||
} | ||
}, | ||
"repository": { | ||
|
@@ -39,10 +59,7 @@ | |
}, | ||
"scripts": { | ||
"clean": "rm -rf dist", | ||
"build": "pnpm run clean && pnpm build:cjs && pnpm build:esm", | ||
"build:esm": "pnpm tsc -p ./tsconfig.build.json --noEmit false --declaration --declarationMap --sourceMap --rootDir src --module esnext --outDir dist/esm", | ||
"build:cjs": "pnpm tsc -p ./tsconfig.build.json --noEmit false --declaration --declarationMap --sourceMap --rootDir src --module commonjs --outDir dist/cjs", | ||
"build:rollup": "rollup --config ../../.configs/rollup.esm.mjs", | ||
"build": "tshy", | ||
"test:watch": "pnpm vitest", | ||
"test": "pnpm vitest run", | ||
"prepublishOnly": "pnpm test && pnpm run build" | ||
|
Oops, something went wrong.