`index.d.ts` is missing in `micromark-util-encode` published files
jaydenseric opened this issue · comments
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
micromark-util-encode@1.0.0
Link to runnable example
No response
Steps to reproduce
The package.json
published for micromark-util-encode
v1.0.0 contains "types": "index.d.ts"
:
https://unpkg.com/browse/micromark-util-encode@1.0.0/package.json
Yet the index.d.ts
file is not in the files
whitelist:
micromark/packages/micromark-util-encode/package.json
Lines 33 to 35 in efe9c4d
Most likely that is the reason index.d.ts
isn't published:
https://unpkg.com/browse/micromark-util-encode@1.0.0/
I haven't checked if other micromark packages have a similar issue, this is just what I discovered in my particular project:
Expected behavior
Types declared in the package.json
should be published.
Actual behavior
Types declared in the package.json
are not published.
Runtime
Node v16
Package manager
npm v7
OS
macOS
Build and bundle tools
Other (please specify in steps to reproduce)
I looked through all "files"
fields and it’s not missing in other places
…and released!