Automatic stub generation#17
Open
emilianobovetti wants to merge 1 commit into
Open
Conversation
matteocarpi
approved these changes
Oct 21, 2019
Contributor
|
Miiiitico. Bello mi piace |
emilianobovetti
force-pushed
the
stubs
branch
4 times, most recently
from
October 27, 2019 19:19
2011b4c to
076260e
Compare
emilianobovetti
force-pushed
the
stubs
branch
from
November 5, 2019 10:46
076260e to
4011a2a
Compare
emilianobovetti
force-pushed
the
stubs
branch
from
November 5, 2019 12:23
4011a2a to
fe9ff91
Compare
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.
Generare componenti in automatico da uno stub è 😎, ma trovo scomodo configurare gli strumenti per aderire a tutte le convenzioni che abbiamo deciso di adottare. Visto che creare uno script era molto semplice ho pensato di fare questa proposta:
yarn gen component Testproduce questoindex.js
Test.js
yarn gen screen Testfa la stessa cosa inscreensAs a bonus: ho creato l'org hitbit su npm (che fa super fico) 🎉
Fatemi sapere che ne pensate 👋