@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 +6 -0
- package/package.json +1 -1
- package/src/cf-typegen.ts +7 -4
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
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(
|
|
42
|
-
|
|
43
|
-
|
|
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()
|