@kitschpatrol/stylelint-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";
@@ -5733,7 +5733,7 @@ function getCwdOverride(option) {
5733
5733
  return process.cwd();
5734
5734
  }
5735
5735
 
5736
- // ../../src/prettier-utils.ts
5736
+ // ../../src/prettier-utilities.ts
5737
5737
  import fs2 from "node:fs/promises";
5738
5738
  async function formatTextAndSaveFile(filePath, content) {
5739
5739
  try {
@@ -5756,7 +5756,7 @@ async function formatFileInPlace(filePath) {
5756
5756
  }
5757
5757
  }
5758
5758
 
5759
- // ../../src/stream-utils.ts
5759
+ // ../../src/stream-utilities.ts
5760
5760
  import { Transform } from "node:stream";
5761
5761
  function createStreamTransform(logPrefix, logColor) {
5762
5762
  return new Transform({
@@ -5784,7 +5784,7 @@ async function streamToString(stream) {
5784
5784
  });
5785
5785
  }
5786
5786
 
5787
- // ../../src/string-utils.ts
5787
+ // ../../src/string-utilities.ts
5788
5788
  function pluralize(text, quantity) {
5789
5789
  return quantity === 1 ? text : text + "s";
5790
5790
  }
@@ -5847,10 +5847,15 @@ async function executeCliCommand(logStream, positionalArguments, optionFlags, co
5847
5847
  try {
5848
5848
  const subprocess = execa(command2.name, resolvedArguments, {
5849
5849
  cwd,
5850
- env: process.env.NO_COLOR === void 0 ? {
5850
+ env: {
5851
+ // Use colorful output unless NO_COLOR is set
5851
5852
  // eslint-disable-next-line ts/naming-convention
5852
- FORCE_COLOR: "true"
5853
- } : {},
5853
+ ...process.env.NO_COLOR === void 0 ? { FORCE_COLOR: "true" } : {},
5854
+ // Quiet node for when processing *.config.ts files in Node 22
5855
+ // Suppress experimental type stripping warning with --no-warnings
5856
+ // eslint-disable-next-line ts/naming-convention
5857
+ NODE_OPTIONS: "--experimental-strip-types --disable-warning=ExperimentalWarning"
5858
+ },
5854
5859
  preferLocal: true,
5855
5860
  reject: false,
5856
5861
  // Prevents throwing on non-zero exit code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/stylelint-config",
3
- "version": "5.0.4",
3
+ "version": "5.0.6",
4
4
  "description": "Stylelint configuration for @kitschpatrol/shared-config.",
5
5
  "keywords": [
6
6
  "stylelint-config",
@@ -45,14 +45,14 @@
45
45
  "execa": "^9.5.2",
46
46
  "find-workspaces": "^0.3.1",
47
47
  "fs-extra": "^11.3.0",
48
- "prettier": "^3.4.2",
48
+ "prettier": "^3.5.2",
49
49
  "stylelint": "^16.14.1",
50
50
  "stylelint-config-clean-order": "^7.0.0",
51
51
  "stylelint-config-html": "^1.1.0",
52
52
  "stylelint-config-standard": "^37.0.0"
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": {