File tree 3 files changed +12
-3
lines changed
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change
1
+ export * from "./lib" ;
2
+ export as namespace Zod ;
Original file line number Diff line number Diff line change 3
3
"version" : " 3.14.4" ,
4
4
"description" : " TypeScript-first schema declaration and validation library with static type inference" ,
5
5
"main" : " ./lib/index.js" ,
6
- "types" : " ./lib/ index.d.ts" ,
6
+ "types" : " ./index.d.ts" ,
7
7
"module" : " ./lib/index.mjs" ,
8
8
"dependencies" : {},
9
9
"exports" : {
10
10
"." : {
11
11
"require" : " ./lib/index.js" ,
12
12
"import" : " ./lib/index.mjs" ,
13
- "types" : " ./lib/ index.d.ts"
13
+ "types" : " ./index.d.ts"
14
14
},
15
15
"./package.json" : " ./package.json"
16
16
},
17
17
"files" : [
18
- " /lib"
18
+ " /lib" ,
19
+ " /index.d.ts"
19
20
],
20
21
"repository" : {
21
22
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ export default [
10
10
format : "es" ,
11
11
sourcemap : false ,
12
12
} ,
13
+ {
14
+ file : "lib/index.umd.js" ,
15
+ name : "Zod" ,
16
+ format : "umd" ,
17
+ sourcemap : false ,
18
+ } ,
13
19
] ,
14
20
plugins : [
15
21
typescript ( {
You can’t perform that action at this time.
0 commit comments