Branch: refs/heads/master
  Commit: 84d2c79b9a55cf92f12eee24a51d36852a1bf808
  Author: David Mason <>
  Date:   2017-09-01 (Fri, 01 Sep 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/.yarnrc
    M server/zanata-frontend/src/frontend/makefile
    M server/zanata-frontend/src/frontend/package.json
    M server/zanata-frontend/src/frontend/yarn.lock

  Log Message:
  Enforce keeping yarn.lock and package.json in sync (#510)

* chore: prevent yarn.lock getting out of sync with package.json

This just causes `yarn` or `yarn install` to fail when dependencies are
added just in package.json (manually or with `npm install --save`).

* chore(frontend): fix broken build due to dependencies in package.json only

The build now correctly fails when dependencies in package.json are missing
from yarn.lock (meaning they were not installed with yarn - we want all
packages in frontend installed with yarn).

This also removes yarn as an explicit dependency. Yarn should be installed
globally with `npm install -g yarn` instead.

* chore(frontend): give a hint about how to resolve yarn lockfile needing 

* chore(frontend): add comment about frozen-lockfile in .yarnrc

zanata-commits mailing list

Reply via email to