Skip to content

fix: emit type module marker in _types package.json#4903

Merged
jxom merged 2 commits into
wevm:mainfrom
nishant-uxs:fix/types-package-json-module-marker
Jul 27, 2026
Merged

fix: emit type module marker in _types package.json#4903
jxom merged 2 commits into
wevm:mainfrom
nishant-uxs:fix/types-package-json-module-marker

Conversation

@nishant-uxs

@nishant-uxs nishant-uxs commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • SKIP_GLOBAL_SETUP=true vitest run -c ./test/vitest.config.ts --project core src/packageJson.build.test.ts
  • pnpm build:types produces src/_types/package.json with {type:module}
  • CI green on this PR

Closes wevm#4843. Mirror _esm/_cjs so nodenext resolves declarations as ESM.
@vercel

vercel Bot commented Jul 25, 2026

Copy link
Copy Markdown

@nishant-uxs is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Jul 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0f069f5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jxom
jxom merged commit a20fc67 into wevm:main Jul 27, 2026
2 of 3 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

viem _types/ dist folder missing {"type":"module"} marker → declarations resolve as CommonJS under nodenext (TS1479 / TS1541)

2 participants