@airfleet/generator-init 0.19.0 → 0.20.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.
- package/generators/plugin/index.js +1 -1
- package/generators/plugin/templates/composer-scoped.json.ejs +1 -1
- package/generators/plugin/templates/composer-scoped.lock.ejs +7 -7
- package/generators/plugin/templates/inc/Pages.php.ejs +1 -1
- package/generators/plugin/templates/inc/Setup.php.ejs +2 -2
- package/generators/plugin/templates/package.json.ejs +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import title from "../../utils/log/title.js";
|
|
|
10
10
|
import highlightText from "../../utils/log/text/highlightText.js";
|
|
11
11
|
import lines from "../../utils/log/text/lines.js";
|
|
12
12
|
import infoBox from "../../utils/log/boxes/infoBox.js";
|
|
13
|
-
import objectPropertyFromValue from '../../objectPropertyFromValue';
|
|
13
|
+
import objectPropertyFromValue from '../../utils/objectPropertyFromValue';
|
|
14
14
|
|
|
15
15
|
export default class extends Generator {
|
|
16
16
|
async prompting() {
|
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
|
5
5
|
"This file is @generated automatically"
|
|
6
6
|
],
|
|
7
|
-
"content-hash": "
|
|
7
|
+
"content-hash": "cee694cc7b6248dede1cd8b177347244",
|
|
8
8
|
"packages": [
|
|
9
9
|
{
|
|
10
10
|
"name": "airfleet/wordpress-framework",
|
|
11
|
-
"version": "0.
|
|
11
|
+
"version": "1.0.0",
|
|
12
12
|
"source": {
|
|
13
13
|
"type": "git",
|
|
14
14
|
"url": "https://github.com/airfleet/airfleet-wordpress-framework-php.git",
|
|
15
|
-
"reference": "
|
|
15
|
+
"reference": "d9cb7a014209981d8c74696a26d942d0bc487ca6"
|
|
16
16
|
},
|
|
17
17
|
"dist": {
|
|
18
18
|
"type": "zip",
|
|
19
|
-
"url": "https://api.github.com/repos/airfleet/airfleet-wordpress-framework-php/zipball/
|
|
20
|
-
"reference": "
|
|
19
|
+
"url": "https://api.github.com/repos/airfleet/airfleet-wordpress-framework-php/zipball/d9cb7a014209981d8c74696a26d942d0bc487ca6",
|
|
20
|
+
"reference": "d9cb7a014209981d8c74696a26d942d0bc487ca6",
|
|
21
21
|
"shasum": ""
|
|
22
22
|
},
|
|
23
23
|
"require": {
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"description": "Airfleet framework for WordPress",
|
|
41
41
|
"support": {
|
|
42
42
|
"issues": "https://github.com/airfleet/airfleet-wordpress-framework-php/issues",
|
|
43
|
-
"source": "https://github.com/airfleet/airfleet-wordpress-framework-php/tree/0.
|
|
43
|
+
"source": "https://github.com/airfleet/airfleet-wordpress-framework-php/tree/1.0.0"
|
|
44
44
|
},
|
|
45
|
-
"time": "2023-
|
|
45
|
+
"time": "2023-08-25T12:54:58+00:00"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"name": "jawira/case-converter",
|
|
@@ -8,7 +8,7 @@ use Airfleet\Plugins\<%= nameNoAirfleet.pascal %>\Vendor\Airfleet\Framework\Feat
|
|
|
8
8
|
use Airfleet\Plugins\<%= nameNoAirfleet.pascal %>\Vendor\Airfleet\Framework\Plugin\SettingsLink;
|
|
9
9
|
<%_ } _%>
|
|
10
10
|
<%_ if (optionsPage === 'acf' ) { _%>
|
|
11
|
-
use Airfleet\Plugins\<%= nameNoAirfleet.pascal %>\Vendor\Airfleet\Framework\Plugin\
|
|
11
|
+
use Airfleet\Plugins\<%= nameNoAirfleet.pascal %>\Vendor\Airfleet\Framework\Plugin\AcfSettingsOptionsSubPage;
|
|
12
12
|
use Airfleet\Plugins\<%= nameNoAirfleet.pascal %>\Vendor\Airfleet\Framework\Plugin\AcfSettingsLink;
|
|
13
13
|
<%_ } _%>
|
|
14
14
|
<%_ if (answers.pluginAcfLocalJson) { _%>
|
|
@@ -29,7 +29,7 @@ class Setup extends PluginFeatures {
|
|
|
29
29
|
new SettingsLink( $config ),
|
|
30
30
|
<%_ } _%>
|
|
31
31
|
<%_ if (optionsPage === 'acf' ) { _%>
|
|
32
|
-
new
|
|
32
|
+
new AcfSettingsOptionsSubPage( $config ),
|
|
33
33
|
new AcfSettingsLink( $config ),
|
|
34
34
|
<%_ } _%>
|
|
35
35
|
<%_ if (ajaxVariables.frontend) { _%>
|