powerlines 0.23.2 → 0.23.4
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--9pVSIbm.d.cts +168 -0
- package/dist/api-DxPACGY4.d.ts +168 -0
- package/dist/api.cjs +3 -3
- package/dist/api.d.cts +16 -7
- package/dist/api.d.ts +16 -7
- package/dist/api.js +2 -2
- package/dist/astro.cjs +8 -8
- package/dist/astro.d.cts +3 -5
- package/dist/astro.d.ts +3 -5
- package/dist/astro.js +5 -5
- package/dist/{chunk-ZFO3FUM4.cjs → chunk-2FLICTDF.cjs} +2 -2
- package/dist/{chunk-JAJ4CI2F.cjs → chunk-3OQXZ5MM.cjs} +2 -2
- package/dist/{chunk-KFRKOIP3.js → chunk-5B6P2VUG.js} +1 -1
- package/dist/{chunk-GNNF5SG6.cjs → chunk-6ACGI52O.cjs} +2 -2
- package/dist/{chunk-JZAQW55G.cjs → chunk-AF5VNWZD.cjs} +2 -2
- package/dist/{chunk-J7MZRPLN.cjs → chunk-AIC2EHPW.cjs} +5 -4
- package/dist/{chunk-3WDMXRK6.cjs → chunk-AYKZK666.cjs} +1 -1
- package/dist/chunk-CHNKTBUA.cjs +32 -0
- package/dist/{chunk-M4QJ2474.cjs → chunk-CTSSNO5L.cjs} +4 -4
- package/dist/{chunk-5A7FM72H.cjs → chunk-GP6XGAJ4.cjs} +2 -2
- package/dist/{chunk-DUYZ3TCT.js → chunk-HLQGKQZY.js} +1 -1
- package/dist/{chunk-LKN52AAX.js → chunk-HNJC47JM.js} +1 -1
- package/dist/{chunk-IGWSCIES.js → chunk-ISLX4Z3L.js} +3 -2
- package/dist/{chunk-J5LKLH5Z.js → chunk-KFSVTJMR.js} +1 -1
- package/dist/{chunk-RWVNX2CP.js → chunk-MI3U2GAT.js} +1 -1
- package/dist/{chunk-4ODWTALP.js → chunk-N3F54RFW.js} +2 -2
- package/dist/{chunk-Q7HBETZW.js → chunk-O2WB6QZ6.js} +1 -1
- package/dist/{chunk-DWV5QAGZ.cjs → chunk-OEKSQ22R.cjs} +2997 -2710
- package/dist/{chunk-WSLPUUGZ.js → chunk-PTZB4LWS.js} +1 -1
- package/dist/{chunk-CPRXGMH2.js → chunk-QSNFMINQ.js} +1 -1
- package/dist/{chunk-YQ76DZYD.cjs → chunk-QUZ4T5AX.cjs} +2 -2
- package/dist/chunk-UTAJPBVT.js +29 -0
- package/dist/{chunk-WG55ZHJL.cjs → chunk-UW3MXOWV.cjs} +2 -2
- package/dist/{chunk-F6BDL4HD.js → chunk-VDBKZJV6.js} +1 -1
- package/dist/{chunk-J3LN5HOC.cjs → chunk-VFLCP3SA.cjs} +2 -2
- package/dist/{chunk-FM4ABZQ2.js → chunk-VT7NVLLU.js} +1 -1
- package/dist/{chunk-WDBPA4RQ.cjs → chunk-VXAKPZ3A.cjs} +2 -2
- package/dist/{chunk-WXU3KLBP.cjs → chunk-XOI5CY62.cjs} +2 -2
- package/dist/{chunk-NH7U3PTV.js → chunk-ZQ7PDXYO.js} +1 -1
- package/dist/{chunk-TNYZH6EG.js → chunk-ZYCPZLIG.js} +2982 -2700
- package/dist/config.d.cts +3 -5
- package/dist/config.d.ts +3 -5
- package/dist/esbuild.cjs +7 -7
- package/dist/esbuild.d.cts +3 -5
- package/dist/esbuild.d.ts +3 -5
- package/dist/esbuild.js +4 -4
- package/dist/farm.cjs +4 -4
- package/dist/farm.d.cts +3 -5
- package/dist/farm.d.ts +3 -5
- package/dist/farm.js +3 -3
- package/dist/index.cjs +54 -33
- package/dist/index.d.cts +191 -39
- package/dist/index.d.ts +191 -39
- package/dist/index.js +18 -17
- package/dist/lib/api-B6hfFxVS.d.ts +167 -0
- package/dist/lib/api-CD2QlMig.d.cts +167 -0
- package/dist/lib/build/esbuild.d.cts +2 -4
- package/dist/lib/build/esbuild.d.ts +2 -4
- package/dist/lib/build/index.d.cts +4 -5
- package/dist/lib/build/index.d.ts +4 -5
- package/dist/lib/build/rolldown.d.cts +2 -4
- package/dist/lib/build/rolldown.d.ts +2 -4
- package/dist/lib/build/rollup.d.cts +2 -4
- package/dist/lib/build/rollup.d.ts +2 -4
- package/dist/lib/build/rspack.d.cts +2 -4
- package/dist/lib/build/rspack.d.ts +2 -4
- package/dist/lib/build/tsup.d.cts +2 -4
- package/dist/lib/build/tsup.d.ts +2 -4
- package/dist/lib/build/unbuild.d.cts +4 -23
- package/dist/lib/build/unbuild.d.ts +4 -23
- package/dist/lib/build/vite.d.cts +2 -4
- package/dist/lib/build/vite.d.ts +2 -4
- package/dist/lib/build/webpack.d.cts +2 -4
- package/dist/lib/build/webpack.d.ts +2 -4
- package/dist/lib/chunk-32Q2PG5D.js +9 -0
- package/dist/lib/chunk-35FGUJFD.cjs +2 -0
- package/dist/lib/{chunk-LIN4KAV3.js → chunk-52VDUP5J.js} +5 -7
- package/dist/lib/chunk-B3EE3VHZ.cjs +127 -0
- package/dist/lib/{chunk-UWHGJ4JS.js → chunk-BLNW3ZQA.js} +483 -1776
- package/dist/lib/chunk-DX2VAXZB.cjs +11 -0
- package/dist/lib/{chunk-VGSV2BEL.cjs → chunk-EFYMNU53.cjs} +6 -12
- package/dist/lib/chunk-FBQIPNRV.cjs +146 -0
- package/dist/lib/chunk-FFT4PWRM.js +1 -0
- package/dist/lib/{chunk-L4NEN725.js → chunk-G7S5PIAC.js} +1 -1
- package/dist/lib/chunk-KFJCWNVG.js +120 -0
- package/dist/lib/chunk-M2U6XIQ2.js +144 -0
- package/dist/lib/chunk-MVIKYHBX.cjs +2 -0
- package/dist/lib/chunk-NYNHNTHT.js +1 -0
- package/dist/lib/{chunk-A5SB72VO.cjs → chunk-PYQADZVV.cjs} +493 -1779
- package/dist/lib/chunk-QP6WX3Q3.js +1190 -0
- package/dist/lib/chunk-S7LLEDQM.cjs +1218 -0
- package/dist/lib/chunk-UHGGYHSK.cjs +175 -0
- package/dist/lib/chunk-YNKFRPUY.js +168 -0
- package/dist/lib/{chunk-ULJVBW4L.cjs → chunk-ZBDVQVUK.cjs} +1 -1
- package/dist/lib/{config-BoGlIhnH.d.cts → config-DTSdCZsw.d.cts} +650 -633
- package/dist/lib/{config-CTej7RMP.d.ts → config-DeUaQYc_.d.ts} +650 -633
- package/dist/lib/config-file.d.cts +4 -5
- package/dist/lib/config-file.d.ts +4 -5
- package/dist/lib/contexts/api-context.cjs +18 -0
- package/dist/lib/contexts/api-context.d.cts +69 -0
- package/dist/lib/contexts/api-context.d.ts +69 -0
- package/dist/lib/contexts/api-context.js +9 -0
- package/dist/lib/contexts/context.cjs +15 -0
- package/dist/lib/contexts/context.d.cts +255 -0
- package/dist/lib/contexts/context.d.ts +255 -0
- package/dist/lib/contexts/context.js +6 -0
- package/dist/lib/contexts/environment-context.cjs +17 -0
- package/dist/lib/contexts/environment-context.d.cts +65 -0
- package/dist/lib/contexts/environment-context.d.ts +65 -0
- package/dist/lib/contexts/environment-context.js +8 -0
- package/dist/lib/contexts/index.cjs +31 -0
- package/dist/lib/contexts/index.d.cts +35 -0
- package/dist/lib/contexts/index.d.ts +35 -0
- package/dist/lib/contexts/index.js +10 -0
- package/dist/lib/contexts/plugin-context.cjs +11 -0
- package/dist/lib/contexts/plugin-context.d.cts +42 -0
- package/dist/lib/contexts/plugin-context.d.ts +42 -0
- package/dist/lib/contexts/plugin-context.js +2 -0
- package/dist/lib/entry.d.cts +2 -4
- package/dist/lib/entry.d.ts +2 -4
- package/dist/lib/index.cjs +96 -74
- package/dist/lib/index.d.cts +26 -23
- package/dist/lib/index.d.ts +26 -23
- package/dist/lib/index.js +18 -12
- package/dist/lib/internal-CpVMJCaU.d.ts +39 -0
- package/dist/lib/internal-ypnrUNZy.d.cts +39 -0
- package/dist/lib/logger.d.cts +4 -5
- package/dist/lib/logger.d.ts +4 -5
- package/dist/lib/typescript/compiler-host.cjs +1 -1
- package/dist/lib/typescript/compiler-host.d.cts +5 -5
- package/dist/lib/typescript/compiler-host.d.ts +5 -5
- package/dist/lib/typescript/compiler-host.js +1 -1
- package/dist/lib/typescript/import-transformer.d.cts +2 -4
- package/dist/lib/typescript/import-transformer.d.ts +2 -4
- package/dist/lib/typescript/index.cjs +29 -24
- package/dist/lib/typescript/index.d.cts +6 -6
- package/dist/lib/typescript/index.d.ts +6 -6
- package/dist/lib/typescript/index.js +3 -2
- package/dist/lib/typescript/isolated-decl.d.cts +2 -1
- package/dist/lib/typescript/isolated-decl.d.ts +2 -1
- package/dist/lib/typescript/program.d.cts +5 -5
- package/dist/lib/typescript/program.d.ts +5 -5
- package/dist/lib/typescript/ts-morph.cjs +11 -0
- package/dist/lib/{create-program.d.ts → typescript/ts-morph.d.cts} +3 -5
- package/dist/lib/{create-program.d.cts → typescript/ts-morph.d.ts} +3 -5
- package/dist/lib/typescript/ts-morph.js +2 -0
- package/dist/lib/unplugin/factory.cjs +8 -4
- package/dist/lib/unplugin/factory.d.cts +27 -10
- package/dist/lib/unplugin/factory.d.ts +27 -10
- package/dist/lib/unplugin/factory.js +7 -3
- package/dist/lib/unplugin/helpers.cjs +11 -0
- package/dist/lib/unplugin/helpers.d.cts +128 -0
- package/dist/lib/unplugin/helpers.d.ts +128 -0
- package/dist/lib/unplugin/helpers.js +2 -0
- package/dist/lib/unplugin/index.cjs +12 -7
- package/dist/lib/unplugin/index.d.cts +6 -8
- package/dist/lib/unplugin/index.d.ts +6 -8
- package/dist/lib/unplugin/index.js +9 -4
- package/dist/lib/unplugin/plugin.cjs +4 -3
- package/dist/lib/unplugin/plugin.d.cts +4 -5
- package/dist/lib/unplugin/plugin.d.ts +4 -5
- package/dist/lib/unplugin/plugin.js +3 -2
- package/dist/lib/unplugin/resolve-id.cjs +2 -2
- package/dist/lib/unplugin/resolve-id.d.cts +5 -5
- package/dist/lib/unplugin/resolve-id.d.ts +5 -5
- package/dist/lib/unplugin/resolve-id.js +1 -1
- package/dist/lib/utilities/bundle.d.cts +2 -4
- package/dist/lib/utilities/bundle.d.ts +2 -4
- package/dist/lib/utilities/cache.d.cts +2 -4
- package/dist/lib/utilities/cache.d.ts +2 -4
- package/dist/lib/utilities/file-header.d.cts +4 -5
- package/dist/lib/utilities/file-header.d.ts +4 -5
- package/dist/lib/utilities/index.cjs +18 -18
- package/dist/lib/utilities/index.d.cts +5 -7
- package/dist/lib/utilities/index.d.ts +5 -7
- package/dist/lib/utilities/index.js +4 -4
- package/dist/lib/utilities/meta.d.cts +4 -5
- package/dist/lib/utilities/meta.d.ts +4 -5
- package/dist/lib/utilities/resolve-path.d.cts +2 -4
- package/dist/lib/utilities/resolve-path.d.ts +2 -4
- package/dist/lib/utilities/resolve.d.cts +2 -4
- package/dist/lib/utilities/resolve.d.ts +2 -4
- package/dist/lib/utilities/source-file.d.cts +2 -4
- package/dist/lib/utilities/source-file.d.ts +2 -4
- package/dist/lib/utilities/source-map.d.cts +2 -4
- package/dist/lib/utilities/source-map.d.ts +2 -4
- package/dist/lib/utilities/worker.d.cts +4 -5
- package/dist/lib/utilities/worker.d.ts +4 -5
- package/dist/lib/utilities/write-file.d.cts +2 -4
- package/dist/lib/utilities/write-file.d.ts +2 -4
- package/dist/next.cjs +8 -8
- package/dist/next.js +5 -5
- package/dist/nuxt.cjs +9 -9
- package/dist/nuxt.js +6 -6
- package/dist/plugin-utils/{context-D1I2JQgs.d.cts → context-DRFZE3XI.d.cts} +535 -518
- package/dist/plugin-utils/{context-D1I2JQgs.d.ts → context-DRFZE3XI.d.ts} +535 -518
- package/dist/plugin-utils/context-helpers.d.cts +2 -4
- package/dist/plugin-utils/context-helpers.d.ts +2 -4
- package/dist/plugin-utils/enforce.d.cts +2 -4
- package/dist/plugin-utils/enforce.d.ts +2 -4
- package/dist/plugin-utils/extend.d.cts +2 -4
- package/dist/plugin-utils/extend.d.ts +2 -4
- package/dist/plugin-utils/get-config-path.d.cts +2 -4
- package/dist/plugin-utils/get-config-path.d.ts +2 -4
- package/dist/plugin-utils/helpers.d.cts +2 -4
- package/dist/plugin-utils/helpers.d.ts +2 -4
- package/dist/plugin-utils/index.d.cts +3 -5
- package/dist/plugin-utils/index.d.ts +3 -5
- package/dist/plugin-utils/merge.d.cts +4 -5
- package/dist/plugin-utils/merge.d.ts +4 -5
- package/dist/plugin-utils/paths.d.cts +2 -4
- package/dist/plugin-utils/paths.d.ts +2 -4
- package/dist/{resolved-DYLxPDut.d.cts → resolved-C00CJgsk.d.cts} +128 -9
- package/dist/{resolved-D1ySEdUv.d.ts → resolved-DKFZ11S7.d.ts} +128 -9
- package/dist/rolldown.cjs +7 -7
- package/dist/rolldown.d.cts +3 -5
- package/dist/rolldown.d.ts +3 -5
- package/dist/rolldown.js +4 -4
- package/dist/rollup.cjs +7 -7
- package/dist/rollup.d.cts +3 -5
- package/dist/rollup.d.ts +3 -5
- package/dist/rollup.js +4 -4
- package/dist/rspack.cjs +7 -7
- package/dist/rspack.d.cts +3 -5
- package/dist/rspack.d.ts +3 -5
- package/dist/rspack.js +4 -4
- package/dist/tsup.cjs +8 -8
- package/dist/tsup.js +5 -5
- package/dist/types/api.cjs +4 -0
- package/dist/types/api.d.cts +36 -0
- package/dist/types/api.d.ts +36 -0
- package/dist/types/api.js +1 -0
- package/dist/types/babel.d.cts +3 -5
- package/dist/types/babel.d.ts +3 -5
- package/dist/types/build.d.cts +26 -1
- package/dist/types/build.d.ts +26 -1
- package/dist/types/commands.d.cts +3 -5
- package/dist/types/commands.d.ts +3 -5
- package/dist/types/config.d.cts +3 -5
- package/dist/types/config.d.ts +3 -5
- package/dist/types/context.d.cts +3 -5
- package/dist/types/context.d.ts +3 -5
- package/dist/types/{vfs.cjs → fs.cjs} +3 -3
- package/dist/types/{vfs.d.cts → fs.d.cts} +54 -35
- package/dist/types/{vfs.d.ts → fs.d.ts} +54 -35
- package/dist/types/fs.js +2 -0
- package/dist/types/hooks.d.cts +3 -5
- package/dist/types/hooks.d.ts +3 -5
- package/dist/types/index.cjs +9 -8
- package/dist/types/index.d.cts +8 -9
- package/dist/types/index.d.ts +8 -9
- package/dist/types/index.js +3 -2
- package/dist/types/internal.d.cts +46 -9
- package/dist/types/internal.d.ts +46 -9
- package/dist/types/plugin.d.cts +3 -5
- package/dist/types/plugin.d.ts +3 -5
- package/dist/types/resolved.d.cts +3 -5
- package/dist/types/resolved.d.ts +3 -5
- package/dist/types/tsconfig.d.cts +8 -1
- package/dist/types/tsconfig.d.ts +8 -1
- package/dist/types/typedoc.d.cts +3 -1
- package/dist/types/typedoc.d.ts +3 -1
- package/dist/types/unplugin.d.cts +22 -11
- package/dist/types/unplugin.d.ts +22 -11
- package/dist/unloader.cjs +7 -7
- package/dist/unloader.d.cts +12 -14
- package/dist/unloader.d.ts +12 -14
- package/dist/unloader.js +4 -4
- package/dist/unplugin.cjs +18 -18
- package/dist/unplugin.d.cts +6 -9
- package/dist/unplugin.d.ts +6 -9
- package/dist/unplugin.js +15 -15
- package/dist/vite.cjs +7 -7
- package/dist/vite.d.cts +3 -5
- package/dist/vite.d.ts +3 -5
- package/dist/vite.js +4 -4
- package/dist/webpack.cjs +7 -7
- package/dist/webpack.d.cts +3 -5
- package/dist/webpack.d.ts +3 -5
- package/dist/webpack.js +4 -4
- package/package.json +39 -11
- package/schemas/fs.capnp +73 -15
- package/dist/chunk-RODEAGIJ.cjs +0 -32
- package/dist/chunk-SKLSRHBU.js +0 -29
- package/dist/hooks-D2UGCryi.d.ts +0 -28
- package/dist/hooks-DJG3B-Hw.d.cts +0 -28
- package/dist/lib/create-program.cjs +0 -11
- package/dist/lib/create-program.js +0 -2
- package/dist/lib/hooks-CDLPWf7j.d.cts +0 -28
- package/dist/lib/hooks-Cn-IqwYp.d.ts +0 -28
- package/dist/types/vfs.js +0 -2
- /package/dist/{chunk-KIKTWMI3.cjs → chunk-2NCILNCH.cjs} +0 -0
- /package/dist/{chunk-XVLT2RQ2.js → chunk-BLNT5INX.js} +0 -0
- /package/dist/{lib/chunk-RJ4277VZ.cjs → chunk-GRU7B3QM.cjs} +0 -0
- /package/dist/{lib/chunk-ZBLDAREE.js → chunk-T2P533I5.js} +0 -0
- /package/dist/lib/{chunk-CGYAL3S2.cjs → chunk-4EIXDLFP.cjs} +0 -0
- /package/dist/lib/{chunk-CXRSMYEX.js → chunk-RD5AUWXN.js} +0 -0
package/dist/lib/entry.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypeDefinition, TypeDefinitionParameter } from '@stryke/types/configuration';
|
|
2
|
-
import { C as Context, g as ResolvedEntryTypeDefinition } from './config-
|
|
2
|
+
import { C as Context, g as ResolvedEntryTypeDefinition } from './config-DeUaQYc_.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -20,15 +20,13 @@ import '@stryke/types/package-json';
|
|
|
20
20
|
import 'jest-worker';
|
|
21
21
|
import 'jiti';
|
|
22
22
|
import 'magic-string';
|
|
23
|
-
import 'oxc-parser';
|
|
24
23
|
import 'semver';
|
|
25
24
|
import 'unplugin';
|
|
25
|
+
import 'node:fs';
|
|
26
26
|
import '@stryke/types/array';
|
|
27
27
|
import './tsconfig-Bz-CiFqD.js';
|
|
28
28
|
import '@stryke/types/tsconfig';
|
|
29
29
|
import 'typescript';
|
|
30
|
-
import '@stryke/json/types';
|
|
31
|
-
import 'node:fs';
|
|
32
30
|
|
|
33
31
|
declare function resolveEntryInputFile(context: Context, typeDefinition: TypeDefinition): string;
|
|
34
32
|
declare function resolveEntryInput(context: Context, typeDefinition: TypeDefinition): TypeDefinition;
|
package/dist/lib/index.cjs
CHANGED
|
@@ -1,25 +1,31 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-EJ25PQEL.cjs');
|
|
4
|
+
var chunkVL63QEPF_cjs = require('./chunk-VL63QEPF.cjs');
|
|
4
5
|
var chunkJG4IL7XL_cjs = require('./chunk-JG4IL7XL.cjs');
|
|
5
6
|
var chunkVQ7CXQLT_cjs = require('./chunk-VQ7CXQLT.cjs');
|
|
6
|
-
var chunkT6KEXFRH_cjs = require('./chunk-T6KEXFRH.cjs');
|
|
7
|
-
var chunkVL63QEPF_cjs = require('./chunk-VL63QEPF.cjs');
|
|
8
|
-
var chunkUPVFKXB7_cjs = require('./chunk-UPVFKXB7.cjs');
|
|
9
|
-
var chunkMZJWK36Q_cjs = require('./chunk-MZJWK36Q.cjs');
|
|
10
|
-
require('./chunk-RJ4277VZ.cjs');
|
|
11
|
-
var chunkH7A5QVLY_cjs = require('./chunk-H7A5QVLY.cjs');
|
|
12
7
|
require('./chunk-VVSEE3JE.cjs');
|
|
13
|
-
var
|
|
8
|
+
var chunkS7LLEDQM_cjs = require('./chunk-S7LLEDQM.cjs');
|
|
14
9
|
var chunk2NZADVP5_cjs = require('./chunk-2NZADVP5.cjs');
|
|
15
10
|
var chunk4NHFXDTQ_cjs = require('./chunk-4NHFXDTQ.cjs');
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
var
|
|
11
|
+
var chunkEFYMNU53_cjs = require('./chunk-EFYMNU53.cjs');
|
|
12
|
+
require('./chunk-DX2VAXZB.cjs');
|
|
13
|
+
var chunkZBDVQVUK_cjs = require('./chunk-ZBDVQVUK.cjs');
|
|
14
|
+
var chunkUPVFKXB7_cjs = require('./chunk-UPVFKXB7.cjs');
|
|
15
|
+
var chunkMZJWK36Q_cjs = require('./chunk-MZJWK36Q.cjs');
|
|
16
|
+
var chunkT6KEXFRH_cjs = require('./chunk-T6KEXFRH.cjs');
|
|
17
|
+
require('./chunk-35FGUJFD.cjs');
|
|
18
|
+
require('./chunk-MVIKYHBX.cjs');
|
|
20
19
|
var chunkBQU53ZNB_cjs = require('./chunk-BQU53ZNB.cjs');
|
|
20
|
+
var chunkH7A5QVLY_cjs = require('./chunk-H7A5QVLY.cjs');
|
|
21
|
+
var chunkIBPA3VN5_cjs = require('./chunk-IBPA3VN5.cjs');
|
|
22
|
+
var chunk4EIXDLFP_cjs = require('./chunk-4EIXDLFP.cjs');
|
|
23
|
+
var chunkUHGGYHSK_cjs = require('./chunk-UHGGYHSK.cjs');
|
|
24
|
+
var chunkFBQIPNRV_cjs = require('./chunk-FBQIPNRV.cjs');
|
|
25
|
+
var chunkB3EE3VHZ_cjs = require('./chunk-B3EE3VHZ.cjs');
|
|
26
|
+
var chunkPYQADZVV_cjs = require('./chunk-PYQADZVV.cjs');
|
|
27
|
+
var chunk7XHBIYIN_cjs = require('./chunk-7XHBIYIN.cjs');
|
|
21
28
|
var chunkXW5TELHB_cjs = require('./chunk-XW5TELHB.cjs');
|
|
22
|
-
var chunkCGYAL3S2_cjs = require('./chunk-CGYAL3S2.cjs');
|
|
23
29
|
var chunkJA4HSQRN_cjs = require('./chunk-JA4HSQRN.cjs');
|
|
24
30
|
var chunk3OCI4TH7_cjs = require('./chunk-3OCI4TH7.cjs');
|
|
25
31
|
require('./chunk-TOCNXURI.cjs');
|
|
@@ -28,6 +34,10 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
28
34
|
|
|
29
35
|
|
|
30
36
|
|
|
37
|
+
Object.defineProperty(exports, "resolve", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunkVL63QEPF_cjs.resolve; }
|
|
40
|
+
});
|
|
31
41
|
Object.defineProperty(exports, "generateSourceMap", {
|
|
32
42
|
enumerable: true,
|
|
33
43
|
get: function () { return chunkJG4IL7XL_cjs.generateSourceMap; }
|
|
@@ -40,85 +50,73 @@ Object.defineProperty(exports, "createWorker", {
|
|
|
40
50
|
enumerable: true,
|
|
41
51
|
get: function () { return chunkVQ7CXQLT_cjs.createWorker; }
|
|
42
52
|
});
|
|
43
|
-
Object.defineProperty(exports, "
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () { return chunkT6KEXFRH_cjs.getCache; }
|
|
46
|
-
});
|
|
47
|
-
Object.defineProperty(exports, "setCache", {
|
|
48
|
-
enumerable: true,
|
|
49
|
-
get: function () { return chunkT6KEXFRH_cjs.setCache; }
|
|
50
|
-
});
|
|
51
|
-
Object.defineProperty(exports, "resolve", {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function () { return chunkVL63QEPF_cjs.resolve; }
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, "bundle", {
|
|
53
|
+
Object.defineProperty(exports, "createUnpluginFactory", {
|
|
56
54
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkS7LLEDQM_cjs.createUnpluginFactory; }
|
|
58
56
|
});
|
|
59
|
-
Object.defineProperty(exports, "
|
|
57
|
+
Object.defineProperty(exports, "writeFile", {
|
|
60
58
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk2NZADVP5_cjs.writeFile; }
|
|
62
60
|
});
|
|
63
|
-
Object.defineProperty(exports, "
|
|
61
|
+
Object.defineProperty(exports, "getBaseFileHeader", {
|
|
64
62
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk4NHFXDTQ_cjs.getBaseFileHeader; }
|
|
66
64
|
});
|
|
67
|
-
Object.defineProperty(exports, "
|
|
65
|
+
Object.defineProperty(exports, "getFileHeader", {
|
|
68
66
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk4NHFXDTQ_cjs.getFileHeader; }
|
|
70
68
|
});
|
|
71
|
-
Object.defineProperty(exports, "
|
|
69
|
+
Object.defineProperty(exports, "createUnplugin", {
|
|
72
70
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkEFYMNU53_cjs.createUnplugin; }
|
|
74
72
|
});
|
|
75
|
-
Object.defineProperty(exports, "
|
|
73
|
+
Object.defineProperty(exports, "handleResolveId", {
|
|
76
74
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkZBDVQVUK_cjs.handleResolveId; }
|
|
78
76
|
});
|
|
79
|
-
Object.defineProperty(exports, "
|
|
77
|
+
Object.defineProperty(exports, "bundle", {
|
|
80
78
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkUPVFKXB7_cjs.bundle; }
|
|
82
80
|
});
|
|
83
|
-
Object.defineProperty(exports, "
|
|
81
|
+
Object.defineProperty(exports, "resolvePath", {
|
|
84
82
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkMZJWK36Q_cjs.resolvePath; }
|
|
86
84
|
});
|
|
87
|
-
Object.defineProperty(exports, "
|
|
85
|
+
Object.defineProperty(exports, "getCache", {
|
|
88
86
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkT6KEXFRH_cjs.getCache; }
|
|
90
88
|
});
|
|
91
|
-
Object.defineProperty(exports, "
|
|
89
|
+
Object.defineProperty(exports, "setCache", {
|
|
92
90
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkT6KEXFRH_cjs.setCache; }
|
|
94
92
|
});
|
|
95
|
-
Object.defineProperty(exports, "
|
|
93
|
+
Object.defineProperty(exports, "findIncludeMatch", {
|
|
96
94
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkBQU53ZNB_cjs.findIncludeMatch; }
|
|
98
96
|
});
|
|
99
|
-
Object.defineProperty(exports, "
|
|
97
|
+
Object.defineProperty(exports, "findMatch", {
|
|
100
98
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkBQU53ZNB_cjs.findMatch; }
|
|
102
100
|
});
|
|
103
|
-
Object.defineProperty(exports, "
|
|
101
|
+
Object.defineProperty(exports, "getParsedTypeScriptConfig", {
|
|
104
102
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkBQU53ZNB_cjs.getParsedTypeScriptConfig; }
|
|
106
104
|
});
|
|
107
|
-
Object.defineProperty(exports, "
|
|
105
|
+
Object.defineProperty(exports, "getTsconfigFilePath", {
|
|
108
106
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkBQU53ZNB_cjs.getTsconfigFilePath; }
|
|
110
108
|
});
|
|
111
|
-
Object.defineProperty(exports, "
|
|
109
|
+
Object.defineProperty(exports, "isIncludeMatchFound", {
|
|
112
110
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkBQU53ZNB_cjs.isIncludeMatchFound; }
|
|
114
112
|
});
|
|
115
|
-
Object.defineProperty(exports, "
|
|
113
|
+
Object.defineProperty(exports, "isMatchFound", {
|
|
116
114
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkBQU53ZNB_cjs.isMatchFound; }
|
|
118
116
|
});
|
|
119
|
-
Object.defineProperty(exports, "
|
|
117
|
+
Object.defineProperty(exports, "isolatedDeclarations", {
|
|
120
118
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkH7A5QVLY_cjs.isolatedDeclarations; }
|
|
122
120
|
});
|
|
123
121
|
Object.defineProperty(exports, "SourcesMap", {
|
|
124
122
|
enumerable: true,
|
|
@@ -140,29 +138,57 @@ Object.defineProperty(exports, "loadLibFiles", {
|
|
|
140
138
|
enumerable: true,
|
|
141
139
|
get: function () { return chunkIBPA3VN5_cjs.loadLibFiles; }
|
|
142
140
|
});
|
|
143
|
-
Object.defineProperty(exports, "
|
|
141
|
+
Object.defineProperty(exports, "createProgram", {
|
|
144
142
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunk4EIXDLFP_cjs.createProgram; }
|
|
146
144
|
});
|
|
147
|
-
Object.defineProperty(exports, "
|
|
145
|
+
Object.defineProperty(exports, "PowerlinesAPIContext", {
|
|
148
146
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkUHGGYHSK_cjs.PowerlinesAPIContext; }
|
|
150
148
|
});
|
|
151
|
-
Object.defineProperty(exports, "
|
|
149
|
+
Object.defineProperty(exports, "PowerlinesEnvironmentContext", {
|
|
152
150
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkFBQIPNRV_cjs.PowerlinesEnvironmentContext; }
|
|
154
152
|
});
|
|
155
|
-
Object.defineProperty(exports, "
|
|
153
|
+
Object.defineProperty(exports, "createPluginContext", {
|
|
156
154
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkB3EE3VHZ_cjs.createPluginContext; }
|
|
158
156
|
});
|
|
159
|
-
Object.defineProperty(exports, "
|
|
157
|
+
Object.defineProperty(exports, "PowerlinesContext", {
|
|
160
158
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkPYQADZVV_cjs.PowerlinesContext; }
|
|
162
160
|
});
|
|
163
|
-
Object.defineProperty(exports, "
|
|
161
|
+
Object.defineProperty(exports, "VirtualFileSystem", {
|
|
164
162
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkPYQADZVV_cjs.VirtualFileSystem; }
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(exports, "CACHE_HASH_LENGTH", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () { return chunk7XHBIYIN_cjs.CACHE_HASH_LENGTH; }
|
|
168
|
+
});
|
|
169
|
+
Object.defineProperty(exports, "PROJECT_ROOT_HASH_LENGTH", {
|
|
170
|
+
enumerable: true,
|
|
171
|
+
get: function () { return chunk7XHBIYIN_cjs.PROJECT_ROOT_HASH_LENGTH; }
|
|
172
|
+
});
|
|
173
|
+
Object.defineProperty(exports, "discoverTemplates", {
|
|
174
|
+
enumerable: true,
|
|
175
|
+
get: function () { return chunk7XHBIYIN_cjs.discoverTemplates; }
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(exports, "getChecksum", {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
get: function () { return chunk7XHBIYIN_cjs.getChecksum; }
|
|
180
|
+
});
|
|
181
|
+
Object.defineProperty(exports, "getPersistedMeta", {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: function () { return chunk7XHBIYIN_cjs.getPersistedMeta; }
|
|
184
|
+
});
|
|
185
|
+
Object.defineProperty(exports, "getPrefixedProjectRootHash", {
|
|
186
|
+
enumerable: true,
|
|
187
|
+
get: function () { return chunk7XHBIYIN_cjs.getPrefixedProjectRootHash; }
|
|
188
|
+
});
|
|
189
|
+
Object.defineProperty(exports, "writeMetaFile", {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
get: function () { return chunk7XHBIYIN_cjs.writeMetaFile; }
|
|
166
192
|
});
|
|
167
193
|
Object.defineProperty(exports, "loadUserConfigFile", {
|
|
168
194
|
enumerable: true,
|
|
@@ -172,10 +198,6 @@ Object.defineProperty(exports, "loadWorkspaceConfig", {
|
|
|
172
198
|
enumerable: true,
|
|
173
199
|
get: function () { return chunkXW5TELHB_cjs.loadWorkspaceConfig; }
|
|
174
200
|
});
|
|
175
|
-
Object.defineProperty(exports, "createProgram", {
|
|
176
|
-
enumerable: true,
|
|
177
|
-
get: function () { return chunkCGYAL3S2_cjs.createProgram; }
|
|
178
|
-
});
|
|
179
201
|
Object.defineProperty(exports, "createLog", {
|
|
180
202
|
enumerable: true,
|
|
181
203
|
get: function () { return chunkJA4HSQRN_cjs.createLog; }
|
package/dist/lib/index.d.cts
CHANGED
|
@@ -1,27 +1,39 @@
|
|
|
1
|
-
export { PartiallyResolvedContext, loadUserConfigFile, loadWorkspaceConfig } from './config-file.cjs';
|
|
2
|
-
export {
|
|
1
|
+
export { PartiallyResolvedContext, __ΩPartiallyResolvedContext, loadUserConfigFile, loadWorkspaceConfig } from './config-file.cjs';
|
|
2
|
+
export { PowerlinesAPIContext } from './contexts/api-context.cjs';
|
|
3
|
+
export { PowerlinesContext } from './contexts/context.cjs';
|
|
4
|
+
export { PowerlinesEnvironmentContext } from './contexts/environment-context.cjs';
|
|
5
|
+
export { createPluginContext } from './contexts/plugin-context.cjs';
|
|
3
6
|
export { getUniqueEntries, resolveEntries, resolveEntriesSync, resolveEntry, resolveEntryInput, resolveEntryInputFile, resolveEntryOutput, resolveVirtualEntry } from './entry.cjs';
|
|
4
7
|
import fs, { PathLike, ObjectEncodingOptions, PathOrFileDescriptor, Stats, StatSyncOptions } from 'node:fs';
|
|
5
|
-
import { V as VirtualFileSystemInterface, C as Context, a as VirtualFileMetadata, R as ResolvePathOptions, b as ResolveFSOptions, M as MakeDirectoryOptions, W as WriteFileData, c as WriteFileOptions, _ as __VFS_PATCH__, d as __VFS_REVERT__ } from './config-
|
|
6
|
-
export { CreateLogOptions, createLog, extendLog } from './logger.cjs';
|
|
7
|
-
export { IsolatedDeclarationsResult, isolatedDeclarations } from './typescript/isolated-decl.cjs';
|
|
8
|
-
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './typescript/program.cjs';
|
|
8
|
+
import { V as VirtualFileSystemInterface, C as Context, a as VirtualFileMetadata, R as ResolvePathOptions, b as ResolveFSOptions, M as MakeDirectoryOptions, W as WriteFileData, c as WriteFileOptions, _ as __VFS_PATCH__, d as __VFS_REVERT__ } from './config-DTSdCZsw.cjs';
|
|
9
|
+
export { CreateLogOptions, __ΩCreateLogOptions, createLog, extendLog } from './logger.cjs';
|
|
10
|
+
export { IsolatedDeclarationsResult, __ΩIsolatedDeclarationsResult, isolatedDeclarations } from './typescript/isolated-decl.cjs';
|
|
11
|
+
export { SourcesMap, __ΩSourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './typescript/program.cjs';
|
|
12
|
+
export { createProgram } from './typescript/ts-morph.cjs';
|
|
9
13
|
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './typescript/tsconfig.cjs';
|
|
10
14
|
export { createUnpluginFactory } from './unplugin/factory.cjs';
|
|
11
|
-
export { CreateUnpluginOptions, createUnplugin } from './unplugin/plugin.cjs';
|
|
12
|
-
export { ResolveIdArgs, ResolveIdOptions, handleResolveId } from './unplugin/resolve-id.cjs';
|
|
15
|
+
export { CreateUnpluginOptions, __ΩCreateUnpluginOptions, createUnplugin } from './unplugin/plugin.cjs';
|
|
16
|
+
export { ResolveIdArgs, ResolveIdOptions, __ΩResolveIdArgs, __ΩResolveIdOptions, handleResolveId } from './unplugin/resolve-id.cjs';
|
|
13
17
|
export { bundle } from './utilities/bundle.cjs';
|
|
14
18
|
export { getCache, setCache } from './utilities/cache.cjs';
|
|
15
|
-
export { FileHeaderOptions, getBaseFileHeader, getFileHeader } from './utilities/file-header.cjs';
|
|
16
|
-
export { CACHE_HASH_LENGTH, CreateContextOptions, PROJECT_ROOT_HASH_LENGTH, discoverTemplates, getChecksum, getPersistedMeta, getPrefixedProjectRootHash, writeMetaFile } from './utilities/meta.cjs';
|
|
19
|
+
export { FileHeaderOptions, __ΩFileHeaderOptions, getBaseFileHeader, getFileHeader } from './utilities/file-header.cjs';
|
|
20
|
+
export { CACHE_HASH_LENGTH, CreateContextOptions, PROJECT_ROOT_HASH_LENGTH, __ΩCreateContextOptions, discoverTemplates, getChecksum, getPersistedMeta, getPrefixedProjectRootHash, writeMetaFile } from './utilities/meta.cjs';
|
|
17
21
|
export { resolve } from './utilities/resolve.cjs';
|
|
18
22
|
export { resolvePath } from './utilities/resolve-path.cjs';
|
|
19
23
|
export { getMagicString, getSourceFile, getString } from './utilities/source-file.cjs';
|
|
20
24
|
export { generateSourceMap } from './utilities/source-map.cjs';
|
|
21
|
-
export { Worker, WorkerOptions, createWorker } from './utilities/worker.cjs';
|
|
25
|
+
export { Worker, WorkerOptions, __ΩWorkerOptions, createWorker } from './utilities/worker.cjs';
|
|
22
26
|
export { writeFile } from './utilities/write-file.cjs';
|
|
23
27
|
import 'jiti';
|
|
24
|
-
import '
|
|
28
|
+
import '@stryke/env/get-env-paths';
|
|
29
|
+
import '@stryke/types/package-json';
|
|
30
|
+
import 'semver';
|
|
31
|
+
import 'unplugin';
|
|
32
|
+
import './internal-ypnrUNZy.cjs';
|
|
33
|
+
import './api-CD2QlMig.cjs';
|
|
34
|
+
import './tsconfig-Bz-CiFqD.cjs';
|
|
35
|
+
import '@stryke/types/tsconfig';
|
|
36
|
+
import 'typescript';
|
|
25
37
|
import '@stryke/types/configuration';
|
|
26
38
|
import '@storm-software/build-tools/types';
|
|
27
39
|
import '@storm-software/config-tools/types';
|
|
@@ -38,19 +50,10 @@ import 'esbuild';
|
|
|
38
50
|
import 'rolldown';
|
|
39
51
|
import 'rollup';
|
|
40
52
|
import 'webpack';
|
|
41
|
-
import '@stryke/env/get-env-paths';
|
|
42
|
-
import '@stryke/types/package-json';
|
|
43
53
|
import 'jest-worker';
|
|
44
54
|
import 'magic-string';
|
|
45
|
-
import 'oxc-parser';
|
|
46
|
-
import 'semver';
|
|
47
|
-
import 'unplugin';
|
|
48
55
|
import '@stryke/types/array';
|
|
49
|
-
import '
|
|
50
|
-
import '@stryke/types/tsconfig';
|
|
51
|
-
import 'typescript';
|
|
52
|
-
import '@stryke/json/types';
|
|
53
|
-
import './hooks-CDLPWf7j.cjs';
|
|
56
|
+
import 'ts-morph';
|
|
54
57
|
|
|
55
58
|
/**
|
|
56
59
|
* Represents a virtual file system (VFS) that stores files and their associated metadata in virtual memory.
|
|
@@ -90,7 +93,7 @@ declare class VirtualFileSystem implements VirtualFileSystemInterface {
|
|
|
90
93
|
* Creates a new instance of the {@link VirtualFileSystem}.
|
|
91
94
|
*
|
|
92
95
|
* @param context - The context of the virtual file system, typically containing options and logging functions.
|
|
93
|
-
* @param
|
|
96
|
+
* @param fs - A buffer containing the serialized virtual file system data.
|
|
94
97
|
*/
|
|
95
98
|
private constructor();
|
|
96
99
|
/**
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,27 +1,39 @@
|
|
|
1
|
-
export { PartiallyResolvedContext, loadUserConfigFile, loadWorkspaceConfig } from './config-file.js';
|
|
2
|
-
export {
|
|
1
|
+
export { PartiallyResolvedContext, __ΩPartiallyResolvedContext, loadUserConfigFile, loadWorkspaceConfig } from './config-file.js';
|
|
2
|
+
export { PowerlinesAPIContext } from './contexts/api-context.js';
|
|
3
|
+
export { PowerlinesContext } from './contexts/context.js';
|
|
4
|
+
export { PowerlinesEnvironmentContext } from './contexts/environment-context.js';
|
|
5
|
+
export { createPluginContext } from './contexts/plugin-context.js';
|
|
3
6
|
export { getUniqueEntries, resolveEntries, resolveEntriesSync, resolveEntry, resolveEntryInput, resolveEntryInputFile, resolveEntryOutput, resolveVirtualEntry } from './entry.js';
|
|
4
7
|
import fs, { PathLike, ObjectEncodingOptions, PathOrFileDescriptor, Stats, StatSyncOptions } from 'node:fs';
|
|
5
|
-
import { V as VirtualFileSystemInterface, C as Context, a as VirtualFileMetadata, R as ResolvePathOptions, b as ResolveFSOptions, M as MakeDirectoryOptions, W as WriteFileData, c as WriteFileOptions, _ as __VFS_PATCH__, d as __VFS_REVERT__ } from './config-
|
|
6
|
-
export { CreateLogOptions, createLog, extendLog } from './logger.js';
|
|
7
|
-
export { IsolatedDeclarationsResult, isolatedDeclarations } from './typescript/isolated-decl.js';
|
|
8
|
-
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './typescript/program.js';
|
|
8
|
+
import { V as VirtualFileSystemInterface, C as Context, a as VirtualFileMetadata, R as ResolvePathOptions, b as ResolveFSOptions, M as MakeDirectoryOptions, W as WriteFileData, c as WriteFileOptions, _ as __VFS_PATCH__, d as __VFS_REVERT__ } from './config-DeUaQYc_.js';
|
|
9
|
+
export { CreateLogOptions, __ΩCreateLogOptions, createLog, extendLog } from './logger.js';
|
|
10
|
+
export { IsolatedDeclarationsResult, __ΩIsolatedDeclarationsResult, isolatedDeclarations } from './typescript/isolated-decl.js';
|
|
11
|
+
export { SourcesMap, __ΩSourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './typescript/program.js';
|
|
12
|
+
export { createProgram } from './typescript/ts-morph.js';
|
|
9
13
|
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './typescript/tsconfig.js';
|
|
10
14
|
export { createUnpluginFactory } from './unplugin/factory.js';
|
|
11
|
-
export { CreateUnpluginOptions, createUnplugin } from './unplugin/plugin.js';
|
|
12
|
-
export { ResolveIdArgs, ResolveIdOptions, handleResolveId } from './unplugin/resolve-id.js';
|
|
15
|
+
export { CreateUnpluginOptions, __ΩCreateUnpluginOptions, createUnplugin } from './unplugin/plugin.js';
|
|
16
|
+
export { ResolveIdArgs, ResolveIdOptions, __ΩResolveIdArgs, __ΩResolveIdOptions, handleResolveId } from './unplugin/resolve-id.js';
|
|
13
17
|
export { bundle } from './utilities/bundle.js';
|
|
14
18
|
export { getCache, setCache } from './utilities/cache.js';
|
|
15
|
-
export { FileHeaderOptions, getBaseFileHeader, getFileHeader } from './utilities/file-header.js';
|
|
16
|
-
export { CACHE_HASH_LENGTH, CreateContextOptions, PROJECT_ROOT_HASH_LENGTH, discoverTemplates, getChecksum, getPersistedMeta, getPrefixedProjectRootHash, writeMetaFile } from './utilities/meta.js';
|
|
19
|
+
export { FileHeaderOptions, __ΩFileHeaderOptions, getBaseFileHeader, getFileHeader } from './utilities/file-header.js';
|
|
20
|
+
export { CACHE_HASH_LENGTH, CreateContextOptions, PROJECT_ROOT_HASH_LENGTH, __ΩCreateContextOptions, discoverTemplates, getChecksum, getPersistedMeta, getPrefixedProjectRootHash, writeMetaFile } from './utilities/meta.js';
|
|
17
21
|
export { resolve } from './utilities/resolve.js';
|
|
18
22
|
export { resolvePath } from './utilities/resolve-path.js';
|
|
19
23
|
export { getMagicString, getSourceFile, getString } from './utilities/source-file.js';
|
|
20
24
|
export { generateSourceMap } from './utilities/source-map.js';
|
|
21
|
-
export { Worker, WorkerOptions, createWorker } from './utilities/worker.js';
|
|
25
|
+
export { Worker, WorkerOptions, __ΩWorkerOptions, createWorker } from './utilities/worker.js';
|
|
22
26
|
export { writeFile } from './utilities/write-file.js';
|
|
23
27
|
import 'jiti';
|
|
24
|
-
import '
|
|
28
|
+
import '@stryke/env/get-env-paths';
|
|
29
|
+
import '@stryke/types/package-json';
|
|
30
|
+
import 'semver';
|
|
31
|
+
import 'unplugin';
|
|
32
|
+
import './internal-CpVMJCaU.js';
|
|
33
|
+
import './api-B6hfFxVS.js';
|
|
34
|
+
import './tsconfig-Bz-CiFqD.js';
|
|
35
|
+
import '@stryke/types/tsconfig';
|
|
36
|
+
import 'typescript';
|
|
25
37
|
import '@stryke/types/configuration';
|
|
26
38
|
import '@storm-software/build-tools/types';
|
|
27
39
|
import '@storm-software/config-tools/types';
|
|
@@ -38,19 +50,10 @@ import 'esbuild';
|
|
|
38
50
|
import 'rolldown';
|
|
39
51
|
import 'rollup';
|
|
40
52
|
import 'webpack';
|
|
41
|
-
import '@stryke/env/get-env-paths';
|
|
42
|
-
import '@stryke/types/package-json';
|
|
43
53
|
import 'jest-worker';
|
|
44
54
|
import 'magic-string';
|
|
45
|
-
import 'oxc-parser';
|
|
46
|
-
import 'semver';
|
|
47
|
-
import 'unplugin';
|
|
48
55
|
import '@stryke/types/array';
|
|
49
|
-
import '
|
|
50
|
-
import '@stryke/types/tsconfig';
|
|
51
|
-
import 'typescript';
|
|
52
|
-
import '@stryke/json/types';
|
|
53
|
-
import './hooks-Cn-IqwYp.js';
|
|
56
|
+
import 'ts-morph';
|
|
54
57
|
|
|
55
58
|
/**
|
|
56
59
|
* Represents a virtual file system (VFS) that stores files and their associated metadata in virtual memory.
|
|
@@ -90,7 +93,7 @@ declare class VirtualFileSystem implements VirtualFileSystemInterface {
|
|
|
90
93
|
* Creates a new instance of the {@link VirtualFileSystem}.
|
|
91
94
|
*
|
|
92
95
|
* @param context - The context of the virtual file system, typically containing options and logging functions.
|
|
93
|
-
* @param
|
|
96
|
+
* @param fs - A buffer containing the serialized virtual file system data.
|
|
94
97
|
*/
|
|
95
98
|
private constructor();
|
|
96
99
|
/**
|
package/dist/lib/index.js
CHANGED
|
@@ -1,23 +1,29 @@
|
|
|
1
1
|
import './chunk-HMO3LAYL.js';
|
|
2
|
+
export { resolve } from './chunk-SEWUUTNA.js';
|
|
2
3
|
export { generateSourceMap } from './chunk-NST5TNW6.js';
|
|
3
4
|
export { Worker, createWorker } from './chunk-EQKS6CLU.js';
|
|
4
|
-
export { getCache, setCache } from './chunk-6RLV3FIS.js';
|
|
5
|
-
export { resolve } from './chunk-SEWUUTNA.js';
|
|
6
|
-
export { bundle } from './chunk-EUDKQWSB.js';
|
|
7
|
-
export { resolvePath } from './chunk-NWAD7K4D.js';
|
|
8
|
-
import './chunk-ZBLDAREE.js';
|
|
9
|
-
export { isolatedDeclarations } from './chunk-NDYKRNPQ.js';
|
|
10
5
|
import './chunk-H5JWMXTZ.js';
|
|
11
|
-
export {
|
|
6
|
+
export { createUnpluginFactory } from './chunk-QP6WX3Q3.js';
|
|
12
7
|
export { writeFile } from './chunk-TANQDHYY.js';
|
|
13
8
|
export { getBaseFileHeader, getFileHeader } from './chunk-GANVMM73.js';
|
|
14
|
-
export {
|
|
15
|
-
|
|
16
|
-
export { handleResolveId } from './chunk-
|
|
17
|
-
export {
|
|
9
|
+
export { createUnplugin } from './chunk-52VDUP5J.js';
|
|
10
|
+
import './chunk-32Q2PG5D.js';
|
|
11
|
+
export { handleResolveId } from './chunk-G7S5PIAC.js';
|
|
12
|
+
export { bundle } from './chunk-EUDKQWSB.js';
|
|
13
|
+
export { resolvePath } from './chunk-NWAD7K4D.js';
|
|
14
|
+
export { getCache, setCache } from './chunk-6RLV3FIS.js';
|
|
15
|
+
import './chunk-NYNHNTHT.js';
|
|
16
|
+
import './chunk-FFT4PWRM.js';
|
|
18
17
|
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './chunk-YOENMDZY.js';
|
|
18
|
+
export { isolatedDeclarations } from './chunk-NDYKRNPQ.js';
|
|
19
|
+
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './chunk-54XNJQTH.js';
|
|
20
|
+
export { createProgram } from './chunk-RD5AUWXN.js';
|
|
21
|
+
export { PowerlinesAPIContext } from './chunk-YNKFRPUY.js';
|
|
22
|
+
export { PowerlinesEnvironmentContext } from './chunk-M2U6XIQ2.js';
|
|
23
|
+
export { createPluginContext } from './chunk-KFJCWNVG.js';
|
|
24
|
+
export { PowerlinesContext, VirtualFileSystem } from './chunk-BLNW3ZQA.js';
|
|
25
|
+
export { CACHE_HASH_LENGTH, PROJECT_ROOT_HASH_LENGTH, discoverTemplates, getChecksum, getPersistedMeta, getPrefixedProjectRootHash, writeMetaFile } from './chunk-YH5GOJS3.js';
|
|
19
26
|
export { loadUserConfigFile, loadWorkspaceConfig } from './chunk-ZPIKFR7Z.js';
|
|
20
|
-
export { createProgram } from './chunk-CXRSMYEX.js';
|
|
21
27
|
export { createLog, extendLog } from './chunk-ENRLU4UR.js';
|
|
22
28
|
export { getMagicString, getSourceFile, getString } from './chunk-M263EZ4F.js';
|
|
23
29
|
import './chunk-AOHJEL2Q.js';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { A as API, C as CallHookOptions } from './api-B6hfFxVS.js';
|
|
2
|
+
import { m as ResolvedConfig, n as EnvironmentContext, p as PluginContext, s as HookKeys, z as InferHookParameters, B as InferHookReturnType } from './config-DeUaQYc_.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Internal fields and methods for internal contexts
|
|
6
|
+
*
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
interface UNSAFE_ContextInternal<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
10
|
+
api: API<TResolvedConfig>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* An internal representation of the environment context, used for managing hooks and environment data.
|
|
14
|
+
*
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
interface UNSAFE_EnvironmentContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> extends EnvironmentContext<TResolvedConfig> {
|
|
18
|
+
$$internal: UNSAFE_ContextInternal<TResolvedConfig>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Internal fields and methods for the internal plugin context
|
|
22
|
+
*
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
interface UNSAFE_PluginContextInternal<TResolvedConfig extends ResolvedConfig = ResolvedConfig> extends UNSAFE_ContextInternal<TResolvedConfig> {
|
|
26
|
+
api: API<TResolvedConfig>;
|
|
27
|
+
environment: UNSAFE_EnvironmentContext<TResolvedConfig>;
|
|
28
|
+
callHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: CallHookOptions, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey> | undefined>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* An internal representation of the plugin context, used for managing hooks and environment data.
|
|
32
|
+
*
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
interface UNSAFE_PluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> extends PluginContext<TResolvedConfig> {
|
|
36
|
+
$$internal: UNSAFE_PluginContextInternal<TResolvedConfig>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type { UNSAFE_PluginContext as U, UNSAFE_ContextInternal as a, UNSAFE_EnvironmentContext as b };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { A as API, C as CallHookOptions } from './api-CD2QlMig.cjs';
|
|
2
|
+
import { m as ResolvedConfig, n as EnvironmentContext, p as PluginContext, s as HookKeys, z as InferHookParameters, B as InferHookReturnType } from './config-DTSdCZsw.cjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Internal fields and methods for internal contexts
|
|
6
|
+
*
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
interface UNSAFE_ContextInternal<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
10
|
+
api: API<TResolvedConfig>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* An internal representation of the environment context, used for managing hooks and environment data.
|
|
14
|
+
*
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
interface UNSAFE_EnvironmentContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> extends EnvironmentContext<TResolvedConfig> {
|
|
18
|
+
$$internal: UNSAFE_ContextInternal<TResolvedConfig>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Internal fields and methods for the internal plugin context
|
|
22
|
+
*
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
interface UNSAFE_PluginContextInternal<TResolvedConfig extends ResolvedConfig = ResolvedConfig> extends UNSAFE_ContextInternal<TResolvedConfig> {
|
|
26
|
+
api: API<TResolvedConfig>;
|
|
27
|
+
environment: UNSAFE_EnvironmentContext<TResolvedConfig>;
|
|
28
|
+
callHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: CallHookOptions, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey> | undefined>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* An internal representation of the plugin context, used for managing hooks and environment data.
|
|
32
|
+
*
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
interface UNSAFE_PluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> extends PluginContext<TResolvedConfig> {
|
|
36
|
+
$$internal: UNSAFE_PluginContextInternal<TResolvedConfig>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type { UNSAFE_PluginContext as U, UNSAFE_ContextInternal as a, UNSAFE_EnvironmentContext as b };
|
package/dist/lib/logger.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
2
|
-
import { L as LogFn, e as WorkspaceConfig } from './config-
|
|
2
|
+
import { L as LogFn, e as WorkspaceConfig } from './config-DTSdCZsw.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
5
5
|
import '@stryke/types/base';
|
|
@@ -20,15 +20,13 @@ import '@stryke/types/package-json';
|
|
|
20
20
|
import 'jest-worker';
|
|
21
21
|
import 'jiti';
|
|
22
22
|
import 'magic-string';
|
|
23
|
-
import 'oxc-parser';
|
|
24
23
|
import 'semver';
|
|
25
24
|
import 'unplugin';
|
|
25
|
+
import 'node:fs';
|
|
26
26
|
import '@stryke/types/array';
|
|
27
27
|
import './tsconfig-Bz-CiFqD.cjs';
|
|
28
28
|
import '@stryke/types/tsconfig';
|
|
29
29
|
import 'typescript';
|
|
30
|
-
import '@stryke/json/types';
|
|
31
|
-
import 'node:fs';
|
|
32
30
|
|
|
33
31
|
interface CreateLogOptions {
|
|
34
32
|
name?: string;
|
|
@@ -45,5 +43,6 @@ interface CreateLogOptions {
|
|
|
45
43
|
*/
|
|
46
44
|
declare const createLog: (name: string | null, options?: CreateLogOptions) => LogFn;
|
|
47
45
|
declare const extendLog: (logFn: LogFn, name: string) => LogFn;
|
|
46
|
+
declare type __ΩCreateLogOptions = any[];
|
|
48
47
|
|
|
49
|
-
export { type CreateLogOptions, createLog, extendLog };
|
|
48
|
+
export { type CreateLogOptions, type __ΩCreateLogOptions, createLog, extendLog };
|
package/dist/lib/logger.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
2
|
-
import { L as LogFn, e as WorkspaceConfig } from './config-
|
|
2
|
+
import { L as LogFn, e as WorkspaceConfig } from './config-DeUaQYc_.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
5
5
|
import '@stryke/types/base';
|
|
@@ -20,15 +20,13 @@ import '@stryke/types/package-json';
|
|
|
20
20
|
import 'jest-worker';
|
|
21
21
|
import 'jiti';
|
|
22
22
|
import 'magic-string';
|
|
23
|
-
import 'oxc-parser';
|
|
24
23
|
import 'semver';
|
|
25
24
|
import 'unplugin';
|
|
25
|
+
import 'node:fs';
|
|
26
26
|
import '@stryke/types/array';
|
|
27
27
|
import './tsconfig-Bz-CiFqD.js';
|
|
28
28
|
import '@stryke/types/tsconfig';
|
|
29
29
|
import 'typescript';
|
|
30
|
-
import '@stryke/json/types';
|
|
31
|
-
import 'node:fs';
|
|
32
30
|
|
|
33
31
|
interface CreateLogOptions {
|
|
34
32
|
name?: string;
|
|
@@ -45,5 +43,6 @@ interface CreateLogOptions {
|
|
|
45
43
|
*/
|
|
46
44
|
declare const createLog: (name: string | null, options?: CreateLogOptions) => LogFn;
|
|
47
45
|
declare const extendLog: (logFn: LogFn, name: string) => LogFn;
|
|
46
|
+
declare type __ΩCreateLogOptions = any[];
|
|
48
47
|
|
|
49
|
-
export { type CreateLogOptions, createLog, extendLog };
|
|
48
|
+
export { type CreateLogOptions, type __ΩCreateLogOptions, createLog, extendLog };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var chunkIBPA3VN5_cjs = require('../chunk-IBPA3VN5.cjs');
|
|
4
3
|
var chunkBQU53ZNB_cjs = require('../chunk-BQU53ZNB.cjs');
|
|
4
|
+
var chunkIBPA3VN5_cjs = require('../chunk-IBPA3VN5.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');
|