-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix: auto update field name in package.json
#5763
Conversation
🦋 Changeset detectedLatest commit: ec420a4 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Looks good to me!
e74d379
to
206a787
Compare
package.json
package.json
4bdd510
to
e75ea8a
Compare
I have tested the Running Error message: I don't know why. However, all test cases will pass if running |
f6e88be
to
4dd36bf
Compare
4dd36bf
to
ec420a4
Compare
Changes
Update field
name
inpackage.json
while generating new project to match the user input.The value for the new NPM package name is taken from:
--package
argument.projectDir
if--package
is not given.--package
orprojectDir
is an invalid NPM package name.Test cases
--package
.