@airfleet/generator-init 0.15.1 → 0.15.3
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/README.md +1 -1
- package/generators/npm/index.js +0 -1
- package/generators/plugin/index.js +1 -4
- package/generators/plugin/templates/composer.json.ejs +1 -1
- package/generators/plugin/templates/phpcs.xml.ejs +0 -10
- package/generators/plugin/templates/plugin-name.php.ejs +1 -1
- package/package.json +2 -2
- package/generators/npm/templates/.gitlab-ci.yml +0 -8
- package/generators/plugin/templates/.gitlab-ci.yml +0 -14
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Airfleet Generator
|
|
2
2
|
|
|
3
3
|

|
|
4
|
-
[](https://github.com/airfleet/airfleet-generator-cli/actions/workflows/release-npm.yml)
|
|
5
5
|
|
|
6
6
|
A Yeoman generator to scaffold common Airfleet features.
|
|
7
7
|
|
package/generators/npm/index.js
CHANGED
|
@@ -8,8 +8,6 @@ import requiredText from "../../utils/validation/requiredText.js";
|
|
|
8
8
|
import title from "../../utils/log/title.js";
|
|
9
9
|
import highlightText from "../../utils/log/text/highlightText.js";
|
|
10
10
|
import lines from "../../utils/log/text/lines.js";
|
|
11
|
-
import brandText from "../../utils/log/text/brandText.js";
|
|
12
|
-
import dangerText from "../../utils/log/text/dangerText.js";
|
|
13
11
|
import infoBox from "../../utils/log/boxes/infoBox.js";
|
|
14
12
|
|
|
15
13
|
export default class extends Generator {
|
|
@@ -78,7 +76,7 @@ export default class extends Generator {
|
|
|
78
76
|
name: "pluginPhpVersion",
|
|
79
77
|
message: "What's the required PHP version?",
|
|
80
78
|
validate: requiredText("Please enter the PHP version"),
|
|
81
|
-
default: ">=
|
|
79
|
+
default: ">=8.0",
|
|
82
80
|
},
|
|
83
81
|
{
|
|
84
82
|
type: "input",
|
|
@@ -128,7 +126,6 @@ export default class extends Generator {
|
|
|
128
126
|
".editorconfig",
|
|
129
127
|
".env",
|
|
130
128
|
".gitattributes",
|
|
131
|
-
".gitlab-ci.yml",
|
|
132
129
|
".parcelrc",
|
|
133
130
|
".prettierignore",
|
|
134
131
|
"CHANGELOG.md",
|
|
@@ -20,14 +20,4 @@
|
|
|
20
20
|
<!-- Airfleet config -->
|
|
21
21
|
<rule ref="Airfleet" />
|
|
22
22
|
|
|
23
|
-
<!-- Custom i18n text domain -->
|
|
24
|
-
<rule ref="WordPress.WP.I18n">
|
|
25
|
-
<properties>
|
|
26
|
-
<property name="text_domain" type="array">
|
|
27
|
-
<element value="airfleet" />
|
|
28
|
-
<element value="<%= name.slug %>" />
|
|
29
|
-
</property>
|
|
30
|
-
</properties>
|
|
31
|
-
</rule>
|
|
32
|
-
|
|
33
23
|
</ruleset>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* Author: Airfleet
|
|
17
17
|
* Author URI: https://www.airfleet.co/
|
|
18
18
|
* Text Domain: <%= name.slug %>
|
|
19
|
-
*
|
|
19
|
+
* GitHub Plugin URI: <%= repositoryBase %>
|
|
20
20
|
* Primary Branch: <%= mainBranch %>
|
|
21
21
|
* Release Asset: true
|
|
22
22
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@airfleet/generator-init",
|
|
3
3
|
"description": "A Yeoman generator to scaffold common Airfleet features",
|
|
4
|
-
"version": "0.15.
|
|
4
|
+
"version": "0.15.3",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
21
|
-
"url": "https://
|
|
21
|
+
"url": "https://github.com/airfleet/airfleet-generator-cli.git"
|
|
22
22
|
},
|
|
23
23
|
"type": "module",
|
|
24
24
|
"exports": "./generators/app/index.js",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
stages:
|
|
2
|
-
- test
|
|
3
|
-
- release
|
|
4
|
-
- upload
|
|
5
|
-
|
|
6
|
-
include:
|
|
7
|
-
# Test
|
|
8
|
-
- project: "codersclan/tools/gitlab-ci-templates"
|
|
9
|
-
ref: main
|
|
10
|
-
file: "/test/wordpress.yaml"
|
|
11
|
-
# Release process
|
|
12
|
-
- project: "codersclan/tools/gitlab-ci-templates"
|
|
13
|
-
ref: main
|
|
14
|
-
file: "/release/wp-plugin.yaml"
|