Skip to content

Commit 412f10b

Browse files
committed
bumping to 2.0.0
1 parent b7797c7 commit 412f10b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

core/lib/patternlab.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
/*
2-
* patternlab-node - v2.0.0-alpha.3 - 2016
3-
*
1+
/*
2+
* patternlab-node - v2.0.0 - 2016
3+
*
44
* Brian Muenzenmeyer, Geoff Pursell, and the web community.
5-
* Licensed under the MIT license.
6-
*
7-
* Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice.
5+
* Licensed under the MIT license.
6+
*
7+
* Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice.
88
*
99
*/
1010

@@ -186,13 +186,13 @@ var patternlab_engine = function (config) {
186186
try {
187187
patternlab.data = fs.readJSONSync(path.resolve(paths.source.data, 'data.json'));
188188
} catch (ex) {
189-
console.log('missing ' + paths.source.data + 'data.json Pattern Lab may not work without this file.');
189+
plutils.logRed('missing or malformed' + paths.source.data + 'data.json Pattern Lab may not work without this file.');
190190
patternlab.data = {};
191191
}
192192
try {
193193
patternlab.listitems = fs.readJSONSync(path.resolve(paths.source.data, 'listitems.json'));
194194
} catch (ex) {
195-
console.log('missing ' + paths.source.data + 'listitems.json Pattern Lab may not work without this file.');
195+
plutils.logRed('missing or malformed' + paths.source.data + 'listitems.json Pattern Lab may not work without this file.');
196196
patternlab.listitems = {};
197197
}
198198
try {
@@ -203,7 +203,7 @@ var patternlab_engine = function (config) {
203203
patternlab.viewAll = fs.readFileSync(path.resolve(paths.source.patternlabFiles, 'viewall.mustache'), 'utf8');
204204
} catch (ex) {
205205
console.log(ex);
206-
console.log('\nERROR: missing an essential file from ' + paths.source.patternlabFiles + '. Pattern Lab won\'t work without this file.\n');
206+
plutils.logRed('\nERROR: missing an essential file from ' + paths.source.patternlabFiles + '. Pattern Lab won\'t work without this file.\n');
207207
process.exit(1);
208208
}
209209
patternlab.patterns = [];

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "patternlab-node",
33
"description": "Pattern Lab is a collection of tools to help you create atomic design systems. This is the node command line interface (CLI).",
4-
"version": "2.0.0-alpha.3",
4+
"version": "2.0.0",
55
"main": "./core/lib/patternlab.js",
66
"dependencies": {
77
"diveSync": "^0.3.0",

0 commit comments

Comments
 (0)