@visulima/tsconfig 1.1.23 → 2.0.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,35 @@
1
+ ## @visulima/tsconfig [2.0.0](https://github.com/visulima/visulima/compare/@visulima/tsconfig@1.2.0...@visulima/tsconfig@2.0.0) (2025-10-15)
2
+
3
+ ### ⚠ BREAKING CHANGES
4
+
5
+ * Adjusted the node engine requirement to support versions 20.19 and above.
6
+
7
+ ### Bug Fixes
8
+
9
+ * Adjusted the node engine requirement to support versions 20.19 and above. ([1719cc3](https://github.com/visulima/visulima/commit/1719cc3104d67cfaeb15b49fc9e4538ad320c283))
10
+ * update @visulima/packem to 2.0.0-alpha.30 across multiple packages for improved compatibility ([27b346e](https://github.com/visulima/visulima/commit/27b346eaa1c0fb0e420d9a9824482028307f4249))
11
+
12
+ ### Miscellaneous Chores
13
+
14
+ * add runtime configuration for Node.js in packem.config.ts ([0371420](https://github.com/visulima/visulima/commit/0371420f21d23bf2acbfd25b26426474bf606262))
15
+ * enhance linting commands and update configuration files ([b3200db](https://github.com/visulima/visulima/commit/b3200db7f914d60e2a149f2eb7e4521588455ba4))
16
+ * **tsconfig:** remove unused ESLint plugins and configuration settings from package.json ([906e9e6](https://github.com/visulima/visulima/commit/906e9e6aba57cf0a0129ef97ecbec69a3f446445))
17
+ * update package dependencies across multiple packages for improved compatibility and performance ([9567591](https://github.com/visulima/visulima/commit/9567591c415da3002f3a4fe08f8caf7ce01ca5f7))
18
+ * update type-fest dependency and adjust package configurations ([e8a1d89](https://github.com/visulima/visulima/commit/e8a1d8969f5e15f9323b1ca2a4bcff1beb8446fb))
19
+ * update type-fest dependency in package.json for inspector and tsconfig ([3a44850](https://github.com/visulima/visulima/commit/3a4485048b4a1ab760d0f05d49cde95c40b82652))
20
+
21
+
22
+ ### Dependencies
23
+
24
+ * **@visulima/fs:** upgraded to 4.0.0
25
+ * **@visulima/path:** upgraded to 2.0.0
26
+
27
+ ## @visulima/tsconfig [1.2.0](https://github.com/visulima/visulima/compare/@visulima/tsconfig@1.1.23...@visulima/tsconfig@1.2.0) (2025-09-24)
28
+
29
+ ### Features
30
+
31
+ * **tsconfig:** added support for typescript 5.9 ([b107d4e](https://github.com/visulima/visulima/commit/b107d4ee8a1f6df34e8613b08a377786283c9ff0))
32
+
1
33
  ## @visulima/tsconfig [1.1.23](https://github.com/visulima/visulima/compare/@visulima/tsconfig@1.1.22...@visulima/tsconfig@1.1.23) (2025-09-23)
2
34
 
3
35
  ### Miscellaneous Chores
package/README.md CHANGED
@@ -101,7 +101,7 @@ const tsconfig = await readTsConfig("/Users/../Projects/visulima/packages/tsconf
101
101
  type TsConfigJson = object;
102
102
  ```
103
103
 
104
- Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1
104
+ Defined in: node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/tsconfig-json.d.ts:1
105
105
 
106
106
  Type for [TypeScript's `tsconfig.json` file](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) (TypeScript 3.7).
107
107
 
@@ -113,7 +113,7 @@ Type for [TypeScript's `tsconfig.json` file](https://www.typescriptlang.org/docs
113
113
  optional compileOnSave: boolean;
114
114
  ```
115
115
 
116
- Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1264
116
+ Defined in: node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/tsconfig-json.d.ts:1264
117
117
 
118
118
  Enable Compile-on-Save for this project.
119
119
 
@@ -123,7 +123,7 @@ Enable Compile-on-Save for this project.
123
123
  optional compilerOptions: CompilerOptions;
124
124
  ```
125
125
 
126
- Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1249
126
+ Defined in: node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/tsconfig-json.d.ts:1249
127
127
 
128
128
  Instructs the TypeScript compiler how to compile `.ts` files.
129
129
 
@@ -133,7 +133,7 @@ Instructs the TypeScript compiler how to compile `.ts` files.
133
133
  optional exclude: string[];
134
134
  ```
135
135
 
136
- Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1281
136
+ Defined in: node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/tsconfig-json.d.ts:1281
137
137
 
138
138
  Specifies a list of files to be excluded from compilation. The `exclude` property only affects the files included via the `include` property and not the `files` property.
139
139
 
@@ -145,7 +145,7 @@ Glob patterns require TypeScript version 2.0 or later.
145
145
  optional extends: string | string[];
146
146
  ```
147
147
 
148
- Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1269
148
+ Defined in: node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/tsconfig-json.d.ts:1269
149
149
 
150
150
  Path to base configuration file to inherit from.
151
151
 
@@ -155,7 +155,7 @@ Path to base configuration file to inherit from.
155
155
  optional files: string[];
156
156
  ```
157
157
 
158
- Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1274
158
+ Defined in: node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/tsconfig-json.d.ts:1274
159
159
 
160
160
  If no `files` or `include` property is present in a `tsconfig.json`, the compiler defaults to including all files in the containing directory and subdirectories except those specified by `exclude`. When a `files` property is specified, only those files and those specified by `include` are included.
161
161
 
@@ -165,7 +165,7 @@ If no `files` or `include` property is present in a `tsconfig.json`, the compile
165
165
  optional include: string[];
166
166
  ```
167
167
 
168
- Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1288
168
+ Defined in: node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/tsconfig-json.d.ts:1288
169
169
 
170
170
  Specifies a list of glob patterns that match files to be included in compilation.
171
171
 
@@ -177,7 +177,7 @@ If no `files` or `include` property is present in a `tsconfig.json`, the compile
177
177
  optional references: References[];
178
178
  ```
179
179
 
180
- Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1293
180
+ Defined in: node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/tsconfig-json.d.ts:1293
181
181
 
182
182
  Referenced projects.
183
183
 
@@ -187,7 +187,7 @@ Referenced projects.
187
187
  optional typeAcquisition: TypeAcquisition;
188
188
  ```
189
189
 
190
- Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1259
190
+ Defined in: node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/tsconfig-json.d.ts:1259
191
191
 
192
192
  Auto type (.d.ts) acquisition options for this project.
193
193
 
@@ -197,7 +197,7 @@ Auto type (.d.ts) acquisition options for this project.
197
197
  optional watchOptions: WatchOptions;
198
198
  ```
199
199
 
200
- Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1254
200
+ Defined in: node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/tsconfig-json.d.ts:1254
201
201
 
202
202
  Instructs the TypeScript compiler how to watch files.
203
203
 
@@ -209,7 +209,7 @@ Instructs the TypeScript compiler how to watch files.
209
209
  function findTsConfig(cwd?, options?): Promise<TsConfigResult>;
210
210
  ```
211
211
 
212
- Defined in: [packages/tsconfig/src/find-tsconfig.ts:30](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/find-tsconfig.ts#L30)
212
+ Defined in: [packages/tsconfig/src/find-tsconfig.ts:30](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/find-tsconfig.ts#L30)
213
213
 
214
214
  An asynchronous function that retrieves the TSConfig by searching for the "tsconfig.json" first,
215
215
  second attempt is to look for the "jsconfig.json" file from a given current working directory.
@@ -219,7 +219,7 @@ second attempt is to look for the "jsconfig.json" file from a given current work
219
219
  ##### cwd?
220
220
 
221
221
  Optional. The current working directory from which to search for the "tsconfig.json" file.
222
- The type of `cwd` is `string`.
222
+ The type of `cwd` is `string`.
223
223
 
224
224
  `string` | `URL`
225
225
 
@@ -232,13 +232,13 @@ Optional. The current working directory from which to search for the "tsconfig.j
232
232
  `Promise`\<[`TsConfigResult`](#tsconfigresult)\>
233
233
 
234
234
  A `Promise` that resolves to the TSConfig result object.
235
- The return type of the function is `Promise<TsConfigResult>`.
235
+ The return type of the function is `Promise<TsConfigResult>`.
236
236
 
237
237
  #### Throws
238
238
 
239
239
  An `Error` when the "tsconfig.json" file is not found.
240
240
 
241
- ***
241
+ ---
242
242
 
243
243
  ### findTsConfigSync()
244
244
 
@@ -246,7 +246,7 @@ An `Error` when the "tsconfig.json" file is not found.
246
246
  function findTsConfigSync(cwd?, options?): TsConfigResult;
247
247
  ```
248
248
 
249
- Defined in: [packages/tsconfig/src/find-tsconfig.ts:69](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/find-tsconfig.ts#L69)
249
+ Defined in: [packages/tsconfig/src/find-tsconfig.ts:69](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/find-tsconfig.ts#L69)
250
250
 
251
251
  #### Parameters
252
252
 
@@ -262,7 +262,7 @@ Defined in: [packages/tsconfig/src/find-tsconfig.ts:69](https://github.com/visul
262
262
 
263
263
  [`TsConfigResult`](#tsconfigresult)
264
264
 
265
- ***
265
+ ---
266
266
 
267
267
  ### readTsConfig()
268
268
 
@@ -270,7 +270,7 @@ Defined in: [packages/tsconfig/src/find-tsconfig.ts:69](https://github.com/visul
270
270
  function readTsConfig(tsconfigPath, options?): object;
271
271
  ```
272
272
 
273
- Defined in: [packages/tsconfig/src/read-tsconfig.ts:460](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/read-tsconfig.ts#L460)
273
+ Defined in: [packages/tsconfig/src/read-tsconfig.ts:460](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/read-tsconfig.ts#L460)
274
274
 
275
275
  #### Parameters
276
276
 
@@ -352,7 +352,7 @@ optional watchOptions: WatchOptions;
352
352
 
353
353
  Instructs the TypeScript compiler how to watch files.
354
354
 
355
- ***
355
+ ---
356
356
 
357
357
  ### writeTsConfig()
358
358
 
@@ -360,7 +360,7 @@ Instructs the TypeScript compiler how to watch files.
360
360
  function writeTsConfig(tsConfig, options): Promise<void>;
361
361
  ```
362
362
 
363
- Defined in: [packages/tsconfig/src/write-tsconfig.ts:17](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/write-tsconfig.ts#L17)
363
+ Defined in: [packages/tsconfig/src/write-tsconfig.ts:17](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/write-tsconfig.ts#L17)
364
364
 
365
365
  An asynchronous function that writes the provided TypeScript configuration object to a tsconfig.json file.
366
366
 
@@ -386,7 +386,7 @@ intersection type of `WriteOptions` and a Record type with an optional `cwd` key
386
386
  A `Promise` that resolves when the tsconfig.json file has been written.
387
387
  The return type of function is `Promise<void>`.
388
388
 
389
- ***
389
+ ---
390
390
 
391
391
  ### writeTsConfigSync()
392
392
 
@@ -394,7 +394,7 @@ The return type of function is `Promise<void>`.
394
394
  function writeTsConfigSync(tsConfig, options): void;
395
395
  ```
396
396
 
397
- Defined in: [packages/tsconfig/src/write-tsconfig.ts:35](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/write-tsconfig.ts#L35)
397
+ Defined in: [packages/tsconfig/src/write-tsconfig.ts:35](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/write-tsconfig.ts#L35)
398
398
 
399
399
  A function that writes the provided TypeScript configuration object to a tsconfig.json file.
400
400
 
@@ -420,7 +420,7 @@ intersection type of `WriteOptions` and a Record type with an optional `cwd` key
420
420
  A `Promise` that resolves when the tsconfig.json file has been written.
421
421
  The return type of function is `Promise<void>`.
422
422
 
423
- ***
423
+ ---
424
424
 
425
425
  ### implicitBaseUrlSymbol
426
426
 
@@ -428,9 +428,9 @@ The return type of function is `Promise<void>`.
428
428
  const implicitBaseUrlSymbol: typeof implicitBaseUrlSymbol;
429
429
  ```
430
430
 
431
- Defined in: [packages/tsconfig/src/read-tsconfig.ts:457](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/read-tsconfig.ts#L457)
431
+ Defined in: [packages/tsconfig/src/read-tsconfig.ts:457](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/read-tsconfig.ts#L457)
432
432
 
433
- ***
433
+ ---
434
434
 
435
435
  ### FindTsConfigOptions
436
436
 
@@ -438,14 +438,14 @@ Defined in: [packages/tsconfig/src/read-tsconfig.ts:457](https://github.com/visu
438
438
  type FindTsConfigOptions = ReadTsConfigOptions & object;
439
439
  ```
440
440
 
441
- Defined in: [packages/tsconfig/src/find-tsconfig.ts:10](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/find-tsconfig.ts#L10)
441
+ Defined in: [packages/tsconfig/src/find-tsconfig.ts:10](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/find-tsconfig.ts#L10)
442
442
 
443
443
  #### Type declaration
444
444
 
445
445
  ##### cache?
446
446
 
447
447
  ```ts
448
- optional cache:
448
+ optional cache:
449
449
  | Map<string, TsConfigJsonResolved>
450
450
  | boolean;
451
451
  ```
@@ -456,7 +456,7 @@ optional cache:
456
456
  optional configFileName: string;
457
457
  ```
458
458
 
459
- ***
459
+ ---
460
460
 
461
461
  ### ReadTsConfigOptions
462
462
 
@@ -464,7 +464,7 @@ optional configFileName: string;
464
464
  type ReadTsConfigOptions = object;
465
465
  ```
466
466
 
467
- Defined in: [packages/tsconfig/src/read-tsconfig.ts:444](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/read-tsconfig.ts#L444)
467
+ Defined in: [packages/tsconfig/src/read-tsconfig.ts:444](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/read-tsconfig.ts#L444)
468
468
 
469
469
  #### Properties
470
470
 
@@ -474,7 +474,7 @@ Defined in: [packages/tsconfig/src/read-tsconfig.ts:444](https://github.com/visu
474
474
  optional tscCompatible: "5.3" | "5.4" | "5.5" | "5.6" | true;
475
475
  ```
476
476
 
477
- Defined in: [packages/tsconfig/src/read-tsconfig.ts:452](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/read-tsconfig.ts#L452)
477
+ Defined in: [packages/tsconfig/src/read-tsconfig.ts:452](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/read-tsconfig.ts#L452)
478
478
 
479
479
  Make the configuration compatible with the specified TypeScript version.
480
480
 
@@ -483,10 +483,10 @@ When `true`, it will make the configuration compatible with the latest TypeScrip
483
483
  ###### Default
484
484
 
485
485
  ```ts
486
- undefined
486
+ undefined;
487
487
  ```
488
488
 
489
- ***
489
+ ---
490
490
 
491
491
  ### TsConfigJsonResolved
492
492
 
@@ -494,9 +494,9 @@ undefined
494
494
  type TsConfigJsonResolved = Except<TsConfigJson, "extends">;
495
495
  ```
496
496
 
497
- Defined in: [packages/tsconfig/src/types.ts:3](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/types.ts#L3)
497
+ Defined in: [packages/tsconfig/src/types.ts:3](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/types.ts#L3)
498
498
 
499
- ***
499
+ ---
500
500
 
501
501
  ### TsConfigResult
502
502
 
@@ -504,7 +504,7 @@ Defined in: [packages/tsconfig/src/types.ts:3](https://github.com/visulima/visul
504
504
  type TsConfigResult = object;
505
505
  ```
506
506
 
507
- Defined in: [packages/tsconfig/src/find-tsconfig.ts:15](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/find-tsconfig.ts#L15)
507
+ Defined in: [packages/tsconfig/src/find-tsconfig.ts:15](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/find-tsconfig.ts#L15)
508
508
 
509
509
  #### Properties
510
510
 
@@ -514,7 +514,7 @@ Defined in: [packages/tsconfig/src/find-tsconfig.ts:15](https://github.com/visul
514
514
  config: TsConfigJsonResolved;
515
515
  ```
516
516
 
517
- Defined in: [packages/tsconfig/src/find-tsconfig.ts:16](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/find-tsconfig.ts#L16)
517
+ Defined in: [packages/tsconfig/src/find-tsconfig.ts:16](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/find-tsconfig.ts#L16)
518
518
 
519
519
  ##### path
520
520
 
@@ -522,7 +522,7 @@ Defined in: [packages/tsconfig/src/find-tsconfig.ts:16](https://github.com/visul
522
522
  path: string;
523
523
  ```
524
524
 
525
- Defined in: [packages/tsconfig/src/find-tsconfig.ts:17](https://github.com/visulima/visulima/blob/661c80ea1e97b45df0793299e0ce381014eae5c0/packages/tsconfig/src/find-tsconfig.ts#L17)
525
+ Defined in: [packages/tsconfig/src/find-tsconfig.ts:17](https://github.com/visulima/visulima/blob/afe199ce97ec3025aa13484407254660803d8d9c/packages/tsconfig/src/find-tsconfig.ts#L17)
526
526
 
527
527
  <!-- /TYPEDOC -->
528
528