@kitschpatrol/mdat-config 5.0.4 → 5.0.6

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.
Files changed (2) hide show
  1. package/bin/cli.js +17 -12
  2. package/package.json +3 -3
package/bin/cli.js CHANGED
@@ -5541,14 +5541,14 @@ var Yargs = YargsFactory(esm_default);
5541
5541
  var yargs_default = Yargs;
5542
5542
 
5543
5543
  // ../../package.json
5544
- var version = "5.0.4";
5544
+ var version = "5.0.6";
5545
5545
 
5546
- // ../../src/execa-utils.ts
5546
+ // ../../src/execa-utilities.ts
5547
5547
  function isErrorExecaError(error) {
5548
5548
  return error instanceof Error && "exitCode" in error && typeof error.exitCode === "number";
5549
5549
  }
5550
5550
 
5551
- // ../../src/json-utils.ts
5551
+ // ../../src/json-utilities.ts
5552
5552
  import jsonColorizer from "@pinojs/json-colorizer";
5553
5553
 
5554
5554
  // ../../node_modules/.pnpm/decircular@1.0.0/node_modules/decircular/index.js
@@ -5573,7 +5573,7 @@ function decircular(object) {
5573
5573
  return internalDecircular(object);
5574
5574
  }
5575
5575
 
5576
- // ../../src/json-utils.ts
5576
+ // ../../src/json-utilities.ts
5577
5577
  var import_deepmerge = __toESM(require_cjs(), 1);
5578
5578
 
5579
5579
  // ../../node_modules/.pnpm/json-stringify-pretty-compact@4.0.0/node_modules/json-stringify-pretty-compact/index.js
@@ -5655,7 +5655,7 @@ ${currentIndent}`
5655
5655
  }(passedObj, "", 0);
5656
5656
  }
5657
5657
 
5658
- // ../../src/json-utils.ts
5658
+ // ../../src/json-utilities.ts
5659
5659
  function stringify2(object) {
5660
5660
  return jsonColorizer(
5661
5661
  stringify(decircular(object), {
@@ -5692,7 +5692,7 @@ function merge(destination, source, options = { arrayMerge: combineMerge }) {
5692
5692
  return (0, import_deepmerge.default)(destination, source, options);
5693
5693
  }
5694
5694
 
5695
- // ../../src/path-utils.ts
5695
+ // ../../src/path-utilities.ts
5696
5696
  import { findWorkspaces, findWorkspacesRoot } from "find-workspaces";
5697
5697
  import fse from "fs-extra";
5698
5698
  import path2 from "node:path";
@@ -5743,7 +5743,7 @@ function getCwdOverride(option) {
5743
5743
  return process.cwd();
5744
5744
  }
5745
5745
 
5746
- // ../../src/prettier-utils.ts
5746
+ // ../../src/prettier-utilities.ts
5747
5747
  import fs2 from "node:fs/promises";
5748
5748
  async function formatTextAndSaveFile(filePath, content) {
5749
5749
  try {
@@ -5766,7 +5766,7 @@ async function formatFileInPlace(filePath) {
5766
5766
  }
5767
5767
  }
5768
5768
 
5769
- // ../../src/stream-utils.ts
5769
+ // ../../src/stream-utilities.ts
5770
5770
  import { Transform } from "node:stream";
5771
5771
  function createStreamTransform(logPrefix, logColor) {
5772
5772
  return new Transform({
@@ -5794,7 +5794,7 @@ async function streamToString(stream) {
5794
5794
  });
5795
5795
  }
5796
5796
 
5797
- // ../../src/string-utils.ts
5797
+ // ../../src/string-utilities.ts
5798
5798
  function pluralize(text, quantity) {
5799
5799
  return quantity === 1 ? text : text + "s";
5800
5800
  }
@@ -5857,10 +5857,15 @@ async function executeCliCommand(logStream, positionalArguments, optionFlags, co
5857
5857
  try {
5858
5858
  const subprocess = execa(command2.name, resolvedArguments, {
5859
5859
  cwd,
5860
- env: process.env.NO_COLOR === void 0 ? {
5860
+ env: {
5861
+ // Use colorful output unless NO_COLOR is set
5861
5862
  // eslint-disable-next-line ts/naming-convention
5862
- FORCE_COLOR: "true"
5863
- } : {},
5863
+ ...process.env.NO_COLOR === void 0 ? { FORCE_COLOR: "true" } : {},
5864
+ // Quiet node for when processing *.config.ts files in Node 22
5865
+ // Suppress experimental type stripping warning with --no-warnings
5866
+ // eslint-disable-next-line ts/naming-convention
5867
+ NODE_OPTIONS: "--experimental-strip-types --disable-warning=ExperimentalWarning"
5868
+ },
5864
5869
  preferLocal: true,
5865
5870
  reject: false,
5866
5871
  // Prevents throwing on non-zero exit code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/mdat-config",
3
- "version": "5.0.4",
3
+ "version": "5.0.6",
4
4
  "description": "MDAT configuration for @kitschpatrol/shared-config.",
5
5
  "keywords": [
6
6
  "shared-config",
@@ -49,10 +49,10 @@
49
49
  "find-workspaces": "^0.3.1",
50
50
  "fs-extra": "^11.3.0",
51
51
  "mdat": "^0.10.0",
52
- "prettier": "^3.4.2"
52
+ "prettier": "^3.5.2"
53
53
  },
54
54
  "engines": {
55
- "node": ">=22.0.0",
55
+ "node": ">=22.13.1",
56
56
  "pnpm": ">=10.0.0"
57
57
  },
58
58
  "publishConfig": {