wp-lemon-create 1.5.0 → 1.6.0

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.
Files changed (2) hide show
  1. package/lib/index.js +4 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -159,7 +159,7 @@ program
159
159
  shell.exec('composer require highground/bulldozer giggsey/libphonenumber-for-php timber/timber satispress/wp-lemon --with-all-dependencies', { silent: true });
160
160
 
161
161
  shell.exec(
162
- 'composer require satispress/advanced-custom-fields-pro satispress/fluentformpro satispress/lemon-blocks satispress/quartermaster satispress/wp-migrate-db-pro 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',
162
+ 'composer require satispress/advanced-custom-fields-pro satispress/fluentformpro satispress/quartermaster satispress/wp-migrate-db-pro 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',
163
163
  { silent: true },
164
164
  );
165
165
 
@@ -267,9 +267,11 @@ program
267
267
  shell.exec(`echo '{
268
268
  "folders": [
269
269
  {
270
+ "name": "root",
270
271
  "path": "."
271
272
  },
272
273
  {
274
+ "name": "${project_name}",
273
275
  "path": "web/app/themes/${project_name}"
274
276
  }
275
277
  ]
@@ -330,6 +332,7 @@ program
330
332
 
331
333
  shell.exec(`wp post update 2 --post_title='Home'`, { silent: true });
332
334
  shell.exec(`wp option update show_on_front 'page'`, { silent: true });
335
+ shell.exec(`wp option update timezone_string 'Europe/Amsterdam'`, { silent: true });
333
336
  shell.exec(`wp option update page_on_front 2`, { silent: true });
334
337
  shell.exec(`wp post delete 1 --force`, { silent: true });
335
338
  shell.exec(`wp comment delete 1 --force`, { silent: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wp-lemon-create",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "Bootstrap your wp-lemon project",
5
5
  "main": "index.js",
6
6
  "author": "Erik van der bas",