wp-lemon-create 1.7.0 → 1.7.1

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 +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -142,7 +142,7 @@ program
142
142
  * Add bulldozer extended config
143
143
  */
144
144
  shell.sed('-i', 'env;', 'env;\nuse HighGround\\Bulldozer\\Bulldozer;\n', 'config/application.php');
145
- shell.sed('-i', `define('WP_ENV', env('WP_ENV') ?: 'production');`, `define('WP_ENV', env('WP_ENV') ?: 'production');\n\nBulldozer::extend_roots_config();`, 'config/application.php');
145
+ shell.exec(`sed -i "/'production');/a Bulldozer::extend_roots_config();" config/application.php`, { silent: true });
146
146
  /**
147
147
  * configuring composer
148
148
  */
@@ -204,7 +204,7 @@ program
204
204
  shell.echo('⏳ Downloading child theme.\n');
205
205
  shell.cd('web/app/themes/');
206
206
 
207
- shell.exec(`composer create-project --repository https://packagist.studiolemon.nl/satispress/ satispress/wp-lemon-child ${child_theme_folder} --no-dev`, { silent: true });
207
+ shell.exec(`composer create - project--repository https://packagist.studiolemon.nl/satispress/ satispress/wp-lemon-child ${child_theme_folder} --no-dev`, { silent: true });
208
208
 
209
209
  shell.cd(child_theme_folder);
210
210
  shell.rm('-rf', '.github');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wp-lemon-create",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Bootstrap your wp-lemon project",
5
5
  "main": "index.js",
6
6
  "author": "Erik van der bas",