wp-lemon-create 2.0.0 → 2.0.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 -3
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -171,6 +171,9 @@ program
|
|
|
171
171
|
{ silent: true },
|
|
172
172
|
);
|
|
173
173
|
|
|
174
|
+
shell.exec('composer require roots/wordpress:^6.2', { silent: true });
|
|
175
|
+
shell.exec('composer remove wpackagist-theme/twentytwentythree', { silent: true });
|
|
176
|
+
|
|
174
177
|
shell.exec('composer remove squizlabs/php_codesnifferes roave/security-advisories', { silent: true });
|
|
175
178
|
|
|
176
179
|
if (is_spinup == 'yes') {
|
|
@@ -397,9 +400,10 @@ function setupWordPress() {
|
|
|
397
400
|
shell.echo('✔️ Installed Dutch language.');
|
|
398
401
|
|
|
399
402
|
// activate plugins
|
|
400
|
-
shell.exec(`wp plugin activate
|
|
401
|
-
shell.exec(`wp plugin activate
|
|
402
|
-
|
|
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 });
|
|
403
407
|
// set menu
|
|
404
408
|
shell.exec(`wp menu create "Hoofdmenu"`, { silent: true });
|
|
405
409
|
shell.exec(`wp menu item add-post Hoofdmenu 2`, { silent: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wp-lemon-create",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Bootstrap your wp-lemon project",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Erik van der bas",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"wp-lemon-create": "./index.js"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"commander": "^
|
|
12
|
+
"commander": "^10.0",
|
|
13
13
|
"prompt-sync": "^4.2.0",
|
|
14
14
|
"shelljs": "^0.8.5"
|
|
15
15
|
}
|