-
-
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.
* WIP * Add condition * Fix formatting * Format * Build
- Loading branch information
1 parent
46423ba
commit 8059ce6
Showing
7 changed files
with
26 additions
and
27 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -3,19 +3,10 @@ | |
"type": "module", | ||
"version": "0.1.0", | ||
"author": "Colin McDonnell <[email protected]>", | ||
"files": [ | ||
"src", | ||
"dist" | ||
], | ||
"files": ["src", "dist"], | ||
"funding": "https://github.com/sponsors/colinhacks", | ||
"homepage": "https://zod.dev", | ||
"keywords": [ | ||
"typescript", | ||
"schema", | ||
"validation", | ||
"type", | ||
"inference" | ||
], | ||
"keywords": ["typescript", "schema", "validation", "type", "inference"], | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "./dist/commonjs/index.js", | ||
|
@@ -25,6 +16,7 @@ | |
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"@zod/source": "./src/index.ts", | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
|
@@ -38,7 +30,8 @@ | |
"exports": { | ||
"./package.json": "./package.json", | ||
".": "./src/index.ts" | ||
} | ||
}, | ||
"sourceDialects": ["@zod/source"] | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
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 |
---|---|---|
|
@@ -4,19 +4,10 @@ | |
"version": "3.23.8", | ||
"author": "Colin McDonnell <[email protected]>", | ||
"description": "TypeScript-first schema declaration and validation library with static type inference", | ||
"files": [ | ||
"src", | ||
"dist" | ||
], | ||
"files": ["src", "dist"], | ||
"funding": "https://github.com/sponsors/colinhacks", | ||
"homepage": "https://zod.dev", | ||
"keywords": [ | ||
"typescript", | ||
"schema", | ||
"validation", | ||
"type", | ||
"inference" | ||
], | ||
"keywords": ["typescript", "schema", "validation", "type", "inference"], | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "./dist/commonjs/index.js", | ||
|
@@ -26,6 +17,7 @@ | |
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"@zod/source": "./src/index.ts", | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
|
@@ -36,6 +28,7 @@ | |
}, | ||
"./locales/*": { | ||
"import": { | ||
"@zod/source": "./src/locales/*", | ||
"types": "./dist/esm/locales/*", | ||
"default": "./dist/esm/locales/*" | ||
}, | ||
|
@@ -50,7 +43,8 @@ | |
"./package.json": "./package.json", | ||
".": "./src/index.ts", | ||
"./locales/*": "./src/locales/*" | ||
} | ||
}, | ||
"sourceDialects": ["@zod/source"] | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
@@ -70,5 +64,8 @@ | |
"test:watch": "pnpm vitest", | ||
"test": "pnpm vitest run", | ||
"prepublishOnly": "pnpm test && pnpm run build" | ||
}, | ||
"dependencies": { | ||
"effect": "^3.5.6" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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