@storm-software/git-tools 1.17.4 → 1.18.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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [1.18.0](https://github.com/storm-software/storm-ops/compare/git-tools-v1.17.4...git-tools-v1.18.0) (2023-12-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * **config-tools:** Added the `findWorkspaceRootSync` and `findWorkspaceRootSafeSync` functions ([59e0ee4](https://github.com/storm-software/storm-ops/commit/59e0ee4779a15752fb035d235b929bb3e8ecc974))
7
+
8
+ ## [1.17.4](https://github.com/storm-software/storm-ops/compare/git-tools-v1.17.3...git-tools-v1.17.4) (2023-12-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **config-tools:** Remove unused dependencies ([ef00034](https://github.com/storm-software/storm-ops/commit/ef00034e8a79b81147056ee32a12eaa991a0d4f3))
14
+
1
15
  ## [1.17.3](https://github.com/storm-software/storm-ops/compare/git-tools-v1.17.2...git-tools-v1.17.3) (2023-12-20)
2
16
 
3
17
 
package/README.md CHANGED
@@ -16,7 +16,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
16
16
 
17
17
  <h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
18
18
 
19
- [![Version](https://img.shields.io/badge/version-1.17.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
19
+ [![Version](https://img.shields.io/badge/version-1.17.4-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
20
20
  [![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
21
21
 
22
22
  <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 />
@@ -21,13 +21,18 @@ try {
21
21
 
22
22
  const changed = execSync(
23
23
  "git diff-tree -r --name-only --no-commit-id $1 $2",
24
- "utf8"
24
+ { encoding: "utf8", env: { ...process.env }, windowsHide: true }
25
25
  );
26
26
  execSync(
27
- `node @storm-software/git-tools/scripts/package-version-warning.cjs ${changed}`
27
+ `node @storm-software/git-tools/scripts/package-version-warning.cjs ${changed}`,
28
+ { encoding: "utf8", env: { ...process.env }, windowsHide: true }
28
29
  );
29
30
 
30
- const result = execSync("git-lfs -v", "utf8");
31
+ const result = execSync("git-lfs -v", {
32
+ encoding: "utf8",
33
+ env: { ...process.env },
34
+ windowsHide: true
35
+ });
31
36
  if (result && Number.isInteger(Number.parseInt(result)) && Number(result)) {
32
37
  console.error(
33
38
  `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: ${result}`
@@ -35,7 +40,11 @@ try {
35
40
  process.exit(1);
36
41
  }
37
42
 
38
- execSync("git lfs post-checkout origin main");
43
+ execSync("git lfs post-checkout origin main", {
44
+ encoding: "utf8",
45
+ env: { ...process.env },
46
+ windowsHide: true
47
+ });
39
48
  } catch (e) {
40
49
  console.error(e);
41
50
  process.exit(1);
@@ -19,7 +19,11 @@ try {
19
19
  });
20
20
  });
21
21
 
22
- const result = execSync("git-lfs -v", "utf8");
22
+ const result = execSync("git-lfs -v", {
23
+ encoding: "utf8",
24
+ env: { ...process.env },
25
+ windowsHide: true
26
+ });
23
27
  if (result && Number.isInteger(Number.parseInt(result)) && Number(result)) {
24
28
  console.error(
25
29
  `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: ${result}`
@@ -27,7 +31,11 @@ try {
27
31
  process.exit(1);
28
32
  }
29
33
 
30
- execSync("git lfs post-commit origin main");
34
+ execSync("git lfs post-commit origin main", {
35
+ encoding: "utf8",
36
+ env: { ...process.env },
37
+ windowsHide: true
38
+ });
31
39
  } catch (e) {
32
40
  console.error(e);
33
41
  process.exit(1);
@@ -21,13 +21,18 @@ try {
21
21
 
22
22
  const changed = execSync(
23
23
  "git diff-tree -r --name-only --no-commit-id $1 $2",
24
- "utf8"
24
+ { encoding: "utf8", env: { ...process.env }, windowsHide: true }
25
25
  );
26
26
  execSync(
27
- `node @storm-software/git-tools/scripts/package-version-warning.cjs ${changed}`
27
+ `node @storm-software/git-tools/scripts/package-version-warning.cjs ${changed}`,
28
+ { encoding: "utf8", env: { ...process.env }, windowsHide: true }
28
29
  );
29
30
 
30
- const result = execSync("git-lfs -v", "utf8");
31
+ const result = execSync("git-lfs -v", {
32
+ encoding: "utf8",
33
+ env: { ...process.env },
34
+ windowsHide: true
35
+ });
31
36
  if (result && Number.isInteger(Number.parseInt(result)) && Number(result)) {
32
37
  console.error(
33
38
  `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-merge.\nError: ${result}`
@@ -35,7 +40,11 @@ try {
35
40
  process.exit(1);
36
41
  }
37
42
 
38
- execSync("git lfs post-merge origin main");
43
+ execSync("git lfs post-merge origin main", {
44
+ encoding: "utf8",
45
+ env: { ...process.env },
46
+ windowsHide: true
47
+ });
39
48
  } catch (e) {
40
49
  console.error(e);
41
50
  process.exit(1);
@@ -20,9 +20,14 @@ try {
20
20
  });
21
21
 
22
22
  execSync(
23
- 'pnpm lint-staged --concurrent false --config="@storm-software/git-tools/lint-staged/config.cjs"'
23
+ 'pnpm lint-staged --config="@storm-software/git-tools/lint-staged/config.cjs"',
24
+ { encoding: "utf8", env: { ...process.env }, windowsHide: true }
24
25
  );
25
- execSync("pnpm test");
26
+ execSync("pnpm test", {
27
+ encoding: "utf8",
28
+ env: { ...process.env },
29
+ windowsHide: true
30
+ });
26
31
  } catch (e) {
27
32
  console.error(e);
28
33
  process.exit(1);
package/bin/pre-push.cjs CHANGED
@@ -57,7 +57,11 @@ try {
57
57
 
58
58
  console.log("Lock file is valid 👍");
59
59
 
60
- const result = execSync("git-lfs -v", "utf8");
60
+ const result = execSync("git-lfs -v", {
61
+ encoding: "utf8",
62
+ env: { ...process.env },
63
+ windowsHide: true
64
+ });
61
65
  if (result && Number.isInteger(Number.parseInt(result)) && Number(result)) {
62
66
  console.error(
63
67
  `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/pre-push.\nError: ${result}`
@@ -65,7 +69,11 @@ try {
65
69
  process.exit(1);
66
70
  }
67
71
 
68
- execSync("git lfs pre-push origin main");
72
+ execSync("git lfs pre-push origin main", {
73
+ encoding: "utf8",
74
+ env: { ...process.env },
75
+ windowsHide: true
76
+ });
69
77
  } catch (e) {
70
78
  console.error(e);
71
79
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "1.17.4",
3
+ "version": "1.18.1",
4
4
  "private": false,
5
5
  "description": "⚡ A package containing various git tools used in Storm workspaces.",
6
6
  "keywords": [