@storm-software/git-tools 1.2.8 → 1.2.9
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/README.md +1 -1
- package/hooks/post-checkout +7 -0
- package/hooks/post-commit +5 -0
- package/hooks/post-merge +7 -0
- package/hooks/pre-commit +4 -0
- package/hooks/pre-push +6 -0
- package/lint-staged/config.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.2.8](https://github.com/storm-software/storm-ops/compare/git-tools-v1.2.7...git-tools-v1.2.8) (2023-11-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **git-tools:** Resolved issue with semantic release plugin path default ([d7eea90](https://github.com/storm-software/storm-ops/commit/d7eea9024787edde8672482c29cba93cd50408b2))
|
|
7
|
+
|
|
1
8
|
## [1.2.7](https://github.com/storm-software/storm-ops/compare/git-tools-v1.2.6...git-tools-v1.2.7) (2023-11-09)
|
|
2
9
|
|
|
3
10
|
|
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,7 @@
|
|
|
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.js $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 "$@"
|
|
@@ -0,0 +1,5 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
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.js $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
ADDED
package/hooks/pre-push
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
node @storm-software/git-tools/scripts/check-lock-file.js
|
|
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 "$@"
|
package/lint-staged/config.js
CHANGED
|
@@ -29,7 +29,7 @@ module.exports = {
|
|
|
29
29
|
|
|
30
30
|
return [`git add ${escapedFileNames}`];
|
|
31
31
|
},
|
|
32
|
-
"**/*.{js,jsx,ts,tsx,json,css,scss,md,mdx,yml,yaml,graphql,html,prisma,
|
|
32
|
+
"**/*.{js,jsx,ts,tsx,json,css,scss,md,mdx,yml,yaml,graphql,html,prisma,acid,acidic}":
|
|
33
33
|
fileNames => {
|
|
34
34
|
const escapedFileNames = fileNames
|
|
35
35
|
.map(filename => (isWin ? filename : escape(filename)))
|