-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Prompt to force initialization when storybook folder is detected #22392
Merged
valentinpalkovic
merged 5 commits into
next
from
valentin/angular-already-installed-error
May 11, 2023
Merged
Prompt to force initialization when storybook folder is detected #22392
valentinpalkovic
merged 5 commits into
next
from
valentin/angular-already-installed-error
May 11, 2023
Conversation
This file contains 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
yannbf
reviewed
May 8, 2023
valentinpalkovic
force-pushed
the
valentin/angular-already-installed-error
branch
2 times, most recently
from
May 9, 2023 15:55
fb1b95a
to
970bc4d
Compare
@yannbf Changed also some log paddings. Unfortunately, it is not really possible to change the padding of the prompt message. Therefore it looks a bit displaced. Unless you have an idea :) |
valentinpalkovic
changed the title
Throw a HandledError when attempting to initiate a project that has already been inited with Storybook
Prompt to force initialization when storybook folder is detected
May 9, 2023
valentinpalkovic
force-pushed
the
valentin/angular-already-installed-error
branch
from
May 10, 2023 07:26
970bc4d
to
6a3266c
Compare
yannbf
reviewed
May 11, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks pretty good ❤️
…nction for better usability and readability
yannbf
reviewed
May 11, 2023
yannbf
reviewed
May 11, 2023
yannbf
added
the
patch:yes
Bugfix & documentation PR that need to be picked to main branch
label
May 11, 2023
yannbf
approved these changes
May 11, 2023
shilman
added
the
patch:done
Patch/release PRs already cherry-picked to main/release branch
label
May 12, 2023
shilman
pushed a commit
that referenced
this pull request
May 12, 2023
…nstalled-error Prompt to force initialization when storybook folder is detected
Merged
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cli
maintenance
User-facing maintenance tasks
patch:done
Patch/release PRs already cherry-picked to main/release branch
patch:yes
Bugfix & documentation PR that need to be picked to main branch
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.
Closes #22342
What I did
The error message was wrong. Corrected it, because the code block only runs for all project types except Angular
Checklist
MIGRATION.MD
Maintainers
make sure to add the
ci:merged
orci:daily
GH label to it.["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]