| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
To upgrade the Node version of Pattern Lab do the following:
Whether or are directly consuming @pattern-lab/patternlab-node or using an edition, the upgrade steps are the same.
To upgrade an edition, assuming no major changes have occurred, run:
npm update or npm update @pattern-lab/patternlab-node
Note the change to scoped packages under the pattern-lab npm organization!
There is no automated upgrade path from Pattern Lab 2.X to 3.X.
It's highly recommended to use an edition of Pattern Lab Node, which comes prepackaged with all dependencies, including this core library, and should enable simple core library upgrades.
To upgrade an edition, assuming no major changes have occurred, run:
npm update
There is no automated upgrade path from Pattern Lab 1.X to 2.X.
Any problems, please open an issue
1.X is no longer supported.
Note patternlab-config.json was named config.json until version 1.2.0
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.
If running Pattern Lab Node as a dependency
Upgrading to [v.1.3.0](https://github.com/pattern-lab/patternlab-node/releases/tag/v1.3.0_ requires a new dependency, so make sure to run npm update or npm install to get JSON5.
Upgrading to v1.2.0 includes a bunch of file re-arranging, and therefore it's more important than ever to take a fresh copy of the source code. Here's the whole diff. Notable changes, if you should attempt to merge manually:
Upgrading to v1.1.0 requires:
"paths" : {
"source" : {
"root": "./source/",
"patterns" : "./source/_patterns/",
"data" : "./source/_data/",
"styleguide" : "./core/styleguide/",
"patternlabFiles" : "./source/_patternlab-files/",
"js" : "./source/js",
"images" : "./source/images",
"fonts" : "./source/fonts",
"css" : "./source/css/"
},Upgraded to v0.14.0 requires:
"styleGuideExcludes": [ "templates", "pages" ] ```
| Back | FazBrowse Home | New Git URL |