Skip to content

Commit f3d1e0d

Browse files
committed
fix(wording): reconcile Pattern Lab vs PatternLab
1 parent 3fc86c2 commit f3d1e0d

File tree

17 files changed

+47
-47
lines changed

17 files changed

+47
-47
lines changed

packages/cli/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Network Trash Folder
6767
Temporary Items
6868
.apdisk
6969

70-
# PatternLab CLI specific
70+
# Pattern Lab CLI specific
7171

7272
.DS_Store
7373
latest-change.txt

packages/cli/bin/archive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const debug = require('./utils').debug;
88
/**
99
* @func exportPatterns
1010
* @desc Exports the patterns into the patternExportDirectory.
11-
* @param {object} config - The passed PatternLab config.
11+
* @param {object} config - The passed Pattern Lab config.
1212
*/
1313
function exportPatterns(config) {
1414
if (!isValidConfig) {

packages/cli/bin/ask.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ask = inquirer.prompt;
88

99
/**
1010
* @func init
11-
* @desc Initiates a PatternLab project by getting user input through inquiry. Scaffolds the project and download mandatory files
11+
* @desc Initiates a Pattern Lab project by getting user input through inquiry. Scaffolds the project and download mandatory files
1212
* @param {object} options - Options passed in from CLI
1313
* @param {boolean} options.force - Flag whether to force install in existing project directory. May overwrite stuff.
1414
*/

packages/cli/bin/build.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ const isValidConfig = require('./validate-config');
55

66
/**
77
* @func build
8-
* @desc Init patternLab core and build the PatternLab files.
9-
* @param {object} config - The passed PatternLab config.
8+
* @desc Init patternLab core and build the Pattern Lab files.
9+
* @param {object} config - The passed Pattern Lab config.
1010
* @param {object} options - Additional opts to specify build mode.
1111
*/
1212
function build(config, options) {
@@ -16,7 +16,7 @@ function build(config, options) {
1616
);
1717
}
1818

19-
// Initiate PatternLab core with the config
19+
// Initiate Pattern Lab core with the config
2020
const patternLab = pl(config);
2121

2222
/**

packages/cli/bin/cli-actions/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const build = options =>
1010
const config = yield resolveConfig(options.parent.config);
1111
yield copyFiles(config.paths);
1212
yield buildPatterns(config, options);
13-
info(`build: Yay, your PatternLab project was successfully built ☺`);
13+
info(`build: Yay, your Pattern Lab project was successfully built ☺`);
1414
} catch (err) {
1515
error(err);
1616
}

packages/cli/bin/cli-actions/help.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module.exports = () => {
33
/* eslint-disable */
44
console.log(`
55
Examples:
6-
$ patternlab init # Initialize a PatternLab project.');
7-
$ patternlab <cmd> # Builds the PatternLab from the current dir');
8-
$ patternlab <cmd> --config <path/to/patternlab-config> # PatternLab from a config in a specified directory');`);
6+
$ patternlab init # Initialize a Pattern Lab project.');
7+
$ patternlab <cmd> # Builds Pattern Lab from the current dir');
8+
$ patternlab <cmd> --config <path/to/patternlab-config> # Pattern Lab from a config in a specified directory');`);
99
/* eslint-enable */
1010
};

packages/cli/bin/cli-actions/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const init = options =>
3333
* 5. Save patternlab-config.json in projectDir
3434
*/
3535
const spinner = ora(
36-
`Setting up PatternLab project in ${projectDir}`
36+
`Setting up Pattern Lab in ${projectDir}`
3737
).start();
3838
let patternlabConfig = replaceConfigPaths(
3939
defaultPatternlabConfig,
@@ -63,7 +63,7 @@ const init = options =>
6363
); // 5
6464

6565
spinner.succeed(
66-
`⊙ patternlab → Yay ☺. PatternLab Node was successfully initialised in ${projectDir}`
66+
`⊙ patternlab → Yay ☺. Pattern Lab Node was successfully initialized in ${projectDir}`
6767
);
6868
return true;
6969
});

packages/cli/bin/cli-actions/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
const patternlab = require('@pattern-lab/core');
33

44
module.exports = ({ version }) => {
5-
`${version} (PatternLab Node Core version: ${patternlab.getVersion()})`;
5+
`${version} (Pattern Lab Node Core version: ${patternlab.getVersion()})`;
66
};

packages/cli/bin/copy-source-files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const wrapAsync = require('./utils').wrapAsync;
66
/**
77
* @func copyFilesFromSourceToPublic
88
* @desc Copies files from the source path to the public path.
9-
* @param {object} paths - The passed PatternLab config paths member.
9+
* @param {object} paths - The passed Pattern Lab config paths member.
1010
* @return {Array}
1111
*/
1212
const copyFilesFromSourceToPublic = paths =>

packages/cli/bin/inquiries/edition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const editionSetup = [
66
{
77
type: 'input',
88
name: 'project_root',
9-
message: 'Please specify a directory for your PatternLab project.',
9+
message: 'Please specify a directory for your Pattern Lab project.',
1010
default: () => './',
1111
},
1212
{

0 commit comments

Comments
 (0)