-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Adding storybook and MDX script #5
Conversation
I also pushed the config for Netlify, hope you don't mind: https://deploy-preview-5--use-hooks.netlify.com/?path=/docs/useboolean--usage 😃 |
Any comments on this @simmo ? |
Its should still be working but looks like the check is missing from Github 🤔 |
@simmo I added a function called I am skipping the story generation step if there is no I also added the |
I might be missing this, but could the prompt just have a
👍
Does that mean it skips the entire script?
Yep I think thats ok, my only thought is that the packages before the error will have succeeded so therefore in one package will then stop any following from passing. What about keeping as is but cachet has the error? |
Co-Authored-By: Mike Simmonds <simmo@users.noreply.github.com>
Co-Authored-By: Mike Simmonds <simmo@users.noreply.github.com>
Looks like Netlify checks are back. I re added the integration so... 🤞 |
It can yes, I didn't check the prompt object 😓 Changed it!
Yes, I removed it now, since prompt doesn't let you go ahead if validation doesn't pass
Sorry, I didn't quite understood what you mean |
If you have packages; A, B, C, D. Currently, if the script fails at C, both A and B will have completed, C failed and the script will continue to run D. The outcome is either success or failed for each package. If we change |
That makes sense, the part I was confused about was this:
|
Ah ok, sorry bad type on my part there! Using the example in the previous comment, could we keep it as is, but catch the failure at C? That way A, B and D would still succeed and you'd only need to rerun C. We could even catch failures and then ask to rerun the failed ones? |
# Conflicts: # yarn.lock
Yeah, I think that would be good. Should we do it in the next PR though, so we can get this merged? I'm going crazy with the dependabot PRs to be merged in the branch 😅 |
Cool, I'll let you add a ticket for that 😉
Yep, love dependabot, but I've getting RSI from all the merging and PRing! 😂 Yes, merge when you're happy! 🚀 |
PR Description
gen-package-readme/index
a task to generate README.story.skip
step functionMotivation and Context
We wanted a way to showcase the use of hooks in a component, this is the first step
Types of changes