@storm-software/git-tools 2.119.1 → 2.119.4

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 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
- [![Version](https://img.shields.io/badge/version-2.118.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![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 Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&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)
24
+ [![Version](https://img.shields.io/badge/version-2.119.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![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 Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&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)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/bin/git.cjs CHANGED
@@ -55,8 +55,8 @@ var execCommand_js = require('nx/src/command-line/release/utils/exec-command.js'
55
55
  var axios = require('axios');
56
56
  var DefaultChangelogRenderer = require('nx/release/changelog-renderer');
57
57
  var conventionalCommits = require('nx/src/command-line/release/config/conventional-commits');
58
- var jsYaml = require('js-yaml');
59
58
  var os = require('os');
59
+ var yaml = require('yaml');
60
60
 
61
61
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
62
62
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -3061,7 +3061,7 @@ async function resolveTokenData(hostname) {
3061
3061
  );
3062
3062
  if (fs$1.existsSync(ghCLIPath)) {
3063
3063
  const yamlContents = await fs$1.promises.readFile(ghCLIPath, "utf8");
3064
- const ghCLIConfig = jsYaml.load(yamlContents);
3064
+ const ghCLIConfig = yaml.parse(yamlContents);
3065
3065
  if (ghCLIConfig[hostname]) {
3066
3066
  if (ghCLIConfig[hostname].oauth_token) {
3067
3067
  return ghCLIConfig[hostname].oauth_token;
package/bin/git.js CHANGED
@@ -19,7 +19,7 @@ import { readCachedProjectGraph, createProjectGraphAsync as createProjectGraphAs
19
19
  import wrap from 'word-wrap';
20
20
  import Path, { join as join$1, extname } from 'node:path';
21
21
  import { createProjectGraphAsync, readProjectsConfigurationFromProjectGraph } from 'nx/src/project-graph/project-graph.js';
22
- import { parse, Syntax } from '@textlint/markdown-to-ast';
22
+ import { parse as parse$1, Syntax } from '@textlint/markdown-to-ast';
23
23
  import anchor from 'anchor-markdown-header';
24
24
  import { Parser } from 'htmlparser2';
25
25
  import _ from 'underscore';
@@ -55,8 +55,8 @@ import { execCommand } from 'nx/src/command-line/release/utils/exec-command.js';
55
55
  import axios from 'axios';
56
56
  import DefaultChangelogRenderer from 'nx/release/changelog-renderer';
57
57
  import { DEFAULT_CONVENTIONAL_COMMITS_CONFIG } from 'nx/src/command-line/release/config/conventional-commits';
58
- import { load } from 'js-yaml';
59
58
  import { homedir } from 'node:os';
59
+ import { parse } from 'yaml';
60
60
 
61
61
  function parseCargoToml(cargoString) {
62
62
  if (!cargoString) {
@@ -1442,7 +1442,7 @@ function getMarkdownHeaders(lines, maxHeaderLevel) {
1442
1442
  }
1443
1443
  }).join("");
1444
1444
  }
1445
- return parse(lines.join("\n")).children.filter(function(x) {
1445
+ return parse$1(lines.join("\n")).children.filter(function(x) {
1446
1446
  return x.type === Syntax.Header;
1447
1447
  }).map(function(x) {
1448
1448
  return !maxHeaderLevel || x.depth <= maxHeaderLevel ? { rank: x.depth, name: extractText(x), line: x.loc.start.line } : null;
@@ -1547,7 +1547,7 @@ function rankify(headers, max) {
1547
1547
  });
1548
1548
  }
1549
1549
  function getHtmlHeaders(lines, maxHeaderLevel) {
1550
- const source = parse(lines.join("\n")).children.filter(function(node) {
1550
+ const source = parse$1(lines.join("\n")).children.filter(function(node) {
1551
1551
  return node.type === Syntax.Html;
1552
1552
  }).map(function(node) {
1553
1553
  return node.raw;
@@ -3043,7 +3043,7 @@ async function resolveTokenData(hostname) {
3043
3043
  );
3044
3044
  if (existsSync$1(ghCLIPath)) {
3045
3045
  const yamlContents = await promises.readFile(ghCLIPath, "utf8");
3046
- const ghCLIConfig = load(yamlContents);
3046
+ const ghCLIConfig = parse(yamlContents);
3047
3047
  if (ghCLIConfig[hostname]) {
3048
3048
  if (ghCLIConfig[hostname].oauth_token) {
3049
3049
  return ghCLIConfig[hostname].oauth_token;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.119.1",
3
+ "version": "2.119.4",
4
4
  "type": "module",
5
5
  "description": "Tools for managing Git repositories within a Nx workspace.",
6
6
  "repository": {
@@ -177,37 +177,37 @@
177
177
  "@commitlint/ensure": "^19.8.1",
178
178
  "@commitlint/rules": "^19.8.1",
179
179
  "@inquirer/prompts": "7.2.1",
180
- "@nx/devkit": "catalog:",
181
- "@nx/js": "catalog:",
182
- "@storm-software/config": "workspace:*",
183
- "@storm-software/config-tools": "workspace:*",
180
+ "@nx/devkit": "^21.4.1",
181
+ "@nx/js": "^21.4.1",
182
+ "@storm-software/config": "^1.130.4",
183
+ "@storm-software/config-tools": "^1.183.5",
184
184
  "@textlint/ast-node-types": "14.4.2",
185
185
  "@textlint/markdown-to-ast": "14.4.2",
186
186
  "anchor-markdown-header": "0.7.0",
187
187
  "any-shell-escape": "0.1.1",
188
188
  "axios": "1.8.2",
189
- "chalk": "catalog:",
189
+ "chalk": "^4.1.2",
190
190
  "chalk-template": "1.1.0",
191
191
  "htmlparser2": "10.0.0",
192
- "js-yaml": "catalog:",
193
192
  "jsonc-parser": "3.2.1",
194
- "nx": "catalog:",
195
- "prettier": "catalog:",
193
+ "nx": "^21.4.1",
194
+ "prettier": "^3.5.1",
196
195
  "tsconfig-paths": "4.2.0",
197
196
  "underscore": "1.13.7",
198
197
  "update-section": "0.3.3",
199
198
  "word-wrap": "1.2.5",
200
- "zod": "catalog:"
199
+ "yaml": "^2.8.1",
200
+ "zod": "^4.0.2"
201
201
  },
202
202
  "devDependencies": {
203
- "@types/node": "catalog:",
204
- "commander": "catalog:",
203
+ "@types/node": "^22.10.2",
204
+ "commander": "^12.1.0",
205
205
  "conventional-commits-parser": "^6.2.0",
206
- "defu": "catalog:",
206
+ "defu": "6.1.4",
207
207
  "semver": "7.6.2",
208
208
  "simple-git": "^3.28.0",
209
- "tsup": "catalog:"
209
+ "tsup": "8.4.0"
210
210
  },
211
211
  "publishConfig": { "access": "public" },
212
- "gitHead": "ba051503514612b8e75fa46cc0fe6f95b12898b0"
212
+ "gitHead": "ee2be672dff8773062977876c5388bb5ea6dcde2"
213
213
  }