Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Updating Commonplace

Matt Basta edited this page Aug 6, 2013 · 6 revisions

Updating the Commonplace Library

In order to distribute an update, there are a few things that you need to keep in mind.

What gets updated?

  • Any .js files will be updated.
  • Any .dist files will be updated.
  • The commonplace node module will be updated (globally), along with any dependencies (listed in package.json).
  • .woff and .svg files will be updated.

The following files will NOT be updated:

  • Stylus and CSS files.
  • Templates
  • index.html
  • Locale/language pack files
  • Files not included in the default Commonplace installation.

Who gets updated?

Pushing an update does not update anyone. Clients must explicitly run commonplace update to update their installations.

When should I update?

Updates should be made in any of the following cases:

  • Bugs are fixed
  • Features are added
  • Backwards-incompatible changes are made

Updating Client Projects

Just run commonplace update in the root of the project directory (it won't let you run anywhere else).

Clone this wiki locally