@firtoz/worker-helper 1.3.1 → 1.3.2

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
@@ -1,5 +1,11 @@
1
1
  # @firtoz/worker-helper
2
2
 
3
+ ## 1.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`70856f6`](https://github.com/firtoz/fullstack-toolkit/commit/70856f6b055d6d149ee1edc703a5c2acf451be4a) Thanks [@firtoz](https://github.com/firtoz)! - Fix wrangler json finding
8
+
3
9
  ## 1.3.1
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firtoz/worker-helper",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Type-safe Web Worker helper with Zod validation and Cloudflare Workers utilities (cf-typegen)",
5
5
  "main": "./src/index.ts",
6
6
  "module": "./src/index.ts",
package/src/cf-typegen.ts CHANGED
@@ -38,10 +38,13 @@ function findGitRoot(startPath: string): string | null {
38
38
  function findAllWranglerConfigs(gitRoot: string): string[] {
39
39
  try {
40
40
  // Use git ls-files to find all tracked wrangler configs
41
- const output = execSync('git ls-files "**/wrangler.json*"', {
42
- cwd: gitRoot,
43
- encoding: "utf8",
44
- });
41
+ const output = execSync(
42
+ 'git ls-files "**/wrangler.json" "**/wrangler.jsonc"',
43
+ {
44
+ cwd: gitRoot,
45
+ encoding: "utf8",
46
+ },
47
+ );
45
48
 
46
49
  return output
47
50
  .trim()