You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/lib/pattern_assembler.js
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ var pattern_assembler = function () {
45
45
returnpatternlab.patterns[i];
46
46
}
47
47
}
48
-
plutils.logOrange('Could not find pattern referenced with partial syntax '+partialName+'. This can occur when a pattern was renamed, moved, or no longer exists but it still called within a different template somewhere.');
48
+
plutils.warning('Could not find pattern referenced with partial syntax '+partialName+'. This can occur when a pattern was renamed, moved, or no longer exists but it still called within a different template somewhere.');
49
49
returnundefined;
50
50
}
51
51
@@ -81,7 +81,7 @@ var pattern_assembler = function () {
plutils.logRed("Deprecation Warning: Using patternlab-config.json patternStates object will be deprecated in favor of the state frontmatter key associated with individual pattern markdown files.");
84
+
plutils.error("Deprecation Warning: Using patternlab-config.json patternStates object will be deprecated in favor of the state frontmatter key associated with individual pattern markdown files.");
85
85
console.log("This feature will still work in it's current form this release (but still be overridden by the new parsing method), and will be removed in the future.");
86
86
}
87
87
@@ -245,13 +245,13 @@ var pattern_assembler = function () {
console.log('Command Line Interface - usually consumed by an edition');
179
179
console.log('');
180
180
181
-
plutils.logGreen(' patternlab:build');
181
+
plutils.debug(' patternlab:build');
182
182
console.log(' > Compiles the patterns and frontend, outputting to config.paths.public');
183
183
console.log('');
184
184
185
-
plutils.logGreen(' patternlab:patternsonly');
185
+
plutils.debug(' patternlab:patternsonly');
186
186
console.log(' > Compiles the patterns only, outputting to config.paths.public');
187
187
console.log('');
188
188
189
-
plutils.logGreen(' patternlab:version');
189
+
plutils.debug(' patternlab:version');
190
190
console.log(' > Return the version of patternlab-node you have installed');
191
191
console.log('');
192
192
193
-
plutils.logGreen(' patternlab:help');
193
+
plutils.debug(' patternlab:help');
194
194
console.log(' > Get more information about patternlab-node, pattern lab in general, and where to report issues.');
195
195
console.log('');
196
196
197
-
plutils.logGreen(' patternlab:liststarterkits');
197
+
plutils.debug(' patternlab:liststarterkits');
198
198
console.log(' > Returns a url with the list of available starterkits hosted on the Pattern Lab organization Github account');
199
199
console.log('');
200
200
201
-
plutils.logGreen(' patternlab:loadstarterkit');
201
+
plutils.debug(' patternlab:loadstarterkit');
202
202
console.log(' > Load a starterkit into config.paths.source/*');
203
203
console.log(' > NOTE: Overwrites existing content, and only cleans out existing directory if --clean=true argument is passed.');
204
204
console.log(' > NOTE: In most cases, `npm install starterkit-name` will precede this call.');
@@ -274,7 +274,7 @@ var patternlab_engine = function (config) {
274
274
patternlab.userHead=headPattern.extendedTemplate;
275
275
}
276
276
catch(ex){
277
-
plutils.logRed('\nWARNING: Could not find the user-editable header template, currently configured to be at '+path.join(config.paths.source.meta,'_00-head.mustache')+'. Your configured path may be incorrect (check paths.source.meta in your config file), the file may have been deleted, or it may have been left in the wrong place during a migration or update.\n');
277
+
plutils.error('\nWARNING: Could not find the user-editable header template, currently configured to be at '+path.join(config.paths.source.meta,'_00-head.mustache')+'. Your configured path may be incorrect (check paths.source.meta in your config file), the file may have been deleted, or it may have been left in the wrong place during a migration or update.\n');
278
278
if(patternlab.config.debug){console.log(ex);}
279
279
process.exit(1);
280
280
}
@@ -294,7 +294,7 @@ var patternlab_engine = function (config) {
294
294
patternlab.userFoot=footPattern.extendedTemplate;
295
295
}
296
296
catch(ex){
297
-
plutils.logRed('\nWARNING: Could not find the user-editable footer template, currently configured to be at '+path.join(config.paths.source.meta,'_01-foot.mustache')+'. Your configured path may be incorrect (check paths.source.meta in your config file), the file may have been deleted, or it may have been left in the wrong place during a migration or update.\n');
297
+
plutils.error('\nWARNING: Could not find the user-editable footer template, currently configured to be at '+path.join(config.paths.source.meta,'_01-foot.mustache')+'. Your configured path may be incorrect (check paths.source.meta in your config file), the file may have been deleted, or it may have been left in the wrong place during a migration or update.\n');
298
298
if(patternlab.config.debug){console.log(ex);}
299
299
process.exit(1);
300
300
}
@@ -338,13 +338,13 @@ var patternlab_engine = function (config) {
0 commit comments