web icon indicating copy to clipboard operation
web copied to clipboard

Package [email protected] has missing documentation

Open moo-w opened this issue 4 months ago • 6 comments

Please use this issue template to report a package that you know is documented but for which you found missing or incorrect documentation on jsDocs.io.

Note: If the package itself has no documentation in the source code, you will need to contact the author of the package.

Package name: geasty

Package version: 0.0.6

Problem (check all that apply using an [x]):

  • [x] Missing documentation
  • [ ] Partial documentation
  • [ ] Incorrect documentation
  • [ ] Exposed private documentation
  • [ ] Other

Optionally, briefly describe the problem:

doc stays at 0.0.1 didn't update to 0.0.6

moo-w avatar Sep 30 '25 02:09 moo-w

Doc updated! But it says 'Unfortunately type definitions are currently not available for this package'

moo-w avatar Sep 30 '25 11:09 moo-w

Hi @moo-w, thanks for the issue!

The old API extractor used currently on the website doesn't support the .d.mts extensions and that's why you see that message.

The new extractor does support it and can analyze your package but is only able to extract the default Geasty class since other types like GeastyOptions are unexported.

velut avatar Oct 07 '25 20:10 velut

Thanks for your response! May I ask when is the new extractor available?

moo-w avatar Oct 10 '25 16:10 moo-w

BTW, I noticed that @unocss/core also uses .d.mts exports, but its documentation looks fine. Am I missing something?

moo-w avatar Oct 10 '25 16:10 moo-w

Thanks for your response! May I ask when is the new extractor available?

The new extractor is already in good shape, it's the new website that I have to finish.

BTW, I noticed that @unocss/core also uses .d.mts exports, but its documentation looks fine. Am I missing something?

For both packages the old extractor finds the types property in package.json and uses that as the entry point. Note that unocss links to dist/index.d.ts (.d.ts => supported) while geasty links to ./dist/index.d.mts (.d.mts => unsupported).

velut avatar Oct 12 '25 13:10 velut

Oh! Sry for my carelessness, I didn't notice that unocss/core export both .d.ts and .d.mts.

The new extractor is already in good shape, it's the new website that I have to finish.

Got it, and best of luck with your development!

moo-w avatar Oct 14 '25 11:10 moo-w