@storm-software/git-tools 2.118.0 → 2.119.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/README.md +1 -2
- package/bin/git.cjs +2 -2
- package/bin/git.js +2 -2
- package/package.json +15 -15
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 -->
|
|
@@ -40,7 +40,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
-
|
|
44
43
|
## Table of Contents
|
|
45
44
|
|
|
46
45
|
- [Storm Git Tools](#storm-git-tools)
|
package/bin/git.cjs
CHANGED
|
@@ -55,6 +55,7 @@ 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');
|
|
58
59
|
var os = require('os');
|
|
59
60
|
|
|
60
61
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
@@ -3060,8 +3061,7 @@ async function resolveTokenData(hostname) {
|
|
|
3060
3061
|
);
|
|
3061
3062
|
if (fs$1.existsSync(ghCLIPath)) {
|
|
3062
3063
|
const yamlContents = await fs$1.promises.readFile(ghCLIPath, "utf8");
|
|
3063
|
-
const
|
|
3064
|
-
const ghCLIConfig = load(yamlContents);
|
|
3064
|
+
const ghCLIConfig = jsYaml.load(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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { run } from './chunk-54Q5U5WW.js';
|
|
3
|
-
import { getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, defu, isVerbose, writeWarning, writeTrace,
|
|
3
|
+
import { getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, defu, isVerbose, writeWarning, writeTrace, STORM_DEFAULT_RELEASE_BANNER, __require } from './chunk-VATYGW5F.js';
|
|
4
4
|
import TOML from '@ltd/j-toml';
|
|
5
5
|
import { Command, Option } from 'commander';
|
|
6
6
|
import { select, confirm, input } from '@inquirer/prompts';
|
|
@@ -55,6 +55,7 @@ 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';
|
|
58
59
|
import { homedir } from 'node:os';
|
|
59
60
|
|
|
60
61
|
function parseCargoToml(cargoString) {
|
|
@@ -3042,7 +3043,6 @@ async function resolveTokenData(hostname) {
|
|
|
3042
3043
|
);
|
|
3043
3044
|
if (existsSync$1(ghCLIPath)) {
|
|
3044
3045
|
const yamlContents = await promises.readFile(ghCLIPath, "utf8");
|
|
3045
|
-
const { load } = __require("@zkochan/js-yaml");
|
|
3046
3046
|
const ghCLIConfig = load(yamlContents);
|
|
3047
3047
|
if (ghCLIConfig[hostname]) {
|
|
3048
3048
|
if (ghCLIConfig[hostname].oauth_token) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/git-tools",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.119.1",
|
|
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": "
|
|
181
|
-
"@nx/js": "
|
|
182
|
-
"@storm-software/config": "
|
|
183
|
-
"@storm-software/config-tools": "
|
|
180
|
+
"@nx/devkit": "catalog:",
|
|
181
|
+
"@nx/js": "catalog:",
|
|
182
|
+
"@storm-software/config": "workspace:*",
|
|
183
|
+
"@storm-software/config-tools": "workspace:*",
|
|
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": "
|
|
189
|
+
"chalk": "catalog:",
|
|
190
190
|
"chalk-template": "1.1.0",
|
|
191
191
|
"htmlparser2": "10.0.0",
|
|
192
|
+
"js-yaml": "catalog:",
|
|
192
193
|
"jsonc-parser": "3.2.1",
|
|
193
|
-
"nx": "
|
|
194
|
-
"prettier": "
|
|
195
|
-
"read-yaml-file": "2.1.0",
|
|
194
|
+
"nx": "catalog:",
|
|
195
|
+
"prettier": "catalog:",
|
|
196
196
|
"tsconfig-paths": "4.2.0",
|
|
197
197
|
"underscore": "1.13.7",
|
|
198
198
|
"update-section": "0.3.3",
|
|
199
199
|
"word-wrap": "1.2.5",
|
|
200
|
-
"zod": "
|
|
200
|
+
"zod": "catalog:"
|
|
201
201
|
},
|
|
202
202
|
"devDependencies": {
|
|
203
|
-
"@types/node": "
|
|
204
|
-
"commander": "
|
|
203
|
+
"@types/node": "catalog:",
|
|
204
|
+
"commander": "catalog:",
|
|
205
205
|
"conventional-commits-parser": "^6.2.0",
|
|
206
|
-
"defu": "
|
|
206
|
+
"defu": "catalog:",
|
|
207
207
|
"semver": "7.6.2",
|
|
208
208
|
"simple-git": "^3.28.0",
|
|
209
|
-
"tsup": "
|
|
209
|
+
"tsup": "catalog:"
|
|
210
210
|
},
|
|
211
211
|
"publishConfig": { "access": "public" },
|
|
212
|
-
"gitHead": "
|
|
212
|
+
"gitHead": "ba051503514612b8e75fa46cc0fe6f95b12898b0"
|
|
213
213
|
}
|