-
Notifications
You must be signed in to change notification settings - Fork 406
Upgrading
Brian Muenzenmeyer edited this page Dec 5, 2015
·
30 revisions
To upgrade the Node version of Pattern Lab do the following:
-
Important: Make a back-up of
source/andconfig.jsonand yourGruntfile|Gulpfile. -
Download the latest release of the Node version of Pattern Lab, or use
npm update patternlab-nodeif you originally installed Pattern Lab vianpm. - Restore files in
source/andconfig.jsonif needed. - Be mindful of whether you need to merge any customizations to
config.jsonor yourGruntfile|Gulpfile
If you encounter trouble - make sure your npm devDependencies are up to date. Assuming you have the latest package.json file, you can delete the contents of ./node_modules and run npm cache clear before running npm install to pull down everything anew.
- Upgraded to v0.14.0 requires:
- Adding the following to
config.json:
- Adding the following to
"styleGuideExcludes": [ "templates", "pages" ] ```
- Upgrading to v0.13.0 requires:
- Overwriting
/source/_patternlab-files/styleguide.mustache - Overwriting
/source/_patternlab-files/viewall.mustache
- Overwriting
- Upgrading to v0.12.0 requires overwriting:
source/_patternlab-files/partials/ishControls.mustache - Upgrading to v0.10.X or v0.11.0 requires:
- Add
"baseurl" : ""toconfig.json - Overwrite
source/_patternlab-files/pattern-header-footer/footer.html - Overwrite
source/_patternlab-files/styleguide.mustache - Overwrite
source/_patternlab-files/viewall.mustache
- Add