@airfleet/generator-init 0.12.0 → 0.13.0

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.
@@ -33,6 +33,7 @@ class Setup {
33
33
  'url' => \<%= name.constant %>_URL,
34
34
  'path' => \<%= name.constant %>_PATH,
35
35
  'version' => \<%= name.constant %>_VERSION,
36
+ 'namespace' => 'Airfleet\\Plugins\\<%= nameNoAirfleet.pascal %>',
36
37
  ]
37
38
  );
38
39
  $plugin->setup_acf_json();
@@ -42,6 +43,7 @@ class Setup {
42
43
  <%_ if (answers.pluginCreateOptions) { _%>
43
44
  $plugin->add_options_page();
44
45
  <%_ } _%>
46
+ $plugin->register_views();
45
47
  }
46
48
 
47
49
  /**
@@ -3,8 +3,8 @@
3
3
  "description": "<%= answers.pluginDescription %>",
4
4
  "version": "<%= answers.pluginVersion %>",
5
5
  "scripts": {
6
- "build": "dotenv -- parcel build --log-level verbose ./assets/**/*.entry.js",
7
- "start": "dotenv -- parcel serve --hmr-port 1236 --port 1234 --log-level verbose ./assets/**/*.entry.js",
6
+ "build": "dotenv -- parcel build --log-level verbose \"./!(dist)/**/*.entry.js\"",
7
+ "start": "dotenv -- parcel serve --hmr-port 1236 --port 1234 --log-level verbose \"./!(dist)/**/*.entry.js\"",
8
8
  "base:eslint": "eslint assets --ext .js,.jsx --cache --ignore-path .gitignore",
9
9
  "base:prettier": "prettier \"**/*.{js,jsx,ts,tsx,json,css,scss,xml,yaml,yml,md}\"",
10
10
  "base:stylelint": "stylelint \"**/*.{css,scss}\" --cache --ignore-path .gitignore",
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.12.0",
4
+ "version": "0.13.0",
5
5
  "scripts": {},
6
6
  "publishConfig": {
7
7
  "access": "public"