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.
Hey there! I recently discovered your library at an art show last night. I'm a professional dev, so thought I'd lend a hand. Would be happy to discuss other quality improvements like a test suite to avoid code regressions in the future, or even full-blown CI/CD. It would help avoid any future bugs :)
Summary of this PR
This PR adds Prettier as a dev dependency. Prettier is an industry standard code formatter that allows us to maintain uniform code style throughout projects. It also runs prettier on all non-
dist/
JS files.Additionally, this PR adds the
"format"
script topackage.json
to make running Prettier easier. It also specifies this project's compatible node engines, since themeyda
dependency relies on Node versions between 10 and 17. You can see their engines listed here. You'll notice that the engines dependency in this package.json is for Node versions between 14 and 17, whilemeyda
allows those between 10 and 17. This is intentional, because Node versions less than 14 are no longer maintained by the Node.js Release Working Group.Related: hydra-synth/hydra#220