@airfleet/generator-init 0.36.0 → 0.38.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.
@@ -3,6 +3,7 @@
3
3
  // phpcs:ignore
4
4
  function customize_php_scoper_config( array $config ): array {
5
5
  $config['exclude-functions'] = [ 'af_field', 'get_current_screen', 'get_post_type', '/acf\_*/' ];
6
+ $config['exclude-constants'] = [ 'REST_REQUEST', 'XMLRPC_REQUEST', 'WP_CLI', 'DOING_CRON', 'DOING_AJAX', 'JSON_REQUEST', 'IFRAME_REQUEST', 'WC_API_REQUEST' ];
6
7
 
7
8
  return $config;
8
9
  }
@@ -45,4 +45,6 @@
45
45
  **/README
46
46
  **/README.md
47
47
  README.md
48
+ **/*.md
49
+ *.md
48
50
  **/yarn.lock
@@ -34,6 +34,8 @@ CHANGELOG.md
34
34
  LICENSE
35
35
  **/README.md
36
36
  README.md
37
+ **/*.md
38
+ *.md
37
39
  **/.gitignore
38
40
  .gitignore
39
41
  **/package.json
@@ -3,6 +3,7 @@
3
3
  // phpcs:ignore
4
4
  function customize_php_scoper_config( array $config ): array {
5
5
  $config['exclude-functions'] = [ 'af_field', 'get_current_screen', 'get_post_type', '/acf\_*/' ];
6
+ $config['exclude-constants'] = [ 'REST_REQUEST', 'XMLRPC_REQUEST', 'WP_CLI', 'DOING_CRON', 'DOING_AJAX', 'JSON_REQUEST', 'IFRAME_REQUEST', 'WC_API_REQUEST' ];
6
7
 
7
8
  return $config;
8
9
  }
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.36.0",
4
+ "version": "0.38.0",
5
5
  "scripts": {},
6
6
  "publishConfig": {
7
7
  "access": "public"