powerlines 0.24.3 → 0.24.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/dist/api.cjs +2 -2
- package/dist/api.js +1 -1
- package/dist/astro.cjs +4 -4
- package/dist/astro.js +3 -3
- package/dist/{chunk-2DHR5VPL.js → chunk-4YOH66OR.js} +1 -1
- package/dist/{chunk-VO7UNY6U.js → chunk-5VVIGLK7.js} +36 -65
- package/dist/{chunk-AOAZS3KU.js → chunk-6F2RGMWO.js} +1 -1
- package/dist/{chunk-DMV2VN3N.cjs → chunk-D7IZZTKR.cjs} +2 -2
- package/dist/{chunk-WG76FEAR.js → chunk-E2CYWY4C.js} +1 -1
- package/dist/{chunk-37PJDPER.cjs → chunk-J42CWDHS.cjs} +3 -3
- package/dist/{chunk-YWDLT2K5.cjs → chunk-MBWFPGQL.cjs} +2 -2
- package/dist/{chunk-XFPLVPMF.cjs → chunk-MWURGZO3.cjs} +44 -73
- package/dist/{chunk-MR2ARFN4.js → chunk-RUNRTWUD.js} +1 -1
- package/dist/{chunk-WJQX2T36.cjs → chunk-TSGTSGEL.cjs} +2 -2
- package/dist/esbuild.cjs +6 -6
- package/dist/esbuild.js +3 -3
- package/dist/farm.cjs +3 -3
- package/dist/farm.js +2 -2
- package/dist/index.cjs +11 -11
- package/dist/index.js +2 -2
- package/dist/lib/{chunk-LDMWUKGL.js → chunk-B6MVU5AR.js} +1 -1
- package/dist/lib/{chunk-VSN5AZP5.cjs → chunk-FSV2WXHS.cjs} +4 -4
- package/dist/lib/{chunk-BQU53ZNB.cjs → chunk-GA3RXX4R.cjs} +24 -7
- package/dist/lib/{chunk-3HVJF7CD.js → chunk-HQ7626MD.js} +2 -2
- package/dist/lib/{chunk-NKV4KVFI.js → chunk-IRIEW3X6.js} +15 -59
- package/dist/lib/{chunk-RJLPU6PQ.js → chunk-JFHYBGFE.js} +2 -1
- package/dist/lib/{chunk-PPUZYUCI.cjs → chunk-QOS4T645.cjs} +2 -1
- package/dist/lib/{chunk-4YERLWXX.cjs → chunk-SJCNXDNU.cjs} +38 -82
- package/dist/lib/{chunk-YOENMDZY.js → chunk-ZGMEHSNN.js} +24 -8
- package/dist/lib/{chunk-INSBEK3W.cjs → chunk-ZTI2BIQ4.cjs} +10 -10
- package/dist/lib/contexts/api-context.cjs +5 -4
- package/dist/lib/contexts/api-context.js +4 -3
- package/dist/lib/contexts/context.cjs +3 -2
- package/dist/lib/contexts/context.js +2 -1
- package/dist/lib/contexts/environment-context.cjs +4 -3
- package/dist/lib/contexts/environment-context.js +3 -2
- package/dist/lib/contexts/index.cjs +7 -6
- package/dist/lib/contexts/index.js +4 -3
- package/dist/lib/index.cjs +38 -34
- package/dist/lib/index.d.cts +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +5 -5
- package/dist/lib/typescript/compiler-host.cjs +2 -2
- package/dist/lib/typescript/compiler-host.js +1 -1
- package/dist/lib/typescript/index.cjs +29 -25
- package/dist/lib/typescript/index.d.cts +1 -1
- package/dist/lib/typescript/index.d.ts +1 -1
- package/dist/lib/typescript/index.js +1 -1
- package/dist/lib/typescript/tsconfig.cjs +11 -7
- package/dist/lib/typescript/tsconfig.d.cts +11 -1
- package/dist/lib/typescript/tsconfig.d.ts +11 -1
- package/dist/lib/typescript/tsconfig.js +1 -1
- package/dist/lib/unplugin/factory.cjs +6 -6
- package/dist/lib/unplugin/factory.js +5 -5
- package/dist/lib/unplugin/index.cjs +6 -6
- package/dist/lib/unplugin/index.js +5 -5
- package/dist/next.cjs +4 -4
- package/dist/next.js +3 -3
- package/dist/nuxt.cjs +6 -6
- package/dist/nuxt.js +4 -4
- package/dist/rolldown.cjs +3 -3
- package/dist/rolldown.js +2 -2
- package/dist/rollup.cjs +3 -3
- package/dist/rollup.js +2 -2
- package/dist/rspack.cjs +3 -3
- package/dist/rspack.js +2 -2
- package/dist/tsup.cjs +4 -4
- package/dist/tsup.js +3 -3
- package/dist/unloader.cjs +3 -3
- package/dist/unloader.js +2 -2
- package/dist/unplugin.cjs +5 -5
- package/dist/unplugin.js +3 -3
- package/dist/vite.cjs +6 -6
- package/dist/vite.js +3 -3
- package/dist/webpack.cjs +6 -6
- package/dist/webpack.js +3 -3
- package/package.json +14 -14
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkB3EE3VHZ_cjs = require('./chunk-B3EE3VHZ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkQOS4T645_cjs = require('./chunk-QOS4T645.cjs');
|
|
5
5
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
6
6
|
var resolve = require('@stryke/fs/resolve');
|
|
7
7
|
var isFunction = require('@stryke/type-checks/is-function');
|
|
@@ -17,7 +17,7 @@ var PLUGIN_NON_HOOK_FIELDS = [
|
|
|
17
17
|
];
|
|
18
18
|
|
|
19
19
|
// src/lib/contexts/environment-context.ts
|
|
20
|
-
var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends
|
|
20
|
+
var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends chunkQOS4T645_cjs.PowerlinesContext {
|
|
21
21
|
static {
|
|
22
22
|
chunkUSNT2KNT_cjs.__name(this, "PowerlinesEnvironmentContext");
|
|
23
23
|
}
|
|
@@ -65,7 +65,7 @@ var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends c
|
|
|
65
65
|
if (!result || isObject.isObject(result) && Object.keys(result).length === 0) {
|
|
66
66
|
return;
|
|
67
67
|
}
|
|
68
|
-
resolvedPlugin =
|
|
68
|
+
resolvedPlugin = chunkQOS4T645_cjs.isPlugin(result) ? result : plugin;
|
|
69
69
|
}
|
|
70
70
|
const context = chunkB3EE3VHZ_cjs.createPluginContext(resolvedPlugin, this);
|
|
71
71
|
this.plugins.push({
|
|
@@ -75,28 +75,28 @@ var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends c
|
|
|
75
75
|
this.#hooks = Object.keys(resolvedPlugin).filter((key) => !PLUGIN_NON_HOOK_FIELDS.includes(key)).reduce((ret, key) => {
|
|
76
76
|
const hook = key;
|
|
77
77
|
const pluginHook = resolvedPlugin[hook];
|
|
78
|
-
if (!
|
|
78
|
+
if (!chunkQOS4T645_cjs.isPluginHook(pluginHook)) {
|
|
79
79
|
return ret;
|
|
80
80
|
}
|
|
81
|
-
if (!
|
|
81
|
+
if (!chunkQOS4T645_cjs.isHookExternal(hook)) {
|
|
82
82
|
ret[hook] ??= {};
|
|
83
83
|
if (resolvedPlugin.enforce) {
|
|
84
84
|
ret[hook][`${resolvedPlugin.enforce}Enforced`] ??= [];
|
|
85
|
-
|
|
85
|
+
chunkQOS4T645_cjs.addPluginHook(context, resolvedPlugin, pluginHook, ret[hook][`${resolvedPlugin.enforce}Enforced`]);
|
|
86
86
|
return ret;
|
|
87
87
|
}
|
|
88
88
|
if (isFunction.isFunction(pluginHook) || !pluginHook.order) {
|
|
89
89
|
ret[hook].normal ??= [];
|
|
90
|
-
|
|
90
|
+
chunkQOS4T645_cjs.addPluginHook(context, resolvedPlugin, pluginHook, ret[hook].normal);
|
|
91
91
|
return ret;
|
|
92
92
|
}
|
|
93
93
|
ret[hook][`${pluginHook.order}Ordered`] ??= [];
|
|
94
|
-
|
|
94
|
+
chunkQOS4T645_cjs.addPluginHook(context, resolvedPlugin, pluginHook, ret[hook][`${pluginHook.order}Ordered`]);
|
|
95
95
|
} else {
|
|
96
96
|
ret[hook] ??= [];
|
|
97
97
|
ret[hook].push({
|
|
98
98
|
plugin: resolvedPlugin,
|
|
99
|
-
hook:
|
|
99
|
+
hook: chunkQOS4T645_cjs.getHookHandler(pluginHook).bind(context)
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
102
|
return ret;
|
|
@@ -108,7 +108,7 @@ var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends c
|
|
|
108
108
|
selectHooks(hook, options) {
|
|
109
109
|
const handlers = [];
|
|
110
110
|
if (this.hooks[hook]) {
|
|
111
|
-
if (!
|
|
111
|
+
if (!chunkQOS4T645_cjs.isHookExternal(hook)) {
|
|
112
112
|
const hooks = this.hooks[hook];
|
|
113
113
|
if (options?.order) {
|
|
114
114
|
if (options?.order === "pre") {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkFSV2WXHS_cjs = require('../chunk-FSV2WXHS.cjs');
|
|
4
|
+
require('../chunk-ZTI2BIQ4.cjs');
|
|
5
5
|
require('../chunk-B3EE3VHZ.cjs');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-QOS4T645.cjs');
|
|
7
7
|
require('../chunk-7VJ42H2I.cjs');
|
|
8
|
+
require('../chunk-GA3RXX4R.cjs');
|
|
8
9
|
require('../chunk-SAS5EPBD.cjs');
|
|
9
10
|
require('../chunk-K3NBD5LL.cjs');
|
|
10
11
|
require('../chunk-JA4HSQRN.cjs');
|
|
@@ -15,5 +16,5 @@ require('../chunk-USNT2KNT.cjs');
|
|
|
15
16
|
|
|
16
17
|
Object.defineProperty(exports, "PowerlinesAPIContext", {
|
|
17
18
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkFSV2WXHS_cjs.PowerlinesAPIContext; }
|
|
19
20
|
});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { PowerlinesAPIContext } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { PowerlinesAPIContext } from '../chunk-HQ7626MD.js';
|
|
2
|
+
import '../chunk-B6MVU5AR.js';
|
|
3
3
|
import '../chunk-KFJCWNVG.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-JFHYBGFE.js';
|
|
5
5
|
import '../chunk-FQLZZYYO.js';
|
|
6
|
+
import '../chunk-ZGMEHSNN.js';
|
|
6
7
|
import '../chunk-YQ3ODCHV.js';
|
|
7
8
|
import '../chunk-XBM7FHNK.js';
|
|
8
9
|
import '../chunk-ENRLU4UR.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQOS4T645_cjs = require('../chunk-QOS4T645.cjs');
|
|
4
4
|
require('../chunk-7VJ42H2I.cjs');
|
|
5
|
+
require('../chunk-GA3RXX4R.cjs');
|
|
5
6
|
require('../chunk-SAS5EPBD.cjs');
|
|
6
7
|
require('../chunk-K3NBD5LL.cjs');
|
|
7
8
|
require('../chunk-JA4HSQRN.cjs');
|
|
@@ -12,5 +13,5 @@ require('../chunk-USNT2KNT.cjs');
|
|
|
12
13
|
|
|
13
14
|
Object.defineProperty(exports, "PowerlinesContext", {
|
|
14
15
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkQOS4T645_cjs.PowerlinesContext; }
|
|
16
17
|
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { PowerlinesContext } from '../chunk-
|
|
1
|
+
export { PowerlinesContext } from '../chunk-JFHYBGFE.js';
|
|
2
2
|
import '../chunk-FQLZZYYO.js';
|
|
3
|
+
import '../chunk-ZGMEHSNN.js';
|
|
3
4
|
import '../chunk-YQ3ODCHV.js';
|
|
4
5
|
import '../chunk-XBM7FHNK.js';
|
|
5
6
|
import '../chunk-ENRLU4UR.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZTI2BIQ4_cjs = require('../chunk-ZTI2BIQ4.cjs');
|
|
4
4
|
require('../chunk-B3EE3VHZ.cjs');
|
|
5
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-QOS4T645.cjs');
|
|
6
6
|
require('../chunk-7VJ42H2I.cjs');
|
|
7
|
+
require('../chunk-GA3RXX4R.cjs');
|
|
7
8
|
require('../chunk-SAS5EPBD.cjs');
|
|
8
9
|
require('../chunk-K3NBD5LL.cjs');
|
|
9
10
|
require('../chunk-JA4HSQRN.cjs');
|
|
@@ -14,5 +15,5 @@ require('../chunk-USNT2KNT.cjs');
|
|
|
14
15
|
|
|
15
16
|
Object.defineProperty(exports, "PowerlinesEnvironmentContext", {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkZTI2BIQ4_cjs.PowerlinesEnvironmentContext; }
|
|
18
19
|
});
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { PowerlinesEnvironmentContext } from '../chunk-
|
|
1
|
+
export { PowerlinesEnvironmentContext } from '../chunk-B6MVU5AR.js';
|
|
2
2
|
import '../chunk-KFJCWNVG.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-JFHYBGFE.js';
|
|
4
4
|
import '../chunk-FQLZZYYO.js';
|
|
5
|
+
import '../chunk-ZGMEHSNN.js';
|
|
5
6
|
import '../chunk-YQ3ODCHV.js';
|
|
6
7
|
import '../chunk-XBM7FHNK.js';
|
|
7
8
|
import '../chunk-ENRLU4UR.js';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-35FGUJFD.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkFSV2WXHS_cjs = require('../chunk-FSV2WXHS.cjs');
|
|
5
|
+
var chunkZTI2BIQ4_cjs = require('../chunk-ZTI2BIQ4.cjs');
|
|
6
6
|
var chunkB3EE3VHZ_cjs = require('../chunk-B3EE3VHZ.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkQOS4T645_cjs = require('../chunk-QOS4T645.cjs');
|
|
8
8
|
require('../chunk-7VJ42H2I.cjs');
|
|
9
|
+
require('../chunk-GA3RXX4R.cjs');
|
|
9
10
|
require('../chunk-SAS5EPBD.cjs');
|
|
10
11
|
require('../chunk-K3NBD5LL.cjs');
|
|
11
12
|
require('../chunk-JA4HSQRN.cjs');
|
|
@@ -16,11 +17,11 @@ require('../chunk-USNT2KNT.cjs');
|
|
|
16
17
|
|
|
17
18
|
Object.defineProperty(exports, "PowerlinesAPIContext", {
|
|
18
19
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkFSV2WXHS_cjs.PowerlinesAPIContext; }
|
|
20
21
|
});
|
|
21
22
|
Object.defineProperty(exports, "PowerlinesEnvironmentContext", {
|
|
22
23
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkZTI2BIQ4_cjs.PowerlinesEnvironmentContext; }
|
|
24
25
|
});
|
|
25
26
|
Object.defineProperty(exports, "createPluginContext", {
|
|
26
27
|
enumerable: true,
|
|
@@ -28,5 +29,5 @@ Object.defineProperty(exports, "createPluginContext", {
|
|
|
28
29
|
});
|
|
29
30
|
Object.defineProperty(exports, "PowerlinesContext", {
|
|
30
31
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkQOS4T645_cjs.PowerlinesContext; }
|
|
32
33
|
});
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import '../chunk-NYNHNTHT.js';
|
|
2
|
-
export { PowerlinesAPIContext } from '../chunk-
|
|
3
|
-
export { PowerlinesEnvironmentContext } from '../chunk-
|
|
2
|
+
export { PowerlinesAPIContext } from '../chunk-HQ7626MD.js';
|
|
3
|
+
export { PowerlinesEnvironmentContext } from '../chunk-B6MVU5AR.js';
|
|
4
4
|
export { createPluginContext } from '../chunk-KFJCWNVG.js';
|
|
5
|
-
export { PowerlinesContext } from '../chunk-
|
|
5
|
+
export { PowerlinesContext } from '../chunk-JFHYBGFE.js';
|
|
6
6
|
import '../chunk-FQLZZYYO.js';
|
|
7
|
+
import '../chunk-ZGMEHSNN.js';
|
|
7
8
|
import '../chunk-YQ3ODCHV.js';
|
|
8
9
|
import '../chunk-XBM7FHNK.js';
|
|
9
10
|
import '../chunk-ENRLU4UR.js';
|
package/dist/lib/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ var chunkDUZJ7ZF2_cjs = require('./chunk-DUZJ7ZF2.cjs');
|
|
|
5
5
|
var chunkJG4IL7XL_cjs = require('./chunk-JG4IL7XL.cjs');
|
|
6
6
|
var chunkVQ7CXQLT_cjs = require('./chunk-VQ7CXQLT.cjs');
|
|
7
7
|
require('./chunk-VVSEE3JE.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunkSJCNXDNU_cjs = require('./chunk-SJCNXDNU.cjs');
|
|
9
9
|
var chunk2NZADVP5_cjs = require('./chunk-2NZADVP5.cjs');
|
|
10
10
|
var chunkEV357RFB_cjs = require('./chunk-EV357RFB.cjs');
|
|
11
11
|
var chunkDX2VAXZB_cjs = require('./chunk-DX2VAXZB.cjs');
|
|
@@ -14,14 +14,14 @@ var chunkT6KEXFRH_cjs = require('./chunk-T6KEXFRH.cjs');
|
|
|
14
14
|
var chunk4NHFXDTQ_cjs = require('./chunk-4NHFXDTQ.cjs');
|
|
15
15
|
require('./chunk-35FGUJFD.cjs');
|
|
16
16
|
require('./chunk-MVIKYHBX.cjs');
|
|
17
|
-
var chunkBQU53ZNB_cjs = require('./chunk-BQU53ZNB.cjs');
|
|
18
17
|
var chunkH7A5QVLY_cjs = require('./chunk-H7A5QVLY.cjs');
|
|
19
18
|
var chunkWUYK74EH_cjs = require('./chunk-WUYK74EH.cjs');
|
|
20
|
-
var
|
|
21
|
-
var
|
|
19
|
+
var chunkFSV2WXHS_cjs = require('./chunk-FSV2WXHS.cjs');
|
|
20
|
+
var chunkZTI2BIQ4_cjs = require('./chunk-ZTI2BIQ4.cjs');
|
|
22
21
|
var chunkB3EE3VHZ_cjs = require('./chunk-B3EE3VHZ.cjs');
|
|
23
|
-
var
|
|
22
|
+
var chunkQOS4T645_cjs = require('./chunk-QOS4T645.cjs');
|
|
24
23
|
var chunk7VJ42H2I_cjs = require('./chunk-7VJ42H2I.cjs');
|
|
24
|
+
var chunkGA3RXX4R_cjs = require('./chunk-GA3RXX4R.cjs');
|
|
25
25
|
var chunkSAS5EPBD_cjs = require('./chunk-SAS5EPBD.cjs');
|
|
26
26
|
var chunkK3NBD5LL_cjs = require('./chunk-K3NBD5LL.cjs');
|
|
27
27
|
var chunkJA4HSQRN_cjs = require('./chunk-JA4HSQRN.cjs');
|
|
@@ -50,7 +50,7 @@ Object.defineProperty(exports, "createWorker", {
|
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "createUnpluginFactory", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkSJCNXDNU_cjs.createUnpluginFactory; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "writeFile", {
|
|
56
56
|
enumerable: true,
|
|
@@ -84,30 +84,6 @@ Object.defineProperty(exports, "getFileHeader", {
|
|
|
84
84
|
enumerable: true,
|
|
85
85
|
get: function () { return chunk4NHFXDTQ_cjs.getFileHeader; }
|
|
86
86
|
});
|
|
87
|
-
Object.defineProperty(exports, "findIncludeMatch", {
|
|
88
|
-
enumerable: true,
|
|
89
|
-
get: function () { return chunkBQU53ZNB_cjs.findIncludeMatch; }
|
|
90
|
-
});
|
|
91
|
-
Object.defineProperty(exports, "findMatch", {
|
|
92
|
-
enumerable: true,
|
|
93
|
-
get: function () { return chunkBQU53ZNB_cjs.findMatch; }
|
|
94
|
-
});
|
|
95
|
-
Object.defineProperty(exports, "getParsedTypeScriptConfig", {
|
|
96
|
-
enumerable: true,
|
|
97
|
-
get: function () { return chunkBQU53ZNB_cjs.getParsedTypeScriptConfig; }
|
|
98
|
-
});
|
|
99
|
-
Object.defineProperty(exports, "getTsconfigFilePath", {
|
|
100
|
-
enumerable: true,
|
|
101
|
-
get: function () { return chunkBQU53ZNB_cjs.getTsconfigFilePath; }
|
|
102
|
-
});
|
|
103
|
-
Object.defineProperty(exports, "isIncludeMatchFound", {
|
|
104
|
-
enumerable: true,
|
|
105
|
-
get: function () { return chunkBQU53ZNB_cjs.isIncludeMatchFound; }
|
|
106
|
-
});
|
|
107
|
-
Object.defineProperty(exports, "isMatchFound", {
|
|
108
|
-
enumerable: true,
|
|
109
|
-
get: function () { return chunkBQU53ZNB_cjs.isMatchFound; }
|
|
110
|
-
});
|
|
111
87
|
Object.defineProperty(exports, "isolatedDeclarations", {
|
|
112
88
|
enumerable: true,
|
|
113
89
|
get: function () { return chunkH7A5QVLY_cjs.isolatedDeclarations; }
|
|
@@ -134,11 +110,11 @@ Object.defineProperty(exports, "loadLibFiles", {
|
|
|
134
110
|
});
|
|
135
111
|
Object.defineProperty(exports, "PowerlinesAPIContext", {
|
|
136
112
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkFSV2WXHS_cjs.PowerlinesAPIContext; }
|
|
138
114
|
});
|
|
139
115
|
Object.defineProperty(exports, "PowerlinesEnvironmentContext", {
|
|
140
116
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkZTI2BIQ4_cjs.PowerlinesEnvironmentContext; }
|
|
142
118
|
});
|
|
143
119
|
Object.defineProperty(exports, "createPluginContext", {
|
|
144
120
|
enumerable: true,
|
|
@@ -146,11 +122,11 @@ Object.defineProperty(exports, "createPluginContext", {
|
|
|
146
122
|
});
|
|
147
123
|
Object.defineProperty(exports, "PowerlinesContext", {
|
|
148
124
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkQOS4T645_cjs.PowerlinesContext; }
|
|
150
126
|
});
|
|
151
127
|
Object.defineProperty(exports, "VirtualFileSystem", {
|
|
152
128
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkQOS4T645_cjs.VirtualFileSystem; }
|
|
154
130
|
});
|
|
155
131
|
Object.defineProperty(exports, "CACHE_HASH_LENGTH", {
|
|
156
132
|
enumerable: true,
|
|
@@ -176,6 +152,34 @@ Object.defineProperty(exports, "writeMetaFile", {
|
|
|
176
152
|
enumerable: true,
|
|
177
153
|
get: function () { return chunk7VJ42H2I_cjs.writeMetaFile; }
|
|
178
154
|
});
|
|
155
|
+
Object.defineProperty(exports, "findIncludeMatch", {
|
|
156
|
+
enumerable: true,
|
|
157
|
+
get: function () { return chunkGA3RXX4R_cjs.findIncludeMatch; }
|
|
158
|
+
});
|
|
159
|
+
Object.defineProperty(exports, "findMatch", {
|
|
160
|
+
enumerable: true,
|
|
161
|
+
get: function () { return chunkGA3RXX4R_cjs.findMatch; }
|
|
162
|
+
});
|
|
163
|
+
Object.defineProperty(exports, "getParsedTypeScriptConfig", {
|
|
164
|
+
enumerable: true,
|
|
165
|
+
get: function () { return chunkGA3RXX4R_cjs.getParsedTypeScriptConfig; }
|
|
166
|
+
});
|
|
167
|
+
Object.defineProperty(exports, "getTsconfigFilePath", {
|
|
168
|
+
enumerable: true,
|
|
169
|
+
get: function () { return chunkGA3RXX4R_cjs.getTsconfigFilePath; }
|
|
170
|
+
});
|
|
171
|
+
Object.defineProperty(exports, "isIncludeMatchFound", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function () { return chunkGA3RXX4R_cjs.isIncludeMatchFound; }
|
|
174
|
+
});
|
|
175
|
+
Object.defineProperty(exports, "isMatchFound", {
|
|
176
|
+
enumerable: true,
|
|
177
|
+
get: function () { return chunkGA3RXX4R_cjs.isMatchFound; }
|
|
178
|
+
});
|
|
179
|
+
Object.defineProperty(exports, "tryTsconfigFilePath", {
|
|
180
|
+
enumerable: true,
|
|
181
|
+
get: function () { return chunkGA3RXX4R_cjs.tryTsconfigFilePath; }
|
|
182
|
+
});
|
|
179
183
|
Object.defineProperty(exports, "createProgram", {
|
|
180
184
|
enumerable: true,
|
|
181
185
|
get: function () { return chunkSAS5EPBD_cjs.createProgram; }
|
package/dist/lib/index.d.cts
CHANGED
|
@@ -11,7 +11,7 @@ export { CreateLogOptions, __ΩCreateLogOptions, createLog, extendLog } from './
|
|
|
11
11
|
export { IsolatedDeclarationsResult, __ΩIsolatedDeclarationsResult, isolatedDeclarations } from './typescript/isolated-decl.cjs';
|
|
12
12
|
export { SourcesMap, __ΩSourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './typescript/program.cjs';
|
|
13
13
|
export { createProgram } from './typescript/ts-morph.cjs';
|
|
14
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './typescript/tsconfig.cjs';
|
|
14
|
+
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound, tryTsconfigFilePath } from './typescript/tsconfig.cjs';
|
|
15
15
|
export { createUnpluginFactory } from './unplugin/factory.cjs';
|
|
16
16
|
export { combineContexts } from './unplugin/helpers.cjs';
|
|
17
17
|
export { CreateUnpluginOptions, __ΩCreateUnpluginOptions, createUnplugin } from './unplugin/plugin.cjs';
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { CreateLogOptions, __ΩCreateLogOptions, createLog, extendLog } from './
|
|
|
11
11
|
export { IsolatedDeclarationsResult, __ΩIsolatedDeclarationsResult, isolatedDeclarations } from './typescript/isolated-decl.js';
|
|
12
12
|
export { SourcesMap, __ΩSourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './typescript/program.js';
|
|
13
13
|
export { createProgram } from './typescript/ts-morph.js';
|
|
14
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './typescript/tsconfig.js';
|
|
14
|
+
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound, tryTsconfigFilePath } from './typescript/tsconfig.js';
|
|
15
15
|
export { createUnpluginFactory } from './unplugin/factory.js';
|
|
16
16
|
export { combineContexts } from './unplugin/helpers.js';
|
|
17
17
|
export { CreateUnpluginOptions, __ΩCreateUnpluginOptions, createUnplugin } from './unplugin/plugin.js';
|
package/dist/lib/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { resolve } from './chunk-A2NFSQ5K.js';
|
|
|
3
3
|
export { generateSourceMap } from './chunk-NST5TNW6.js';
|
|
4
4
|
export { Worker, createWorker } from './chunk-EQKS6CLU.js';
|
|
5
5
|
import './chunk-H5JWMXTZ.js';
|
|
6
|
-
export { createUnpluginFactory } from './chunk-
|
|
6
|
+
export { createUnpluginFactory } from './chunk-IRIEW3X6.js';
|
|
7
7
|
export { writeFile } from './chunk-TANQDHYY.js';
|
|
8
8
|
export { createUnplugin } from './chunk-6I5PL7H2.js';
|
|
9
9
|
export { combineContexts } from './chunk-32Q2PG5D.js';
|
|
@@ -12,14 +12,14 @@ export { getCache, setCache } from './chunk-6RLV3FIS.js';
|
|
|
12
12
|
export { getBaseFileHeader, getFileHeader } from './chunk-GANVMM73.js';
|
|
13
13
|
import './chunk-NYNHNTHT.js';
|
|
14
14
|
import './chunk-FFT4PWRM.js';
|
|
15
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './chunk-YOENMDZY.js';
|
|
16
15
|
export { isolatedDeclarations } from './chunk-NDYKRNPQ.js';
|
|
17
16
|
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './chunk-HAXL7QE7.js';
|
|
18
|
-
export { PowerlinesAPIContext } from './chunk-
|
|
19
|
-
export { PowerlinesEnvironmentContext } from './chunk-
|
|
17
|
+
export { PowerlinesAPIContext } from './chunk-HQ7626MD.js';
|
|
18
|
+
export { PowerlinesEnvironmentContext } from './chunk-B6MVU5AR.js';
|
|
20
19
|
export { createPluginContext } from './chunk-KFJCWNVG.js';
|
|
21
|
-
export { PowerlinesContext, VirtualFileSystem } from './chunk-
|
|
20
|
+
export { PowerlinesContext, VirtualFileSystem } from './chunk-JFHYBGFE.js';
|
|
22
21
|
export { CACHE_HASH_LENGTH, PROJECT_ROOT_HASH_LENGTH, discoverTemplates, getPersistedMeta, getPrefixedProjectRootHash, writeMetaFile } from './chunk-FQLZZYYO.js';
|
|
22
|
+
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound, tryTsconfigFilePath } from './chunk-ZGMEHSNN.js';
|
|
23
23
|
export { createProgram } from './chunk-YQ3ODCHV.js';
|
|
24
24
|
export { loadUserConfigFile, loadWorkspaceConfig } from './chunk-XBM7FHNK.js';
|
|
25
25
|
export { createLog, extendLog } from './chunk-ENRLU4UR.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var chunkBQU53ZNB_cjs = require('../chunk-BQU53ZNB.cjs');
|
|
4
3
|
var chunkWUYK74EH_cjs = require('../chunk-WUYK74EH.cjs');
|
|
4
|
+
var chunkGA3RXX4R_cjs = require('../chunk-GA3RXX4R.cjs');
|
|
5
5
|
var chunkUSNT2KNT_cjs = require('../chunk-USNT2KNT.cjs');
|
|
6
6
|
var types = require('@storm-software/config-tools/types');
|
|
7
7
|
var resolve = require('@stryke/fs/resolve');
|
|
@@ -134,7 +134,7 @@ async function createProgram(context, fileNames, _options = {}) {
|
|
|
134
134
|
joinPaths.joinPaths(typescriptPath, "lib", "lib.esnext.full.d.ts")
|
|
135
135
|
]);
|
|
136
136
|
context.log(types.LogLevelLabel.TRACE, "Parsing TypeScript configuration for the Powerlines project.");
|
|
137
|
-
const resolvedTsconfig =
|
|
137
|
+
const resolvedTsconfig = chunkGA3RXX4R_cjs.getParsedTypeScriptConfig(context.workspaceConfig.workspaceRoot, context.config.projectRoot, context.tsconfig.tsconfigFilePath, defu__default.default({
|
|
138
138
|
compilerOptions: {
|
|
139
139
|
strict: false,
|
|
140
140
|
noEmit: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getParsedTypeScriptConfig } from '../chunk-YOENMDZY.js';
|
|
2
1
|
import { getDefaultCompilerOptions } from '../chunk-HAXL7QE7.js';
|
|
2
|
+
import { getParsedTypeScriptConfig } from '../chunk-ZGMEHSNN.js';
|
|
3
3
|
import { __name } from '../chunk-SHUYVCID.js';
|
|
4
4
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
5
5
|
import { resolvePackage } from '@stryke/fs/resolve';
|
|
@@ -1,38 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-MVIKYHBX.cjs');
|
|
4
|
-
var chunkBQU53ZNB_cjs = require('../chunk-BQU53ZNB.cjs');
|
|
5
4
|
var chunkH7A5QVLY_cjs = require('../chunk-H7A5QVLY.cjs');
|
|
6
5
|
var chunkWUYK74EH_cjs = require('../chunk-WUYK74EH.cjs');
|
|
6
|
+
var chunkGA3RXX4R_cjs = require('../chunk-GA3RXX4R.cjs');
|
|
7
7
|
var chunkSAS5EPBD_cjs = require('../chunk-SAS5EPBD.cjs');
|
|
8
8
|
require('../chunk-USNT2KNT.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
Object.defineProperty(exports, "findIncludeMatch", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkBQU53ZNB_cjs.findIncludeMatch; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "findMatch", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunkBQU53ZNB_cjs.findMatch; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "getParsedTypeScriptConfig", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunkBQU53ZNB_cjs.getParsedTypeScriptConfig; }
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "getTsconfigFilePath", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () { return chunkBQU53ZNB_cjs.getTsconfigFilePath; }
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports, "isIncludeMatchFound", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () { return chunkBQU53ZNB_cjs.isIncludeMatchFound; }
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(exports, "isMatchFound", {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () { return chunkBQU53ZNB_cjs.isMatchFound; }
|
|
35
|
-
});
|
|
36
12
|
Object.defineProperty(exports, "isolatedDeclarations", {
|
|
37
13
|
enumerable: true,
|
|
38
14
|
get: function () { return chunkH7A5QVLY_cjs.isolatedDeclarations; }
|
|
@@ -57,6 +33,34 @@ Object.defineProperty(exports, "loadLibFiles", {
|
|
|
57
33
|
enumerable: true,
|
|
58
34
|
get: function () { return chunkWUYK74EH_cjs.loadLibFiles; }
|
|
59
35
|
});
|
|
36
|
+
Object.defineProperty(exports, "findIncludeMatch", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkGA3RXX4R_cjs.findIncludeMatch; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "findMatch", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkGA3RXX4R_cjs.findMatch; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "getParsedTypeScriptConfig", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkGA3RXX4R_cjs.getParsedTypeScriptConfig; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "getTsconfigFilePath", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkGA3RXX4R_cjs.getTsconfigFilePath; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "isIncludeMatchFound", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkGA3RXX4R_cjs.isIncludeMatchFound; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "isMatchFound", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkGA3RXX4R_cjs.isMatchFound; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "tryTsconfigFilePath", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkGA3RXX4R_cjs.tryTsconfigFilePath; }
|
|
63
|
+
});
|
|
60
64
|
Object.defineProperty(exports, "createProgram", {
|
|
61
65
|
enumerable: true,
|
|
62
66
|
get: function () { return chunkSAS5EPBD_cjs.createProgram; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { IsolatedDeclarationsResult, __ΩIsolatedDeclarationsResult, isolatedDeclarations } from './isolated-decl.cjs';
|
|
2
2
|
export { SourcesMap, __ΩSourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './program.cjs';
|
|
3
3
|
export { createProgram } from './ts-morph.cjs';
|
|
4
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './tsconfig.cjs';
|
|
4
|
+
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound, tryTsconfigFilePath } from './tsconfig.cjs';
|
|
5
5
|
import 'typescript';
|
|
6
6
|
import '../config-D8KrE7SZ.cjs';
|
|
7
7
|
import '@storm-software/build-tools/types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { IsolatedDeclarationsResult, __ΩIsolatedDeclarationsResult, isolatedDeclarations } from './isolated-decl.js';
|
|
2
2
|
export { SourcesMap, __ΩSourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './program.js';
|
|
3
3
|
export { createProgram } from './ts-morph.js';
|
|
4
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './tsconfig.js';
|
|
4
|
+
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound, tryTsconfigFilePath } from './tsconfig.js';
|
|
5
5
|
import 'typescript';
|
|
6
6
|
import '../config-DBIFdRoq.js';
|
|
7
7
|
import '@storm-software/build-tools/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../chunk-FFT4PWRM.js';
|
|
2
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from '../chunk-YOENMDZY.js';
|
|
3
2
|
export { isolatedDeclarations } from '../chunk-NDYKRNPQ.js';
|
|
4
3
|
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from '../chunk-HAXL7QE7.js';
|
|
4
|
+
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound, tryTsconfigFilePath } from '../chunk-ZGMEHSNN.js';
|
|
5
5
|
export { createProgram } from '../chunk-YQ3ODCHV.js';
|
|
6
6
|
import '../chunk-SHUYVCID.js';
|
|
@@ -1,31 +1,35 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGA3RXX4R_cjs = require('../chunk-GA3RXX4R.cjs');
|
|
4
4
|
require('../chunk-USNT2KNT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "findIncludeMatch", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkGA3RXX4R_cjs.findIncludeMatch; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "findMatch", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkGA3RXX4R_cjs.findMatch; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "getParsedTypeScriptConfig", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkGA3RXX4R_cjs.getParsedTypeScriptConfig; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "getTsconfigFilePath", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkGA3RXX4R_cjs.getTsconfigFilePath; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "isIncludeMatchFound", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkGA3RXX4R_cjs.isIncludeMatchFound; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "isMatchFound", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkGA3RXX4R_cjs.isMatchFound; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "tryTsconfigFilePath", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkGA3RXX4R_cjs.tryTsconfigFilePath; }
|
|
31
35
|
});
|
|
@@ -13,6 +13,16 @@ import '@stryke/types/tsconfig';
|
|
|
13
13
|
* @throws If the tsconfig.json file does not exist.
|
|
14
14
|
*/
|
|
15
15
|
declare function getTsconfigFilePath(workspaceRoot: string, projectRoot: string, tsconfig?: string): string;
|
|
16
|
+
/**
|
|
17
|
+
* Get the path to the tsconfig.json file.
|
|
18
|
+
*
|
|
19
|
+
* @param workspaceRoot - The root directory of the workspace.
|
|
20
|
+
* @param projectRoot - The root directory of the project.
|
|
21
|
+
* @param tsconfig - The path to the tsconfig.json file.
|
|
22
|
+
* @returns The absolute path to the tsconfig.json file.
|
|
23
|
+
* @throws If the tsconfig.json file does not exist.
|
|
24
|
+
*/
|
|
25
|
+
declare function tryTsconfigFilePath(workspaceRoot: string, projectRoot: string, tsconfig: string): string | undefined;
|
|
16
26
|
/**
|
|
17
27
|
* Check if the TypeScript configuration type matches any of the provided types.
|
|
18
28
|
*
|
|
@@ -58,4 +68,4 @@ declare function isIncludeMatchFound(tsconfigType: FilterPattern, types: FilterP
|
|
|
58
68
|
*/
|
|
59
69
|
declare function getParsedTypeScriptConfig(workspaceRoot: string, projectRoot: string, tsconfig?: string, tsconfigRaw?: TSConfig, originalTsconfigJson?: TSConfig, host?: ts.ParseConfigHost): ParsedTypeScriptConfig;
|
|
60
70
|
|
|
61
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound };
|
|
71
|
+
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound, tryTsconfigFilePath };
|
|
@@ -13,6 +13,16 @@ import '@stryke/types/tsconfig';
|
|
|
13
13
|
* @throws If the tsconfig.json file does not exist.
|
|
14
14
|
*/
|
|
15
15
|
declare function getTsconfigFilePath(workspaceRoot: string, projectRoot: string, tsconfig?: string): string;
|
|
16
|
+
/**
|
|
17
|
+
* Get the path to the tsconfig.json file.
|
|
18
|
+
*
|
|
19
|
+
* @param workspaceRoot - The root directory of the workspace.
|
|
20
|
+
* @param projectRoot - The root directory of the project.
|
|
21
|
+
* @param tsconfig - The path to the tsconfig.json file.
|
|
22
|
+
* @returns The absolute path to the tsconfig.json file.
|
|
23
|
+
* @throws If the tsconfig.json file does not exist.
|
|
24
|
+
*/
|
|
25
|
+
declare function tryTsconfigFilePath(workspaceRoot: string, projectRoot: string, tsconfig: string): string | undefined;
|
|
16
26
|
/**
|
|
17
27
|
* Check if the TypeScript configuration type matches any of the provided types.
|
|
18
28
|
*
|
|
@@ -58,4 +68,4 @@ declare function isIncludeMatchFound(tsconfigType: FilterPattern, types: FilterP
|
|
|
58
68
|
*/
|
|
59
69
|
declare function getParsedTypeScriptConfig(workspaceRoot: string, projectRoot: string, tsconfig?: string, tsconfigRaw?: TSConfig, originalTsconfigJson?: TSConfig, host?: ts.ParseConfigHost): ParsedTypeScriptConfig;
|
|
60
70
|
|
|
61
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound };
|
|
71
|
+
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound, tryTsconfigFilePath };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from '../chunk-
|
|
1
|
+
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound, tryTsconfigFilePath } from '../chunk-ZGMEHSNN.js';
|
|
2
2
|
import '../chunk-SHUYVCID.js';
|