powerlines 0.23.3 → 0.23.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--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/babel-types.d.ts +292 -0
- package/dist/{chunk-CPRXGMH2.js → chunk-33BDG6M5.js} +1 -1
- package/dist/{chunk-KFRKOIP3.js → chunk-3HOOIAF4.js} +1 -1
- package/dist/{chunk-JZAQW55G.cjs → chunk-4OAW547A.cjs} +2 -2
- package/dist/{chunk-Q7HBETZW.js → chunk-5CCEQUAZ.js} +1 -1
- package/dist/{chunk-DWV5QAGZ.cjs → chunk-62BQYRPM.cjs} +2999 -2712
- package/dist/{chunk-F6BDL4HD.js → chunk-AK5B45AH.js} +1 -1
- package/dist/{chunk-3WDMXRK6.cjs → chunk-AYKZK666.cjs} +1 -1
- package/dist/{chunk-TNYZH6EG.js → chunk-E4M4KEL3.js} +2983 -2701
- package/dist/{chunk-WSLPUUGZ.js → chunk-GHHMURR4.js} +1 -1
- package/dist/{chunk-5A7FM72H.cjs → chunk-GXJ5L37C.cjs} +2 -2
- package/dist/{chunk-IGWSCIES.js → chunk-GZNJUK7U.js} +3 -2
- package/dist/{chunk-J7MZRPLN.cjs → chunk-I3EUY74Q.cjs} +5 -4
- package/dist/chunk-IVABRCNA.js +29 -0
- package/dist/{chunk-M4QJ2474.cjs → chunk-JJXDDTSL.cjs} +4 -4
- package/dist/{chunk-WDBPA4RQ.cjs → chunk-K5TOHSUD.cjs} +2 -2
- package/dist/{chunk-4ODWTALP.js → chunk-M7N6RX2H.js} +2 -2
- package/dist/{chunk-J3LN5HOC.cjs → chunk-MAOXZVDE.cjs} +2 -2
- package/dist/{chunk-YQ76DZYD.cjs → chunk-NWZXH2HK.cjs} +2 -2
- package/dist/{chunk-ZFO3FUM4.cjs → chunk-PFECSHR6.cjs} +2 -2
- package/dist/{chunk-JAJ4CI2F.cjs → chunk-Q3ZFML4W.cjs} +2 -2
- package/dist/chunk-RM37JA3L.cjs +32 -0
- package/dist/{chunk-GNNF5SG6.cjs → chunk-RVO5GC2H.cjs} +2 -2
- package/dist/{chunk-J5LKLH5Z.js → chunk-TSKJTJ2P.js} +1 -1
- package/dist/{chunk-WG55ZHJL.cjs → chunk-VRFJDHDN.cjs} +2 -2
- package/dist/{chunk-FM4ABZQ2.js → chunk-VT7NVLLU.js} +1 -1
- package/dist/{chunk-LKN52AAX.js → chunk-W36NC3B7.js} +1 -1
- package/dist/{chunk-RWVNX2CP.js → chunk-XDNNFAQR.js} +1 -1
- package/dist/{chunk-DUYZ3TCT.js → chunk-XWBVMNBI.js} +1 -1
- package/dist/{chunk-WXU3KLBP.cjs → chunk-YBOJFFO2.cjs} +2 -2
- package/dist/{chunk-NH7U3PTV.js → chunk-ZOMJH52N.js} +1 -1
- 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 +188 -36
- package/dist/index.d.ts +188 -36
- 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-27RAXIPT.cjs +175 -0
- 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-UWHGJ4JS.js → chunk-764HUXP3.js} +484 -1777
- package/dist/lib/chunk-B3EE3VHZ.cjs +127 -0
- package/dist/lib/chunk-CCGA6ZHZ.cjs +1218 -0
- package/dist/lib/chunk-DX2VAXZB.cjs +11 -0
- package/dist/lib/{chunk-VGSV2BEL.cjs → chunk-EFYMNU53.cjs} +6 -12
- package/dist/lib/chunk-EJTGOYSI.cjs +146 -0
- package/dist/lib/chunk-EN4XP4D5.js +144 -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-MVIKYHBX.cjs +2 -0
- package/dist/lib/chunk-NDKPSA3I.js +1190 -0
- package/dist/lib/{chunk-A5SB72VO.cjs → chunk-NVUXGMU5.cjs} +495 -1781
- package/dist/lib/chunk-NYNHNTHT.js +1 -0
- package/dist/lib/chunk-SZH2DJOG.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 +2 -4
- package/dist/lib/config-file.d.ts +2 -4
- 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 +17 -14
- package/dist/lib/index.d.ts +17 -14
- 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 +2 -4
- package/dist/lib/logger.d.ts +2 -4
- package/dist/lib/typescript/compiler-host.cjs +1 -1
- package/dist/lib/typescript/compiler-host.d.cts +2 -4
- package/dist/lib/typescript/compiler-host.d.ts +2 -4
- 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 +4 -4
- package/dist/lib/typescript/index.d.ts +4 -4
- package/dist/lib/typescript/index.js +3 -2
- package/dist/lib/typescript/program.d.cts +2 -4
- package/dist/lib/typescript/program.d.ts +2 -4
- 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 +4 -6
- package/dist/lib/unplugin/index.d.ts +4 -6
- package/dist/lib/unplugin/index.js +9 -4
- package/dist/lib/unplugin/plugin.cjs +4 -3
- package/dist/lib/unplugin/plugin.d.cts +2 -4
- package/dist/lib/unplugin/plugin.d.ts +2 -4
- 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 +2 -4
- package/dist/lib/unplugin/resolve-id.d.ts +2 -4
- 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 +2 -4
- package/dist/lib/utilities/file-header.d.ts +2 -4
- package/dist/lib/utilities/index.cjs +18 -18
- package/dist/lib/utilities/index.d.cts +2 -4
- package/dist/lib/utilities/index.d.ts +2 -4
- package/dist/lib/utilities/index.js +4 -4
- package/dist/lib/utilities/meta.d.cts +2 -4
- package/dist/lib/utilities/meta.d.ts +2 -4
- 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 +2 -4
- package/dist/lib/utilities/worker.d.ts +2 -4
- 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 +2 -4
- package/dist/plugin-utils/index.d.ts +2 -4
- package/dist/plugin-utils/merge.d.cts +2 -4
- package/dist/plugin-utils/merge.d.ts +2 -4
- package/dist/plugin-utils/paths.d.cts +2 -4
- package/dist/plugin-utils/paths.d.ts +2 -4
- package/dist/{resolved-Dem-rX6I.d.cts → resolved-C00CJgsk.d.cts} +9 -8
- package/dist/{resolved-BVakEeek.d.ts → resolved-DKFZ11S7.d.ts} +9 -8
- 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/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} +43 -38
- package/dist/types/{vfs.d.ts → fs.d.ts} +43 -38
- 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 +5 -6
- package/dist/types/index.d.ts +5 -6
- package/dist/types/index.js +3 -2
- package/dist/types/internal.d.cts +44 -9
- package/dist/types/internal.d.ts +44 -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/unplugin.d.cts +20 -12
- package/dist/types/unplugin.d.ts +20 -12
- 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 +38 -10
- package/schemas/fs.capnp +73 -15
- package/dist/chunk-RODEAGIJ.cjs +0 -32
- package/dist/chunk-SKLSRHBU.js +0 -29
- package/dist/hooks-B3vzw6La.d.ts +0 -28
- package/dist/hooks-YACA4jMY.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/unplugin.d.cts
CHANGED
|
@@ -2,18 +2,17 @@ import * as webpack from 'webpack';
|
|
|
2
2
|
import * as vite from 'vite';
|
|
3
3
|
import * as unloader from 'unloader';
|
|
4
4
|
import * as unplugin from 'unplugin';
|
|
5
|
-
import { UnpluginOptions } from 'unplugin';
|
|
6
5
|
import * as rollup from 'rollup';
|
|
7
6
|
import * as rolldown from 'rolldown';
|
|
8
7
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
9
8
|
import * as _esbuild from 'esbuild';
|
|
10
9
|
import * as astro from 'astro';
|
|
11
|
-
import { b7 as Context, cB as InferResolvedConfig, cs as ViteResolvedConfig, Y as ESBuildUserConfig, V as RolldownUserConfig, T as RollupUserConfig, Q as RspackUserConfig, U as UserConfig, X as ViteUserConfig, M as WebpackUserConfig } from './resolved-
|
|
10
|
+
import { b7 as Context, cB as InferResolvedConfig, cs as ViteResolvedConfig, Y as ESBuildUserConfig, V as RolldownUserConfig, T as RollupUserConfig, Q as RspackUserConfig, U as UserConfig, X as ViteUserConfig, M as WebpackUserConfig } from './resolved-C00CJgsk.cjs';
|
|
12
11
|
import { UnpluginBuildVariant, BuildConfig, BuildResolvedConfig } from './types/build.cjs';
|
|
13
12
|
import next from './next.cjs';
|
|
14
13
|
import tsup from './tsup.cjs';
|
|
15
14
|
import { PowerlinesAPI } from './api.cjs';
|
|
16
|
-
import { InferUnpluginOptions,
|
|
15
|
+
import { PowerlinesUnpluginOptions, InferUnpluginOptions, PowerlinesUnpluginFactory } from './types/unplugin.cjs';
|
|
17
16
|
import '@stryke/types/base';
|
|
18
17
|
import '@stryke/types/configuration';
|
|
19
18
|
import '@stryke/types/file';
|
|
@@ -29,23 +28,21 @@ import 'jest-worker';
|
|
|
29
28
|
import 'jiti';
|
|
30
29
|
import 'magic-string';
|
|
31
30
|
import 'memfs';
|
|
32
|
-
import 'oxc-parser';
|
|
33
31
|
import 'semver';
|
|
34
32
|
import 'unimport';
|
|
33
|
+
import './types/fs.cjs';
|
|
34
|
+
import 'node:fs';
|
|
35
35
|
import '@stryke/types/array';
|
|
36
36
|
import './types/tsconfig.cjs';
|
|
37
37
|
import '@stryke/types/tsconfig';
|
|
38
38
|
import 'typescript';
|
|
39
|
-
import './types/vfs.cjs';
|
|
40
|
-
import '@stryke/json/types';
|
|
41
|
-
import 'node:fs';
|
|
42
39
|
import '@farmfe/core';
|
|
43
40
|
import '@rspack/core';
|
|
44
41
|
import '@storm-software/tsup/types';
|
|
45
42
|
import '@storm-software/unbuild/types';
|
|
46
43
|
import 'next';
|
|
47
44
|
import 'tsup';
|
|
48
|
-
import './
|
|
45
|
+
import './api--9pVSIbm.cjs';
|
|
49
46
|
|
|
50
47
|
/**
|
|
51
48
|
* Creates a Powerlines unplugin factory that generates a plugin instance.
|
|
@@ -54,7 +51,7 @@ import './hooks-YACA4jMY.cjs';
|
|
|
54
51
|
* @param decorate - An optional function to decorate the unplugin options.
|
|
55
52
|
* @returns The unplugin factory that generates a plugin instance.
|
|
56
53
|
*/
|
|
57
|
-
declare function createUnpluginFactory<TBuildVariant extends UnpluginBuildVariant, TContext extends Context<InferResolvedConfig<TBuildVariant>> = Context<InferResolvedConfig<TBuildVariant>>>(variant: TBuildVariant, decorate?: (api: PowerlinesAPI<TContext["config"]>, plugin: Omit<
|
|
54
|
+
declare function createUnpluginFactory<TBuildVariant extends UnpluginBuildVariant, TContext extends Context<InferResolvedConfig<TBuildVariant>> = Context<InferResolvedConfig<TBuildVariant>>>(variant: TBuildVariant, decorate?: (api: PowerlinesAPI<TContext["config"]>, plugin: Omit<PowerlinesUnpluginOptions<TBuildVariant>, UnpluginBuildVariant>) => InferUnpluginOptions<TBuildVariant>): PowerlinesUnpluginFactory<TBuildVariant>;
|
|
58
55
|
|
|
59
56
|
/**
|
|
60
57
|
* An object containing all Powerlines plugins for various build tools and frameworks.
|
package/dist/unplugin.d.ts
CHANGED
|
@@ -2,18 +2,17 @@ import * as webpack from 'webpack';
|
|
|
2
2
|
import * as vite from 'vite';
|
|
3
3
|
import * as unloader from 'unloader';
|
|
4
4
|
import * as unplugin from 'unplugin';
|
|
5
|
-
import { UnpluginOptions } from 'unplugin';
|
|
6
5
|
import * as rollup from 'rollup';
|
|
7
6
|
import * as rolldown from 'rolldown';
|
|
8
7
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
9
8
|
import * as _esbuild from 'esbuild';
|
|
10
9
|
import * as astro from 'astro';
|
|
11
|
-
import { b7 as Context, cB as InferResolvedConfig, cs as ViteResolvedConfig, Y as ESBuildUserConfig, V as RolldownUserConfig, T as RollupUserConfig, Q as RspackUserConfig, U as UserConfig, X as ViteUserConfig, M as WebpackUserConfig } from './resolved-
|
|
10
|
+
import { b7 as Context, cB as InferResolvedConfig, cs as ViteResolvedConfig, Y as ESBuildUserConfig, V as RolldownUserConfig, T as RollupUserConfig, Q as RspackUserConfig, U as UserConfig, X as ViteUserConfig, M as WebpackUserConfig } from './resolved-DKFZ11S7.js';
|
|
12
11
|
import { UnpluginBuildVariant, BuildConfig, BuildResolvedConfig } from './types/build.js';
|
|
13
12
|
import next from './next.js';
|
|
14
13
|
import tsup from './tsup.js';
|
|
15
14
|
import { PowerlinesAPI } from './api.js';
|
|
16
|
-
import { InferUnpluginOptions,
|
|
15
|
+
import { PowerlinesUnpluginOptions, InferUnpluginOptions, PowerlinesUnpluginFactory } from './types/unplugin.js';
|
|
17
16
|
import '@stryke/types/base';
|
|
18
17
|
import '@stryke/types/configuration';
|
|
19
18
|
import '@stryke/types/file';
|
|
@@ -29,23 +28,21 @@ import 'jest-worker';
|
|
|
29
28
|
import 'jiti';
|
|
30
29
|
import 'magic-string';
|
|
31
30
|
import 'memfs';
|
|
32
|
-
import 'oxc-parser';
|
|
33
31
|
import 'semver';
|
|
34
32
|
import 'unimport';
|
|
33
|
+
import './types/fs.js';
|
|
34
|
+
import 'node:fs';
|
|
35
35
|
import '@stryke/types/array';
|
|
36
36
|
import './types/tsconfig.js';
|
|
37
37
|
import '@stryke/types/tsconfig';
|
|
38
38
|
import 'typescript';
|
|
39
|
-
import './types/vfs.js';
|
|
40
|
-
import '@stryke/json/types';
|
|
41
|
-
import 'node:fs';
|
|
42
39
|
import '@farmfe/core';
|
|
43
40
|
import '@rspack/core';
|
|
44
41
|
import '@storm-software/tsup/types';
|
|
45
42
|
import '@storm-software/unbuild/types';
|
|
46
43
|
import 'next';
|
|
47
44
|
import 'tsup';
|
|
48
|
-
import './
|
|
45
|
+
import './api-DxPACGY4.js';
|
|
49
46
|
|
|
50
47
|
/**
|
|
51
48
|
* Creates a Powerlines unplugin factory that generates a plugin instance.
|
|
@@ -54,7 +51,7 @@ import './hooks-B3vzw6La.js';
|
|
|
54
51
|
* @param decorate - An optional function to decorate the unplugin options.
|
|
55
52
|
* @returns The unplugin factory that generates a plugin instance.
|
|
56
53
|
*/
|
|
57
|
-
declare function createUnpluginFactory<TBuildVariant extends UnpluginBuildVariant, TContext extends Context<InferResolvedConfig<TBuildVariant>> = Context<InferResolvedConfig<TBuildVariant>>>(variant: TBuildVariant, decorate?: (api: PowerlinesAPI<TContext["config"]>, plugin: Omit<
|
|
54
|
+
declare function createUnpluginFactory<TBuildVariant extends UnpluginBuildVariant, TContext extends Context<InferResolvedConfig<TBuildVariant>> = Context<InferResolvedConfig<TBuildVariant>>>(variant: TBuildVariant, decorate?: (api: PowerlinesAPI<TContext["config"]>, plugin: Omit<PowerlinesUnpluginOptions<TBuildVariant>, UnpluginBuildVariant>) => InferUnpluginOptions<TBuildVariant>): PowerlinesUnpluginFactory<TBuildVariant>;
|
|
58
55
|
|
|
59
56
|
/**
|
|
60
57
|
* An object containing all Powerlines plugins for various build tools and frameworks.
|
package/dist/unplugin.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { unplugin_default as default, plugins } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
1
|
+
export { unplugin_default as default, plugins } from './chunk-IVABRCNA.js';
|
|
2
|
+
import './chunk-3HOOIAF4.js';
|
|
3
|
+
import './chunk-XDNNFAQR.js';
|
|
4
|
+
import './chunk-ZOMJH52N.js';
|
|
5
|
+
import './chunk-33BDG6M5.js';
|
|
6
|
+
import './chunk-GHHMURR4.js';
|
|
7
|
+
import './chunk-AK5B45AH.js';
|
|
8
|
+
import './chunk-W36NC3B7.js';
|
|
9
|
+
import './chunk-TSKJTJ2P.js';
|
|
10
|
+
import './chunk-M7N6RX2H.js';
|
|
11
|
+
import './chunk-XWBVMNBI.js';
|
|
12
12
|
import './chunk-VBR53KGY.js';
|
|
13
|
-
import './chunk-
|
|
14
|
-
export { createUnpluginFactory } from './chunk-
|
|
15
|
-
import './chunk-
|
|
13
|
+
import './chunk-5CCEQUAZ.js';
|
|
14
|
+
export { createUnpluginFactory } from './chunk-GZNJUK7U.js';
|
|
15
|
+
import './chunk-E4M4KEL3.js';
|
|
16
16
|
import './chunk-JQCWV4DT.js';
|
|
17
|
-
import './chunk-FM4ABZQ2.js';
|
|
18
17
|
import './chunk-JKBJF3UI.js';
|
|
18
|
+
import './chunk-VT7NVLLU.js';
|
|
19
19
|
import './chunk-SHUYVCID.js';
|
package/dist/vite.cjs
CHANGED
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkVRFJDHDN_cjs = require('./chunk-VRFJDHDN.cjs');
|
|
6
6
|
require('./chunk-5IBA5HC2.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-I3EUY74Q.cjs');
|
|
8
|
+
require('./chunk-62BQYRPM.cjs');
|
|
9
9
|
require('./chunk-ETKZMGLN.cjs');
|
|
10
|
-
require('./chunk-3WDMXRK6.cjs');
|
|
11
10
|
require('./chunk-PAMSESZV.cjs');
|
|
11
|
+
require('./chunk-AYKZK666.cjs');
|
|
12
12
|
require('./chunk-USNT2KNT.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "default", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkVRFJDHDN_cjs.vite_default; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "module.exports", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkVRFJDHDN_cjs.vite; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "vite", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkVRFJDHDN_cjs.vite; }
|
|
27
27
|
});
|
package/dist/vite.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vite$1 from 'vite';
|
|
2
|
-
import { X as ViteUserConfig } from './resolved-
|
|
2
|
+
import { X as ViteUserConfig } from './resolved-C00CJgsk.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
|
@@ -24,17 +24,15 @@ import 'jest-worker';
|
|
|
24
24
|
import 'jiti';
|
|
25
25
|
import 'magic-string';
|
|
26
26
|
import 'memfs';
|
|
27
|
-
import 'oxc-parser';
|
|
28
27
|
import 'semver';
|
|
29
28
|
import 'unimport';
|
|
30
29
|
import 'unplugin';
|
|
30
|
+
import './types/fs.cjs';
|
|
31
|
+
import 'node:fs';
|
|
31
32
|
import '@stryke/types/array';
|
|
32
33
|
import './types/tsconfig.cjs';
|
|
33
34
|
import '@stryke/types/tsconfig';
|
|
34
35
|
import 'typescript';
|
|
35
|
-
import './types/vfs.cjs';
|
|
36
|
-
import '@stryke/json/types';
|
|
37
|
-
import 'node:fs';
|
|
38
36
|
|
|
39
37
|
/**
|
|
40
38
|
* A Vite plugin that will invoke the Powerlines API hooks during the build process.
|
package/dist/vite.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vite$1 from 'vite';
|
|
2
|
-
import { X as ViteUserConfig } from './resolved-
|
|
2
|
+
import { X as ViteUserConfig } from './resolved-DKFZ11S7.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
|
@@ -24,17 +24,15 @@ import 'jest-worker';
|
|
|
24
24
|
import 'jiti';
|
|
25
25
|
import 'magic-string';
|
|
26
26
|
import 'memfs';
|
|
27
|
-
import 'oxc-parser';
|
|
28
27
|
import 'semver';
|
|
29
28
|
import 'unimport';
|
|
30
29
|
import 'unplugin';
|
|
30
|
+
import './types/fs.js';
|
|
31
|
+
import 'node:fs';
|
|
31
32
|
import '@stryke/types/array';
|
|
32
33
|
import './types/tsconfig.js';
|
|
33
34
|
import '@stryke/types/tsconfig';
|
|
34
35
|
import 'typescript';
|
|
35
|
-
import './types/vfs.js';
|
|
36
|
-
import '@stryke/json/types';
|
|
37
|
-
import 'node:fs';
|
|
38
36
|
|
|
39
37
|
/**
|
|
40
38
|
* A Vite plugin that will invoke the Powerlines API hooks during the build process.
|
package/dist/vite.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { vite_default as default, vite as "module.exports", vite } from './chunk-
|
|
1
|
+
export { vite_default as default, vite as "module.exports", vite } from './chunk-XWBVMNBI.js';
|
|
2
2
|
import './chunk-VBR53KGY.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-GZNJUK7U.js';
|
|
4
|
+
import './chunk-E4M4KEL3.js';
|
|
5
5
|
import './chunk-JQCWV4DT.js';
|
|
6
|
-
import './chunk-FM4ABZQ2.js';
|
|
7
6
|
import './chunk-JKBJF3UI.js';
|
|
7
|
+
import './chunk-VT7NVLLU.js';
|
|
8
8
|
import './chunk-SHUYVCID.js';
|
package/dist/webpack.cjs
CHANGED
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
5
|
+
var chunkQ3ZFML4W_cjs = require('./chunk-Q3ZFML4W.cjs');
|
|
6
|
+
require('./chunk-I3EUY74Q.cjs');
|
|
7
|
+
require('./chunk-62BQYRPM.cjs');
|
|
8
8
|
require('./chunk-ETKZMGLN.cjs');
|
|
9
|
-
require('./chunk-3WDMXRK6.cjs');
|
|
10
9
|
require('./chunk-PAMSESZV.cjs');
|
|
10
|
+
require('./chunk-AYKZK666.cjs');
|
|
11
11
|
require('./chunk-USNT2KNT.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "default", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkQ3ZFML4W_cjs.webpack_default; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "module.exports", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkQ3ZFML4W_cjs.webpack; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "webpack", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkQ3ZFML4W_cjs.webpack; }
|
|
26
26
|
});
|
package/dist/webpack.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as webpack$1 from 'webpack';
|
|
2
|
-
import { M as WebpackUserConfig } from './resolved-
|
|
2
|
+
import { M as WebpackUserConfig } from './resolved-C00CJgsk.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
|
@@ -24,17 +24,15 @@ import 'jest-worker';
|
|
|
24
24
|
import 'jiti';
|
|
25
25
|
import 'magic-string';
|
|
26
26
|
import 'memfs';
|
|
27
|
-
import 'oxc-parser';
|
|
28
27
|
import 'semver';
|
|
29
28
|
import 'unimport';
|
|
30
29
|
import 'unplugin';
|
|
30
|
+
import './types/fs.cjs';
|
|
31
|
+
import 'node:fs';
|
|
31
32
|
import '@stryke/types/array';
|
|
32
33
|
import './types/tsconfig.cjs';
|
|
33
34
|
import '@stryke/types/tsconfig';
|
|
34
35
|
import 'typescript';
|
|
35
|
-
import './types/vfs.cjs';
|
|
36
|
-
import '@stryke/json/types';
|
|
37
|
-
import 'node:fs';
|
|
38
36
|
|
|
39
37
|
/**
|
|
40
38
|
* An Webpack plugin that will invoke the Powerlines API hooks during the build process.
|
package/dist/webpack.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as webpack$1 from 'webpack';
|
|
2
|
-
import { M as WebpackUserConfig } from './resolved-
|
|
2
|
+
import { M as WebpackUserConfig } from './resolved-DKFZ11S7.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
|
@@ -24,17 +24,15 @@ import 'jest-worker';
|
|
|
24
24
|
import 'jiti';
|
|
25
25
|
import 'magic-string';
|
|
26
26
|
import 'memfs';
|
|
27
|
-
import 'oxc-parser';
|
|
28
27
|
import 'semver';
|
|
29
28
|
import 'unimport';
|
|
30
29
|
import 'unplugin';
|
|
30
|
+
import './types/fs.js';
|
|
31
|
+
import 'node:fs';
|
|
31
32
|
import '@stryke/types/array';
|
|
32
33
|
import './types/tsconfig.js';
|
|
33
34
|
import '@stryke/types/tsconfig';
|
|
34
35
|
import 'typescript';
|
|
35
|
-
import './types/vfs.js';
|
|
36
|
-
import '@stryke/json/types';
|
|
37
|
-
import 'node:fs';
|
|
38
36
|
|
|
39
37
|
/**
|
|
40
38
|
* An Webpack plugin that will invoke the Powerlines API hooks during the build process.
|
package/dist/webpack.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { webpack_default as default, webpack as "module.exports", webpack } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { webpack_default as default, webpack as "module.exports", webpack } from './chunk-5CCEQUAZ.js';
|
|
2
|
+
import './chunk-GZNJUK7U.js';
|
|
3
|
+
import './chunk-E4M4KEL3.js';
|
|
4
4
|
import './chunk-JQCWV4DT.js';
|
|
5
|
-
import './chunk-FM4ABZQ2.js';
|
|
6
5
|
import './chunk-JKBJF3UI.js';
|
|
6
|
+
import './chunk-VT7NVLLU.js';
|
|
7
7
|
import './chunk-SHUYVCID.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "powerlines",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The \"any framework\" framework that simplifies modern dev tool usage, generates virtual (or actual) code modules, and improves DX across the board.",
|
|
6
6
|
"repository": {
|
|
@@ -246,6 +246,34 @@
|
|
|
246
246
|
},
|
|
247
247
|
"default": { "types": "./dist/lib/*.d.ts", "default": "./dist/lib/*.js" }
|
|
248
248
|
},
|
|
249
|
+
"./lib/contexts": {
|
|
250
|
+
"import": {
|
|
251
|
+
"types": "./dist/lib/contexts/index.d.ts",
|
|
252
|
+
"default": "./dist/lib/contexts/index.js"
|
|
253
|
+
},
|
|
254
|
+
"require": {
|
|
255
|
+
"types": "./dist/lib/contexts/index.d.cts",
|
|
256
|
+
"default": "./dist/lib/contexts/index.cjs"
|
|
257
|
+
},
|
|
258
|
+
"default": {
|
|
259
|
+
"types": "./dist/lib/contexts/index.d.ts",
|
|
260
|
+
"default": "./dist/lib/contexts/index.js"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"./lib/contexts/*": {
|
|
264
|
+
"import": {
|
|
265
|
+
"types": "./dist/lib/contexts/*.d.ts",
|
|
266
|
+
"default": "./dist/lib/contexts/*.js"
|
|
267
|
+
},
|
|
268
|
+
"require": {
|
|
269
|
+
"types": "./dist/lib/contexts/*.d.cts",
|
|
270
|
+
"default": "./dist/lib/contexts/*.cjs"
|
|
271
|
+
},
|
|
272
|
+
"default": {
|
|
273
|
+
"types": "./dist/lib/contexts/*.d.ts",
|
|
274
|
+
"default": "./dist/lib/contexts/*.js"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
249
277
|
"./lib/build": {
|
|
250
278
|
"import": {
|
|
251
279
|
"types": "./dist/lib/build/index.d.ts",
|
|
@@ -479,12 +507,12 @@
|
|
|
479
507
|
"@rollup/plugin-replace": "^6.0.3",
|
|
480
508
|
"@rollup/plugin-babel": "^6.1.0",
|
|
481
509
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
482
|
-
"@storm-software/build-tools": "^0.158.
|
|
483
|
-
"@storm-software/config": "^1.134.
|
|
484
|
-
"@storm-software/config-tools": "^1.188.
|
|
485
|
-
"@storm-software/esbuild": "^0.53.
|
|
486
|
-
"@storm-software/tsup": "^0.2.
|
|
487
|
-
"@storm-software/unbuild": "^0.57.
|
|
510
|
+
"@storm-software/build-tools": "^0.158.47",
|
|
511
|
+
"@storm-software/config": "^1.134.47",
|
|
512
|
+
"@storm-software/config-tools": "^1.188.47",
|
|
513
|
+
"@storm-software/esbuild": "^0.53.47",
|
|
514
|
+
"@storm-software/tsup": "^0.2.45",
|
|
515
|
+
"@storm-software/unbuild": "^0.57.47",
|
|
488
516
|
"@stryke/capnp": "^0.12.21",
|
|
489
517
|
"@stryke/convert": "^0.6.2",
|
|
490
518
|
"@stryke/env": "^0.20.14",
|
|
@@ -519,11 +547,11 @@
|
|
|
519
547
|
"unionfs": "^4.6.0",
|
|
520
548
|
"unplugin": "^2.3.10",
|
|
521
549
|
"unstorage": "^1.17.2",
|
|
522
|
-
"vite": "^7.2.
|
|
550
|
+
"vite": "^7.2.4"
|
|
523
551
|
},
|
|
524
552
|
"devDependencies": {
|
|
525
553
|
"@microsoft/tsdoc": "^0.15.1",
|
|
526
|
-
"@storm-software/testing-tools": "^1.119.
|
|
554
|
+
"@storm-software/testing-tools": "^1.119.47",
|
|
527
555
|
"@stryke/types": "^0.10.2",
|
|
528
556
|
"@types/babel__core": "^7.20.5",
|
|
529
557
|
"@types/babel__helper-module-imports": "^7.18.3",
|
|
@@ -540,5 +568,5 @@
|
|
|
540
568
|
"typescript": "^5.9.3"
|
|
541
569
|
},
|
|
542
570
|
"publishConfig": { "access": "public" },
|
|
543
|
-
"gitHead": "
|
|
571
|
+
"gitHead": "50a08b483769a727b5d7c3a2f38e022e21ee915d"
|
|
544
572
|
}
|
package/schemas/fs.capnp
CHANGED
|
@@ -1,15 +1,32 @@
|
|
|
1
1
|
@0xa56c61324b9d6e49;
|
|
2
2
|
|
|
3
|
+
enum FileType {
|
|
4
|
+
normal @0;
|
|
5
|
+
builtin @1;
|
|
6
|
+
entry @2;
|
|
7
|
+
chunk @3;
|
|
8
|
+
prebuilt @4;
|
|
9
|
+
asset @5;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
enum PreserveSignatureType {
|
|
13
|
+
strict @0;
|
|
14
|
+
allowExtension @1;
|
|
15
|
+
exportsOnly @2;
|
|
16
|
+
}
|
|
17
|
+
|
|
3
18
|
# Additional metadata associated with a file in the file system.
|
|
4
19
|
struct FileMetadata {
|
|
5
20
|
# The identifier for the file data.
|
|
6
21
|
id @0 :Text;
|
|
7
|
-
# The
|
|
8
|
-
|
|
22
|
+
# The type of the file.
|
|
23
|
+
type @1 :Text = "normal";
|
|
9
24
|
# The output mode of the file.
|
|
10
25
|
mode @2 :Text;
|
|
26
|
+
# The timestamp representing the file's creation date.
|
|
27
|
+
timestamp @3 :UInt32;
|
|
11
28
|
# Additional metadata associated with the file.
|
|
12
|
-
properties @
|
|
29
|
+
properties @4 :List(KeyValuePair);
|
|
13
30
|
|
|
14
31
|
struct KeyValuePair {
|
|
15
32
|
key @0 :Text;
|
|
@@ -17,26 +34,67 @@ struct FileMetadata {
|
|
|
17
34
|
}
|
|
18
35
|
}
|
|
19
36
|
|
|
37
|
+
# Additional metadata associated with a file in the file system.
|
|
38
|
+
struct ChunkData {
|
|
39
|
+
# The identifier for the file data.
|
|
40
|
+
id @0 :Text;
|
|
41
|
+
# An additional name for the file.
|
|
42
|
+
name @1 :Text;
|
|
43
|
+
# Files that are implicitly loaded after one of the specified files.
|
|
44
|
+
implicitlyLoadedAfterOneOf @2 :List(Text);
|
|
45
|
+
# The importer of the file.
|
|
46
|
+
importer @3 :Text;
|
|
47
|
+
# The signature preservation mode for the file.
|
|
48
|
+
preserveSignature @4 :PreserveSignatureType;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
# Additional metadata associated with a file in the file system.
|
|
52
|
+
struct PrebuiltData {
|
|
53
|
+
# The identifier for the file data.
|
|
54
|
+
id @0 :Text;
|
|
55
|
+
# An additional name for the file.
|
|
56
|
+
name @1 :Text;
|
|
57
|
+
# The file exports.
|
|
58
|
+
exports @2 :List(Text);
|
|
59
|
+
# The source map for the file.
|
|
60
|
+
map @3 :Text;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
# Additional metadata associated with a file in the file system.
|
|
64
|
+
struct AssetData {
|
|
65
|
+
# The identifier for the file data.
|
|
66
|
+
id @0 :Text;
|
|
67
|
+
# An additional name for the file.
|
|
68
|
+
name @1 :Text;
|
|
69
|
+
# Indicates whether the file needs a code reference.
|
|
70
|
+
needsCodeReference @2 :Bool;
|
|
71
|
+
# The original file name before any transformations.
|
|
72
|
+
originalFileName @3 :Text;
|
|
73
|
+
}
|
|
74
|
+
|
|
20
75
|
# A mapping between a file path and its unique identifier.
|
|
21
76
|
# Note: Multiple paths can map to the same identifier (e.g., symlinks).
|
|
22
|
-
struct
|
|
77
|
+
struct FileId {
|
|
78
|
+
# An identifier for the file.
|
|
79
|
+
id @0 :Text;
|
|
23
80
|
# A virtual (or actual) path to the file in the file system.
|
|
24
|
-
path @
|
|
25
|
-
# An additional identifier for the file.
|
|
26
|
-
id @1 :Text;
|
|
81
|
+
path @1 :Text;
|
|
27
82
|
}
|
|
28
83
|
|
|
29
|
-
#
|
|
84
|
+
# The content of a file in the file system.
|
|
30
85
|
struct FileData {
|
|
31
|
-
#
|
|
86
|
+
# An identifier for the file.
|
|
32
87
|
path @0 :Text;
|
|
33
|
-
#
|
|
34
|
-
|
|
88
|
+
# A virtual (or actual) path to the file in the file system.
|
|
89
|
+
code @1 :Text;
|
|
35
90
|
}
|
|
36
91
|
|
|
37
92
|
# A virtual representation of a file system containing multiple files.
|
|
38
|
-
struct
|
|
39
|
-
ids @0 :List(
|
|
40
|
-
|
|
41
|
-
|
|
93
|
+
struct FileSystem {
|
|
94
|
+
ids @0 :List(FileId);
|
|
95
|
+
files @1 :List(FileData);
|
|
96
|
+
metadata @2 :List(FileMetadata);
|
|
97
|
+
assets @3 :List(AssetData);
|
|
98
|
+
chunks @4 :List(ChunkData);
|
|
99
|
+
prebuilt @5 :List(PrebuiltData);
|
|
42
100
|
}
|
package/dist/chunk-RODEAGIJ.cjs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkWXU3KLBP_cjs = require('./chunk-WXU3KLBP.cjs');
|
|
4
|
-
var chunkGNNF5SG6_cjs = require('./chunk-GNNF5SG6.cjs');
|
|
5
|
-
var chunkYQ76DZYD_cjs = require('./chunk-YQ76DZYD.cjs');
|
|
6
|
-
var chunkZFO3FUM4_cjs = require('./chunk-ZFO3FUM4.cjs');
|
|
7
|
-
var chunk5A7FM72H_cjs = require('./chunk-5A7FM72H.cjs');
|
|
8
|
-
var chunkWDBPA4RQ_cjs = require('./chunk-WDBPA4RQ.cjs');
|
|
9
|
-
var chunkJZAQW55G_cjs = require('./chunk-JZAQW55G.cjs');
|
|
10
|
-
var chunkJ3LN5HOC_cjs = require('./chunk-J3LN5HOC.cjs');
|
|
11
|
-
var chunkM4QJ2474_cjs = require('./chunk-M4QJ2474.cjs');
|
|
12
|
-
var chunkWG55ZHJL_cjs = require('./chunk-WG55ZHJL.cjs');
|
|
13
|
-
var chunkJAJ4CI2F_cjs = require('./chunk-JAJ4CI2F.cjs');
|
|
14
|
-
|
|
15
|
-
// src/unplugin.ts
|
|
16
|
-
var plugins = {
|
|
17
|
-
astro: chunkWDBPA4RQ_cjs.astro_default,
|
|
18
|
-
esbuild: chunkJZAQW55G_cjs.esbuild_default,
|
|
19
|
-
next: chunkJ3LN5HOC_cjs.next_default,
|
|
20
|
-
nuxt: chunkM4QJ2474_cjs.nuxt_default,
|
|
21
|
-
rolldown: chunkWXU3KLBP_cjs.rolldown_default,
|
|
22
|
-
rollup: chunkGNNF5SG6_cjs.rollup_default,
|
|
23
|
-
rspack: chunkYQ76DZYD_cjs.rspack_default,
|
|
24
|
-
tsup: chunkZFO3FUM4_cjs.tsup_default,
|
|
25
|
-
unloader: chunk5A7FM72H_cjs.unloader_default,
|
|
26
|
-
vite: chunkWG55ZHJL_cjs.vite_default,
|
|
27
|
-
webpack: chunkJAJ4CI2F_cjs.webpack_default
|
|
28
|
-
};
|
|
29
|
-
var unplugin_default = plugins;
|
|
30
|
-
|
|
31
|
-
exports.plugins = plugins;
|
|
32
|
-
exports.unplugin_default = unplugin_default;
|
package/dist/chunk-SKLSRHBU.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { rolldown_default } from './chunk-KFRKOIP3.js';
|
|
2
|
-
import { rollup_default } from './chunk-RWVNX2CP.js';
|
|
3
|
-
import { rspack_default } from './chunk-NH7U3PTV.js';
|
|
4
|
-
import { tsup_default } from './chunk-CPRXGMH2.js';
|
|
5
|
-
import { unloader_default } from './chunk-WSLPUUGZ.js';
|
|
6
|
-
import { astro_default } from './chunk-F6BDL4HD.js';
|
|
7
|
-
import { esbuild_default } from './chunk-LKN52AAX.js';
|
|
8
|
-
import { next_default } from './chunk-J5LKLH5Z.js';
|
|
9
|
-
import { nuxt_default } from './chunk-4ODWTALP.js';
|
|
10
|
-
import { vite_default } from './chunk-DUYZ3TCT.js';
|
|
11
|
-
import { webpack_default } from './chunk-Q7HBETZW.js';
|
|
12
|
-
|
|
13
|
-
// src/unplugin.ts
|
|
14
|
-
var plugins = {
|
|
15
|
-
astro: astro_default,
|
|
16
|
-
esbuild: esbuild_default,
|
|
17
|
-
next: next_default,
|
|
18
|
-
nuxt: nuxt_default,
|
|
19
|
-
rolldown: rolldown_default,
|
|
20
|
-
rollup: rollup_default,
|
|
21
|
-
rspack: rspack_default,
|
|
22
|
-
tsup: tsup_default,
|
|
23
|
-
unloader: unloader_default,
|
|
24
|
-
vite: vite_default,
|
|
25
|
-
webpack: webpack_default
|
|
26
|
-
};
|
|
27
|
-
var unplugin_default = plugins;
|
|
28
|
-
|
|
29
|
-
export { plugins, unplugin_default };
|
package/dist/hooks-B3vzw6La.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { b4 as SelectHooksOptions } from './resolved-BVakEeek.js';
|
|
2
|
-
|
|
3
|
-
type CallHookOptions = SelectHooksOptions & ({
|
|
4
|
-
/**
|
|
5
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
6
|
-
*
|
|
7
|
-
* @defaultValue true
|
|
8
|
-
*/
|
|
9
|
-
sequential?: true;
|
|
10
|
-
/**
|
|
11
|
-
* How to handle multiple return values from hooks.
|
|
12
|
-
* - "merge": Merge all non-undefined return values (if they are objects).
|
|
13
|
-
* - "first": Return the first non-undefined value.
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* Merging only works if the return values are objects.
|
|
17
|
-
*
|
|
18
|
-
* @defaultValue "merge"
|
|
19
|
-
*/
|
|
20
|
-
result?: "merge" | "first";
|
|
21
|
-
} | {
|
|
22
|
-
/**
|
|
23
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
24
|
-
*/
|
|
25
|
-
sequential: false;
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
export type { CallHookOptions as C };
|