@kitschpatrol/typescript-config 5.0.3 → 5.0.5

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/cli.js CHANGED
@@ -5541,7 +5541,7 @@ var Yargs = YargsFactory(esm_default);
5541
5541
  var yargs_default = Yargs;
5542
5542
 
5543
5543
  // ../../package.json
5544
- var version = "5.0.3";
5544
+ var version = "5.0.5";
5545
5545
 
5546
5546
  // ../../src/execa-utils.ts
5547
5547
  function isErrorExecaError(error) {
@@ -5840,10 +5840,15 @@ async function executeCliCommand(logStream, positionalArguments, optionFlags, co
5840
5840
  try {
5841
5841
  const subprocess = execa(command2.name, resolvedArguments, {
5842
5842
  cwd,
5843
- env: process.env.NO_COLOR === void 0 ? {
5843
+ env: {
5844
+ // Use colorful output unless NO_COLOR is set
5844
5845
  // eslint-disable-next-line ts/naming-convention
5845
- FORCE_COLOR: "true"
5846
- } : {},
5846
+ ...process.env.NO_COLOR === void 0 ? { FORCE_COLOR: "true" } : {},
5847
+ // Quiet node for when processing *.config.ts files in Node 22
5848
+ // Suppress experimental type stripping warning with --no-warnings
5849
+ // eslint-disable-next-line ts/naming-convention
5850
+ NODE_OPTIONS: "--experimental-strip-types --disable-warning=ExperimentalWarning"
5851
+ },
5847
5852
  preferLocal: true,
5848
5853
  reject: false,
5849
5854
  // Prevents throwing on non-zero exit code
@@ -1,4 +1,4 @@
1
1
  {
2
- "typescript.tsdk": "node_modules/typescript/lib",
3
- "typescript.enablePromptUseWorkspaceTsdk": true
2
+ "typescript.enablePromptUseWorkspaceTsdk": true,
3
+ "typescript.tsdk": "node_modules/typescript/lib"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/typescript-config",
3
- "version": "5.0.3",
3
+ "version": "5.0.5",
4
4
  "description": "TypeScript configuration for @kitschpatrol/shared-config.",
5
5
  "keywords": [
6
6
  "shared-config",
@@ -10,10 +10,11 @@
10
10
  "kpi",
11
11
  "kpi-typescript"
12
12
  ],
13
+ "homepage": "https://github.com/kitschpatrol/shared-config/tree/main/packages/typescript-config",
13
14
  "bugs": "https://github.com/kitschpatrol/shared-config/issues",
14
15
  "repository": {
15
16
  "type": "git",
16
- "url": "git+https://github.com/kitschpatrol/shared-config/cli.git",
17
+ "url": "git+https://github.com/kitschpatrol/shared-config.git",
17
18
  "directory": "packages/typescript-config"
18
19
  },
19
20
  "license": "MIT",
@@ -40,13 +41,13 @@
40
41
  "execa": "^9.5.2",
41
42
  "find-workspaces": "^0.3.1",
42
43
  "fs-extra": "^11.3.0",
43
- "prettier": "^3.4.2"
44
+ "prettier": "^3.5.0"
44
45
  },
45
46
  "peerDependencies": {
46
47
  "typescript": "~5.7.3"
47
48
  },
48
49
  "engines": {
49
- "node": ">=22.0.0",
50
+ "node": ">=22.13.1",
50
51
  "pnpm": ">=10.0.0"
51
52
  },
52
53
  "publishConfig": {
package/readme.md CHANGED
@@ -25,7 +25,7 @@ It's a shared [TypeScript](https://www.typescriptlang.org/) `tsconfig.json` conf
25
25
 
26
26
  <!-- recommendation -->
27
27
 
28
- > [!Important]
28
+ > [!IMPORTANT]
29
29
  >
30
30
  > **You can use this package on its own, but it's recommended to use [`@kitschpatrol/shared-config`](https://www.npmjs.com/package/@kitschpatrol/shared-config) instead for a single-dependency and single-package approach to linting and fixing your project.**
31
31
  >
@@ -35,7 +35,7 @@ It's a shared [TypeScript](https://www.typescriptlang.org/) `tsconfig.json` conf
35
35
 
36
36
  ## Setup
37
37
 
38
- > [!Note]
38
+ > [!NOTE]
39
39
  >
40
40
  > The package treats `typescript` as a peer dependency — it expects you to have `typescript` installed in your project.
41
41