@storm-software/git-tools 2.124.62 → 2.124.64
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/bin/{chunk-EGBAPP6Q.cjs → chunk-GU6JHGME.cjs} +56 -4
- package/bin/chunk-GU6JHGME.cjs.map +1 -0
- package/bin/{chunk-X6QPG2T4.js → chunk-SAG2FKFE.js} +56 -5
- package/bin/chunk-SAG2FKFE.js.map +1 -0
- package/bin/git.cjs +82 -79
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +10 -7
- package/bin/git.js.map +1 -1
- package/bin/post-checkout.cjs +9 -9
- package/bin/post-checkout.js +1 -1
- package/bin/post-commit.cjs +9 -9
- package/bin/post-commit.js +1 -1
- package/bin/post-merge.cjs +9 -9
- package/bin/post-merge.js +1 -1
- package/bin/pre-commit.cjs +9 -9
- package/bin/pre-commit.js +1 -1
- package/bin/pre-install.cjs +9 -9
- package/bin/pre-install.js +1 -1
- package/bin/pre-push.cjs +13 -13
- package/bin/pre-push.js +1 -1
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +1 -1
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/dist/{chunk-NKCUBWZU.cjs → chunk-7W6KKQAE.cjs} +1 -1
- package/dist/{chunk-RVPCQYBR.js → chunk-LCKUTJW7.js} +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.js +1 -1
- package/dist/release/config.cjs +8 -8
- package/dist/release/config.js +1 -1
- package/package.json +5 -5
- package/bin/chunk-EGBAPP6Q.cjs.map +0 -1
- package/bin/chunk-X6QPG2T4.js.map +0 -1
package/bin/git.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import './chunk-Q3DQKTOI.js';
|
|
3
3
|
import { run } from './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, isVerbose, writeWarning, defu, writeTrace, STORM_DEFAULT_RELEASE_BANNER } from './chunk-
|
|
4
|
+
import { getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, brandIcon, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, isVerbose, writeWarning, defu, writeTrace, STORM_DEFAULT_RELEASE_BANNER } from './chunk-SAG2FKFE.js';
|
|
5
5
|
import TOML from '@ltd/j-toml';
|
|
6
6
|
import { Command } from 'commander';
|
|
7
7
|
import '@inquirer/checkbox';
|
|
@@ -1295,7 +1295,7 @@ async function runCommit(commitizenFile, dryRun = false) {
|
|
|
1295
1295
|
console.log(chalkTemplate`
|
|
1296
1296
|
{bold.#999999 ----------------------------------------}
|
|
1297
1297
|
|
|
1298
|
-
{bold.#FFFFFF
|
|
1298
|
+
{bold.#FFFFFF ${brandIcon(workspaceConfig)} Storm Software Git-Tools - Commit}
|
|
1299
1299
|
{#CCCCCC Please provide the requested details below...}
|
|
1300
1300
|
`);
|
|
1301
1301
|
state.answers = await askQuestions(state);
|
|
@@ -3838,7 +3838,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
|
|
|
3838
3838
|
var _config = {};
|
|
3839
3839
|
function createProgram(config5) {
|
|
3840
3840
|
_config = config5;
|
|
3841
|
-
writeInfo(
|
|
3841
|
+
writeInfo(`${brandIcon(_config)} Running Storm Git Tools`, config5);
|
|
3842
3842
|
const root = findWorkspaceRootSafe(process.cwd());
|
|
3843
3843
|
process.env.STORM_WORKSPACE_ROOT ??= root;
|
|
3844
3844
|
process.env.NX_WORKSPACE_ROOT_PATH ??= root;
|
|
@@ -3880,7 +3880,7 @@ async function commitAction({
|
|
|
3880
3880
|
}) {
|
|
3881
3881
|
try {
|
|
3882
3882
|
writeInfo(
|
|
3883
|
-
|
|
3883
|
+
`${brandIcon(config5)} Preparing to commit your changes. Please provide the requested details below...`,
|
|
3884
3884
|
_config
|
|
3885
3885
|
);
|
|
3886
3886
|
await runCommit(config5, dryRun);
|
|
@@ -3907,7 +3907,10 @@ Please fix any errors and try committing again.`,
|
|
|
3907
3907
|
}
|
|
3908
3908
|
async function readmeAction(options) {
|
|
3909
3909
|
try {
|
|
3910
|
-
writeInfo(
|
|
3910
|
+
writeInfo(
|
|
3911
|
+
`${brandIcon(_config)} Formatting the workspace's README.md files`,
|
|
3912
|
+
_config
|
|
3913
|
+
);
|
|
3911
3914
|
await runReadme(options);
|
|
3912
3915
|
writeSuccess(
|
|
3913
3916
|
"Formatting of the workspace's README.md files is complete\n",
|
|
@@ -3930,7 +3933,7 @@ async function releaseAction({
|
|
|
3930
3933
|
}) {
|
|
3931
3934
|
try {
|
|
3932
3935
|
writeInfo(
|
|
3933
|
-
|
|
3936
|
+
`${brandIcon(_config)} Running the Storm Release and Publish process on the workspace`,
|
|
3934
3937
|
_config
|
|
3935
3938
|
);
|
|
3936
3939
|
await runRelease(_config, {
|
|
@@ -3956,7 +3959,7 @@ Stacktrace: ${error.stack}` : ""}`,
|
|
|
3956
3959
|
async function commitLintAction(options) {
|
|
3957
3960
|
try {
|
|
3958
3961
|
writeInfo(
|
|
3959
|
-
|
|
3962
|
+
`${brandIcon(_config)} Linting the ${_config.repository ? _config.repository : _config.namespace ? _config.namespace : _config.name ? _config.name : typeof _config.organization === "string" ? _config.organization : _config.organization?.name ? _config.organization?.name : "Storm-Software"} repository's commit messages.`,
|
|
3960
3963
|
_config
|
|
3961
3964
|
);
|
|
3962
3965
|
await runCommitLint(_config, options);
|