@storm-software/git-tools 2.107.2 → 2.108.0
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/{dist/bin → bin}/git.cjs +0 -0
- package/{dist/bin → bin}/git.js +0 -0
- package/{dist/bin → bin}/post-checkout.cjs +0 -0
- package/{dist/bin → bin}/post-checkout.js +0 -0
- package/{dist/bin → bin}/post-commit.cjs +0 -0
- package/{dist/bin → bin}/post-commit.js +0 -0
- package/{dist/bin → bin}/post-merge.cjs +0 -0
- package/{dist/bin → bin}/post-merge.js +0 -0
- package/{dist/bin → bin}/pre-commit.cjs +0 -0
- package/{dist/bin → bin}/pre-commit.js +0 -0
- package/{dist/bin → bin}/pre-install.cjs +0 -0
- package/{dist/bin → bin}/pre-install.js +0 -0
- package/{dist/bin → bin}/pre-push.cjs +0 -0
- package/{dist/bin → bin}/pre-push.js +0 -0
- package/{dist/bin → bin}/prepare.cjs +0 -0
- package/{dist/bin → bin}/prepare.js +0 -0
- package/{dist/bin → bin}/version-warning.cjs +0 -0
- package/{dist/bin → bin}/version-warning.js +0 -0
- package/dist/lefthook/config.yml +115 -0
- package/dist/lint-staged/config.cjs +52 -0
- package/dist/readme/templates/README.footer.md +161 -0
- package/dist/readme/templates/README.header.md +41 -0
- package/package.json +12 -37
- package/bin/git.ts +0 -29
- package/bin/post-checkout.ts +0 -46
- package/bin/post-commit.ts +0 -46
- package/bin/post-merge.ts +0 -46
- package/bin/pre-commit.ts +0 -42
- package/bin/pre-install.ts +0 -36
- package/bin/pre-push.ts +0 -102
- package/bin/prepare.ts +0 -33
- package/bin/version-warning.ts +0 -25
- package/dist/changelog-renderer/changelog-renderer.cjs +0 -87080
- package/dist/changelog-renderer/changelog-renderer.js +0 -92050
- /package/{dist/bin → bin}/chunk-23TCSI67.js +0 -0
- /package/{dist/bin → bin}/chunk-34R4PCUS.cjs +0 -0
- /package/{dist/bin → bin}/chunk-3XEEEMLV.js +0 -0
- /package/{dist/bin → bin}/chunk-3YZZSIRA.cjs +0 -0
- /package/{dist/bin → bin}/chunk-5DZECCFZ.js +0 -0
- /package/{dist/bin → bin}/chunk-A3QVIDKR.cjs +0 -0
- /package/{dist/bin → bin}/chunk-ANR3M366.cjs +0 -0
- /package/{dist/bin → bin}/chunk-AQDYBQBF.cjs +0 -0
- /package/{dist/bin → bin}/chunk-BJYW7ISD.js +0 -0
- /package/{dist/bin → bin}/chunk-FY5QB5MQ.cjs +0 -0
- /package/{dist/bin → bin}/chunk-GIYWTOX5.js +0 -0
- /package/{dist/bin → bin}/chunk-H6RJC2EU.cjs +0 -0
- /package/{dist/bin → bin}/chunk-KTLBDGE7.js +0 -0
- /package/{dist/bin → bin}/chunk-M3SPNRDT.js +0 -0
- /package/{dist/bin → bin}/chunk-MRCW7ZWW.cjs +0 -0
- /package/{dist/bin → bin}/chunk-OQNZFKFJ.cjs +0 -0
- /package/{dist/bin → bin}/chunk-PAW5GJNL.js +0 -0
- /package/{dist/bin → bin}/chunk-QROY5223.js +0 -0
- /package/{dist/bin → bin}/chunk-REUY4MDC.js +0 -0
- /package/{dist/bin → bin}/chunk-RHY34RLE.cjs +0 -0
- /package/{dist/bin → bin}/chunk-V3UDZCED.js +0 -0
- /package/{dist/bin → bin}/chunk-VNWRUK6N.cjs +0 -0
- /package/{dist/bin → bin}/chunk-W2TU25OT.js +0 -0
- /package/{dist/bin → bin}/chunk-Z3K5JTIC.cjs +0 -0
- /package/{dist/bin → bin}/dist-3B7RDNKI.cjs +0 -0
- /package/{dist/bin → bin}/dist-BGCQPBHL.js +0 -0
- /package/{dist/bin → bin}/dist-WGGNNSDG.cjs +0 -0
- /package/{dist/bin → bin}/dist-YM6D424K.js +0 -0
- /package/{dist/bin → bin}/esm-6GE5MI4G.cjs +0 -0
- /package/{dist/bin → bin}/esm-WLHP7RVO.js +0 -0
- /package/{dist/bin → bin}/json5-ELADGSSP.js +0 -0
- /package/{dist/bin → bin}/json5-FQPHMSAC.cjs +0 -0
- /package/{dist/bin → bin}/jsonc-CTYQYPBR.cjs +0 -0
- /package/{dist/bin → bin}/jsonc-RUGZP2X2.js +0 -0
- /package/{dist/bin → bin}/multipart-parser-I4Y55UNL.cjs +0 -0
- /package/{dist/bin → bin}/multipart-parser-MFV7BRF2.js +0 -0
- /package/{dist/bin → bin}/toml-IRXKI45Y.cjs +0 -0
- /package/{dist/bin → bin}/toml-U3J6BEAR.js +0 -0
- /package/{dist/bin → bin}/utils-6O4EJJM3.js +0 -0
- /package/{dist/bin → bin}/utils-GJRPR6GZ.cjs +0 -0
- /package/{dist/bin → bin}/yaml-CPOMXZOK.js +0 -0
- /package/{dist/bin → bin}/yaml-WGJNEJ7V.cjs +0 -0
- /package/dist/{src/chunk-3MA2SHAT.js → chunk-3MA2SHAT.js} +0 -0
- /package/dist/{src/chunk-3V3F7TB7.cjs → chunk-3V3F7TB7.cjs} +0 -0
- /package/dist/{src/chunk-D7HN6Y5M.js → chunk-D7HN6Y5M.js} +0 -0
- /package/dist/{src/chunk-EQZ3BKYL.cjs → chunk-EQZ3BKYL.cjs} +0 -0
- /package/dist/{src/chunk-FX5G24P6.cjs → chunk-FX5G24P6.cjs} +0 -0
- /package/dist/{src/chunk-JVIJRTGD.js → chunk-JVIJRTGD.js} +0 -0
- /package/dist/{src/commit → commit}/config.cjs +0 -0
- /package/dist/{src/commit → commit}/config.d.cts +0 -0
- /package/dist/{src/commit → commit}/config.d.ts +0 -0
- /package/dist/{src/commit → commit}/config.js +0 -0
- /package/dist/{src/commitlint → commitlint}/config.cjs +0 -0
- /package/dist/{src/commitlint → commitlint}/config.d.cts +0 -0
- /package/dist/{src/commitlint → commitlint}/config.d.ts +0 -0
- /package/dist/{src/commitlint → commitlint}/config.js +0 -0
- /package/dist/{src/index.cjs → index.cjs} +0 -0
- /package/dist/{src/index.d.cts → index.d.cts} +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/index.js → index.js} +0 -0
- /package/dist/{src/release → release}/config.cjs +0 -0
- /package/dist/{src/release → release}/config.d.cts +0 -0
- /package/dist/{src/release → release}/config.d.ts +0 -0
- /package/dist/{src/release → release}/config.js +0 -0
- /package/dist/{src/types.cjs → types.cjs} +0 -0
- /package/dist/{src/types.d.cts → types.d.cts} +0 -0
- /package/dist/{src/types.d.ts → types.d.ts} +0 -0
- /package/dist/{src/types.js → types.js} +0 -0
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/{dist/bin → bin}/git.cjs
RENAMED
|
File without changes
|
package/{dist/bin → bin}/git.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,115 @@
|
|
|
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: 'pnpm exec taplo format --check
|
|
50
|
+
--config="./node_modules/@storm-software/linting-tools/taplo/config.toml"'
|
|
51
|
+
lint-filename:
|
|
52
|
+
glob: "**/*.*"
|
|
53
|
+
run: 'pnpm exec ls-lint
|
|
54
|
+
--config="@storm-software/linting-tools/ls-lint/config.yml"'
|
|
55
|
+
lint-github-actions:
|
|
56
|
+
glob: ".github/workflows/*.*"
|
|
57
|
+
run: 'zizmor --offline
|
|
58
|
+
--config="./node_modules/@storm-software/linting-tools/zizmor/config.yml"
|
|
59
|
+
.github/workflows/'
|
|
60
|
+
readme-gen:
|
|
61
|
+
glob: "**/{README.md,package.json,executors.json,generators.json}"
|
|
62
|
+
run: 'pnpm exec storm-git readme --templates="./tools/readme-templates"'
|
|
63
|
+
stage_fixed: true
|
|
64
|
+
format:
|
|
65
|
+
glob: "**/*.*"
|
|
66
|
+
run: "pnpm format"
|
|
67
|
+
stage_fixed: true
|
|
68
|
+
format-toml:
|
|
69
|
+
glob: "**/*.toml"
|
|
70
|
+
run: 'pnpm exec taplo format
|
|
71
|
+
--config="@storm-software/linting-tools/taplo/config.toml" && git
|
|
72
|
+
update-index'
|
|
73
|
+
postbuild:
|
|
74
|
+
glob: "**/*.*"
|
|
75
|
+
run: "pnpm build"
|
|
76
|
+
stage_fixed: true
|
|
77
|
+
|
|
78
|
+
commit-msg:
|
|
79
|
+
commands:
|
|
80
|
+
validate:
|
|
81
|
+
glob: "**/*.*"
|
|
82
|
+
run: "pnpm exec storm-git commitlint --message {1}"
|
|
83
|
+
|
|
84
|
+
pre-push:
|
|
85
|
+
piped: true
|
|
86
|
+
commands:
|
|
87
|
+
validate:
|
|
88
|
+
files: "git diff --name-only HEAD @{push}"
|
|
89
|
+
glob: "**/*.*"
|
|
90
|
+
run: "pnpm exec storm-pre-push {files}"
|
|
91
|
+
stage_fixed: true
|
|
92
|
+
lint:
|
|
93
|
+
files: "git diff --name-only HEAD @{push}"
|
|
94
|
+
glob: "**/*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
|
|
95
|
+
run: "pnpm lint"
|
|
96
|
+
stage_fixed: true
|
|
97
|
+
|
|
98
|
+
post-merge:
|
|
99
|
+
commands:
|
|
100
|
+
validate:
|
|
101
|
+
glob: "**/*.*"
|
|
102
|
+
run: "pnpm exec storm-post-merge {staged_files}"
|
|
103
|
+
stage_fixed: true
|
|
104
|
+
|
|
105
|
+
post-checkout:
|
|
106
|
+
commands:
|
|
107
|
+
validate:
|
|
108
|
+
glob: "**/*.*"
|
|
109
|
+
run: "pnpm exec storm-post-checkout {staged_files}"
|
|
110
|
+
|
|
111
|
+
post-commit:
|
|
112
|
+
commands:
|
|
113
|
+
validate:
|
|
114
|
+
glob: "**/*.*"
|
|
115
|
+
run: "pnpm exec storm-post-commit {staged_files}"
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const isWin = process.platform === "win32";
|
|
2
|
+
|
|
3
|
+
const escape = (input) => {
|
|
4
|
+
return input
|
|
5
|
+
.map(function (s) {
|
|
6
|
+
if (s && typeof s === "object") {
|
|
7
|
+
return s.op.replace(/(.)/g, "\\$1");
|
|
8
|
+
}
|
|
9
|
+
if (/["\s]/.test(s) && !/'/.test(s)) {
|
|
10
|
+
return "'" + s.replace(/(['\\])/g, "\\$1") + "'";
|
|
11
|
+
}
|
|
12
|
+
if (/["'\s]/.test(s)) {
|
|
13
|
+
return '"' + s.replace(/(["\\$`!])/g, "\\$1") + '"';
|
|
14
|
+
}
|
|
15
|
+
return String(s).replace(
|
|
16
|
+
/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,
|
|
17
|
+
"$1\\$2",
|
|
18
|
+
);
|
|
19
|
+
})
|
|
20
|
+
.join(" ")
|
|
21
|
+
.replace(/\\@/g, "@");
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
module.exports = {
|
|
25
|
+
"**/*.*": (fileNames) => {
|
|
26
|
+
const escapedFileNames = fileNames
|
|
27
|
+
.map((filename) => (isWin ? filename : escape(filename)))
|
|
28
|
+
.join(" ");
|
|
29
|
+
|
|
30
|
+
return ["pnpm build", `git add ${escapedFileNames}`];
|
|
31
|
+
},
|
|
32
|
+
"**/*.{js,jsx,ts,tsx,json,css,scss,md,mdx,yml,yaml,graphql,html,prisma,acid,acidic}":
|
|
33
|
+
(fileNames) => {
|
|
34
|
+
const escapedFileNames = fileNames
|
|
35
|
+
.map((filename) => (isWin ? filename : escape(filename)))
|
|
36
|
+
.join(" ");
|
|
37
|
+
|
|
38
|
+
return [
|
|
39
|
+
"pnpm lint",
|
|
40
|
+
`prettier --with-node-modules --ignore-path @storm-software/git-tools/prettier/.prettierignore_staged --write ${escapedFileNames}`,
|
|
41
|
+
"pnpm nx format:write --uncommitted",
|
|
42
|
+
`git add ${escapedFileNames}`,
|
|
43
|
+
];
|
|
44
|
+
},
|
|
45
|
+
"**/README.md": (fileNames) => {
|
|
46
|
+
const escapedFileNames = fileNames
|
|
47
|
+
.map((filename) => (isWin ? filename : escape(filename)))
|
|
48
|
+
.join(" ");
|
|
49
|
+
|
|
50
|
+
return ["pnpm readme-gen", `git add ${escapedFileNames}`];
|
|
51
|
+
},
|
|
52
|
+
};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
## Storm Workspaces
|
|
2
|
+
|
|
3
|
+
Storm workspaces are built using
|
|
4
|
+
<a href="https://nx.dev/" target="_blank">Nx</a>, a set of extensible dev tools
|
|
5
|
+
for monorepos, which helps you develop like Google, Facebook, and Microsoft.
|
|
6
|
+
Building on top of Nx, the Open System provides a set of tools and patterns that
|
|
7
|
+
help you scale your monorepo to many teams while keeping the codebase
|
|
8
|
+
maintainable.
|
|
9
|
+
|
|
10
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
11
|
+
<br />
|
|
12
|
+
|
|
13
|
+
## Roadmap
|
|
14
|
+
|
|
15
|
+
See the [open issues](https://github.com/storm-software/storm-ops/issues) for a
|
|
16
|
+
list of proposed features (and known issues).
|
|
17
|
+
|
|
18
|
+
- [Top Feature Requests](https://github.com/storm-software/storm-ops/issues?q=label%3Aenhancement+is%3Aopen+sort%3Areactions-%2B1-desc)
|
|
19
|
+
(Add your votes using the 👍 reaction)
|
|
20
|
+
- [Top Bugs](https://github.com/storm-software/storm-ops/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Areactions-%2B1-desc)
|
|
21
|
+
(Add your votes using the 👍 reaction)
|
|
22
|
+
- [Newest Bugs](https://github.com/storm-software/storm-ops/issues?q=is%3Aopen+is%3Aissue+label%3Abug)
|
|
23
|
+
|
|
24
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
25
|
+
<br />
|
|
26
|
+
|
|
27
|
+
## Support
|
|
28
|
+
|
|
29
|
+
Reach out to the maintainer at one of the following places:
|
|
30
|
+
|
|
31
|
+
- [Contact](https://stormsoftware.com/contact)
|
|
32
|
+
- [GitHub discussions](https://github.com/storm-software/storm-ops/discussions)
|
|
33
|
+
- <support@stormsoftware.com>
|
|
34
|
+
|
|
35
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
36
|
+
<br />
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
This project is licensed under the **Apache License 2.0**. Feel free to edit and
|
|
41
|
+
distribute this template as you like.
|
|
42
|
+
|
|
43
|
+
See [LICENSE](LICENSE) for more information.
|
|
44
|
+
|
|
45
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
46
|
+
<br />
|
|
47
|
+
|
|
48
|
+
## Changelog
|
|
49
|
+
|
|
50
|
+
This project adheres to
|
|
51
|
+
[Semantic Versioning](https://semver.org/spec/v2.0.0.html). Every release, along
|
|
52
|
+
with the migration instructions, is documented in the [CHANGELOG](CHANGELOG.md)
|
|
53
|
+
file
|
|
54
|
+
|
|
55
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
56
|
+
<br />
|
|
57
|
+
|
|
58
|
+
## Contributing
|
|
59
|
+
|
|
60
|
+
First off, thanks for taking the time to contribute! Contributions are what
|
|
61
|
+
makes the open-source community such an amazing place to learn, inspire, and
|
|
62
|
+
create. Any contributions you make will benefit everybody else and are **greatly
|
|
63
|
+
appreciated**.
|
|
64
|
+
|
|
65
|
+
Please try to create bug reports that are:
|
|
66
|
+
|
|
67
|
+
- _Reproducible._ Include steps to reproduce the problem.
|
|
68
|
+
- _Specific._ Include as much detail as possible: which version, what
|
|
69
|
+
environment, etc.
|
|
70
|
+
- _Unique._ Do not duplicate existing opened issues.
|
|
71
|
+
- _Scoped to a Single Bug._ One bug per report.
|
|
72
|
+
|
|
73
|
+
Please adhere to this project's [code of conduct](.github/CODE_OF_CONDUCT.md).
|
|
74
|
+
|
|
75
|
+
You can use
|
|
76
|
+
[markdownlint-cli](https://github.com/storm-software/storm-ops/markdownlint-cli)
|
|
77
|
+
to check for common markdown style inconsistency.
|
|
78
|
+
|
|
79
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
80
|
+
<br />
|
|
81
|
+
|
|
82
|
+
## Contributors
|
|
83
|
+
|
|
84
|
+
Thanks goes to these wonderful people
|
|
85
|
+
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
86
|
+
|
|
87
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
88
|
+
|
|
89
|
+
<table>
|
|
90
|
+
<tbody>
|
|
91
|
+
<tr>
|
|
92
|
+
<td align="center" valign="top" width="14.28%"><a href="http://www.sullypat.com/"><img src="https://avatars.githubusercontent.com/u/99053093?v=4?s=100" width="100px;" alt="Patrick Sullivan"/><br /><sub><b>Patrick Sullivan</b></sub></a><br /><a href="#design-sullivanpj" title="Design">🎨</a> <a href="https://github.com/storm-software/storm-ops/commits?author=sullivanpj" title="Code">💻</a> <a href="#tool-sullivanpj" title="Tools">🔧</a> <a href="https://github.com/storm-software/storm-ops/commits?author=sullivanpj" title="Documentation">📖</a> <a href="https://github.com/storm-software/storm-ops/commits?author=sullivanpj" title="Tests">⚠️</a></td>
|
|
93
|
+
<td align="center" valign="top" width="14.28%"><a href="https://tylerbenning.com/"><img src="https://avatars.githubusercontent.com/u/7265547?v=4?s=100" width="100px;" alt="Tyler Benning"/><br /><sub><b>Tyler Benning</b></sub></a><br /><a href="#design-tbenning" title="Design">🎨</a></td>
|
|
94
|
+
<td align="center" valign="top" width="14.28%"><a href="http://stormsoftware.com"><img src="https://avatars.githubusercontent.com/u/149802440?v=4?s=100" width="100px;" alt="Stormie"/><br /><sub><b>Stormie</b></sub></a><br /><a href="#maintenance-stormie-bot" title="Maintenance">🚧</a></td>
|
|
95
|
+
</tr>
|
|
96
|
+
</tbody>
|
|
97
|
+
<tfoot>
|
|
98
|
+
<tr>
|
|
99
|
+
<td align="center" size="13px" colspan="7">
|
|
100
|
+
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg" alt="All Contributors">
|
|
101
|
+
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
|
|
102
|
+
</img>
|
|
103
|
+
</td>
|
|
104
|
+
</tr>
|
|
105
|
+
</tfoot>
|
|
106
|
+
</table>
|
|
107
|
+
|
|
108
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
109
|
+
|
|
110
|
+
This project follows the
|
|
111
|
+
[all-contributors](https://github.com/all-contributors/all-contributors)
|
|
112
|
+
specification. Contributions of any kind welcome!
|
|
113
|
+
|
|
114
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
115
|
+
<br />
|
|
116
|
+
|
|
117
|
+
<hr />
|
|
118
|
+
<br />
|
|
119
|
+
|
|
120
|
+
<div align="center">
|
|
121
|
+
<img src="https://public.storm-cdn.com/brand-banner.png" width="100%" alt="Storm Software" />
|
|
122
|
+
</div>
|
|
123
|
+
<br />
|
|
124
|
+
|
|
125
|
+
<div align="center">
|
|
126
|
+
<a href="https://stormsoftware.com" target="_blank">Website</a> • <a href="https://stormsoftware.com/contact" target="_blank">Contact</a> • <a href="https://linkedin.com/in/patrick-sullivan-865526b0" target="_blank">LinkedIn</a> • <a href="https://medium.com/@pat.joseph.sullivan" target="_blank">Medium</a> • <a href="https://github.com/storm-software" target="_blank">GitHub</a> • <a href="https://keybase.io/sullivanp" target="_blank">OpenPGP Key</a>
|
|
127
|
+
</div>
|
|
128
|
+
|
|
129
|
+
<div align="center">
|
|
130
|
+
<b>Fingerprint:</b> F47F 1853 BCAD DE9B 42C8 6316 9FDE EC95 47FE D106
|
|
131
|
+
</div>
|
|
132
|
+
<br />
|
|
133
|
+
|
|
134
|
+
Storm Software is an open source software development organization and creator
|
|
135
|
+
of Acidic, StormStack and StormCloud.
|
|
136
|
+
|
|
137
|
+
Our mission is to make software development more accessible. Our ideal future is
|
|
138
|
+
one where anyone can create software without years of prior development
|
|
139
|
+
experience serving as a barrier to entry. We hope to achieve this via LLMs,
|
|
140
|
+
Generative AI, and intuitive, high-level data modeling/programming languages.
|
|
141
|
+
|
|
142
|
+
Join us on [Discord](https://discord.gg/MQ6YVzakM5) to chat with the team,
|
|
143
|
+
receive release notifications, ask questions, and get involved.
|
|
144
|
+
|
|
145
|
+
If this sounds interesting, and you would like to help us in creating the next
|
|
146
|
+
generation of development tools, please reach out on our
|
|
147
|
+
[website](https://stormsoftware.com/contact) or join our
|
|
148
|
+
[Slack](https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA)
|
|
149
|
+
channel!
|
|
150
|
+
|
|
151
|
+
<br />
|
|
152
|
+
|
|
153
|
+
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://public.storm-cdn.com/icon-fill.png" alt="Storm Software" width="200px"/></a></div>
|
|
154
|
+
<br />
|
|
155
|
+
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://public.storm-cdn.com/visit-us-text.svg" alt="Visit us at stormsoftware.com" height="90px"/></a></div>
|
|
156
|
+
|
|
157
|
+
<br />
|
|
158
|
+
|
|
159
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
160
|
+
<br />
|
|
161
|
+
<br />
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<div align="center"><img src="https://public.storm-cdn.com/storm-banner.gif" width="100%" alt="Storm Software" /></div>
|
|
2
|
+
<br />
|
|
3
|
+
|
|
4
|
+
<div align="center">
|
|
5
|
+
<b>
|
|
6
|
+
<a href="https://stormsoftware.com" target="_blank">Website</a> •
|
|
7
|
+
<a href="https://github.com/storm-software/storm-ops" target="_blank">GitHub</a> •
|
|
8
|
+
<a href="https://discord.gg/MQ6YVzakM5">Discord</a> • <a href="https://stormstack.github.io/stormstack/" target="_blank">Docs</a> • <a href="https://stormsoftware.com/contact" target="_blank">Contact</a> •
|
|
9
|
+
<a href="https://github.com/storm-software/storm-ops/issues/new?assignees=&labels=bug&template=bug-report.yml&title=Bug Report%3A+">Report a Bug</a>
|
|
10
|
+
</b>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<br />
|
|
14
|
+
This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages include CLI utility applications, tools, and various libraries used to create modern, scalable web applications.
|
|
15
|
+
<br />
|
|
16
|
+
|
|
17
|
+
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
18
|
+
|
|
19
|
+
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
20
|
+
|
|
21
|
+
<!-- prettier-ignore-start -->
|
|
22
|
+
<!-- markdownlint-disable -->
|
|
23
|
+
|
|
24
|
+
> [!IMPORTANT]
|
|
25
|
+
> This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be available through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.
|
|
26
|
+
|
|
27
|
+
<!-- markdownlint-restore -->
|
|
28
|
+
<!-- prettier-ignore-end -->
|
|
29
|
+
|
|
30
|
+
<div align="center">
|
|
31
|
+
<b>Be sure to ⭐ this <a href="https://github.com/storm-software/storm-ops" target="_blank">repository on GitHub</a> so you can keep up to date on any daily progress!</b>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<br />
|
|
35
|
+
|
|
36
|
+
<!-- START doctoc -->
|
|
37
|
+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
38
|
+
|
|
39
|
+
<!-- END doctoc -->
|
|
40
|
+
|
|
41
|
+
<br />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/git-tools",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.108.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Tools for managing Git repositories within a Nx workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -40,10 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"license": "Apache-2.0",
|
|
42
42
|
"private": false,
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
"pnpm": ">=10.3.0"
|
|
46
|
-
},
|
|
43
|
+
"packageManager": "pnpm@10.3.0",
|
|
44
|
+
"engines": { "node": ">=22.4.0", "pnpm": ">=10.3.0" },
|
|
47
45
|
"bin": {
|
|
48
46
|
"storm-git": "./bin/git.cjs",
|
|
49
47
|
"storm-git-esm": "./bin/git.js",
|
|
@@ -78,46 +76,28 @@
|
|
|
78
76
|
"exports": {
|
|
79
77
|
"./package.json": "./package.json",
|
|
80
78
|
".": {
|
|
81
|
-
"import": {
|
|
82
|
-
"types": "./dist/index.d.ts",
|
|
83
|
-
"default": "./dist/index.js"
|
|
84
|
-
},
|
|
79
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
85
80
|
"require": {
|
|
86
81
|
"types": "./dist/index.d.cts",
|
|
87
82
|
"default": "./dist/index.cjs"
|
|
88
83
|
},
|
|
89
|
-
"default": {
|
|
90
|
-
"types": "./dist/index.d.ts",
|
|
91
|
-
"default": "./dist/index.js"
|
|
92
|
-
}
|
|
84
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
93
85
|
},
|
|
94
86
|
"./index": {
|
|
95
|
-
"import": {
|
|
96
|
-
"types": "./dist/index.d.ts",
|
|
97
|
-
"default": "./dist/index.js"
|
|
98
|
-
},
|
|
87
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
99
88
|
"require": {
|
|
100
89
|
"types": "./dist/index.d.cts",
|
|
101
90
|
"default": "./dist/index.cjs"
|
|
102
91
|
},
|
|
103
|
-
"default": {
|
|
104
|
-
"types": "./dist/index.d.ts",
|
|
105
|
-
"default": "./dist/index.js"
|
|
106
|
-
}
|
|
92
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
107
93
|
},
|
|
108
94
|
"./types": {
|
|
109
|
-
"import": {
|
|
110
|
-
"types": "./dist/types.d.ts",
|
|
111
|
-
"default": "./dist/types.js"
|
|
112
|
-
},
|
|
95
|
+
"import": { "types": "./dist/types.d.ts", "default": "./dist/types.js" },
|
|
113
96
|
"require": {
|
|
114
97
|
"types": "./dist/types.d.cts",
|
|
115
98
|
"default": "./dist/types.cjs"
|
|
116
99
|
},
|
|
117
|
-
"default": {
|
|
118
|
-
"types": "./dist/types.d.ts",
|
|
119
|
-
"default": "./dist/types.js"
|
|
120
|
-
}
|
|
100
|
+
"default": { "types": "./dist/types.d.ts", "default": "./dist/types.js" }
|
|
121
101
|
},
|
|
122
102
|
"./commit/config": {
|
|
123
103
|
"import": {
|
|
@@ -222,10 +202,7 @@
|
|
|
222
202
|
"./readme/templates/*": "./dist/readme/templates/*"
|
|
223
203
|
},
|
|
224
204
|
"types": "./dist/index.d.ts",
|
|
225
|
-
"files": [
|
|
226
|
-
"bin/**/*",
|
|
227
|
-
"dist/**/*"
|
|
228
|
-
],
|
|
205
|
+
"files": ["bin/**/*", "dist/**/*"],
|
|
229
206
|
"keywords": [
|
|
230
207
|
"storm-software",
|
|
231
208
|
"monorepo",
|
|
@@ -284,7 +261,5 @@
|
|
|
284
261
|
"update-section": "0.3.3",
|
|
285
262
|
"word-wrap": "1.2.5"
|
|
286
263
|
},
|
|
287
|
-
"publishConfig": {
|
|
288
|
-
|
|
289
|
-
}
|
|
290
|
-
}
|
|
264
|
+
"publishConfig": { "access": "public" }
|
|
265
|
+
}
|
package/bin/git.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
exitWithError,
|
|
5
|
-
exitWithSuccess,
|
|
6
|
-
getConfig,
|
|
7
|
-
handleProcess,
|
|
8
|
-
writeSuccess
|
|
9
|
-
} from "@storm-software/config-tools";
|
|
10
|
-
import { createProgram } from "../src/cli";
|
|
11
|
-
|
|
12
|
-
void (async () => {
|
|
13
|
-
const config = await getConfig();
|
|
14
|
-
try {
|
|
15
|
-
handleProcess(config);
|
|
16
|
-
|
|
17
|
-
const program = createProgram(config);
|
|
18
|
-
await program.parseAsync(process.argv);
|
|
19
|
-
|
|
20
|
-
writeSuccess(
|
|
21
|
-
`🎉 Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`,
|
|
22
|
-
config
|
|
23
|
-
);
|
|
24
|
-
exitWithSuccess(config);
|
|
25
|
-
} catch (error) {
|
|
26
|
-
exitWithError(config);
|
|
27
|
-
process.exit(1);
|
|
28
|
-
}
|
|
29
|
-
})();
|
package/bin/post-checkout.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
exitWithError,
|
|
5
|
-
exitWithSuccess,
|
|
6
|
-
getConfig,
|
|
7
|
-
handleProcess,
|
|
8
|
-
run,
|
|
9
|
-
writeError,
|
|
10
|
-
writeFatal,
|
|
11
|
-
writeInfo,
|
|
12
|
-
} from "@storm-software/config-tools";
|
|
13
|
-
import { checkPackageVersion } from "../src/utilities/check-package-version";
|
|
14
|
-
|
|
15
|
-
void (async () => {
|
|
16
|
-
const config = await getConfig();
|
|
17
|
-
try {
|
|
18
|
-
handleProcess(config);
|
|
19
|
-
|
|
20
|
-
writeInfo("Running post-checkout hook...", config);
|
|
21
|
-
checkPackageVersion(process.argv?.slice(1));
|
|
22
|
-
|
|
23
|
-
try {
|
|
24
|
-
run(config, "git-lfs version");
|
|
25
|
-
} catch (error) {
|
|
26
|
-
writeError(
|
|
27
|
-
`This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.\nError: ${
|
|
28
|
-
(error as Error)?.message
|
|
29
|
-
}`,
|
|
30
|
-
config,
|
|
31
|
-
);
|
|
32
|
-
exitWithError(config);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
run(config, "git lfs post-checkout");
|
|
36
|
-
|
|
37
|
-
exitWithSuccess(config);
|
|
38
|
-
} catch (error) {
|
|
39
|
-
writeFatal(
|
|
40
|
-
`A fatal error occurred while running the program: ${error.message}`,
|
|
41
|
-
config,
|
|
42
|
-
);
|
|
43
|
-
exitWithError(config);
|
|
44
|
-
process.exit(1);
|
|
45
|
-
}
|
|
46
|
-
})();
|
package/bin/post-commit.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
exitWithError,
|
|
5
|
-
exitWithSuccess,
|
|
6
|
-
getConfig,
|
|
7
|
-
handleProcess,
|
|
8
|
-
run,
|
|
9
|
-
writeError,
|
|
10
|
-
writeFatal,
|
|
11
|
-
writeInfo,
|
|
12
|
-
} from "@storm-software/config-tools";
|
|
13
|
-
import { checkPackageVersion } from "../src/utilities/check-package-version";
|
|
14
|
-
|
|
15
|
-
void (async () => {
|
|
16
|
-
const config = await getConfig();
|
|
17
|
-
try {
|
|
18
|
-
handleProcess(config);
|
|
19
|
-
|
|
20
|
-
writeInfo("Running post-commit hook...", config);
|
|
21
|
-
checkPackageVersion(process.argv?.slice(1));
|
|
22
|
-
|
|
23
|
-
try {
|
|
24
|
-
run(config, "git-lfs version");
|
|
25
|
-
} catch (error) {
|
|
26
|
-
writeError(
|
|
27
|
-
`This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.\nError: ${
|
|
28
|
-
(error as Error)?.message
|
|
29
|
-
}`,
|
|
30
|
-
config,
|
|
31
|
-
);
|
|
32
|
-
exitWithError(config);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
run(config, "git lfs post-commit");
|
|
36
|
-
|
|
37
|
-
exitWithSuccess(config);
|
|
38
|
-
} catch (error) {
|
|
39
|
-
writeFatal(
|
|
40
|
-
`A fatal error occurred while running the program: ${error.message}`,
|
|
41
|
-
config,
|
|
42
|
-
);
|
|
43
|
-
exitWithError(config);
|
|
44
|
-
process.exit(1);
|
|
45
|
-
}
|
|
46
|
-
})();
|