generator-chisel 2.4.4 → 2.4.5

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  <!-- INSERT-NEW-ENTRIES-HERE -->
4
4
 
5
+ ## <small>2.4.5 (2026-04-24)</small>
6
+
7
+ - fix assets and twig components issues ([c6a07d3](https://github.com/xfiveco/generator-chisel/commit/c6a07d3))
8
+ - update theme version ([8671597](https://github.com/xfiveco/generator-chisel/commit/8671597))
9
+
5
10
  ## <small>2.4.4 (2026-03-20)</small>
6
11
 
7
12
  - Update readme, fix husky overwrite ([a24f08f](https://github.com/xfiveco/generator-chisel/commit/a24f08f))
package/README.md CHANGED
@@ -2,7 +2,16 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/generator-chisel)](https://www.npmjs.com/package/generator-chisel)
4
4
 
5
- Chisel is a development framework for creating easy to maintain and fast WordPress websites.
5
+ Chisel is a development framework for creating easy to maintain and fast WordPress websites. It scaffolds a complete project with a modern stack — Webpack, Timber, and ITCSS — so you can focus on building rather than configuring.
6
+
7
+ Get started with:
8
+
9
+ ```bash
10
+ npx generator-chisel
11
+ ```
12
+
13
+ For full documentation visit [getchisel.co](https://getchisel.co/).
6
14
 
7
15
  ## License
16
+
8
17
  Chisel is licensed under [MIT License](LICENSE).
@@ -296,7 +296,7 @@ final class Assets {
296
296
  $this->enqueue_style( $style_handle, $args );
297
297
 
298
298
  // Enqueue js file for fast refresh of the css file.
299
- $this->enqueue_style_js_for_dev( $handle );
299
+ $this->enqueue_style_js_for_dev( $handle, $args );
300
300
  }
301
301
  }
302
302
  }
@@ -328,7 +328,7 @@ final class Assets {
328
328
  $this->enqueue_style( $style_handle, $args );
329
329
 
330
330
  // Enqueue js file for fast refresh of the css file.
331
- $this->enqueue_style_js_for_dev( $handle );
331
+ $this->enqueue_style_js_for_dev( $handle, $args );
332
332
  }
333
333
  }
334
334
  }
@@ -350,7 +350,7 @@ final class Assets {
350
350
  $this->enqueue_style( $style_handle, $args );
351
351
 
352
352
  // Enqueue js file for fast refresh of the css file.
353
- $this->enqueue_style_js_for_dev( $handle );
353
+ $this->enqueue_style_js_for_dev( $handle, $args );
354
354
  }
355
355
  }
356
356
  }
@@ -383,7 +383,7 @@ final class Assets {
383
383
  $this->enqueue_style( $style_handle, $args );
384
384
 
385
385
  // Enqueue js file for fast refresh of the css file.
386
- $this->enqueue_style_js_for_dev( $handle );
386
+ $this->enqueue_style_js_for_dev( $handle, $args );
387
387
  }
388
388
  }
389
389
  }
@@ -425,7 +425,7 @@ final class Assets {
425
425
  $this->enqueue_style( $style_handle, $args );
426
426
 
427
427
  // Enqueue js file for fast refresh of the css file.
428
- $this->enqueue_style_js_for_dev( $handle );
428
+ $this->enqueue_style_js_for_dev( $handle, $args );
429
429
  }
430
430
  }
431
431
  }
@@ -728,10 +728,11 @@ final class Assets {
728
728
  * Enqueue style for development (fast refresh) mode.
729
729
  *
730
730
  * @param string $handle
731
+ * @param array $args
731
732
  *
732
733
  * @return void
733
734
  */
734
- private function enqueue_style_js_for_dev( string $handle ): void {
735
+ private function enqueue_style_js_for_dev( string $handle, array $args = array() ): void {
735
736
  if ( ThemeHelpers::is_fast_refresh() ) {
736
737
  $enqueue = true;
737
738
 
@@ -11,7 +11,7 @@ use Chisel\Helpers\ImageHelpers;
11
11
  use Chisel\Helpers\ThemeHelpers;
12
12
  use Chisel\Helpers\WoocommerceHelpers;
13
13
  use Chisel\Helpers\YoastHelpers;
14
- use Chisel\WP\Components;
14
+ use Chisel\Timber\Components;
15
15
 
16
16
  /**
17
17
  * Class used to extend Timber functionality.
@@ -3,7 +3,7 @@
3
3
  * Theme URI: https://www.getchisel.co/
4
4
  * Author: <%= app.author %>
5
5
  * Description: Chisel Wordpress Starter Theme based on Timber library.
6
- * Version: 2.4.4
6
+ * Version: 2.4.5
7
7
  * License: GNU General Public License v2 or later
8
8
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
9
  * Tags: chisel, custom, starter, theme, WordPress
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
2
  'chisel-scripts': '2.2.1',
3
3
  'chisel-shared-utils': '2.0.0-alpha.1',
4
- 'generator-chisel': '2.4.4',
4
+ 'generator-chisel': '2.4.5',
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-chisel",
3
- "version": "2.4.4",
3
+ "version": "2.4.5",
4
4
  "description": "A generator for scaffolding front-end and WordPress projects",
5
5
  "bin": {
6
6
  "chisel": "bin/chisel.js"
@@ -37,5 +37,5 @@
37
37
  "tinyqueue": "^2.0.3",
38
38
  "update-notifier": "^4.1.0"
39
39
  },
40
- "gitHead": "7cb8498dbf9e63b07393c46d9f1b92a7f721f4e9"
40
+ "gitHead": "195a7b74cb0d37b0675b2385ad790351f3c01ab9"
41
41
  }