Small optimisations - #42
Merged
Merged
Conversation
Contributor
|
Yeah, makes sense to remove the generated files from git to prevent any confusion. This paired with a GitHub action to auto-publish the theme (when a new GitHub Release is created) will be really powerful. |
Contributor
|
Tried it out locally. It seems to work fine for the first change, but then when making another change I get this: Anything wrong with my setup or does |
Contributor
Author
|
I forgot to add the |
Contributor
Author
simurai
approved these changes
May 20, 2020
simurai
left a comment
Contributor
There was a problem hiding this comment.
Ok, I think this is good to 🚢 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

While working on #40 I found a few small things which could make contributions easier. I created a PR directly instead of opening an issue because the changes could be made easily. If you don't want to go forward with this, feel free to close it. 😊
Here are the changes and their explanation:
src/theme.jsis source of truth and to prevent theme source and themes going out of sync. In my previous PR I made the changes directly onthemes/dark.jsonthrough GitHub's web interface without noticing that was the wrong way to do it.Run Extension Without Buildconfig to enable running extension as before.npm startthe default build task so that it can be started with shortcutcmd + shift + B.