@storm-software/git-tools 2.124.86 → 2.125.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/README.md +1 -1
- package/bin/chunk-3IBASKZ6.cjs +16 -0
- package/bin/chunk-3IBASKZ6.cjs.map +1 -0
- package/bin/chunk-6FITE6HP.js +52 -0
- package/bin/chunk-6FITE6HP.js.map +1 -0
- package/bin/chunk-C7APS633.cjs +19 -0
- package/bin/chunk-C7APS633.cjs.map +1 -0
- package/bin/{chunk-ZBLIE7F7.cjs → chunk-DFXXNV3C.cjs} +2 -3
- package/bin/chunk-DFXXNV3C.cjs.map +1 -0
- package/bin/chunk-EI723ABQ.cjs +59 -0
- package/bin/chunk-EI723ABQ.cjs.map +1 -0
- package/bin/{chunk-Q3DQKTOI.js → chunk-HBLWPOJV.js} +5 -5
- package/bin/chunk-HBLWPOJV.js.map +1 -0
- package/bin/chunk-IA2Z3BAB.cjs +18 -0
- package/bin/chunk-IA2Z3BAB.cjs.map +1 -0
- package/bin/chunk-JE32WMBP.js +17 -0
- package/bin/chunk-JE32WMBP.js.map +1 -0
- package/bin/chunk-LHPUN2YZ.js +22 -0
- package/bin/chunk-LHPUN2YZ.js.map +1 -0
- package/bin/chunk-N7J3ORRT.js +14 -0
- package/bin/chunk-N7J3ORRT.js.map +1 -0
- package/bin/chunk-ROGUZ46T.js +22 -0
- package/bin/chunk-ROGUZ46T.js.map +1 -0
- package/bin/chunk-RZZ5UCVV.js +22 -0
- package/bin/chunk-RZZ5UCVV.js.map +1 -0
- package/bin/{chunk-WQI3QHPS.js → chunk-S3E6UR4Y.js} +3 -3
- package/bin/chunk-S3E6UR4Y.js.map +1 -0
- package/bin/chunk-S7Z6YPPG.js +16 -0
- package/bin/chunk-S7Z6YPPG.js.map +1 -0
- package/bin/chunk-XHWHVOBP.cjs +24 -0
- package/bin/chunk-XHWHVOBP.cjs.map +1 -0
- package/bin/{chunk-AU5PZKTN.cjs → chunk-YHZNDNCW.cjs} +5 -5
- package/bin/chunk-YHZNDNCW.cjs.map +1 -0
- package/bin/chunk-Z64XNZ43.cjs +24 -0
- package/bin/chunk-Z64XNZ43.cjs.map +1 -0
- package/bin/chunk-ZW2KYP2Z.cjs +24 -0
- package/bin/chunk-ZW2KYP2Z.cjs.map +1 -0
- package/bin/git.cjs +206 -84
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +129 -7
- package/bin/git.js.map +1 -1
- package/bin/post-checkout.cjs +9 -21
- package/bin/post-checkout.cjs.map +1 -1
- package/bin/post-checkout.js +5 -17
- package/bin/post-checkout.js.map +1 -1
- package/bin/post-commit.cjs +9 -21
- package/bin/post-commit.cjs.map +1 -1
- package/bin/post-commit.js +5 -17
- package/bin/post-commit.js.map +1 -1
- package/bin/post-merge.cjs +9 -21
- package/bin/post-merge.cjs.map +1 -1
- package/bin/post-merge.js +5 -17
- package/bin/post-merge.js.map +1 -1
- package/bin/pre-commit.cjs +8 -16
- package/bin/pre-commit.cjs.map +1 -1
- package/bin/pre-commit.js +4 -12
- package/bin/pre-commit.js.map +1 -1
- package/bin/pre-install.cjs +8 -13
- package/bin/pre-install.cjs.map +1 -1
- package/bin/pre-install.js +4 -9
- package/bin/pre-install.js.map +1 -1
- package/bin/pre-push.cjs +9 -72
- package/bin/pre-push.cjs.map +1 -1
- package/bin/pre-push.js +5 -63
- package/bin/pre-push.js.map +1 -1
- package/bin/prepare.cjs +8 -11
- package/bin/prepare.cjs.map +1 -1
- package/bin/prepare.js +4 -7
- package/bin/prepare.js.map +1 -1
- package/bin/version-warning.cjs +7 -7
- package/bin/version-warning.js +2 -2
- package/dist/chunk-2NF67ZEY.js +14 -0
- package/dist/chunk-5DVCH44C.cjs +22 -0
- package/dist/{chunk-NY53WLGC.cjs → chunk-7ZSL4J35.cjs} +9 -9
- package/dist/chunk-AU2RMJUK.js +20 -0
- package/dist/chunk-BUQYMEBK.cjs +17 -0
- package/dist/chunk-C6MBULOZ.js +15 -0
- package/dist/chunk-DMVL4OYZ.cjs +14 -0
- package/dist/chunk-ENL3GCXS.cjs +2 -0
- package/dist/chunk-F2HQMRJH.cjs +16 -0
- package/dist/chunk-FJL2V56E.cjs +24 -0
- package/dist/chunk-GTOCMU46.cjs +57 -0
- package/dist/chunk-HMHOHK22.js +17 -0
- package/dist/{chunk-VVJA5N2W.js → chunk-HVTQXN3A.js} +3 -285
- package/dist/chunk-JOPN56T4.js +22 -0
- package/dist/chunk-LSTKPCAN.cjs +22 -0
- package/dist/chunk-Q47SPRY7.js +1 -0
- package/dist/chunk-QCNDIFYQ.cjs +20 -0
- package/dist/chunk-RK75BACO.js +50 -0
- package/dist/{chunk-EMYFDYKP.cjs → chunk-RQ67RJVN.cjs} +13 -296
- package/dist/chunk-SIFTTG22.cjs +303 -0
- package/dist/chunk-UQMGLURT.js +20 -0
- package/dist/{chunk-JCEVFJCA.js → chunk-USTER7R2.js} +2 -2
- package/dist/chunk-X7F62ZNF.js +290 -0
- package/dist/chunk-YUE6ZNKC.js +12 -0
- package/dist/chunk-Z4CPTYLS.cjs +22 -0
- package/dist/chunk-ZKDVZXHI.js +20 -0
- package/dist/commit/minimal.cjs +4 -4
- package/dist/commit/minimal.js +2 -2
- package/dist/commit/monorepo.cjs +5 -5
- package/dist/commit/monorepo.js +3 -3
- package/dist/index.cjs +51 -12
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +15 -4
- package/dist/lefthook/minimal.yml +69 -0
- package/dist/lefthook/recommended.yml +60 -0
- package/dist/lefthook/strict.yml +32 -0
- package/dist/release/config.cjs +13 -11
- package/dist/release/config.js +6 -4
- package/package.json +79 -65
- package/bin/chunk-AU5PZKTN.cjs.map +0 -1
- package/bin/chunk-Q3DQKTOI.js.map +0 -1
- package/bin/chunk-WQI3QHPS.js.map +0 -1
- package/bin/chunk-ZBLIE7F7.cjs.map +0 -1
- package/dist/lefthook/config.yml +0 -119
- package/dist/{chunk-F7OO6L26.cjs → chunk-CT6VGZZS.cjs} +1 -1
- package/dist/{chunk-KZRVQ5RZ.js → chunk-WCAKLYL2.js} +1 -1
package/dist/lefthook/config.yml
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Refer for explanation to following link:
|
|
3
|
-
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
|
|
4
|
-
#
|
|
5
|
-
|
|
6
|
-
assert_lefthook_installed: true
|
|
7
|
-
colors: true
|
|
8
|
-
no_tty: false
|
|
9
|
-
min_version: 1.5.0
|
|
10
|
-
|
|
11
|
-
pre-install:
|
|
12
|
-
commands:
|
|
13
|
-
validate:
|
|
14
|
-
glob: "**/*.*"
|
|
15
|
-
run: "pnpm exec storm-pre-install"
|
|
16
|
-
|
|
17
|
-
prepare:
|
|
18
|
-
commands:
|
|
19
|
-
validate:
|
|
20
|
-
glob: "**/*.*"
|
|
21
|
-
run: "pnpm exec storm-prepare"
|
|
22
|
-
|
|
23
|
-
pre-commit:
|
|
24
|
-
piped: true
|
|
25
|
-
commands:
|
|
26
|
-
install:
|
|
27
|
-
files: "git diff --name-only HEAD @{push}"
|
|
28
|
-
glob: "./{pnpm-lock.yaml,lefthook.yml}"
|
|
29
|
-
run: "pnpm install --no-frozen-lockfile && git update-index"
|
|
30
|
-
prepare:
|
|
31
|
-
files: "git diff --name-only HEAD @{push}"
|
|
32
|
-
glob: "**/{lefthook.yml,biome.json}"
|
|
33
|
-
run: "pnpm exec storm-prepare"
|
|
34
|
-
prebuild:
|
|
35
|
-
glob: "**/*.*"
|
|
36
|
-
run: "pnpm build"
|
|
37
|
-
stage_fixed: true
|
|
38
|
-
validate:
|
|
39
|
-
files: "git diff --name-only HEAD @{push}"
|
|
40
|
-
glob: "**/*.*"
|
|
41
|
-
run: "pnpm exec storm-pre-commit {staged_files}"
|
|
42
|
-
stage_fixed: true
|
|
43
|
-
lint:
|
|
44
|
-
glob: "**/*.*"
|
|
45
|
-
run: "pnpm lint"
|
|
46
|
-
stage_fixed: true
|
|
47
|
-
lint-toml:
|
|
48
|
-
glob: "**/*.toml"
|
|
49
|
-
run:
|
|
50
|
-
'pnpm exec taplo format --check
|
|
51
|
-
--config="./node_modules/@storm-software/linting-tools/taplo/config.toml"'
|
|
52
|
-
lint-filename:
|
|
53
|
-
glob: "**/*.*"
|
|
54
|
-
run:
|
|
55
|
-
'pnpm exec ls-lint
|
|
56
|
-
--config="@storm-software/linting-tools/ls-lint/config.yml"'
|
|
57
|
-
lint-github-actions:
|
|
58
|
-
glob: ".github/workflows/*.*"
|
|
59
|
-
run:
|
|
60
|
-
'zizmor --offline
|
|
61
|
-
--config="./node_modules/@storm-software/linting-tools/zizmor/config.yml"
|
|
62
|
-
.github/workflows/'
|
|
63
|
-
readme-gen:
|
|
64
|
-
glob: "**/{README.md,package.json,executors.json,generators.json}"
|
|
65
|
-
run: 'pnpm exec storm-git readme --templates="./tools/readme-templates"'
|
|
66
|
-
stage_fixed: true
|
|
67
|
-
format:
|
|
68
|
-
glob: "**/*.*"
|
|
69
|
-
run: "pnpm format"
|
|
70
|
-
stage_fixed: true
|
|
71
|
-
format-toml:
|
|
72
|
-
glob: "**/*.toml"
|
|
73
|
-
run:
|
|
74
|
-
'pnpm exec taplo format
|
|
75
|
-
--config="@storm-software/linting-tools/taplo/config.toml" && git
|
|
76
|
-
update-index'
|
|
77
|
-
postbuild:
|
|
78
|
-
glob: "**/*.*"
|
|
79
|
-
run: "pnpm build"
|
|
80
|
-
stage_fixed: true
|
|
81
|
-
|
|
82
|
-
commit-msg:
|
|
83
|
-
commands:
|
|
84
|
-
validate:
|
|
85
|
-
glob: "**/*.*"
|
|
86
|
-
run: "pnpm exec storm-git commitlint --message {1}"
|
|
87
|
-
|
|
88
|
-
pre-push:
|
|
89
|
-
piped: true
|
|
90
|
-
commands:
|
|
91
|
-
validate:
|
|
92
|
-
files: "git diff --name-only HEAD @{push}"
|
|
93
|
-
glob: "**/*.*"
|
|
94
|
-
run: "pnpm exec storm-pre-push {files}"
|
|
95
|
-
stage_fixed: true
|
|
96
|
-
lint:
|
|
97
|
-
files: "git diff --name-only HEAD @{push}"
|
|
98
|
-
glob: "**/*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
|
|
99
|
-
run: "pnpm lint"
|
|
100
|
-
stage_fixed: true
|
|
101
|
-
|
|
102
|
-
post-merge:
|
|
103
|
-
commands:
|
|
104
|
-
validate:
|
|
105
|
-
glob: "**/*.*"
|
|
106
|
-
run: "pnpm exec storm-post-merge {staged_files}"
|
|
107
|
-
stage_fixed: true
|
|
108
|
-
|
|
109
|
-
post-checkout:
|
|
110
|
-
commands:
|
|
111
|
-
validate:
|
|
112
|
-
glob: "**/*.*"
|
|
113
|
-
run: "pnpm exec storm-post-checkout {staged_files}"
|
|
114
|
-
|
|
115
|
-
post-commit:
|
|
116
|
-
commands:
|
|
117
|
-
validate:
|
|
118
|
-
glob: "**/*.*"
|
|
119
|
-
run: "pnpm exec storm-post-commit {staged_files}"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var chunkYBAE6I5L_cjs = require('./chunk-YBAE6I5L.cjs');
|
|
4
3
|
var chunk4VPJA7YJ_cjs = require('./chunk-4VPJA7YJ.cjs');
|
|
4
|
+
var chunkYBAE6I5L_cjs = require('./chunk-YBAE6I5L.cjs');
|
|
5
5
|
|
|
6
6
|
// src/commit/config/minimal.ts
|
|
7
7
|
var DEFAULT_MINIMAL_COMMIT_QUESTIONS = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DEFAULT_COMMIT_PROMPT_MESSAGES } from './chunk-5XU2KBM6.js';
|
|
2
1
|
import { DEFAULT_COMMIT_TYPES, COMMIT_CONFIGS } from './chunk-3GGWHKRP.js';
|
|
2
|
+
import { DEFAULT_COMMIT_PROMPT_MESSAGES } from './chunk-5XU2KBM6.js';
|
|
3
3
|
|
|
4
4
|
// src/commit/config/minimal.ts
|
|
5
5
|
var DEFAULT_MINIMAL_COMMIT_QUESTIONS = {
|