Skip to content

Commit

Permalink
Fix yarn failure when upgrading microservices
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gmarziou committed Oct 26, 2017
1 parent fba5187 commit 886dd88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generators/app/templates/_skipClientApp.package.json
Expand Up @@ -17,6 +17,7 @@
limitations under the License.
-%>
{
"private": true,
"devDependencies": {
<%_ otherModules.forEach(function(module) { _%>
"<%= module.name %>": "<%= module.version %>",
Expand Down

0 comments on commit 886dd88

Please sign in to comment.