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
napi-rs
generates a .d.ts file for us inturbo-repository
. Unfortunately, this file doesn't match our project's formatting (the generated file doesn't include semicolons). This means that every time we locally run a command (for example,pnpm test
) that courses through this generation we jiggle this file, creating a lot of noise when developing.This small PR fixes this by simplifying the script and running prettier on it.
Testing Instructions
run
pnpm build
frompackages/turbo-repository
before this PR and see the file change, and notice that after this PR the file change goes away.