Pattern Lab Node 1.1.0 is here, not to be outdone by v1.0.0!

In terms of relative change, it’s bigger than v1.0.0 in fact, with a good mix of fixes, enhancements, and a lot of work put into the shipped grunt/gulp harness you’ve almost undoubtedly customized already. Switching to configurable paths and making the core library require()-able is a huge win, opening the doors to running Pattern Lab Node as an npm dependency. If you’ve ever had to struggle through an upgrade, I suggest you check this out, as it should greatly lessen future maintenance costs and allow us to do some other cool stuff soon!

Reference examples of a parent projects running Pattern Lab Node as a dependency can be found here:

I want to take special note to @geoffp and @EvanLovely who were integral in crafting the major paths and require() work this release. Pattern Lab Node is a more reliable, more maintainable tool now. Thank you

View the full version diff here.

CHANGELOG

UNIT TESTS/ASSERTIONS

20 more unit tests/assertions were added with this release.

UPGRADE INSTRUCTIONS

Assuming you are on v1.0.0, one should be able to follow the standard upgrade instructions along with the following addenda:

1
2
3
4
5
6
7
8
9
10
11
12
  "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/"
    },

All this change may warrant some to consider this a major upgrade, but the API hasn’t really changed, just the shipped harness around patternlab.js. If you are worried about upgrading, your best bet might be to start anew just this once.

ROADMAP

Keep an eye on the roadmap for a clearer understanding of where the project is going in the next few releases.

Tell me on Twitter what you are building with Pattern Lab Node!

Originally posted 02/09/16 - Brian Muenzenmeyer - Follow me on Twitter