Skip to content

Commit

Permalink
Pattern Lab 1.2.2
Browse files Browse the repository at this point in the history
* Underscored Patterns are being built on the UI if styleguide excludes was missing or empty
closes #300

* bumping version for 1.2.2
  • Loading branch information
Brian Muenzenmeyer committed Apr 5, 2016
1 parent 837c530 commit c2bf904
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 15 deletions.
2 changes: 1 addition & 1 deletion core/lib/lineage_hunter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* patternlab-node - v1.2.1 - 2016
* patternlab-node - v1.2.2 - 2016
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/list_item_hunter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* patternlab-node - v1.2.1 - 2016
* patternlab-node - v1.2.2 - 2016
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/media_hunter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* patternlab-node - v1.2.1 - 2016
* patternlab-node - v1.2.2 - 2016
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/object_factory.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* patternlab-node - v1.2.1 - 2016
* patternlab-node - v1.2.2 - 2016
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/parameter_hunter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* patternlab-node - v1.2.1 - 2016
* patternlab-node - v1.2.2 - 2016
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/pattern_assembler.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* patternlab-node - v1.2.1 - 2016
* patternlab-node - v1.2.2 - 2016
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/pattern_exporter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* patternlab-node - v1.2.1 - 2016
* patternlab-node - v1.2.2 - 2016
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
Expand Down
13 changes: 11 additions & 2 deletions core/lib/patternlab.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* patternlab-node - v1.2.1 - 2016
* patternlab-node - v1.2.2 - 2016
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
Expand Down Expand Up @@ -281,7 +281,16 @@ var patternlab_engine = function (config) {
}
}
} else {
styleguidePatterns = patternlab.patterns;
for (i = 0; i < patternlab.patterns.length; i++) {
// skip underscore-prefixed files
if (isPatternExcluded(patternlab.patterns[i])) {
if (patternlab.config.debug) {
console.log('Omitting ' + patternlab.patterns[i].key + " from styleguide pattern exclusion.");
}
continue;
}
styleguidePatterns.push(patternlab.patterns[i]);
}
}

//also add the cachebuster value. slight chance this could collide with a user that has defined cacheBuster as a value
Expand Down
2 changes: 1 addition & 1 deletion core/lib/patternlab_grunt.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* patternlab-node - v1.2.1 - 2016
* patternlab-node - v1.2.2 - 2016
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/patternlab_gulp.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* patternlab-node - v1.2.1 - 2016
* patternlab-node - v1.2.2 - 2016
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/pseudopattern_hunter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* patternlab-node - v1.2.1 - 2016
* patternlab-node - v1.2.2 - 2016
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/style_modifier_hunter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* patternlab-node - v1.2.1 - 2016
* patternlab-node - v1.2.2 - 2016
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion package.gulp.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "patternlab-node",
"description": "Pattern Lab is a collection of tools to help you create atomic design systems. This is the node command line interface (CLI).",
"version": "1.2.1",
"version": "1.2.2",
"main": "./core/lib/patternlab.js",
"dependencies": {
"del": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "patternlab-node",
"description": "Pattern Lab is a collection of tools to help you create atomic design systems. This is the node command line interface (CLI).",
"version": "1.2.1",
"version": "1.2.2",
"main": "./core/lib/patternlab.js",
"dependencies": {
"diveSync": "^0.3.0",
Expand Down

0 comments on commit c2bf904

Please sign in to comment.