Skip to content

Commit

Permalink
fix: package.json exports zod entrypoint path (#144)
Browse files Browse the repository at this point in the history
* fix: package.json export

* chore: changeset
  • Loading branch information
tmm committed May 26, 2023
1 parent 945c42c commit 02ae52e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 24 deletions.
5 changes: 5 additions & 0 deletions .changeset/tricky-foxes-end.md
@@ -0,0 +1,5 @@
---
"abitype": patch
---

Fixed package.json Zod entrypoint ESM path.
31 changes: 7 additions & 24 deletions package.json
Expand Up @@ -63,22 +63,16 @@
},
"./zod": {
"types": "./dist/types/zod/index.d.ts",
"import": "./dist/esm/zod/index.mts",
"import": "./dist/esm/zod/index.js",
"require": "./dist/cjs/zod/index.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"config": [
"./dist/types/config.d.ts"
],
"test": [
"./dist/types/test/index.d.ts"
],
"zod": [
"./dist/types/zod/index.d.ts"
]
"config": ["./dist/types/config.d.ts"],
"test": ["./dist/types/test/index.d.ts"],
"zod": ["./dist/types/zod/index.d.ts"]
}
},
"peerDependencies": {
Expand Down Expand Up @@ -107,23 +101,14 @@
"vitest": "^0.30.1",
"zod": "^3.20.6"
},
"contributors": [
"jxom.eth <j@wagmi.sh>",
"awkweb.eth <t@wagmi.sh>"
],
"contributors": ["jxom.eth <j@wagmi.sh>", "awkweb.eth <t@wagmi.sh>"],
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/wagmi-dev"
}
],
"keywords": [
"abi",
"eth",
"ethereum",
"typescript",
"web3"
],
"keywords": ["abi", "eth", "ethereum", "typescript", "web3"],
"simple-git-hooks": {
"pre-commit": "pnpm format && pnpm lint:fix"
},
Expand All @@ -134,9 +119,7 @@
"shiki-twoslash>shiki": "^0.14.1"
},
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search"
]
"ignoreMissing": ["@algolia/client-search"]
}
}
}

1 comment on commit 02ae52e

@vercel
Copy link

@vercel vercel bot commented on 02ae52e May 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

abitype – ./

abitype.vercel.app
abitype-wagmi-dev.vercel.app
abitype.dev
abitype-git-main-wagmi-dev.vercel.app

Please sign in to comment.