-
Notifications
You must be signed in to change notification settings - Fork 35
Updated package.json for Github user and Repo Name when install by npx #62
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
base: main
Are you sure you want to change the base?
Conversation
|
Pls review @rubemfsv |
rubemfsv
left a comment
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.
did you tested here to check if it will work?
| // Write the updated package.json back to the file | ||
| fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2)) | ||
|
|
||
| console.log('Updated package.json with dynamic values.') |
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.
it is not necessary, because it is not an instruction
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 line is missing! After remove it, run "npm run format:fix" to run prettier here
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.
@rubemfsv you are talking about whicj line ?
|
Pls can you check once again |
| // Write the updated package.json back to the file | ||
| fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2)) | ||
|
|
||
| console.log('Updated package.json with dynamic values.') |
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 line is missing! After remove it, run "npm run format:fix" to run prettier here
Thank you for making a pull request!
Clean React App is built and maintained by developers like you, and we appreciate contributions very much. You are awesome!
Here is a short checklist to give your PR the best start:
Everything above can be removed once checked
fixes #55