Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
By giving each function its own module, we gain some great benefits:
New contributors can find their way around easier.
Copy-pasting a function from Radashi is simpler than ever. To demonstrate this, let me explain the steps it now takes:
t
key, then type the name of the function you wish to copy-pasteEnter
key to navigate to the function's moduleradashi
package specifier, so the copied function will work in your project immediately, no manual edits required.Easier than ever to run tests for a specific function. Just pass the function name to Vitest and it will fuzzy-match the right test file for you!
Checklist
/docs
directory) has been updatedResolves