@storm-software/git-tools 1.23.2 → 1.23.3
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 +7 -0
- package/lefthook/lefthook.yml +7 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.23.2](https://github.com/storm-software/storm-ops/compare/git-tools-v1.23.1...git-tools-v1.23.2) (2024-01-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **git-tools:** Added dependency override for `request` package to prevent request forgery exposure ([1f42b96](https://github.com/storm-software/storm-ops/commit/1f42b96518e944a3b1e5a3e38dfc1c7dc1a7241f))
|
|
7
|
+
|
|
1
8
|
## [1.23.1](https://github.com/storm-software/storm-ops/compare/git-tools-v1.23.0...git-tools-v1.23.1) (2024-01-15)
|
|
2
9
|
|
|
3
10
|
|
package/lefthook/lefthook.yml
CHANGED
|
@@ -23,6 +23,9 @@ prepare:
|
|
|
23
23
|
pre-commit:
|
|
24
24
|
piped: true
|
|
25
25
|
commands:
|
|
26
|
+
deps:
|
|
27
|
+
glob: "**/package.json"
|
|
28
|
+
run: "pnpm install --frozen-lockfile --ignore-scripts && git update-index"
|
|
26
29
|
validate:
|
|
27
30
|
glob: "**/*.*"
|
|
28
31
|
run: "zx @storm-software/git-tools/hooks/pre-commit.mjs {staged_files}"
|
|
@@ -38,7 +41,7 @@ pre-commit:
|
|
|
38
41
|
glob: "**/{README.md,package.json}"
|
|
39
42
|
run: "zx @storm-software/git-tools/bin/cli.mjs readme-gen --templates=\"dist/packages/git-tools/readme/templates\" && git update-index"
|
|
40
43
|
format:
|
|
41
|
-
glob: "
|
|
44
|
+
glob: "**/*.*"
|
|
42
45
|
run: "npx biome format --write {staged_files} && git update-index"
|
|
43
46
|
build:
|
|
44
47
|
glob: "**/*.*"
|
|
@@ -54,13 +57,15 @@ pre-push:
|
|
|
54
57
|
piped: true
|
|
55
58
|
commands:
|
|
56
59
|
validate:
|
|
60
|
+
files: "git diff --name-only HEAD @{push}"
|
|
57
61
|
glob: "**/*.*"
|
|
58
|
-
run: "zx @storm-software/git-tools/hooks/pre-push.mjs {
|
|
62
|
+
run: "zx @storm-software/git-tools/hooks/pre-push.mjs {files}"
|
|
59
63
|
stage_fixed: true
|
|
60
64
|
lint-biome:
|
|
61
65
|
files: "git diff --name-only HEAD @{push}"
|
|
62
66
|
glob: "**/*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
|
|
63
67
|
run: "npx biome lint --apply --no-errors-on-unmatched --files-ignore-unknown=true {files} && git update-index"
|
|
68
|
+
stage_fixed: true
|
|
64
69
|
|
|
65
70
|
post-merge:
|
|
66
71
|
commands:
|