Skip to content
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 yarn failure when upgrading microservices #6606

Merged
merged 1 commit into from Oct 27, 2017

Conversation

gmarziou
Copy link
Contributor

@gmarziou gmarziou commented Oct 26, 2017

When generating an app without client code, upgrade generator fails because yarn complains about no licence. Adding "private": true to package.json avoids this error and makes a lot of sense as there's no npm module to publish anyway.

See yarnpkg/yarn#3821

  • Please make sure the below checklist is followed for Pull Requests.

  • Travis tests are green

  • Tests are added where necessary

  • Documentation is added/updated where necessary

  • Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

When generating an app without client code, upgrade generator fails because yarn complains about no licence. Adding `"private": true` to `package.json` avoids this error and makes a lot of sense as there'sn o npm module to publish anyway.

See yarnpkg/yarn#3821
@pascalgrimaud pascalgrimaud merged commit c8d3019 into jhipster:master Oct 27, 2017
@jdubois
Copy link
Member

jdubois commented Oct 27, 2017

We also need to have the UNLICENSED keyword like for an Angular app - I'll do this

@gmarziou
Copy link
Contributor Author

Thanks

@gmarziou gmarziou deleted the private-true-package branch October 27, 2017 07:10
jdubois added a commit that referenced this pull request Oct 27, 2017
@jdubois jdubois added this to the 4.10.2 milestone Oct 27, 2017
@gmarziou gmarziou restored the private-true-package branch September 7, 2018 17:14
@gmarziou gmarziou deleted the private-true-package branch September 7, 2018 18:07
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.

None yet

3 participants