@storm-software/git-tools 1.2.14 → 1.2.16
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 +14 -0
- package/README.md +1 -1
- package/hooks/post-checkout.cjs +10 -0
- package/hooks/post-commit.cjs +6 -0
- package/hooks/post-merge.cjs +10 -0
- package/hooks/pre-commit.cjs +6 -0
- package/hooks/pre-push.cjs +8 -0
- package/package.json +6 -6
- package/hooks/post-checkout +0 -7
- package/hooks/post-commit +0 -5
- package/hooks/post-merge +0 -7
- package/hooks/pre-commit +0 -4
- package/hooks/pre-push +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.2.15](https://github.com/storm-software/storm-ops/compare/git-tools-v1.2.14...git-tools-v1.2.15) (2023-11-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **git-tools:** Update husky hooks to executable scripts ([acc9511](https://github.com/storm-software/storm-ops/commit/acc95116890a7ed6ed896fbc354ea601d3386255))
|
|
7
|
+
|
|
8
|
+
## [1.2.14](https://github.com/storm-software/storm-ops/compare/git-tools-v1.2.13...git-tools-v1.2.14) (2023-11-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **git-tools:** Update extension type of scripts used in husky hooks ([1aa3e3b](https://github.com/storm-software/storm-ops/commit/1aa3e3b26d79015bab75f1bbee26974407a19428))
|
|
14
|
+
|
|
1
15
|
## [1.2.13](https://github.com/storm-software/storm-ops/compare/git-tools-v1.2.12...git-tools-v1.2.13) (2023-11-10)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
15
15
|
|
|
16
16
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
|
|
17
17
|
|
|
18
|
-
[](https://prettier.io/)
|
|
19
19
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
20
20
|
|
|
21
21
|
<h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️ - 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 availible 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.</h3><br />
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const { execSync } = require("node:child_process");
|
|
2
|
+
|
|
3
|
+
execSync(
|
|
4
|
+
'changedFiles="$(git diff-tree -r --name-only --no-commit-id $1 $2)" && node @storm-software/git-tools/scripts/package-version-warning.cjs $changedFiles'
|
|
5
|
+
);
|
|
6
|
+
|
|
7
|
+
execSync(
|
|
8
|
+
"command -v git-lfs >/dev/null 2>&1 || { echo >&2 '\nThis 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.\n'; exit 2; }"
|
|
9
|
+
);
|
|
10
|
+
execSync('git lfs post-checkout "$@"');
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const { execSync } = require("node:child_process");
|
|
2
|
+
|
|
3
|
+
execSync(
|
|
4
|
+
"command -v git-lfs >/dev/null 2>&1 || { echo >&2 '\nThis 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.\n'; exit 2; }"
|
|
5
|
+
);
|
|
6
|
+
execSync('git lfs post-commit "$@"');
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const { execSync } = require("node:child_process");
|
|
2
|
+
|
|
3
|
+
execSync(
|
|
4
|
+
'changedFiles="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" && @storm-software/git-tools/scripts/package-version-warning.cjs $changedFiles'
|
|
5
|
+
);
|
|
6
|
+
|
|
7
|
+
execSync(
|
|
8
|
+
"command -v git-lfs >/dev/null 2>&1 || { echo >&2 '\nThis 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-merge.\n'; exit 2; }"
|
|
9
|
+
);
|
|
10
|
+
execSync('git lfs post-merge "$@"');
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const { execSync } = require("node:child_process");
|
|
2
|
+
|
|
3
|
+
execSync("node @storm-software/git-tools/scripts/check-lock-file.cjs");
|
|
4
|
+
|
|
5
|
+
execSync(
|
|
6
|
+
"command -v git-lfs >/dev/null 2>&1 || { echo >&2 '\nThis 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/pre-push.\n'; exit 2; }"
|
|
7
|
+
);
|
|
8
|
+
execSync('git lfs pre-push "$@"');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/git-tools",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡ A package containing various git tools used in Storm workspaces.",
|
|
6
6
|
"keywords": [
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"type": "module",
|
|
32
32
|
"bin": {
|
|
33
33
|
"storm-git": "./bin/cli.js",
|
|
34
|
-
"storm-post-checkout": "./hooks/post-checkout",
|
|
35
|
-
"storm-post-commit": "./hooks/post-commit",
|
|
36
|
-
"storm-post-merge": "./hooks/post-merge",
|
|
37
|
-
"storm-pre-commit": "./hooks/pre-commit",
|
|
38
|
-
"storm-pre-push": "./hooks/pre-push"
|
|
34
|
+
"storm-post-checkout": "./hooks/post-checkout.cjs",
|
|
35
|
+
"storm-post-commit": "./hooks/post-commit.cjs",
|
|
36
|
+
"storm-post-merge": "./hooks/post-merge.cjs",
|
|
37
|
+
"storm-pre-commit": "./hooks/pre-commit.cjs",
|
|
38
|
+
"storm-pre-push": "./hooks/pre-push.cjs"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@commitlint/cli": "18.2.0",
|
package/hooks/post-checkout
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
|
|
3
|
-
changedFiles="$(git diff-tree -r --name-only --no-commit-id $1 $2)"
|
|
4
|
-
node @storm-software/git-tools/scripts/package-version-warning.cjs $changedFiles
|
|
5
|
-
|
|
6
|
-
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis 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.\n"; exit 2; }
|
|
7
|
-
git lfs post-checkout "$@"
|
package/hooks/post-commit
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
|
|
3
|
-
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis 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.\n"; exit 2; }
|
|
4
|
-
git lfs post-commit "$@"
|
|
5
|
-
|
package/hooks/post-merge
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
|
|
3
|
-
changedFiles="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)"
|
|
4
|
-
node @storm-software/git-tools/scripts/package-version-warning.cjs $changedFiles
|
|
5
|
-
|
|
6
|
-
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis 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-merge.\n"; exit 2; }
|
|
7
|
-
git lfs post-merge "$@"
|
package/hooks/pre-commit
DELETED
package/hooks/pre-push
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
|
|
3
|
-
node @storm-software/git-tools/scripts/check-lock-file.cjs
|
|
4
|
-
|
|
5
|
-
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis 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/pre-push.\n"; exit 2; }
|
|
6
|
-
git lfs pre-push "$@"
|