-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
chore(templates): remove description
, license
& name
keys from package.json
#3287
chore(templates): remove description
, license
& name
keys from package.json
#3287
Conversation
|
7ab6493
to
c77e9d6
Compare
description
, license
& sideEffects
keys from package.json
description
& license
keys from package.json
@pcattori I've added |
@MichaelDeBoey |
@pcattori Since each app has a certain name, I think we should keep |
I'm not sure I follow. What convenience does the |
If I'm not mistaken (@mcansh can probably provide more info about this), integration(?) tests will also fail if examples/templates have the same/no |
If we already have a script for handling |
Thinking about this a bit more and maybe we should just keep these fields, as npm WARN example-app No description
npm WARN example-app No repository field.
npm WARN example-app No license field. |
Does that app have |
@pcattori It was indeed missing that one, my bad 😅🙈 |
@pcattori People are used to have a
|
tests won't fail due to naming conflicts, we'll just get bombarded with jest haste warnings because of them. i haven't tried with no names, so i can't say for sure if it's fine without them |
I don't think we'll get PRs to add it back in. People can just add their app name if they want to their app's
Nothing requires For those who like having a |
Good point! |
I think its better to leave |
c77e9d6
to
e5ddd60
Compare
description
& license
keys from package.json
description
, license
& name
keys from package.json
e5ddd60
to
aa98d52
Compare
As mentioned by @pcattori in #3221 (comment), these fields aren't necessary for apps.