generator-chisel 2.4.3 → 2.4.4

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.4 (2026-03-20)</small>
6
+
7
+ - Update readme, fix husky overwrite ([a24f08f](https://github.com/xfiveco/generator-chisel/commit/a24f08f))
8
+ - Update theme version ([41ab516](https://github.com/xfiveco/generator-chisel/commit/41ab516))
9
+
5
10
  ## <small>2.4.3 (2026-03-04)</small>
6
11
 
7
12
  - fix conditional enqueue, add filre hooks for defer, async, preload, add phcbf ([3befdb5](https://github.com/xfiveco/generator-chisel/commit/3befdb5))
@@ -1,8 +1,8 @@
1
1
  # Chisel WordPress Theme
2
2
 
3
- ## WordPress Starter Theme based on Timber library
3
+ A WordPress starter theme built on [Timber](https://timber.github.io/docs/) (Twig templating), Webpack, and ITCSS. Part of the [Chisel](https://getchisel.co/) development framework — scaffolded automatically via `npx generator-chisel`.
4
4
 
5
- Chisel is a custom WordPress development framework we built to make developers’ lives easier. It streamlines theme development with a modern stack — Webpack, Timber, and ITCSS — ensuring faster coding, cleaner structure, and more maintainable projects.
5
+ For full documentation visit [getchisel.co](https://getchisel.co/).
6
6
 
7
7
  ## Installation
8
8
 
@@ -8,7 +8,7 @@
8
8
  height: 1px;
9
9
  padding: 0;
10
10
  overflow: hidden;
11
- clip: rect(0, 0, 0, 0);
11
+ clip-path: inset(50%);
12
12
  white-space: nowrap;
13
13
  border: 0;
14
14
  }
@@ -24,7 +24,7 @@
24
24
  width: auto;
25
25
  height: auto;
26
26
  overflow: visible;
27
- clip: auto;
27
+ clip-path: none;
28
28
  white-space: normal;
29
29
  }
30
30
  }
@@ -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.3
6
+ * Version: 2.4.4
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
@@ -108,6 +108,14 @@ module.exports = async (api) => {
108
108
  { cwd: api.resolve(app.themePath) },
109
109
  );
110
110
 
111
+ // Restore prepare script after coding-standards may have overwritten it
112
+ {
113
+ const themePkgPath = api.resolve(app.themePath, 'package.json');
114
+ const themePkg = JSON.parse(await fs.readFile(themePkgPath, 'utf8'));
115
+ themePkg.scripts.prepare = 'chisel-scripts husky-init || node -e ""';
116
+ await fs.writeFile(themePkgPath, JSON.stringify(themePkg, null, 2) + '\n');
117
+ }
118
+
111
119
  await api.modifyFile(
112
120
  '.devcontainer/devcontainer.json',
113
121
  async (body) => {
@@ -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.3',
4
+ 'generator-chisel': '2.4.4',
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-chisel",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
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": "89f5b343031552aed2de45483184406f31526727"
40
+ "gitHead": "7cb8498dbf9e63b07393c46d9f1b92a7f721f4e9"
41
41
  }