wp-lemon-create 2.0.2 → 2.0.4

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 +6 -5
  2. package/package.json +9 -2
package/lib/index.js CHANGED
@@ -382,6 +382,12 @@ function setupWordPress() {
382
382
  shell.exec(`wp rewrite structure '/%postname%/'`, { silent: true });
383
383
  shell.echo('✔️ Setting permalink structure.');
384
384
 
385
+ // activate plugins
386
+ shell.exec(`wp plugin activate fluentform`, { silent: true });
387
+ shell.exec(`wp plugin activate fluentformpro`, { silent: true });
388
+ shell.exec(`wp plugin activate advanced-custom-fields-pro`, { silent: true });
389
+ shell.exec(`wp plugin activate quartermaster`, { silent: true });
390
+
385
391
  shell.exec(`wp theme activate ${child_theme_folder}`, { silent: true });
386
392
  shell.echo(`✔️ Activating child theme ${child_theme_folder}`);
387
393
 
@@ -399,11 +405,6 @@ function setupWordPress() {
399
405
  shell.exec(`wp language core activate nl_NL`, { silent: true });
400
406
  shell.echo('✔️ Installed Dutch language.');
401
407
 
402
- // activate plugins
403
- shell.exec(`wp plugin activate fluentform`, { silent: true });
404
- shell.exec(`wp plugin activate fluentform`, { silent: true });
405
- shell.exec(`wp plugin activate advanced-custom-fields-pro`, { silent: true });
406
- shell.exec(`wp plugin activate quartermaster`, { silent: true });
407
408
  // set menu
408
409
  shell.exec(`wp menu create "Hoofdmenu"`, { silent: true });
409
410
  shell.exec(`wp menu item add-post Hoofdmenu 2`, { silent: true });
package/package.json CHANGED
@@ -1,13 +1,20 @@
1
1
  {
2
2
  "name": "wp-lemon-create",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Bootstrap your wp-lemon project",
5
5
  "main": "index.js",
6
- "author": "Erik van der bas",
6
+ "author": "Studio Lemon <erik@studiolemon.nl>",
7
7
  "license": "MIT",
8
8
  "bin": {
9
9
  "wp-lemon-create": "./index.js"
10
10
  },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git@github.com:Studio-Lemon/wp-lemon-create.git"
14
+ },
15
+ "engines": {
16
+ "node": ">=16.0.0"
17
+ },
11
18
  "dependencies": {
12
19
  "commander": "^10.0",
13
20
  "prompt-sync": "^4.2.0",