Areas for improvement - Low hanging fruit #610
danieldelcore
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
Regarding the documentation, @mohab-sameh from Codemod recently created a new site to replace the old JSDoc docs (#592). It's live now at https://jscodeshift.com/. Before this existed, there was a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Continuing from here, I wanted to create this discussion to capture and crowdsource low-hanging improvement teams for jscodeshift.
I recommend we limit suggestions to:
Any architectural or breaking changes should be the topic of another discussion or RFC.
References:
To start us off the items that are top of mind for me:
Automate versioning & releases
Use a tool like changesets to automate changelogs, versioning, and releases so we don't have to wait for someone from meta to cut a release and increase the rate of change.
Documentation
A lot of the API is undocumented (or the docs are hard to find), we could create a fairly simple docs site via Docusaurus or similar paired with some automation that outputs API and type information to markdown.
Typescript
This one is debatable, but I think a type system would really improve DX, especially when working with the AST/collection APIs.
Test coverage
Better test coverage across the jscodeshift API. would make the library more resilient to changes bubbling up from the parsers,
recastandast-types.A recent example where a regression was introduced via a bump of recast: #534 (comment)
Beta Was this translation helpful? Give feedback.
All reactions