@visulima/tsconfig 1.1.16 → 1.1.18

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,27 @@
1
+ ## @visulima/tsconfig [1.1.18](https://github.com/visulima/visulima/compare/@visulima/tsconfig@1.1.17...@visulima/tsconfig@1.1.18) (2025-06-03)
2
+
3
+
4
+ ### Dependencies
5
+
6
+ * **@visulima/fs:** upgraded to 3.1.4
7
+
8
+ ## @visulima/tsconfig [1.1.17](https://github.com/visulima/visulima/compare/@visulima/tsconfig@1.1.16...@visulima/tsconfig@1.1.17) (2025-05-30)
9
+
10
+ ### Styles
11
+
12
+ * cs fixes ([6570d56](https://github.com/visulima/visulima/commit/6570d568a80bd3fd4bfd73c824dc78f7e3a372f8))
13
+
14
+ ### Miscellaneous Chores
15
+
16
+ * **tsconfig:** update devDependencies ([7c12ca5](https://github.com/visulima/visulima/commit/7c12ca59b30981d5f2048b2ef2a44234efe39c77))
17
+ * updated dev dependencies ([2433ed5](https://github.com/visulima/visulima/commit/2433ed5fb662e0303c37edee8ddc21b46c21263f))
18
+
19
+
20
+ ### Dependencies
21
+
22
+ * **@visulima/fs:** upgraded to 3.1.3
23
+ * **@visulima/path:** upgraded to 1.3.6
24
+
1
25
  ## @visulima/tsconfig [1.1.16](https://github.com/visulima/visulima/compare/@visulima/tsconfig@1.1.15...@visulima/tsconfig@1.1.16) (2025-03-07)
2
26
 
3
27
  ### Bug Fixes
package/README.md CHANGED
@@ -101,11 +101,11 @@ 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.37.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
 
108
- #### Type declaration
108
+ #### Properties
109
109
 
110
110
  ##### compileOnSave?
111
111
 
@@ -113,6 +113,8 @@ 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
117
+
116
118
  Enable Compile-on-Save for this project.
117
119
 
118
120
  ##### compilerOptions?
@@ -121,6 +123,8 @@ Enable Compile-on-Save for this project.
121
123
  optional compilerOptions: CompilerOptions;
122
124
  ```
123
125
 
126
+ Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1249
127
+
124
128
  Instructs the TypeScript compiler how to compile `.ts` files.
125
129
 
126
130
  ##### exclude?
@@ -129,6 +133,8 @@ Instructs the TypeScript compiler how to compile `.ts` files.
129
133
  optional exclude: string[];
130
134
  ```
131
135
 
136
+ Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1281
137
+
132
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.
133
139
 
134
140
  Glob patterns require TypeScript version 2.0 or later.
@@ -139,6 +145,8 @@ Glob patterns require TypeScript version 2.0 or later.
139
145
  optional extends: string | string[];
140
146
  ```
141
147
 
148
+ Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1269
149
+
142
150
  Path to base configuration file to inherit from.
143
151
 
144
152
  ##### files?
@@ -147,6 +155,8 @@ Path to base configuration file to inherit from.
147
155
  optional files: string[];
148
156
  ```
149
157
 
158
+ Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1274
159
+
150
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.
151
161
 
152
162
  ##### include?
@@ -155,6 +165,8 @@ If no `files` or `include` property is present in a `tsconfig.json`, the compile
155
165
  optional include: string[];
156
166
  ```
157
167
 
168
+ Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1288
169
+
158
170
  Specifies a list of glob patterns that match files to be included in compilation.
159
171
 
160
172
  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`.
@@ -165,6 +177,8 @@ If no `files` or `include` property is present in a `tsconfig.json`, the compile
165
177
  optional references: References[];
166
178
  ```
167
179
 
180
+ Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1293
181
+
168
182
  Referenced projects.
169
183
 
170
184
  ##### typeAcquisition?
@@ -173,6 +187,8 @@ Referenced projects.
173
187
  optional typeAcquisition: TypeAcquisition;
174
188
  ```
175
189
 
190
+ Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1259
191
+
176
192
  Auto type (.d.ts) acquisition options for this project.
177
193
 
178
194
  ##### watchOptions?
@@ -181,6 +197,8 @@ Auto type (.d.ts) acquisition options for this project.
181
197
  optional watchOptions: WatchOptions;
182
198
  ```
183
199
 
200
+ Defined in: node\_modules/.pnpm/type-fest@4.41.0/node\_modules/type-fest/source/tsconfig-json.d.ts:1254
201
+
184
202
  Instructs the TypeScript compiler how to watch files.
185
203
 
186
204
  ## Other
@@ -188,10 +206,10 @@ Instructs the TypeScript compiler how to watch files.
188
206
  ### findTsConfig()
189
207
 
190
208
  ```ts
191
- function findTsConfig(cwd?, options?): Promise<TsConfigResult>
209
+ function findTsConfig(cwd?, options?): Promise<TsConfigResult>;
192
210
  ```
193
211
 
194
- Defined in: [packages/tsconfig/src/find-tsconfig.ts:30](https://github.com/visulima/visulima/blob/ae1c843808a0fea82d6f99ef936ec12dc5b255c1/packages/tsconfig/src/find-tsconfig.ts#L30)
212
+ Defined in: [packages/tsconfig/src/find-tsconfig.ts:30](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/find-tsconfig.ts#L30)
195
213
 
196
214
  An asynchronous function that retrieves the TSConfig by searching for the "tsconfig.json" first,
197
215
  second attempt is to look for the "jsconfig.json" file from a given current working directory.
@@ -207,11 +225,11 @@ Optional. The current working directory from which to search for the "tsconfig.j
207
225
 
208
226
  ##### options?
209
227
 
210
- [`FindTsConfigOptions`](README.md#findtsconfigoptions) = `{}`
228
+ [`FindTsConfigOptions`](#findtsconfigoptions) = `{}`
211
229
 
212
230
  #### Returns
213
231
 
214
- `Promise`\<[`TsConfigResult`](README.md#tsconfigresult)\>
232
+ `Promise`\<[`TsConfigResult`](#tsconfigresult)\>
215
233
 
216
234
  A `Promise` that resolves to the TSConfig result object.
217
235
  The return type of the function is `Promise<TsConfigResult>`.
@@ -225,10 +243,10 @@ An `Error` when the "tsconfig.json" file is not found.
225
243
  ### findTsConfigSync()
226
244
 
227
245
  ```ts
228
- function findTsConfigSync(cwd?, options?): TsConfigResult
246
+ function findTsConfigSync(cwd?, options?): TsConfigResult;
229
247
  ```
230
248
 
231
- Defined in: [packages/tsconfig/src/find-tsconfig.ts:69](https://github.com/visulima/visulima/blob/ae1c843808a0fea82d6f99ef936ec12dc5b255c1/packages/tsconfig/src/find-tsconfig.ts#L69)
249
+ Defined in: [packages/tsconfig/src/find-tsconfig.ts:69](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/find-tsconfig.ts#L69)
232
250
 
233
251
  #### Parameters
234
252
 
@@ -238,21 +256,21 @@ Defined in: [packages/tsconfig/src/find-tsconfig.ts:69](https://github.com/visul
238
256
 
239
257
  ##### options?
240
258
 
241
- [`FindTsConfigOptions`](README.md#findtsconfigoptions) = `{}`
259
+ [`FindTsConfigOptions`](#findtsconfigoptions) = `{}`
242
260
 
243
261
  #### Returns
244
262
 
245
- [`TsConfigResult`](README.md#tsconfigresult)
263
+ [`TsConfigResult`](#tsconfigresult)
246
264
 
247
265
  ***
248
266
 
249
267
  ### readTsConfig()
250
268
 
251
269
  ```ts
252
- function readTsConfig(tsconfigPath, options?): object
270
+ function readTsConfig(tsconfigPath, options?): object;
253
271
  ```
254
272
 
255
- Defined in: [packages/tsconfig/src/read-tsconfig.ts:460](https://github.com/visulima/visulima/blob/ae1c843808a0fea82d6f99ef936ec12dc5b255c1/packages/tsconfig/src/read-tsconfig.ts#L460)
273
+ Defined in: [packages/tsconfig/src/read-tsconfig.ts:460](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/read-tsconfig.ts#L460)
256
274
 
257
275
  #### Parameters
258
276
 
@@ -262,12 +280,10 @@ Defined in: [packages/tsconfig/src/read-tsconfig.ts:460](https://github.com/visu
262
280
 
263
281
  ##### options?
264
282
 
265
- [`ReadTsConfigOptions`](README.md#readtsconfigoptions)
283
+ [`ReadTsConfigOptions`](#readtsconfigoptions)
266
284
 
267
285
  #### Returns
268
286
 
269
- `object`
270
-
271
287
  ##### compileOnSave?
272
288
 
273
289
  ```ts
@@ -341,10 +357,10 @@ Instructs the TypeScript compiler how to watch files.
341
357
  ### writeTsConfig()
342
358
 
343
359
  ```ts
344
- function writeTsConfig(tsConfig, options): Promise<void>
360
+ function writeTsConfig(tsConfig, options): Promise<void>;
345
361
  ```
346
362
 
347
- Defined in: [packages/tsconfig/src/write-tsconfig.ts:17](https://github.com/visulima/visulima/blob/ae1c843808a0fea82d6f99ef936ec12dc5b255c1/packages/tsconfig/src/write-tsconfig.ts#L17)
363
+ Defined in: [packages/tsconfig/src/write-tsconfig.ts:17](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/write-tsconfig.ts#L17)
348
364
 
349
365
  An asynchronous function that writes the provided TypeScript configuration object to a tsconfig.json file.
350
366
 
@@ -352,7 +368,7 @@ An asynchronous function that writes the provided TypeScript configuration objec
352
368
 
353
369
  ##### tsConfig
354
370
 
355
- [`TsConfigJson`](README.md#tsconfigjson)
371
+ [`TsConfigJson`](#tsconfigjson)
356
372
 
357
373
  The TypeScript configuration object to write. The type of `tsConfig` is `TsConfigJson`.
358
374
 
@@ -375,10 +391,10 @@ The return type of function is `Promise<void>`.
375
391
  ### writeTsConfigSync()
376
392
 
377
393
  ```ts
378
- function writeTsConfigSync(tsConfig, options): void
394
+ function writeTsConfigSync(tsConfig, options): void;
379
395
  ```
380
396
 
381
- Defined in: [packages/tsconfig/src/write-tsconfig.ts:35](https://github.com/visulima/visulima/blob/ae1c843808a0fea82d6f99ef936ec12dc5b255c1/packages/tsconfig/src/write-tsconfig.ts#L35)
397
+ Defined in: [packages/tsconfig/src/write-tsconfig.ts:35](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/write-tsconfig.ts#L35)
382
398
 
383
399
  A function that writes the provided TypeScript configuration object to a tsconfig.json file.
384
400
 
@@ -386,7 +402,7 @@ A function that writes the provided TypeScript configuration object to a tsconfi
386
402
 
387
403
  ##### tsConfig
388
404
 
389
- [`TsConfigJson`](README.md#tsconfigjson)
405
+ [`TsConfigJson`](#tsconfigjson)
390
406
 
391
407
  The TypeScript configuration object to write. The type of `tsConfig` is `TsConfigJson`.
392
408
 
@@ -412,7 +428,7 @@ The return type of function is `Promise<void>`.
412
428
  const implicitBaseUrlSymbol: typeof implicitBaseUrlSymbol;
413
429
  ```
414
430
 
415
- Defined in: [packages/tsconfig/src/read-tsconfig.ts:457](https://github.com/visulima/visulima/blob/ae1c843808a0fea82d6f99ef936ec12dc5b255c1/packages/tsconfig/src/read-tsconfig.ts#L457)
431
+ Defined in: [packages/tsconfig/src/read-tsconfig.ts:457](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/read-tsconfig.ts#L457)
416
432
 
417
433
  ***
418
434
 
@@ -422,7 +438,7 @@ Defined in: [packages/tsconfig/src/read-tsconfig.ts:457](https://github.com/visu
422
438
  type FindTsConfigOptions = ReadTsConfigOptions & object;
423
439
  ```
424
440
 
425
- Defined in: [packages/tsconfig/src/find-tsconfig.ts:10](https://github.com/visulima/visulima/blob/ae1c843808a0fea82d6f99ef936ec12dc5b255c1/packages/tsconfig/src/find-tsconfig.ts#L10)
441
+ Defined in: [packages/tsconfig/src/find-tsconfig.ts:10](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/find-tsconfig.ts#L10)
426
442
 
427
443
  #### Type declaration
428
444
 
@@ -448,9 +464,9 @@ optional configFileName: string;
448
464
  type ReadTsConfigOptions = object;
449
465
  ```
450
466
 
451
- Defined in: [packages/tsconfig/src/read-tsconfig.ts:444](https://github.com/visulima/visulima/blob/ae1c843808a0fea82d6f99ef936ec12dc5b255c1/packages/tsconfig/src/read-tsconfig.ts#L444)
467
+ Defined in: [packages/tsconfig/src/read-tsconfig.ts:444](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/read-tsconfig.ts#L444)
452
468
 
453
- #### Type declaration
469
+ #### Properties
454
470
 
455
471
  ##### tscCompatible?
456
472
 
@@ -458,6 +474,8 @@ Defined in: [packages/tsconfig/src/read-tsconfig.ts:444](https://github.com/visu
458
474
  optional tscCompatible: "5.3" | "5.4" | "5.5" | "5.6" | true;
459
475
  ```
460
476
 
477
+ Defined in: [packages/tsconfig/src/read-tsconfig.ts:452](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/read-tsconfig.ts#L452)
478
+
461
479
  Make the configuration compatible with the specified TypeScript version.
462
480
 
463
481
  When `true`, it will make the configuration compatible with the latest TypeScript version.
@@ -476,7 +494,7 @@ undefined
476
494
  type TsConfigJsonResolved = Except<TsConfigJson, "extends">;
477
495
  ```
478
496
 
479
- Defined in: [packages/tsconfig/src/types.ts:3](https://github.com/visulima/visulima/blob/ae1c843808a0fea82d6f99ef936ec12dc5b255c1/packages/tsconfig/src/types.ts#L3)
497
+ Defined in: [packages/tsconfig/src/types.ts:3](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/types.ts#L3)
480
498
 
481
499
  ***
482
500
 
@@ -486,9 +504,9 @@ Defined in: [packages/tsconfig/src/types.ts:3](https://github.com/visulima/visul
486
504
  type TsConfigResult = object;
487
505
  ```
488
506
 
489
- Defined in: [packages/tsconfig/src/find-tsconfig.ts:15](https://github.com/visulima/visulima/blob/ae1c843808a0fea82d6f99ef936ec12dc5b255c1/packages/tsconfig/src/find-tsconfig.ts#L15)
507
+ Defined in: [packages/tsconfig/src/find-tsconfig.ts:15](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/find-tsconfig.ts#L15)
490
508
 
491
- #### Type declaration
509
+ #### Properties
492
510
 
493
511
  ##### config
494
512
 
@@ -496,12 +514,16 @@ Defined in: [packages/tsconfig/src/find-tsconfig.ts:15](https://github.com/visul
496
514
  config: TsConfigJsonResolved;
497
515
  ```
498
516
 
517
+ Defined in: [packages/tsconfig/src/find-tsconfig.ts:16](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/find-tsconfig.ts#L16)
518
+
499
519
  ##### path
500
520
 
501
521
  ```ts
502
522
  path: string;
503
523
  ```
504
524
 
525
+ Defined in: [packages/tsconfig/src/find-tsconfig.ts:17](https://github.com/visulima/visulima/blob/cc473c21e707f7a425742f83137d10934465c6d1/packages/tsconfig/src/find-tsconfig.ts#L17)
526
+
505
527
  <!-- /TYPEDOC -->
506
528
 
507
529
  ## Related