generator-chisel 2.4.0 → 2.4.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/CHANGELOG.md +5 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/custom/app/WP/Twig.php +2 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/package.chisel-tpl.json +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/screenshot.jpg +0 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/style.chisel-tpl.css +1 -1
- package/lib/commands/create/packages-versions.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- INSERT-NEW-ENTRIES-HERE -->
|
|
4
4
|
|
|
5
|
+
## <small>2.4.1 (2026-02-11)</small>
|
|
6
|
+
|
|
7
|
+
- small fixes ([4c74101](https://github.com/xfiveco/generator-chisel/commit/4c74101))
|
|
8
|
+
- update theme version and screenshot ([324db40](https://github.com/xfiveco/generator-chisel/commit/324db40))
|
|
9
|
+
|
|
5
10
|
## 2.4.0 (2026-02-09)
|
|
6
11
|
|
|
7
12
|
- chisel update scripts and husky precommit hooks ([31c1019](https://github.com/xfiveco/generator-chisel/commit/31c1019))
|
|
@@ -34,7 +34,7 @@ class Twig {
|
|
|
34
34
|
*/
|
|
35
35
|
public function register_functions( \Twig\Environment $twig, \Chisel\WP\Twig $chisel_twig ): void {
|
|
36
36
|
// phpcs:disable -- Example of custom function. Remove this line and the phpcs:enable when adding your own custom functions
|
|
37
|
-
// $
|
|
37
|
+
// $chisel_twig->register_function( $twig, 'custom_fn', array( $this, 'custom_fn_callback' ) );
|
|
38
38
|
// phpcs:enable
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -46,7 +46,7 @@ class Twig {
|
|
|
46
46
|
*/
|
|
47
47
|
public function register_filters( \Twig\Environment $twig, \Chisel\WP\Twig $chisel_twig ): void {
|
|
48
48
|
// phpcs:disable -- Example of custom filter. Remove this line and the phpcs:enable when adding your own custom filters
|
|
49
|
-
// $
|
|
49
|
+
// $chisel_twig->register_filter( $twig, 'custom_filter', array( $this, 'custom_filter_callback' ) );
|
|
50
50
|
// phpcs:enable
|
|
51
51
|
}
|
|
52
52
|
}
|
|
Binary file
|
|
@@ -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.
|
|
6
|
+
* Version: 2.4.1
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-chisel",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
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": "
|
|
40
|
+
"gitHead": "ca33ea5abd8e6ee31a04ec80d50eee5099e87c1c"
|
|
41
41
|
}
|