diff --git a/package/.npmignore b/package/.npmignore new file mode 100644 index 0000000..d0629af --- /dev/null +++ b/package/.npmignore @@ -0,0 +1,4 @@ +src +types +zods +tsconfig* diff --git a/package/package.json b/package/package.json index 3bbb62e..8903f38 100644 --- a/package/package.json +++ b/package/package.json @@ -1,13 +1,16 @@ { "name": "@initia/initia-registry", - "version": "0.0.1", + "version": "0.0.4", "description": "The package provides TypeScript type definitions and Zod integration for initia-registry.", "type": "module", "types": "./dist/types/index.d.ts", "exports": { ".": "./dist/types/index.js", - "./zod": "./zods/index.ts" + "./zod": "./dist/zods/index.js" }, + "files": [ + "dist" + ], "scripts": { "build": "tsc -p tsconfig.prod.json --module commonjs", "generate": "rm -rf ./types && rm -rf ./zods && ts-node src/generate.ts"