@visulima/tsconfig 1.1.8 → 1.1.9
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 +7 -0
- package/README.md +67 -11
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.mts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.mjs +1 -1
- package/dist/packem_shared/{findTsConfig-BpddJoXs.mjs → findTsConfig-C0Rp7UlA.mjs} +6 -2
- package/dist/packem_shared/{findTsConfig-ZJsQkecJ.cjs → findTsConfig-DeoHFadL.cjs} +6 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## @visulima/tsconfig [1.1.9](https://github.com/visulima/visulima/compare/@visulima/tsconfig@1.1.8...@visulima/tsconfig@1.1.9) (2025-01-21)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **tsconfig:** added missing tscCompatible option on findTsConfig and findTsConfigSync ([9f56637](https://github.com/visulima/visulima/commit/9f56637b5158f6364fa3e1c215ec9e7f2022a161))
|
|
6
|
+
* **tsconfig:** fixed tscCompatible default on jsdoc ([fa80961](https://github.com/visulima/visulima/commit/fa809618aec6ec5f8777beb384509ed6c6794d43))
|
|
7
|
+
|
|
1
8
|
## @visulima/tsconfig [1.1.8](https://github.com/visulima/visulima/compare/@visulima/tsconfig@1.1.7...@visulima/tsconfig@1.1.8) (2025-01-13)
|
|
2
9
|
|
|
3
10
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -191,7 +191,7 @@ Instructs the TypeScript compiler how to watch files.
|
|
|
191
191
|
function findTsConfig(cwd?, options?): Promise<TsConfigResult>
|
|
192
192
|
```
|
|
193
193
|
|
|
194
|
-
Defined in: [packages/tsconfig/src/find-tsconfig.ts:
|
|
194
|
+
Defined in: [packages/tsconfig/src/find-tsconfig.ts:30](https://github.com/visulima/visulima/blob/fa809618aec6ec5f8777beb384509ed6c6794d43/packages/tsconfig/src/find-tsconfig.ts#L30)
|
|
195
195
|
|
|
196
196
|
An asynchronous function that retrieves the TSConfig by searching for the "tsconfig.json" first,
|
|
197
197
|
second attempt is to look for the "jsconfig.json" file from a given current working directory.
|
|
@@ -207,7 +207,7 @@ Optional. The current working directory from which to search for the "tsconfig.j
|
|
|
207
207
|
|
|
208
208
|
##### options?
|
|
209
209
|
|
|
210
|
-
`
|
|
210
|
+
[`FindTsConfigOptions`](README.md#findtsconfigoptions) = `{}`
|
|
211
211
|
|
|
212
212
|
#### Returns
|
|
213
213
|
|
|
@@ -228,7 +228,7 @@ An `Error` when the "tsconfig.json" file is not found.
|
|
|
228
228
|
function findTsConfigSync(cwd?, options?): TsConfigResult
|
|
229
229
|
```
|
|
230
230
|
|
|
231
|
-
Defined in: [packages/tsconfig/src/find-tsconfig.ts:
|
|
231
|
+
Defined in: [packages/tsconfig/src/find-tsconfig.ts:69](https://github.com/visulima/visulima/blob/fa809618aec6ec5f8777beb384509ed6c6794d43/packages/tsconfig/src/find-tsconfig.ts#L69)
|
|
232
232
|
|
|
233
233
|
#### Parameters
|
|
234
234
|
|
|
@@ -238,7 +238,7 @@ Defined in: [packages/tsconfig/src/find-tsconfig.ts:66](https://github.com/visul
|
|
|
238
238
|
|
|
239
239
|
##### options?
|
|
240
240
|
|
|
241
|
-
`
|
|
241
|
+
[`FindTsConfigOptions`](README.md#findtsconfigoptions) = `{}`
|
|
242
242
|
|
|
243
243
|
#### Returns
|
|
244
244
|
|
|
@@ -252,7 +252,7 @@ Defined in: [packages/tsconfig/src/find-tsconfig.ts:66](https://github.com/visul
|
|
|
252
252
|
function readTsConfig(tsconfigPath, options?): object
|
|
253
253
|
```
|
|
254
254
|
|
|
255
|
-
Defined in: [packages/tsconfig/src/read-tsconfig.ts:460](https://github.com/visulima/visulima/blob/
|
|
255
|
+
Defined in: [packages/tsconfig/src/read-tsconfig.ts:460](https://github.com/visulima/visulima/blob/fa809618aec6ec5f8777beb384509ed6c6794d43/packages/tsconfig/src/read-tsconfig.ts#L460)
|
|
256
256
|
|
|
257
257
|
#### Parameters
|
|
258
258
|
|
|
@@ -262,7 +262,7 @@ Defined in: [packages/tsconfig/src/read-tsconfig.ts:460](https://github.com/visu
|
|
|
262
262
|
|
|
263
263
|
##### options?
|
|
264
264
|
|
|
265
|
-
`
|
|
265
|
+
[`ReadTsConfigOptions`](README.md#readtsconfigoptions)
|
|
266
266
|
|
|
267
267
|
#### Returns
|
|
268
268
|
|
|
@@ -344,7 +344,7 @@ Instructs the TypeScript compiler how to watch files.
|
|
|
344
344
|
function writeTsConfig(tsConfig, options): Promise<void>
|
|
345
345
|
```
|
|
346
346
|
|
|
347
|
-
Defined in: [packages/tsconfig/src/write-tsconfig.ts:17](https://github.com/visulima/visulima/blob/
|
|
347
|
+
Defined in: [packages/tsconfig/src/write-tsconfig.ts:17](https://github.com/visulima/visulima/blob/fa809618aec6ec5f8777beb384509ed6c6794d43/packages/tsconfig/src/write-tsconfig.ts#L17)
|
|
348
348
|
|
|
349
349
|
An asynchronous function that writes the provided TypeScript configuration object to a tsconfig.json file.
|
|
350
350
|
|
|
@@ -378,7 +378,7 @@ The return type of function is `Promise<void>`.
|
|
|
378
378
|
function writeTsConfigSync(tsConfig, options): void
|
|
379
379
|
```
|
|
380
380
|
|
|
381
|
-
Defined in: [packages/tsconfig/src/write-tsconfig.ts:35](https://github.com/visulima/visulima/blob/
|
|
381
|
+
Defined in: [packages/tsconfig/src/write-tsconfig.ts:35](https://github.com/visulima/visulima/blob/fa809618aec6ec5f8777beb384509ed6c6794d43/packages/tsconfig/src/write-tsconfig.ts#L35)
|
|
382
382
|
|
|
383
383
|
A function that writes the provided TypeScript configuration object to a tsconfig.json file.
|
|
384
384
|
|
|
@@ -412,7 +412,61 @@ The return type of function is `Promise<void>`.
|
|
|
412
412
|
const implicitBaseUrlSymbol: typeof implicitBaseUrlSymbol;
|
|
413
413
|
```
|
|
414
414
|
|
|
415
|
-
Defined in: [packages/tsconfig/src/read-tsconfig.ts:457](https://github.com/visulima/visulima/blob/
|
|
415
|
+
Defined in: [packages/tsconfig/src/read-tsconfig.ts:457](https://github.com/visulima/visulima/blob/fa809618aec6ec5f8777beb384509ed6c6794d43/packages/tsconfig/src/read-tsconfig.ts#L457)
|
|
416
|
+
|
|
417
|
+
***
|
|
418
|
+
|
|
419
|
+
### FindTsConfigOptions
|
|
420
|
+
|
|
421
|
+
```ts
|
|
422
|
+
type FindTsConfigOptions = ReadTsConfigOptions & object;
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
Defined in: [packages/tsconfig/src/find-tsconfig.ts:10](https://github.com/visulima/visulima/blob/fa809618aec6ec5f8777beb384509ed6c6794d43/packages/tsconfig/src/find-tsconfig.ts#L10)
|
|
426
|
+
|
|
427
|
+
#### Type declaration
|
|
428
|
+
|
|
429
|
+
##### cache?
|
|
430
|
+
|
|
431
|
+
```ts
|
|
432
|
+
optional cache:
|
|
433
|
+
| Map<string, TsConfigJsonResolved>
|
|
434
|
+
| boolean;
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
##### configFileName?
|
|
438
|
+
|
|
439
|
+
```ts
|
|
440
|
+
optional configFileName: string;
|
|
441
|
+
```
|
|
442
|
+
|
|
443
|
+
***
|
|
444
|
+
|
|
445
|
+
### ReadTsConfigOptions
|
|
446
|
+
|
|
447
|
+
```ts
|
|
448
|
+
type ReadTsConfigOptions = object;
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
Defined in: [packages/tsconfig/src/read-tsconfig.ts:444](https://github.com/visulima/visulima/blob/fa809618aec6ec5f8777beb384509ed6c6794d43/packages/tsconfig/src/read-tsconfig.ts#L444)
|
|
452
|
+
|
|
453
|
+
#### Type declaration
|
|
454
|
+
|
|
455
|
+
##### tscCompatible?
|
|
456
|
+
|
|
457
|
+
```ts
|
|
458
|
+
optional tscCompatible: "5.3" | "5.4" | "5.5" | "5.6" | true;
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
Make the configuration compatible with the specified TypeScript version.
|
|
462
|
+
|
|
463
|
+
When `true`, it will make the configuration compatible with the latest TypeScript version.
|
|
464
|
+
|
|
465
|
+
###### Default
|
|
466
|
+
|
|
467
|
+
```ts
|
|
468
|
+
undefined
|
|
469
|
+
```
|
|
416
470
|
|
|
417
471
|
***
|
|
418
472
|
|
|
@@ -422,7 +476,7 @@ Defined in: [packages/tsconfig/src/read-tsconfig.ts:457](https://github.com/visu
|
|
|
422
476
|
type TsConfigJsonResolved = Except<TsConfigJson, "extends">;
|
|
423
477
|
```
|
|
424
478
|
|
|
425
|
-
Defined in: [packages/tsconfig/src/types.ts:3](https://github.com/visulima/visulima/blob/
|
|
479
|
+
Defined in: [packages/tsconfig/src/types.ts:3](https://github.com/visulima/visulima/blob/fa809618aec6ec5f8777beb384509ed6c6794d43/packages/tsconfig/src/types.ts#L3)
|
|
426
480
|
|
|
427
481
|
***
|
|
428
482
|
|
|
@@ -432,7 +486,7 @@ Defined in: [packages/tsconfig/src/types.ts:3](https://github.com/visulima/visul
|
|
|
432
486
|
type TsConfigResult = object;
|
|
433
487
|
```
|
|
434
488
|
|
|
435
|
-
Defined in: [packages/tsconfig/src/find-tsconfig.ts:
|
|
489
|
+
Defined in: [packages/tsconfig/src/find-tsconfig.ts:15](https://github.com/visulima/visulima/blob/fa809618aec6ec5f8777beb384509ed6c6794d43/packages/tsconfig/src/find-tsconfig.ts#L15)
|
|
436
490
|
|
|
437
491
|
#### Type declaration
|
|
438
492
|
|
|
@@ -461,6 +515,8 @@ path: string;
|
|
|
461
515
|
- [writeTsConfigSync](README.md#writetsconfigsync)
|
|
462
516
|
- [TsConfigJson](namespaces/TsConfigJson/README.md)
|
|
463
517
|
- [implicitBaseUrlSymbol](README.md#implicitbaseurlsymbol)
|
|
518
|
+
- [FindTsConfigOptions](README.md#findtsconfigoptions)
|
|
519
|
+
- [ReadTsConfigOptions](README.md#readtsconfigoptions)
|
|
464
520
|
- [TsConfigJsonResolved](README.md#tsconfigjsonresolved)
|
|
465
521
|
- [TsConfigResult](README.md#tsconfigresult)
|
|
466
522
|
|
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
4
|
|
|
5
|
-
const findTsConfig = require('./packem_shared/findTsConfig-
|
|
5
|
+
const findTsConfig = require('./packem_shared/findTsConfig-DeoHFadL.cjs');
|
|
6
6
|
const implicitBaseUrlSymbol = require('./packem_shared/implicitBaseUrlSymbol-COTDbERy.cjs');
|
|
7
7
|
const writeTsConfig = require('./packem_shared/writeTsConfig-DJa7JuZ_.cjs');
|
|
8
8
|
|
package/dist/index.d.cts
CHANGED
|
@@ -1397,6 +1397,12 @@ type TsConfigJson = {
|
|
|
1397
1397
|
type TsConfigJsonResolved = Except<TsConfigJson, "extends">;
|
|
1398
1398
|
|
|
1399
1399
|
type Options$1 = {
|
|
1400
|
+
tscCompatible?: "5.3" | "5.4" | "5.5" | "5.6" | true;
|
|
1401
|
+
};
|
|
1402
|
+
declare const implicitBaseUrlSymbol: unique symbol;
|
|
1403
|
+
declare const readTsConfig: (tsconfigPath: string, options?: Options$1) => TsConfigJsonResolved;
|
|
1404
|
+
|
|
1405
|
+
type Options = Options$1 & {
|
|
1400
1406
|
cache?: Map<string, TsConfigJsonResolved> | boolean;
|
|
1401
1407
|
configFileName?: string;
|
|
1402
1408
|
};
|
|
@@ -1404,14 +1410,8 @@ type TsConfigResult = {
|
|
|
1404
1410
|
config: TsConfigJsonResolved;
|
|
1405
1411
|
path: string;
|
|
1406
1412
|
};
|
|
1407
|
-
declare const findTsConfig: (cwd?: URL | string, options?: Options
|
|
1408
|
-
declare const findTsConfigSync: (cwd?: URL | string, options?: Options
|
|
1409
|
-
|
|
1410
|
-
type Options = {
|
|
1411
|
-
tscCompatible?: "5.3" | "5.4" | "5.5" | "5.6" | true;
|
|
1412
|
-
};
|
|
1413
|
-
declare const implicitBaseUrlSymbol: unique symbol;
|
|
1414
|
-
declare const readTsConfig: (tsconfigPath: string, options?: Options) => TsConfigJsonResolved;
|
|
1413
|
+
declare const findTsConfig: (cwd?: URL | string, options?: Options) => Promise<TsConfigResult>;
|
|
1414
|
+
declare const findTsConfigSync: (cwd?: URL | string, options?: Options) => TsConfigResult;
|
|
1415
1415
|
|
|
1416
1416
|
declare const writeTsConfig: (tsConfig: TsConfigJson, options?: WriteJsonOptions & {
|
|
1417
1417
|
cwd?: URL | string;
|
|
@@ -1420,4 +1420,4 @@ declare const writeTsConfigSync: (tsConfig: TsConfigJson, options?: WriteJsonOpt
|
|
|
1420
1420
|
cwd?: URL | string;
|
|
1421
1421
|
}) => void;
|
|
1422
1422
|
|
|
1423
|
-
export { TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, findTsConfig, findTsConfigSync, implicitBaseUrlSymbol, readTsConfig, writeTsConfig, writeTsConfigSync };
|
|
1423
|
+
export { type Options as FindTsConfigOptions, type Options$1 as ReadTsConfigOptions, TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, findTsConfig, findTsConfigSync, implicitBaseUrlSymbol, readTsConfig, writeTsConfig, writeTsConfigSync };
|
package/dist/index.d.mts
CHANGED
|
@@ -1397,6 +1397,12 @@ type TsConfigJson = {
|
|
|
1397
1397
|
type TsConfigJsonResolved = Except<TsConfigJson, "extends">;
|
|
1398
1398
|
|
|
1399
1399
|
type Options$1 = {
|
|
1400
|
+
tscCompatible?: "5.3" | "5.4" | "5.5" | "5.6" | true;
|
|
1401
|
+
};
|
|
1402
|
+
declare const implicitBaseUrlSymbol: unique symbol;
|
|
1403
|
+
declare const readTsConfig: (tsconfigPath: string, options?: Options$1) => TsConfigJsonResolved;
|
|
1404
|
+
|
|
1405
|
+
type Options = Options$1 & {
|
|
1400
1406
|
cache?: Map<string, TsConfigJsonResolved> | boolean;
|
|
1401
1407
|
configFileName?: string;
|
|
1402
1408
|
};
|
|
@@ -1404,14 +1410,8 @@ type TsConfigResult = {
|
|
|
1404
1410
|
config: TsConfigJsonResolved;
|
|
1405
1411
|
path: string;
|
|
1406
1412
|
};
|
|
1407
|
-
declare const findTsConfig: (cwd?: URL | string, options?: Options
|
|
1408
|
-
declare const findTsConfigSync: (cwd?: URL | string, options?: Options
|
|
1409
|
-
|
|
1410
|
-
type Options = {
|
|
1411
|
-
tscCompatible?: "5.3" | "5.4" | "5.5" | "5.6" | true;
|
|
1412
|
-
};
|
|
1413
|
-
declare const implicitBaseUrlSymbol: unique symbol;
|
|
1414
|
-
declare const readTsConfig: (tsconfigPath: string, options?: Options) => TsConfigJsonResolved;
|
|
1413
|
+
declare const findTsConfig: (cwd?: URL | string, options?: Options) => Promise<TsConfigResult>;
|
|
1414
|
+
declare const findTsConfigSync: (cwd?: URL | string, options?: Options) => TsConfigResult;
|
|
1415
1415
|
|
|
1416
1416
|
declare const writeTsConfig: (tsConfig: TsConfigJson, options?: WriteJsonOptions & {
|
|
1417
1417
|
cwd?: URL | string;
|
|
@@ -1420,4 +1420,4 @@ declare const writeTsConfigSync: (tsConfig: TsConfigJson, options?: WriteJsonOpt
|
|
|
1420
1420
|
cwd?: URL | string;
|
|
1421
1421
|
}) => void;
|
|
1422
1422
|
|
|
1423
|
-
export { TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, findTsConfig, findTsConfigSync, implicitBaseUrlSymbol, readTsConfig, writeTsConfig, writeTsConfigSync };
|
|
1423
|
+
export { type Options as FindTsConfigOptions, type Options$1 as ReadTsConfigOptions, TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, findTsConfig, findTsConfigSync, implicitBaseUrlSymbol, readTsConfig, writeTsConfig, writeTsConfigSync };
|
package/dist/index.d.ts
CHANGED
|
@@ -1397,6 +1397,12 @@ type TsConfigJson = {
|
|
|
1397
1397
|
type TsConfigJsonResolved = Except<TsConfigJson, "extends">;
|
|
1398
1398
|
|
|
1399
1399
|
type Options$1 = {
|
|
1400
|
+
tscCompatible?: "5.3" | "5.4" | "5.5" | "5.6" | true;
|
|
1401
|
+
};
|
|
1402
|
+
declare const implicitBaseUrlSymbol: unique symbol;
|
|
1403
|
+
declare const readTsConfig: (tsconfigPath: string, options?: Options$1) => TsConfigJsonResolved;
|
|
1404
|
+
|
|
1405
|
+
type Options = Options$1 & {
|
|
1400
1406
|
cache?: Map<string, TsConfigJsonResolved> | boolean;
|
|
1401
1407
|
configFileName?: string;
|
|
1402
1408
|
};
|
|
@@ -1404,14 +1410,8 @@ type TsConfigResult = {
|
|
|
1404
1410
|
config: TsConfigJsonResolved;
|
|
1405
1411
|
path: string;
|
|
1406
1412
|
};
|
|
1407
|
-
declare const findTsConfig: (cwd?: URL | string, options?: Options
|
|
1408
|
-
declare const findTsConfigSync: (cwd?: URL | string, options?: Options
|
|
1409
|
-
|
|
1410
|
-
type Options = {
|
|
1411
|
-
tscCompatible?: "5.3" | "5.4" | "5.5" | "5.6" | true;
|
|
1412
|
-
};
|
|
1413
|
-
declare const implicitBaseUrlSymbol: unique symbol;
|
|
1414
|
-
declare const readTsConfig: (tsconfigPath: string, options?: Options) => TsConfigJsonResolved;
|
|
1413
|
+
declare const findTsConfig: (cwd?: URL | string, options?: Options) => Promise<TsConfigResult>;
|
|
1414
|
+
declare const findTsConfigSync: (cwd?: URL | string, options?: Options) => TsConfigResult;
|
|
1415
1415
|
|
|
1416
1416
|
declare const writeTsConfig: (tsConfig: TsConfigJson, options?: WriteJsonOptions & {
|
|
1417
1417
|
cwd?: URL | string;
|
|
@@ -1420,4 +1420,4 @@ declare const writeTsConfigSync: (tsConfig: TsConfigJson, options?: WriteJsonOpt
|
|
|
1420
1420
|
cwd?: URL | string;
|
|
1421
1421
|
}) => void;
|
|
1422
1422
|
|
|
1423
|
-
export { TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, findTsConfig, findTsConfigSync, implicitBaseUrlSymbol, readTsConfig, writeTsConfig, writeTsConfigSync };
|
|
1423
|
+
export { type Options as FindTsConfigOptions, type Options$1 as ReadTsConfigOptions, TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, findTsConfig, findTsConfigSync, implicitBaseUrlSymbol, readTsConfig, writeTsConfig, writeTsConfigSync };
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { findTsConfig, findTsConfigSync } from './packem_shared/findTsConfig-
|
|
1
|
+
export { findTsConfig, findTsConfigSync } from './packem_shared/findTsConfig-C0Rp7UlA.mjs';
|
|
2
2
|
export { implicitBaseUrlSymbol, readTsConfig } from './packem_shared/implicitBaseUrlSymbol-QFe6oEcv.mjs';
|
|
3
3
|
export { writeTsConfig, writeTsConfigSync } from './packem_shared/writeTsConfig-BImVv2Ba.mjs';
|
|
@@ -25,7 +25,9 @@ const findTsConfig = /* @__PURE__ */ __name(async (cwd, options = {}) => {
|
|
|
25
25
|
return cache.get(filePath);
|
|
26
26
|
}
|
|
27
27
|
const output = {
|
|
28
|
-
config: readTsConfig(filePath
|
|
28
|
+
config: readTsConfig(filePath, {
|
|
29
|
+
tscCompatible: options.tscCompatible
|
|
30
|
+
}),
|
|
29
31
|
path: filePath
|
|
30
32
|
};
|
|
31
33
|
if (options.cache) {
|
|
@@ -53,7 +55,9 @@ const findTsConfigSync = /* @__PURE__ */ __name((cwd, options = {}) => {
|
|
|
53
55
|
return cache.get(filePath);
|
|
54
56
|
}
|
|
55
57
|
const output = {
|
|
56
|
-
config: readTsConfig(filePath
|
|
58
|
+
config: readTsConfig(filePath, {
|
|
59
|
+
tscCompatible: options.tscCompatible
|
|
60
|
+
}),
|
|
57
61
|
path: filePath
|
|
58
62
|
};
|
|
59
63
|
if (options.cache) {
|
|
@@ -29,7 +29,9 @@ const findTsConfig = /* @__PURE__ */ __name(async (cwd, options = {}) => {
|
|
|
29
29
|
return cache.get(filePath);
|
|
30
30
|
}
|
|
31
31
|
const output = {
|
|
32
|
-
config: implicitBaseUrlSymbol.readTsConfig(filePath
|
|
32
|
+
config: implicitBaseUrlSymbol.readTsConfig(filePath, {
|
|
33
|
+
tscCompatible: options.tscCompatible
|
|
34
|
+
}),
|
|
33
35
|
path: filePath
|
|
34
36
|
};
|
|
35
37
|
if (options.cache) {
|
|
@@ -57,7 +59,9 @@ const findTsConfigSync = /* @__PURE__ */ __name((cwd, options = {}) => {
|
|
|
57
59
|
return cache.get(filePath);
|
|
58
60
|
}
|
|
59
61
|
const output = {
|
|
60
|
-
config: implicitBaseUrlSymbol.readTsConfig(filePath
|
|
62
|
+
config: implicitBaseUrlSymbol.readTsConfig(filePath, {
|
|
63
|
+
tscCompatible: options.tscCompatible
|
|
64
|
+
}),
|
|
61
65
|
path: filePath
|
|
62
66
|
};
|
|
63
67
|
if (options.cache) {
|