wp-lemon-create 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +7 -7
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -11,11 +11,11 @@ program
|
|
|
11
11
|
.name(commandName)
|
|
12
12
|
.description(
|
|
13
13
|
'Generates PHP, JS and CSS code for registering a block for a WordPress plugin.\n\n' +
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
'[slug] is optional. When provided it triggers the quick mode where ' +
|
|
15
|
+
'it is used as the block slug used for its identification, the output ' +
|
|
16
|
+
'location for scaffolded files, and the name of the WordPress plugin.' +
|
|
17
|
+
'The rest of the configuration is set to all default values unless ' +
|
|
18
|
+
'overridden with some of the options listed below.',
|
|
19
19
|
)
|
|
20
20
|
.version(version)
|
|
21
21
|
.action((name, options, command) => {
|
|
@@ -147,7 +147,7 @@ program
|
|
|
147
147
|
shell.exec('composer require highground/bulldozer timber/timber satispress/wp-lemon --with-all-dependencies', { silent: true });
|
|
148
148
|
|
|
149
149
|
shell.exec(
|
|
150
|
-
'composer require satispress/advanced-custom-fields-pro satispress/fluentformpro satispress/lemon-blocks satispress/quartermaster satispress/wp-migrate-db-pro satispress/wp-migrate-db-pro-media-files wpackagist-plugin/limit-login-attempts-reloaded log1x/acf-editor-palette wpackagist-plugin/cookie-law-info wpackagist-plugin/fluentform wpackagist-plugin/seo-by-rank-math wpackagist-plugin/simple-custom-post-order wpackagist-plugin/worker wpackagist-plugin/
|
|
150
|
+
'composer require satispress/advanced-custom-fields-pro satispress/fluentformpro satispress/lemon-blocks satispress/quartermaster satispress/wp-migrate-db-pro satispress/wp-migrate-db-pro-media-files wpackagist-plugin/limit-login-attempts-reloaded log1x/acf-editor-palette wpackagist-plugin/cookie-law-info wpackagist-plugin/fluentform wpackagist-plugin/seo-by-rank-math wpackagist-plugin/simple-custom-post-order wpackagist-plugin/worker wpackagist-plugin/fluent-smtp --with-all-dependencies',
|
|
151
151
|
{ silent: true },
|
|
152
152
|
);
|
|
153
153
|
|
|
@@ -192,7 +192,7 @@ program
|
|
|
192
192
|
shell.echo('Downloading child theme.\n');
|
|
193
193
|
shell.cd('web/app/themes/');
|
|
194
194
|
|
|
195
|
-
shell.exec(`composer create-project --repository https://packagist.studiolemon.nl/satispress/ satispress/wp-lemon-child ${child_theme_folder}`, { silent: true });
|
|
195
|
+
shell.exec(`composer create-project --repository https://packagist.studiolemon.nl/satispress/ satispress/wp-lemon-child ${child_theme_folder} --no-dev`, { silent: true });
|
|
196
196
|
|
|
197
197
|
shell.cd(child_theme_folder);
|
|
198
198
|
shell.rm('-rf', '.github');
|