Skip to content

Add validation for package name in vue init #73

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

Merged
merged 3 commits into from
Apr 11, 2016

Conversation

watilde
Copy link

@watilde watilde commented Apr 8, 2016

Hi 👋

I try to add a validation to check package name is invalid or not in vue init.
screenschot

@zigomir
Copy link
Contributor

zigomir commented Apr 9, 2016

@watilde it would be really nice if you can also provide a test case.
I'm also a bit confused by the image you attached. Why is Project name (test) (guessing here the test is a project name) not valid?

@watilde watilde force-pushed the feature/validate-package-name branch 2 times, most recently from 08b2b5c to 3bf614f Compare April 10, 2016 21:38
@watilde watilde force-pushed the feature/validate-package-name branch from 3bf614f to 03e2bce Compare April 10, 2016 21:42
@watilde watilde force-pushed the feature/validate-package-name branch from 03e2bce to ea95f3d Compare April 10, 2016 21:55
@watilde
Copy link
Author

watilde commented Apr 10, 2016

@zigomir Thanks for your comment! I've rebased and added a test case.
I'm sorry for making you confused by a screenshot I attached. Actually this gif image is what exactly I did in the screenshot. An animation always helps me to explain a thing clearly 😃

gif

@zigomir
Copy link
Contributor

zigomir commented Apr 10, 2016

@watilde nice! Thanks for the update. This looks good to me. @yyx990803 do you agree as well?

@yyx990803 yyx990803 merged commit d917298 into vuejs:master Apr 11, 2016
@watilde watilde deleted the feature/validate-package-name branch April 11, 2016 17:09
@watilde
Copy link
Author

watilde commented Apr 11, 2016

@yyx990803 @zigomir Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants