@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/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-X6QPG2T4.js';
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 Storm Software Git-Tools - Commit}
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("\u26A1 Running Storm Git Tools", config5);
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
- `\u26A1 Preparing to commit your changes. Please provide the requested details below...`,
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("\u26A1 Formatting the workspace's README.md files", _config);
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
- "\u26A1 Running the Storm Release and Publish process on the workspace",
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
- `\u26A1 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.`,
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);