@storm-software/config-tools 1.188.10 → 1.188.12

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-1.188.8-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-1.188.10-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/config.cjs CHANGED
@@ -1449,11 +1449,11 @@ function createProgram() {
1449
1449
  }
1450
1450
  const program = new import_commander.Command("storm-config");
1451
1451
  program.version("1.0.0", "-v --version", "display CLI version");
1452
- const directory = new import_commander.Option(
1452
+ program.command("view", { isDefault: true }).description("View the current Storm configuration for the workspace.").option(
1453
1453
  "-d --dir <path>",
1454
- "A directory that exists inside the workspace root"
1455
- ).default(process.cwd());
1456
- program.command("view", { isDefault: true }).description("View the current Storm configuration for the workspace.").addOption(directory).action(viewAction);
1454
+ "A directory that exists inside the workspace root",
1455
+ process.cwd()
1456
+ ).action(viewAction);
1457
1457
  return program;
1458
1458
  }
1459
1459
  async function viewAction({ dir }) {
package/bin/config.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  // bin/config.ts
4
4
  import chalk2 from "chalk";
5
- import { Command, Option } from "commander";
5
+ import { Command } from "commander";
6
6
 
7
7
  // src/create-storm-config.ts
8
8
  import { workspaceConfigSchema } from "@storm-software/config/schema";
@@ -1424,11 +1424,11 @@ function createProgram() {
1424
1424
  }
1425
1425
  const program = new Command("storm-config");
1426
1426
  program.version("1.0.0", "-v --version", "display CLI version");
1427
- const directory = new Option(
1427
+ program.command("view", { isDefault: true }).description("View the current Storm configuration for the workspace.").option(
1428
1428
  "-d --dir <path>",
1429
- "A directory that exists inside the workspace root"
1430
- ).default(process.cwd());
1431
- program.command("view", { isDefault: true }).description("View the current Storm configuration for the workspace.").addOption(directory).action(viewAction);
1429
+ "A directory that exists inside the workspace root",
1430
+ process.cwd()
1431
+ ).action(viewAction);
1432
1432
  return program;
1433
1433
  }
1434
1434
  async function viewAction({ dir }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config-tools",
3
- "version": "1.188.10",
3
+ "version": "1.188.12",
4
4
  "type": "module",
5
5
  "description": "A package containing various utilities to support custom workspace configurations and environment management for Storm Software projects, including configuration file handling, environment variable management, and logging utilities.",
6
6
  "repository": {
@@ -211,7 +211,7 @@
211
211
  ],
212
212
  "dependencies": {
213
213
  "@ltd/j-toml": "1.38.0",
214
- "@storm-software/config": "^1.134.10",
214
+ "@storm-software/config": "^1.134.12",
215
215
  "c12": "^2.0.0-beta.2",
216
216
  "chalk": "^4.1.2",
217
217
  "commander": "^12.1.0",
@@ -224,5 +224,5 @@
224
224
  "devDependencies": { "@types/node": "^22.10.2", "tsup": "8.4.0" },
225
225
  "publishConfig": { "access": "public" },
226
226
  "sideEffects": false,
227
- "gitHead": "1b898cb7ca97636d6865fdc0356f6b50b901e378"
227
+ "gitHead": "f8f8eb9bb43ef672370e0dfcba1cf80f7e009934"
228
228
  }