feat: improve DX with new dev command and updated contribution guidelines #1477
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
TLDR
This
is replaced with this
Description
Currently, there are some manual steps included to run the app locally, which includes building all packages locally and then run
nextandelectronin two separate terminals. This is a bit cumbersome and we also lose the hot reload for the packages that are built beforehand.This update adds a new
devcommand that does everything for the user in parallel. Build all packages (which watch mode so it updates automatically when new changes occur), runnextand runelectron. All with one command, which makes it much easier for the developer to get up and running.Here is a gif of me testing the command and just saving a file in the
commonpackage to show that it hot reloads and includes those updates in the application.The GIF is too large to include so here it is: https://dsc.cloud/c0ec82/CleanShot-2024-01-30-at-10.11.49.gif
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.