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
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { S as SelectHooksOptions, m as ResolvedConfig, A as APIContext, J as PrepareInlineConfig, N as NewInlineConfig, K as CleanInlineConfig, O as BuildInlineConfig, Q as LintInlineConfig, X as DocsInlineConfig, Y as DeployInlineConfig, s as HookKeys, p as PluginContext, n as EnvironmentContext, z as InferHookParameters, B as InferHookReturnType } from './config-DTSdCZsw.cjs';
|
|
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
|
+
/**
|
|
29
|
+
* Powerlines API Interface
|
|
30
|
+
*/
|
|
31
|
+
interface API<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
32
|
+
/**
|
|
33
|
+
* The Powerlines shared API context
|
|
34
|
+
*/
|
|
35
|
+
context: APIContext<TResolvedConfig>;
|
|
36
|
+
/**
|
|
37
|
+
* Prepare the Powerlines API
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* This method will prepare the Powerlines API for use, initializing any necessary resources.
|
|
41
|
+
*
|
|
42
|
+
* @param inlineConfig - The inline configuration for the prepare command
|
|
43
|
+
*/
|
|
44
|
+
prepare: (inlineConfig: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | DeployInlineConfig) => Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a new Powerlines project
|
|
47
|
+
*
|
|
48
|
+
* @remarks
|
|
49
|
+
* This method will create a new Powerlines project in the current directory.
|
|
50
|
+
*
|
|
51
|
+
* @param inlineConfig - The inline configuration for the new command
|
|
52
|
+
* @returns A promise that resolves when the project has been created
|
|
53
|
+
*/
|
|
54
|
+
new: (inlineConfig: NewInlineConfig) => Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Clean any previously prepared artifacts
|
|
57
|
+
*
|
|
58
|
+
* @remarks
|
|
59
|
+
* This method will remove the previous Powerlines artifacts from the project.
|
|
60
|
+
*
|
|
61
|
+
* @param inlineConfig - The inline configuration for the clean command
|
|
62
|
+
* @returns A promise that resolves when the clean command has completed
|
|
63
|
+
*/
|
|
64
|
+
clean: (inlineConfig: CleanInlineConfig | PrepareInlineConfig) => Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* Lint the project source code
|
|
67
|
+
*
|
|
68
|
+
* @param inlineConfig - The inline configuration for the lint command
|
|
69
|
+
* @returns A promise that resolves when the lint command has completed
|
|
70
|
+
*/
|
|
71
|
+
lint: (inlineConfig: LintInlineConfig) => Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Build the project
|
|
74
|
+
*
|
|
75
|
+
* @remarks
|
|
76
|
+
* This method will build the Powerlines project, generating the necessary artifacts.
|
|
77
|
+
*
|
|
78
|
+
* @param inlineConfig - The inline configuration for the build command
|
|
79
|
+
* @returns A promise that resolves when the build command has completed
|
|
80
|
+
*/
|
|
81
|
+
build: (inlineConfig: BuildInlineConfig) => Promise<void>;
|
|
82
|
+
/**
|
|
83
|
+
* Prepare the documentation for the project
|
|
84
|
+
*
|
|
85
|
+
* @param inlineConfig - The inline configuration for the docs command
|
|
86
|
+
* @returns A promise that resolves when the documentation generation has completed
|
|
87
|
+
*/
|
|
88
|
+
docs: (inlineConfig: DocsInlineConfig) => Promise<void>;
|
|
89
|
+
/**
|
|
90
|
+
* Deploy the project source code
|
|
91
|
+
*
|
|
92
|
+
* @remarks
|
|
93
|
+
* This method will prepare and build the Powerlines project, generating the necessary artifacts for the deployment.
|
|
94
|
+
*
|
|
95
|
+
* @param inlineConfig - The inline configuration for the deploy command
|
|
96
|
+
*/
|
|
97
|
+
deploy: (inlineConfig: DeployInlineConfig) => Promise<void>;
|
|
98
|
+
/**
|
|
99
|
+
* Finalization process
|
|
100
|
+
*
|
|
101
|
+
* @remarks
|
|
102
|
+
* This step includes any final processes or clean up required by Powerlines. It will be run after each Powerlines command.
|
|
103
|
+
*
|
|
104
|
+
* @returns A promise that resolves when the finalization process has completed
|
|
105
|
+
*/
|
|
106
|
+
finalize: () => Promise<void>;
|
|
107
|
+
/**
|
|
108
|
+
* Calls a hook in parallel
|
|
109
|
+
*
|
|
110
|
+
* @param hook - The hook to call
|
|
111
|
+
* @param options - Options for calling the hook
|
|
112
|
+
* @param args - The arguments to pass to the hook
|
|
113
|
+
* @returns The result of the hook call
|
|
114
|
+
*/
|
|
115
|
+
callHookParallel: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
|
|
116
|
+
environment?: string | EnvironmentContext<TResolvedConfig>;
|
|
117
|
+
}, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
|
|
118
|
+
/**
|
|
119
|
+
* Calls a hook in sequence
|
|
120
|
+
*
|
|
121
|
+
* @param hook - The hook to call
|
|
122
|
+
* @param options - Options for calling the hook
|
|
123
|
+
* @param args - The arguments to pass to the hook
|
|
124
|
+
* @returns The result of the hook call
|
|
125
|
+
*/
|
|
126
|
+
callHookSequential: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
|
|
127
|
+
environment?: string | EnvironmentContext<TResolvedConfig>;
|
|
128
|
+
}, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
|
|
129
|
+
/**
|
|
130
|
+
* Calls the `"pre"` ordered hooks in sequence
|
|
131
|
+
*
|
|
132
|
+
* @param environment - The environment to use for the hook call
|
|
133
|
+
* @param hook - The hook to call
|
|
134
|
+
* @param args - The arguments to pass to the hook
|
|
135
|
+
* @returns The result of the hook call
|
|
136
|
+
*/
|
|
137
|
+
callPreHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
|
|
138
|
+
/**
|
|
139
|
+
* Calls the `"post"` ordered hooks in sequence
|
|
140
|
+
*
|
|
141
|
+
* @param environment - The environment to use for the hook call
|
|
142
|
+
* @param hook - The hook to call
|
|
143
|
+
* @param args - The arguments to pass to the hook
|
|
144
|
+
* @returns The result of the hook call
|
|
145
|
+
*/
|
|
146
|
+
callPostHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
|
|
147
|
+
/**
|
|
148
|
+
* Calls a hook in sequence
|
|
149
|
+
*
|
|
150
|
+
* @param environment - The environment to use for the hook call
|
|
151
|
+
* @param hook - The hook to call
|
|
152
|
+
* @param args - The arguments to pass to the hook
|
|
153
|
+
* @returns The result of the hook call
|
|
154
|
+
*/
|
|
155
|
+
callNormalHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
|
|
156
|
+
/**
|
|
157
|
+
* Calls the `"pre"` and `"post"` ordered hooks, as well as the normal hooks in sequence
|
|
158
|
+
*
|
|
159
|
+
* @param environment - The environment to use for the hook call
|
|
160
|
+
* @param hook - The hook to call
|
|
161
|
+
* @param args - The arguments to pass to the hook
|
|
162
|
+
* @returns The result of the hook call
|
|
163
|
+
*/
|
|
164
|
+
callHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey>>;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export type { API as A, CallHookOptions as C };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BuildOptions } from 'esbuild';
|
|
2
|
-
import { E as ESBuildResolvedBuildConfig, C as Context, g as ResolvedEntryTypeDefinition } from '../config-
|
|
2
|
+
import { E as ESBuildResolvedBuildConfig, C as Context, g as ResolvedEntryTypeDefinition } from '../config-DTSdCZsw.cjs';
|
|
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.cjs';
|
|
28
28
|
import '@stryke/types/tsconfig';
|
|
29
29
|
import 'typescript';
|
|
30
|
-
import '@stryke/json/types';
|
|
31
|
-
import 'node:fs';
|
|
32
30
|
|
|
33
31
|
declare const DEFAULT_ESBUILD_CONFIG: Partial<ESBuildResolvedBuildConfig>;
|
|
34
32
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BuildOptions } from 'esbuild';
|
|
2
|
-
import { E as ESBuildResolvedBuildConfig, C as Context, g as ResolvedEntryTypeDefinition } from '../config-
|
|
2
|
+
import { E as ESBuildResolvedBuildConfig, 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 const DEFAULT_ESBUILD_CONFIG: Partial<ESBuildResolvedBuildConfig>;
|
|
34
32
|
/**
|
|
@@ -7,7 +7,7 @@ export { DEFAULT_UNBUILD_CONFIG, extractUnbuildConfig, unbuildLoader } from './u
|
|
|
7
7
|
export { DEFAULT_VITE_CONFIG, extractViteConfig } from './vite.cjs';
|
|
8
8
|
export { extractWebpackConfig } from './webpack.cjs';
|
|
9
9
|
import 'esbuild';
|
|
10
|
-
import '../config-
|
|
10
|
+
import '../config-DTSdCZsw.cjs';
|
|
11
11
|
import '@storm-software/build-tools/types';
|
|
12
12
|
import '@storm-software/config-tools/types';
|
|
13
13
|
import '@storm-software/config/types';
|
|
@@ -28,13 +28,12 @@ import '@stryke/types/package-json';
|
|
|
28
28
|
import 'jest-worker';
|
|
29
29
|
import 'jiti';
|
|
30
30
|
import 'magic-string';
|
|
31
|
-
import 'oxc-parser';
|
|
32
31
|
import 'semver';
|
|
33
32
|
import 'unplugin';
|
|
33
|
+
import 'node:fs';
|
|
34
34
|
import '@stryke/types/array';
|
|
35
35
|
import '../tsconfig-Bz-CiFqD.cjs';
|
|
36
36
|
import '@stryke/types/tsconfig';
|
|
37
37
|
import 'typescript';
|
|
38
|
-
import '
|
|
39
|
-
import '
|
|
40
|
-
import '../hooks-CDLPWf7j.cjs';
|
|
38
|
+
import '../internal-ypnrUNZy.cjs';
|
|
39
|
+
import '../api-CD2QlMig.cjs';
|
|
@@ -7,7 +7,7 @@ export { DEFAULT_UNBUILD_CONFIG, extractUnbuildConfig, unbuildLoader } from './u
|
|
|
7
7
|
export { DEFAULT_VITE_CONFIG, extractViteConfig } from './vite.js';
|
|
8
8
|
export { extractWebpackConfig } from './webpack.js';
|
|
9
9
|
import 'esbuild';
|
|
10
|
-
import '../config-
|
|
10
|
+
import '../config-DeUaQYc_.js';
|
|
11
11
|
import '@storm-software/build-tools/types';
|
|
12
12
|
import '@storm-software/config-tools/types';
|
|
13
13
|
import '@storm-software/config/types';
|
|
@@ -28,13 +28,12 @@ import '@stryke/types/package-json';
|
|
|
28
28
|
import 'jest-worker';
|
|
29
29
|
import 'jiti';
|
|
30
30
|
import 'magic-string';
|
|
31
|
-
import 'oxc-parser';
|
|
32
31
|
import 'semver';
|
|
33
32
|
import 'unplugin';
|
|
33
|
+
import 'node:fs';
|
|
34
34
|
import '@stryke/types/array';
|
|
35
35
|
import '../tsconfig-Bz-CiFqD.js';
|
|
36
36
|
import '@stryke/types/tsconfig';
|
|
37
37
|
import 'typescript';
|
|
38
|
-
import '
|
|
39
|
-
import '
|
|
40
|
-
import '../hooks-Cn-IqwYp.js';
|
|
38
|
+
import '../internal-CpVMJCaU.js';
|
|
39
|
+
import '../api-B6hfFxVS.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Context, h as RolldownResolvedBuildConfig } from '../config-
|
|
1
|
+
import { C as Context, h as RolldownResolvedBuildConfig } from '../config-DTSdCZsw.cjs';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
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.cjs';
|
|
28
28
|
import '@stryke/types/tsconfig';
|
|
29
29
|
import 'typescript';
|
|
30
|
-
import '@stryke/json/types';
|
|
31
|
-
import 'node:fs';
|
|
32
30
|
|
|
33
31
|
/**
|
|
34
32
|
* Resolves the options for [rolldown](https://rolldown.rs).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Context, h as RolldownResolvedBuildConfig } from '../config-
|
|
1
|
+
import { C as Context, h as RolldownResolvedBuildConfig } from '../config-DeUaQYc_.js';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
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
|
/**
|
|
34
32
|
* Resolves the options for [rolldown](https://rolldown.rs).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Plugin } from 'rollup';
|
|
2
|
-
import { C as Context, i as RollupResolvedBuildConfig } from '../config-
|
|
2
|
+
import { C as Context, i as RollupResolvedBuildConfig } from '../config-DTSdCZsw.cjs';
|
|
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.cjs';
|
|
28
28
|
import '@stryke/types/tsconfig';
|
|
29
29
|
import 'typescript';
|
|
30
|
-
import '@stryke/json/types';
|
|
31
|
-
import 'node:fs';
|
|
32
30
|
|
|
33
31
|
/**
|
|
34
32
|
* A Rollup plugin to bundle TypeScript declaration files (.d.ts) alongside the JavaScript output files.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Plugin } from 'rollup';
|
|
2
|
-
import { C as Context, i as RollupResolvedBuildConfig } from '../config-
|
|
2
|
+
import { C as Context, i as RollupResolvedBuildConfig } 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
|
/**
|
|
34
32
|
* A Rollup plugin to bundle TypeScript declaration files (.d.ts) alongside the JavaScript output files.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Configuration } from '@rspack/core';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } from '../config-DTSdCZsw.cjs';
|
|
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.cjs';
|
|
28
28
|
import '@stryke/types/tsconfig';
|
|
29
29
|
import 'typescript';
|
|
30
|
-
import '@stryke/json/types';
|
|
31
|
-
import 'node:fs';
|
|
32
30
|
|
|
33
31
|
/**
|
|
34
32
|
* Resolves the options for [rspack](https://rspack.rs/).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Configuration } from '@rspack/core';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } 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
|
/**
|
|
34
32
|
* Resolves the options for [rspack](https://rspack.rs/).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Entry } from '@storm-software/build-tools/types';
|
|
2
|
-
import { T as TsupBuildConfig, C as Context, g as ResolvedEntryTypeDefinition, j as TsupResolvedBuildConfig } from '../config-
|
|
2
|
+
import { T as TsupBuildConfig, C as Context, g as ResolvedEntryTypeDefinition, j as TsupResolvedBuildConfig } from '../config-DTSdCZsw.cjs';
|
|
3
3
|
import '@storm-software/config-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
|
declare const DEFAULT_TSUP_CONFIG: Partial<TsupBuildConfig>;
|
|
34
32
|
/**
|
package/dist/lib/build/tsup.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Entry } from '@storm-software/build-tools/types';
|
|
2
|
-
import { T as TsupBuildConfig, C as Context, g as ResolvedEntryTypeDefinition, j as TsupResolvedBuildConfig } from '../config-
|
|
2
|
+
import { T as TsupBuildConfig, C as Context, g as ResolvedEntryTypeDefinition, j as TsupResolvedBuildConfig } from '../config-DeUaQYc_.js';
|
|
3
3
|
import '@storm-software/config-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
|
declare const DEFAULT_TSUP_CONFIG: Partial<TsupBuildConfig>;
|
|
34
32
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Loader } from '@storm-software/unbuild/types';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { U as UnbuildBuildConfig, C as Context, k as UnbuildResolvedBuildConfig } from '../config-DTSdCZsw.cjs';
|
|
3
|
+
import { U as UNSAFE_PluginContext } from '../internal-ypnrUNZy.cjs';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
6
6
|
import '@storm-software/config/types';
|
|
@@ -21,33 +21,14 @@ import '@stryke/types/package-json';
|
|
|
21
21
|
import 'jest-worker';
|
|
22
22
|
import 'jiti';
|
|
23
23
|
import 'magic-string';
|
|
24
|
-
import 'oxc-parser';
|
|
25
24
|
import 'semver';
|
|
26
25
|
import 'unplugin';
|
|
26
|
+
import 'node:fs';
|
|
27
27
|
import '@stryke/types/array';
|
|
28
28
|
import '../tsconfig-Bz-CiFqD.cjs';
|
|
29
29
|
import '@stryke/types/tsconfig';
|
|
30
30
|
import 'typescript';
|
|
31
|
-
import '
|
|
32
|
-
import 'node:fs';
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Internal fields and methods for the internal plugin context
|
|
36
|
-
*
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
interface UNSAFE_PluginContextInternal<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
40
|
-
environment: EnvironmentContext<TResolvedConfig>;
|
|
41
|
-
callHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: CallHookOptions, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey> | undefined>;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* An internal representation of the plugin context, used for managing hooks and environment data.
|
|
45
|
-
*
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
|
-
interface UNSAFE_PluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> extends PluginContext<TResolvedConfig> {
|
|
49
|
-
$$internal: UNSAFE_PluginContextInternal<TResolvedConfig>;
|
|
50
|
-
}
|
|
31
|
+
import '../api-CD2QlMig.cjs';
|
|
51
32
|
|
|
52
33
|
declare const DEFAULT_UNBUILD_CONFIG: Partial<UnbuildBuildConfig>;
|
|
53
34
|
declare const unbuildLoader: (context: UNSAFE_PluginContext) => Loader;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Loader } from '@storm-software/unbuild/types';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { U as UnbuildBuildConfig, C as Context, k as UnbuildResolvedBuildConfig } from '../config-DeUaQYc_.js';
|
|
3
|
+
import { U as UNSAFE_PluginContext } from '../internal-CpVMJCaU.js';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
6
6
|
import '@storm-software/config/types';
|
|
@@ -21,33 +21,14 @@ import '@stryke/types/package-json';
|
|
|
21
21
|
import 'jest-worker';
|
|
22
22
|
import 'jiti';
|
|
23
23
|
import 'magic-string';
|
|
24
|
-
import 'oxc-parser';
|
|
25
24
|
import 'semver';
|
|
26
25
|
import 'unplugin';
|
|
26
|
+
import 'node:fs';
|
|
27
27
|
import '@stryke/types/array';
|
|
28
28
|
import '../tsconfig-Bz-CiFqD.js';
|
|
29
29
|
import '@stryke/types/tsconfig';
|
|
30
30
|
import 'typescript';
|
|
31
|
-
import '
|
|
32
|
-
import 'node:fs';
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Internal fields and methods for the internal plugin context
|
|
36
|
-
*
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
interface UNSAFE_PluginContextInternal<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
40
|
-
environment: EnvironmentContext<TResolvedConfig>;
|
|
41
|
-
callHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: CallHookOptions, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey> | undefined>;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* An internal representation of the plugin context, used for managing hooks and environment data.
|
|
45
|
-
*
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
|
-
interface UNSAFE_PluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> extends PluginContext<TResolvedConfig> {
|
|
49
|
-
$$internal: UNSAFE_PluginContextInternal<TResolvedConfig>;
|
|
50
|
-
}
|
|
31
|
+
import '../api-B6hfFxVS.js';
|
|
51
32
|
|
|
52
33
|
declare const DEFAULT_UNBUILD_CONFIG: Partial<UnbuildBuildConfig>;
|
|
53
34
|
declare const unbuildLoader: (context: UNSAFE_PluginContext) => Loader;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as ViteResolvedBuildConfig, C as Context } from '../config-DTSdCZsw.cjs';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
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.cjs';
|
|
28
28
|
import '@stryke/types/tsconfig';
|
|
29
29
|
import 'typescript';
|
|
30
|
-
import '@stryke/json/types';
|
|
31
|
-
import 'node:fs';
|
|
32
30
|
|
|
33
31
|
declare const DEFAULT_VITE_CONFIG: Partial<ViteResolvedBuildConfig>;
|
|
34
32
|
/**
|
package/dist/lib/build/vite.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as ViteResolvedBuildConfig, C as Context } from '../config-DeUaQYc_.js';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
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 const DEFAULT_VITE_CONFIG: Partial<ViteResolvedBuildConfig>;
|
|
34
32
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Configuration } from 'webpack';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } from '../config-DTSdCZsw.cjs';
|
|
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.cjs';
|
|
28
28
|
import '@stryke/types/tsconfig';
|
|
29
29
|
import 'typescript';
|
|
30
|
-
import '@stryke/json/types';
|
|
31
|
-
import 'node:fs';
|
|
32
30
|
|
|
33
31
|
/**
|
|
34
32
|
* Resolves the options for [webpack](https://webpack.js.org/).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Configuration } from 'webpack';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } 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
|
/**
|
|
34
32
|
* Resolves the options for [webpack](https://webpack.js.org/).
|