powerlines 0.32.7 → 0.33.0
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-BHNP4L9F.d.cts → api-64F6GdFq.d.cts} +1 -1
- package/dist/{api-CRSOph63.d.ts → api-C8dgNF9j.d.ts} +1 -1
- package/dist/api.cjs +2 -2
- package/dist/api.d.cts +3 -3
- package/dist/api.d.ts +3 -3
- package/dist/api.js +1 -1
- package/dist/astro.cjs +4 -4
- package/dist/astro.d.cts +2 -2
- package/dist/astro.d.ts +2 -2
- package/dist/astro.js +3 -3
- package/dist/{chunk-4FUIUZCO.cjs → chunk-5JGZKJBY.cjs} +4 -4
- package/dist/{chunk-IWTNFDPI.js → chunk-5URWP6NK.js} +3 -3
- package/dist/{chunk-P2OCXTYP.cjs → chunk-6Q5WSBJX.cjs} +21 -6
- package/dist/{chunk-ZSAUQ37P.js → chunk-7DZRT2L5.js} +3 -3
- package/dist/{chunk-BUJ22WVG.js → chunk-7J4EXPJ4.js} +21 -6
- package/dist/{chunk-IQE2EJTI.js → chunk-AMSEZ5IT.js} +3 -3
- package/dist/{chunk-GGJUF3OS.cjs → chunk-BCF2FSIU.cjs} +2 -2
- package/dist/chunk-GY4I3OWT.cjs +12 -0
- package/dist/chunk-IU3UQCUE.cjs +12 -0
- package/dist/{chunk-DJVETZWM.js → chunk-IWD7XNVY.js} +2 -2
- package/dist/{chunk-3YCDOBGV.js → chunk-NBIX5MKZ.js} +3 -3
- package/dist/{chunk-GHDZ3BE6.cjs → chunk-NJRZDDTZ.cjs} +2 -2
- package/dist/{chunk-D5WIJFI4.js → chunk-RFPNTMLX.js} +2 -2
- package/dist/{chunk-BVGT4LPY.js → chunk-S2ECBI3I.js} +3 -3
- package/dist/{chunk-S5R5DYRD.cjs → chunk-S4NCBPJJ.cjs} +5 -5
- package/dist/{chunk-U4FXHR3E.cjs → chunk-V46MHECH.cjs} +4 -4
- package/dist/{context-BK7L6aHC.d.ts → context-CD3z3bug.d.ts} +17 -5
- package/dist/{context-CbLP5ZJo.d.cts → context-CybU4gzB.d.cts} +17 -5
- package/dist/esbuild.cjs +6 -6
- package/dist/esbuild.d.cts +2 -2
- package/dist/esbuild.d.ts +2 -2
- package/dist/esbuild.js +3 -3
- package/dist/farm.cjs +3 -3
- package/dist/farm.d.cts +2 -2
- package/dist/farm.d.ts +2 -2
- package/dist/farm.js +2 -2
- package/dist/index.cjs +15 -15
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/lib/{api-CHM8_t1f.d.cts → api-C-muqDwC.d.cts} +1 -1
- package/dist/lib/{api-zlk8r_Vv.d.ts → api-WGXMngpt.d.ts} +1 -1
- package/dist/lib/build/esbuild.d.cts +2 -2
- package/dist/lib/build/esbuild.d.ts +2 -2
- package/dist/lib/build/index.cjs +4 -4
- package/dist/lib/build/index.d.cts +4 -4
- package/dist/lib/build/index.d.ts +4 -4
- package/dist/lib/build/index.js +1 -1
- package/dist/lib/build/rolldown.d.cts +2 -2
- package/dist/lib/build/rolldown.d.ts +2 -2
- package/dist/lib/build/rollup.d.cts +2 -2
- package/dist/lib/build/rollup.d.ts +2 -2
- package/dist/lib/build/rspack.d.cts +2 -2
- package/dist/lib/build/rspack.d.ts +2 -2
- package/dist/lib/build/tsdown.d.cts +2 -2
- package/dist/lib/build/tsdown.d.ts +2 -2
- package/dist/lib/build/tsup.cjs +4 -4
- package/dist/lib/build/tsup.d.cts +2 -2
- package/dist/lib/build/tsup.d.ts +2 -2
- package/dist/lib/build/tsup.js +1 -1
- package/dist/lib/build/unbuild.d.cts +4 -4
- package/dist/lib/build/unbuild.d.ts +4 -4
- package/dist/lib/build/vite.d.cts +2 -2
- package/dist/lib/build/vite.d.ts +2 -2
- package/dist/lib/build/webpack.d.cts +2 -2
- package/dist/lib/build/webpack.d.ts +2 -2
- package/dist/lib/{chunk-SXY4QG7H.cjs → chunk-CTG3G74K.cjs} +21 -6
- package/dist/lib/chunk-CTG3G74K.cjs.map +1 -0
- package/dist/lib/{chunk-QNVYW3WE.cjs → chunk-EMIMMPKZ.cjs} +12 -12
- package/dist/lib/{chunk-QNVYW3WE.cjs.map → chunk-EMIMMPKZ.cjs.map} +1 -1
- package/dist/lib/{chunk-RTFLBGJI.js → chunk-EQEVPXGD.js} +9 -5
- package/dist/lib/chunk-EQEVPXGD.js.map +1 -0
- package/dist/lib/{chunk-KSES72FN.js → chunk-EXNU7WSB.js} +4 -4
- package/dist/lib/{chunk-KSES72FN.js.map → chunk-EXNU7WSB.js.map} +1 -1
- package/dist/lib/{chunk-ROGWQ634.js → chunk-JAC7TPNW.js} +3 -3
- package/dist/lib/{chunk-ROGWQ634.js.map → chunk-JAC7TPNW.js.map} +1 -1
- package/dist/lib/{chunk-ICT3DVHH.cjs → chunk-LPV5FOES.cjs} +13 -13
- package/dist/lib/{chunk-ICT3DVHH.cjs.map → chunk-LPV5FOES.cjs.map} +1 -1
- package/dist/lib/{chunk-3DAQ6CUE.js → chunk-NA27ZWO5.js} +21 -6
- package/dist/lib/chunk-NA27ZWO5.js.map +1 -0
- package/dist/lib/{chunk-KZCVGPLY.cjs → chunk-NKBFOA2J.cjs} +6 -6
- package/dist/lib/{chunk-KZCVGPLY.cjs.map → chunk-NKBFOA2J.cjs.map} +1 -1
- package/dist/lib/{chunk-2BD4CT4B.js → chunk-WEWQBGX6.js} +4 -4
- package/dist/lib/{chunk-2BD4CT4B.js.map → chunk-WEWQBGX6.js.map} +1 -1
- package/dist/lib/{chunk-4NBEK7BB.cjs → chunk-XSEP6WHA.cjs} +9 -5
- package/dist/lib/chunk-XSEP6WHA.cjs.map +1 -0
- package/dist/lib/{config-C74fZ7Hm.d.cts → config-Lr7p1CKw.d.cts} +15 -4
- package/dist/lib/{config-Bkk5oOVc.d.ts → config-ba1qwxTg.d.ts} +15 -4
- package/dist/lib/config-file.d.cts +2 -2
- package/dist/lib/config-file.d.ts +2 -2
- package/dist/lib/contexts/api-context.cjs +4 -4
- package/dist/lib/contexts/api-context.d.cts +4 -4
- package/dist/lib/contexts/api-context.d.ts +4 -4
- package/dist/lib/contexts/api-context.js +3 -3
- package/dist/lib/contexts/context.cjs +2 -2
- package/dist/lib/contexts/context.d.cts +5 -5
- package/dist/lib/contexts/context.d.ts +5 -5
- package/dist/lib/contexts/context.js +1 -1
- package/dist/lib/contexts/environment-context.cjs +3 -3
- package/dist/lib/contexts/environment-context.d.cts +4 -4
- package/dist/lib/contexts/environment-context.d.ts +4 -4
- package/dist/lib/contexts/environment-context.js +2 -2
- package/dist/lib/contexts/index.cjs +6 -6
- package/dist/lib/contexts/index.d.cts +4 -4
- package/dist/lib/contexts/index.d.ts +4 -4
- package/dist/lib/contexts/index.js +3 -3
- package/dist/lib/contexts/plugin-context.d.cts +4 -4
- package/dist/lib/contexts/plugin-context.d.ts +4 -4
- package/dist/lib/entry.d.cts +2 -2
- package/dist/lib/entry.d.ts +2 -2
- package/dist/lib/fs/index.d.cts +2 -2
- package/dist/lib/fs/index.d.ts +2 -2
- package/dist/lib/fs/storage/base.d.cts +1 -1
- package/dist/lib/fs/storage/base.d.ts +1 -1
- package/dist/lib/fs/storage/file-system.d.cts +1 -1
- package/dist/lib/fs/storage/file-system.d.ts +1 -1
- package/dist/lib/fs/storage/index.d.cts +1 -1
- package/dist/lib/fs/storage/index.d.ts +1 -1
- package/dist/lib/fs/storage/virtual.d.cts +1 -1
- package/dist/lib/fs/storage/virtual.d.ts +1 -1
- package/dist/lib/fs/vfs.d.cts +2 -2
- package/dist/lib/fs/vfs.d.ts +2 -2
- package/dist/lib/{fs-BAG-Ofs1.d.cts → fs-BkpNEsxT.d.cts} +1 -1
- package/dist/lib/{fs-BAG-Ofs1.d.ts → fs-BkpNEsxT.d.ts} +1 -1
- package/dist/lib/index.cjs +8 -8
- package/dist/lib/index.d.cts +5 -5
- package/dist/lib/index.d.ts +5 -5
- package/dist/lib/index.js +4 -4
- package/dist/lib/{internal-Z9V60LMp.d.cts → internal-CSgMKSqU.d.cts} +2 -2
- package/dist/lib/{internal-DA1f6c7h.d.ts → internal-Cy15nTJD.d.ts} +2 -2
- package/dist/lib/logger.d.cts +2 -2
- package/dist/lib/logger.d.ts +2 -2
- package/dist/lib/typescript/import-transformer.d.cts +2 -2
- package/dist/lib/typescript/import-transformer.d.ts +2 -2
- package/dist/lib/typescript/index.d.cts +2 -2
- package/dist/lib/typescript/index.d.ts +2 -2
- package/dist/lib/typescript/ts-morph.d.cts +2 -2
- package/dist/lib/typescript/ts-morph.d.ts +2 -2
- package/dist/lib/unplugin/factory.cjs +5 -5
- package/dist/lib/unplugin/factory.d.cts +4 -4
- package/dist/lib/unplugin/factory.d.ts +4 -4
- package/dist/lib/unplugin/factory.js +4 -4
- package/dist/lib/unplugin/helpers.d.cts +2 -2
- package/dist/lib/unplugin/helpers.d.ts +2 -2
- package/dist/lib/unplugin/index.cjs +5 -5
- package/dist/lib/unplugin/index.d.cts +4 -4
- package/dist/lib/unplugin/index.d.ts +4 -4
- package/dist/lib/unplugin/index.js +4 -4
- package/dist/lib/unplugin/plugin.d.cts +4 -4
- package/dist/lib/unplugin/plugin.d.ts +4 -4
- package/dist/lib/{unplugin-_FT__-JQ.d.ts → unplugin-C1FUzEE1.d.ts} +2 -2
- package/dist/lib/{unplugin--Wb_ttDq.d.cts → unplugin-DQ_UxGcQ.d.cts} +2 -2
- package/dist/lib/utilities/bundle.d.cts +2 -2
- package/dist/lib/utilities/bundle.d.ts +2 -2
- package/dist/lib/utilities/cache.d.cts +2 -2
- package/dist/lib/utilities/cache.d.ts +2 -2
- package/dist/lib/utilities/file-header.d.cts +2 -2
- package/dist/lib/utilities/file-header.d.ts +2 -2
- package/dist/lib/utilities/index.d.cts +2 -2
- package/dist/lib/utilities/index.d.ts +2 -2
- package/dist/lib/utilities/meta.d.cts +2 -2
- package/dist/lib/utilities/meta.d.ts +2 -2
- package/dist/lib/utilities/resolve.d.cts +2 -2
- package/dist/lib/utilities/resolve.d.ts +2 -2
- package/dist/lib/utilities/source-file.d.cts +2 -2
- package/dist/lib/utilities/source-file.d.ts +2 -2
- package/dist/lib/utilities/source-map.d.cts +2 -2
- package/dist/lib/utilities/source-map.d.ts +2 -2
- package/dist/lib/utilities/worker.d.cts +2 -2
- package/dist/lib/utilities/worker.d.ts +2 -2
- package/dist/lib/utilities/write-file.d.cts +2 -2
- package/dist/lib/utilities/write-file.d.ts +2 -2
- package/dist/next.cjs +4 -4
- package/dist/next.js +3 -3
- package/dist/nuxt.cjs +7 -7
- package/dist/nuxt.d.cts +2 -2
- package/dist/nuxt.d.ts +2 -2
- package/dist/nuxt.js +5 -5
- package/dist/plugin-utils/{context-Cz95NeRR.d.ts → context-D7SEhuVP.d.cts} +15 -4
- package/dist/plugin-utils/{context-Cz95NeRR.d.cts → context-D7SEhuVP.d.ts} +15 -4
- package/dist/plugin-utils/context-helpers.d.cts +2 -2
- package/dist/plugin-utils/context-helpers.d.ts +2 -2
- package/dist/plugin-utils/enforce.d.cts +2 -2
- package/dist/plugin-utils/enforce.d.ts +2 -2
- package/dist/plugin-utils/extend.d.cts +2 -2
- package/dist/plugin-utils/extend.d.ts +2 -2
- package/dist/plugin-utils/get-config-path.d.cts +2 -2
- package/dist/plugin-utils/get-config-path.d.ts +2 -2
- package/dist/plugin-utils/helpers.d.cts +2 -2
- package/dist/plugin-utils/helpers.d.ts +2 -2
- package/dist/plugin-utils/index.d.cts +2 -2
- package/dist/plugin-utils/index.d.ts +2 -2
- package/dist/plugin-utils/merge.d.cts +2 -2
- package/dist/plugin-utils/merge.d.ts +2 -2
- package/dist/plugin-utils/paths.d.cts +2 -2
- package/dist/plugin-utils/paths.d.ts +2 -2
- package/dist/rolldown.cjs +6 -6
- package/dist/rolldown.d.cts +2 -2
- package/dist/rolldown.d.ts +2 -2
- package/dist/rolldown.js +3 -3
- package/dist/rollup.cjs +3 -3
- package/dist/rollup.d.cts +2 -2
- package/dist/rollup.d.ts +2 -2
- package/dist/rollup.js +2 -2
- package/dist/rspack.cjs +3 -3
- package/dist/rspack.d.cts +2 -2
- package/dist/rspack.d.ts +2 -2
- package/dist/rspack.js +2 -2
- package/dist/tsdown.cjs +4 -4
- package/dist/tsdown.js +3 -3
- package/dist/tsup.cjs +4 -4
- package/dist/tsup.js +3 -3
- package/dist/types/api.d.cts +3 -3
- package/dist/types/api.d.ts +3 -3
- package/dist/types/babel.d.cts +2 -2
- package/dist/types/babel.d.ts +2 -2
- package/dist/types/commands.d.cts +2 -2
- package/dist/types/commands.d.ts +2 -2
- package/dist/types/config.d.cts +1 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/context.cjs +2 -2
- package/dist/types/context.d.cts +2 -2
- package/dist/types/context.d.ts +2 -2
- package/dist/types/context.js +1 -1
- package/dist/types/fs.cjs +3 -3
- package/dist/types/fs.d.cts +1 -1
- package/dist/types/fs.d.ts +1 -1
- package/dist/types/fs.js +1 -1
- package/dist/types/hooks.d.cts +2 -2
- package/dist/types/hooks.d.ts +2 -2
- package/dist/types/index.cjs +5 -5
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +2 -2
- package/dist/types/internal.d.cts +3 -3
- package/dist/types/internal.d.ts +3 -3
- package/dist/types/plugin.d.cts +2 -2
- package/dist/types/plugin.d.ts +2 -2
- package/dist/types/resolved.d.cts +1 -1
- package/dist/types/resolved.d.ts +1 -1
- package/dist/types/unplugin.d.cts +3 -3
- package/dist/types/unplugin.d.ts +3 -3
- package/dist/unloader.cjs +3 -3
- package/dist/unloader.d.cts +2 -2
- package/dist/unloader.d.ts +2 -2
- package/dist/unloader.js +2 -2
- package/dist/unplugin.cjs +5 -5
- package/dist/unplugin.d.cts +3 -3
- package/dist/unplugin.d.ts +3 -3
- package/dist/unplugin.js +3 -3
- package/dist/vite.cjs +6 -6
- package/dist/vite.d.cts +2 -2
- package/dist/vite.d.ts +2 -2
- package/dist/vite.js +3 -3
- package/dist/webpack.cjs +6 -6
- package/dist/webpack.d.cts +2 -2
- package/dist/webpack.d.ts +2 -2
- package/dist/webpack.js +3 -3
- package/package.json +16 -16
- package/dist/chunk-J2MR5RY2.cjs +0 -12
- package/dist/chunk-Y4RYFSJS.cjs +0 -12
- package/dist/lib/chunk-3DAQ6CUE.js.map +0 -1
- package/dist/lib/chunk-4NBEK7BB.cjs.map +0 -1
- package/dist/lib/chunk-RTFLBGJI.js.map +0 -1
- package/dist/lib/chunk-SXY4QG7H.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MaybePromise } from '@stryke/types/base';
|
|
2
|
-
import { b0 as SelectHooksOptions,
|
|
2
|
+
import { b0 as SelectHooksOptions, ct as ResolvedConfig, b7 as APIContext, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bC as HookKeys, bb as PluginContext, ba as EnvironmentContext, bJ as InferHookParameters, bI as InferHookReturnType } from './context-CybU4gzB.cjs';
|
|
3
3
|
|
|
4
4
|
type CallHookOptions = SelectHooksOptions & (({
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MaybePromise } from '@stryke/types/base';
|
|
2
|
-
import { b0 as SelectHooksOptions,
|
|
2
|
+
import { b0 as SelectHooksOptions, ct as ResolvedConfig, b7 as APIContext, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bC as HookKeys, bb as PluginContext, ba as EnvironmentContext, bJ as InferHookParameters, bI as InferHookReturnType } from './context-CD3z3bug.js';
|
|
3
3
|
|
|
4
4
|
type CallHookOptions = SelectHooksOptions & (({
|
|
5
5
|
/**
|
package/dist/api.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6Q5WSBJX_cjs = require('./chunk-6Q5WSBJX.cjs');
|
|
4
4
|
require('./chunk-VFXZVCGG.cjs');
|
|
5
5
|
require('./chunk-Z6ARQDHR.cjs');
|
|
6
6
|
require('./chunk-PK6SKIKE.cjs');
|
|
@@ -9,7 +9,7 @@ require('./chunk-PK6SKIKE.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "PowerlinesAPI", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk6Q5WSBJX_cjs.PowerlinesAPI; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=api.cjs.map
|
|
15
15
|
//# sourceMappingURL=api.cjs.map
|
package/dist/api.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { A as API, C as CallHookOptions } from './api-
|
|
2
|
-
import {
|
|
1
|
+
import { A as API, C as CallHookOptions } from './api-64F6GdFq.cjs';
|
|
2
|
+
import { ct as ResolvedConfig, b7 as APIContext, a4 as InitialUserConfig, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bC as HookKeys, bb as PluginContext, ba as EnvironmentContext, bJ as InferHookParameters, bI as InferHookReturnType } from './context-CybU4gzB.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/http/fetch';
|
|
6
|
+
import '@stryke/types/configuration';
|
|
6
7
|
import '@stryke/types/package-json';
|
|
7
8
|
import 'jest-worker';
|
|
8
9
|
import 'jiti';
|
|
@@ -17,7 +18,6 @@ import '@babel/core';
|
|
|
17
18
|
import '@storm-software/build-tools/types';
|
|
18
19
|
import '@storm-software/config-tools/types';
|
|
19
20
|
import '@storm-software/config/types';
|
|
20
|
-
import '@stryke/types/configuration';
|
|
21
21
|
import '@stryke/types/file';
|
|
22
22
|
import 'c12';
|
|
23
23
|
import 'vite';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { A as API, C as CallHookOptions } from './api-
|
|
2
|
-
import {
|
|
1
|
+
import { A as API, C as CallHookOptions } from './api-C8dgNF9j.js';
|
|
2
|
+
import { ct as ResolvedConfig, b7 as APIContext, a4 as InitialUserConfig, aa as PrepareInlineConfig, a8 as NewInlineConfig, a9 as CleanInlineConfig, ab as BuildInlineConfig, ac as LintInlineConfig, ad as DocsInlineConfig, ae as DeployInlineConfig, bC as HookKeys, bb as PluginContext, ba as EnvironmentContext, bJ as InferHookParameters, bI as InferHookReturnType } from './context-CD3z3bug.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/http/fetch';
|
|
6
|
+
import '@stryke/types/configuration';
|
|
6
7
|
import '@stryke/types/package-json';
|
|
7
8
|
import 'jest-worker';
|
|
8
9
|
import 'jiti';
|
|
@@ -17,7 +18,6 @@ import '@babel/core';
|
|
|
17
18
|
import '@storm-software/build-tools/types';
|
|
18
19
|
import '@storm-software/config-tools/types';
|
|
19
20
|
import '@storm-software/config/types';
|
|
20
|
-
import '@stryke/types/configuration';
|
|
21
21
|
import '@stryke/types/file';
|
|
22
22
|
import 'c12';
|
|
23
23
|
import 'vite';
|
package/dist/api.js
CHANGED
package/dist/astro.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunk5JGZKJBY_cjs = require('./chunk-5JGZKJBY.cjs');
|
|
6
6
|
require('./chunk-AATT73UY.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-S4NCBPJJ.cjs');
|
|
8
|
+
require('./chunk-6Q5WSBJX.cjs');
|
|
9
9
|
require('./chunk-VFXZVCGG.cjs');
|
|
10
10
|
require('./chunk-Z6ARQDHR.cjs');
|
|
11
11
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
@@ -14,7 +14,7 @@ var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
|
14
14
|
var astro = /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((config) => ({
|
|
15
15
|
vite: {
|
|
16
16
|
plugins: [
|
|
17
|
-
|
|
17
|
+
chunk5JGZKJBY_cjs.vite_default(config)
|
|
18
18
|
]
|
|
19
19
|
}
|
|
20
20
|
}), "astro");
|
package/dist/astro.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import {
|
|
2
|
+
import { cu as ViteResolvedConfig } from './context-CybU4gzB.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
5
5
|
import '@stryke/types/base';
|
|
6
|
+
import '@stryke/types/configuration';
|
|
6
7
|
import '@stryke/types/package-json';
|
|
7
8
|
import 'jest-worker';
|
|
8
9
|
import 'jiti';
|
|
@@ -17,7 +18,6 @@ import '@babel/core';
|
|
|
17
18
|
import '@storm-software/build-tools/types';
|
|
18
19
|
import '@storm-software/config-tools/types';
|
|
19
20
|
import '@storm-software/config/types';
|
|
20
|
-
import '@stryke/types/configuration';
|
|
21
21
|
import '@stryke/types/file';
|
|
22
22
|
import 'c12';
|
|
23
23
|
import 'vite';
|
package/dist/astro.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import {
|
|
2
|
+
import { cu as ViteResolvedConfig } from './context-CD3z3bug.js';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
5
5
|
import '@stryke/types/base';
|
|
6
|
+
import '@stryke/types/configuration';
|
|
6
7
|
import '@stryke/types/package-json';
|
|
7
8
|
import 'jest-worker';
|
|
8
9
|
import 'jiti';
|
|
@@ -17,7 +18,6 @@ import '@babel/core';
|
|
|
17
18
|
import '@storm-software/build-tools/types';
|
|
18
19
|
import '@storm-software/config-tools/types';
|
|
19
20
|
import '@storm-software/config/types';
|
|
20
|
-
import '@stryke/types/configuration';
|
|
21
21
|
import '@stryke/types/file';
|
|
22
22
|
import 'c12';
|
|
23
23
|
import 'vite';
|
package/dist/astro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { vite_default } from './chunk-
|
|
1
|
+
import { vite_default } from './chunk-7DZRT2L5.js';
|
|
2
2
|
import './chunk-A7PVG2HH.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-S2ECBI3I.js';
|
|
4
|
+
import './chunk-7J4EXPJ4.js';
|
|
5
5
|
import './chunk-JGSCIWFQ.js';
|
|
6
6
|
import './chunk-2MYPFASJ.js';
|
|
7
7
|
import { __name } from './chunk-7QVYU63E.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkAATT73UY_cjs = require('./chunk-AATT73UY.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkS4NCBPJJ_cjs = require('./chunk-S4NCBPJJ.cjs');
|
|
5
5
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
6
6
|
var environmentChecks = require('@stryke/env/environment-checks');
|
|
7
7
|
var defu = require('defu');
|
|
@@ -97,7 +97,7 @@ function extractViteConfig(context) {
|
|
|
97
97
|
chunkPK6SKIKE_cjs.__name(extractViteConfig, "extractViteConfig");
|
|
98
98
|
|
|
99
99
|
// src/vite.ts
|
|
100
|
-
var vite = unplugin.createVitePlugin(
|
|
100
|
+
var vite = unplugin.createVitePlugin(chunkS4NCBPJJ_cjs.createUnpluginFactory("vite", (api, plugin) => {
|
|
101
101
|
return {
|
|
102
102
|
...plugin,
|
|
103
103
|
vite: {
|
|
@@ -158,5 +158,5 @@ var vite_default = vite;
|
|
|
158
158
|
|
|
159
159
|
exports.vite = vite;
|
|
160
160
|
exports.vite_default = vite_default;
|
|
161
|
-
//# sourceMappingURL=chunk-
|
|
162
|
-
//# sourceMappingURL=chunk-
|
|
161
|
+
//# sourceMappingURL=chunk-5JGZKJBY.cjs.map
|
|
162
|
+
//# sourceMappingURL=chunk-5JGZKJBY.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-A7PVG2HH.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-S2ECBI3I.js';
|
|
3
3
|
import { __name } from './chunk-7QVYU63E.js';
|
|
4
4
|
import { isUndefined } from '@stryke/type-checks/is-undefined';
|
|
5
5
|
import { createEsbuildPlugin } from 'unplugin';
|
|
@@ -29,5 +29,5 @@ var esbuild = createEsbuildPlugin(createUnpluginFactory("esbuild", (api, plugin)
|
|
|
29
29
|
var esbuild_default = esbuild;
|
|
30
30
|
|
|
31
31
|
export { esbuild, esbuild_default };
|
|
32
|
-
//# sourceMappingURL=chunk-
|
|
33
|
-
//# sourceMappingURL=chunk-
|
|
32
|
+
//# sourceMappingURL=chunk-5URWP6NK.js.map
|
|
33
|
+
//# sourceMappingURL=chunk-5URWP6NK.js.map
|
|
@@ -2698,7 +2698,13 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2698
2698
|
* The resolved entry type definitions for the project
|
|
2699
2699
|
*/
|
|
2700
2700
|
get entry() {
|
|
2701
|
-
|
|
2701
|
+
const entry = Object.entries(this.fs.metadata).filter(([, meta]) => meta && meta.type === "entry").map(([file, meta]) => {
|
|
2702
|
+
return {
|
|
2703
|
+
file,
|
|
2704
|
+
name: meta?.properties?.name || "default"
|
|
2705
|
+
};
|
|
2706
|
+
});
|
|
2707
|
+
return resolveEntriesSync(this, entry.length === 0 && this.config.entry ? toArray.toArray(this.config.entry) : entry);
|
|
2702
2708
|
}
|
|
2703
2709
|
/**
|
|
2704
2710
|
* The TypeScript configuration parsed from the tsconfig file
|
|
@@ -3103,8 +3109,15 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3103
3109
|
* @param options - Optional write file options
|
|
3104
3110
|
*/
|
|
3105
3111
|
async emitEntry(code, path, options = {}) {
|
|
3106
|
-
return this.fs.write(isType.isAbsolute(path) ? path : append.appendPath(path, this.entryPath), code, defu7__default.default(options,
|
|
3107
|
-
|
|
3112
|
+
return this.fs.write(isType.isAbsolute(path) ? path : append.appendPath(path, this.entryPath), code, defu7__default.default(omit.omit(options, [
|
|
3113
|
+
"name"
|
|
3114
|
+
]), {
|
|
3115
|
+
meta: {
|
|
3116
|
+
type: "entry",
|
|
3117
|
+
properties: {
|
|
3118
|
+
name: options.name || "default"
|
|
3119
|
+
}
|
|
3120
|
+
}
|
|
3108
3121
|
}));
|
|
3109
3122
|
}
|
|
3110
3123
|
/**
|
|
@@ -3117,7 +3130,9 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3117
3130
|
*/
|
|
3118
3131
|
async emitBuiltin(code, id, path, options = {}) {
|
|
3119
3132
|
return this.fs.write(path ? isType.isAbsolute(path) ? path : join.joinPaths(this.builtinsPath, path) : append.appendPath(id, this.builtinsPath), code, defu7__default.default(options, {
|
|
3120
|
-
|
|
3133
|
+
meta: {
|
|
3134
|
+
type: "builtin"
|
|
3135
|
+
}
|
|
3121
3136
|
}));
|
|
3122
3137
|
}
|
|
3123
3138
|
/**
|
|
@@ -4586,5 +4601,5 @@ exports.PowerlinesAPI = PowerlinesAPI;
|
|
|
4586
4601
|
exports._capnpFileId = _capnpFileId;
|
|
4587
4602
|
exports.createLog = createLog;
|
|
4588
4603
|
exports.extendLog = extendLog;
|
|
4589
|
-
//# sourceMappingURL=chunk-
|
|
4590
|
-
//# sourceMappingURL=chunk-
|
|
4604
|
+
//# sourceMappingURL=chunk-6Q5WSBJX.cjs.map
|
|
4605
|
+
//# sourceMappingURL=chunk-6Q5WSBJX.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-A7PVG2HH.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-S2ECBI3I.js';
|
|
3
3
|
import { __name } from './chunk-7QVYU63E.js';
|
|
4
4
|
import { isDevelopmentMode, isTestMode } from '@stryke/env/environment-checks';
|
|
5
5
|
import defu from 'defu';
|
|
@@ -151,5 +151,5 @@ var vite = createVitePlugin(createUnpluginFactory("vite", (api, plugin) => {
|
|
|
151
151
|
var vite_default = vite;
|
|
152
152
|
|
|
153
153
|
export { vite, vite_default };
|
|
154
|
-
//# sourceMappingURL=chunk-
|
|
155
|
-
//# sourceMappingURL=chunk-
|
|
154
|
+
//# sourceMappingURL=chunk-7DZRT2L5.js.map
|
|
155
|
+
//# sourceMappingURL=chunk-7DZRT2L5.js.map
|
|
@@ -2669,7 +2669,13 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2669
2669
|
* The resolved entry type definitions for the project
|
|
2670
2670
|
*/
|
|
2671
2671
|
get entry() {
|
|
2672
|
-
|
|
2672
|
+
const entry = Object.entries(this.fs.metadata).filter(([, meta]) => meta && meta.type === "entry").map(([file, meta]) => {
|
|
2673
|
+
return {
|
|
2674
|
+
file,
|
|
2675
|
+
name: meta?.properties?.name || "default"
|
|
2676
|
+
};
|
|
2677
|
+
});
|
|
2678
|
+
return resolveEntriesSync(this, entry.length === 0 && this.config.entry ? toArray(this.config.entry) : entry);
|
|
2673
2679
|
}
|
|
2674
2680
|
/**
|
|
2675
2681
|
* The TypeScript configuration parsed from the tsconfig file
|
|
@@ -3074,8 +3080,15 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3074
3080
|
* @param options - Optional write file options
|
|
3075
3081
|
*/
|
|
3076
3082
|
async emitEntry(code, path, options = {}) {
|
|
3077
|
-
return this.fs.write(isAbsolute(path) ? path : appendPath(path, this.entryPath), code, defu7(options,
|
|
3078
|
-
|
|
3083
|
+
return this.fs.write(isAbsolute(path) ? path : appendPath(path, this.entryPath), code, defu7(omit(options, [
|
|
3084
|
+
"name"
|
|
3085
|
+
]), {
|
|
3086
|
+
meta: {
|
|
3087
|
+
type: "entry",
|
|
3088
|
+
properties: {
|
|
3089
|
+
name: options.name || "default"
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3079
3092
|
}));
|
|
3080
3093
|
}
|
|
3081
3094
|
/**
|
|
@@ -3088,7 +3101,9 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3088
3101
|
*/
|
|
3089
3102
|
async emitBuiltin(code, id, path, options = {}) {
|
|
3090
3103
|
return this.fs.write(path ? isAbsolute(path) ? path : joinPaths(this.builtinsPath, path) : appendPath(id, this.builtinsPath), code, defu7(options, {
|
|
3091
|
-
|
|
3104
|
+
meta: {
|
|
3105
|
+
type: "builtin"
|
|
3106
|
+
}
|
|
3092
3107
|
}));
|
|
3093
3108
|
}
|
|
3094
3109
|
/**
|
|
@@ -4549,5 +4564,5 @@ Note: Please ensure the plugin package's default export is a class that extends
|
|
|
4549
4564
|
};
|
|
4550
4565
|
|
|
4551
4566
|
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createLog, extendLog };
|
|
4552
|
-
//# sourceMappingURL=chunk-
|
|
4553
|
-
//# sourceMappingURL=chunk-
|
|
4567
|
+
//# sourceMappingURL=chunk-7J4EXPJ4.js.map
|
|
4568
|
+
//# sourceMappingURL=chunk-7J4EXPJ4.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-S2ECBI3I.js';
|
|
2
2
|
import { createWebpackPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var webpack = createWebpackPlugin(createUnpluginFactory("webpack"));
|
|
5
5
|
var webpack_default = webpack;
|
|
6
6
|
|
|
7
7
|
export { webpack, webpack_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-AMSEZ5IT.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-AMSEZ5IT.js.map
|
|
@@ -6,5 +6,5 @@ var __VFS_REVERT__ = "__VFS_REVERT__";
|
|
|
6
6
|
|
|
7
7
|
exports.__VFS_PATCH__ = __VFS_PATCH__;
|
|
8
8
|
exports.__VFS_REVERT__ = __VFS_REVERT__;
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
9
|
+
//# sourceMappingURL=chunk-BCF2FSIU.cjs.map
|
|
10
|
+
//# sourceMappingURL=chunk-BCF2FSIU.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkS4NCBPJJ_cjs = require('./chunk-S4NCBPJJ.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var rolldown = unplugin.createRolldownPlugin(chunkS4NCBPJJ_cjs.createUnpluginFactory("rolldown"));
|
|
7
|
+
var rolldown_default = rolldown;
|
|
8
|
+
|
|
9
|
+
exports.rolldown = rolldown;
|
|
10
|
+
exports.rolldown_default = rolldown_default;
|
|
11
|
+
//# sourceMappingURL=chunk-GY4I3OWT.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-GY4I3OWT.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkS4NCBPJJ_cjs = require('./chunk-S4NCBPJJ.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var webpack = unplugin.createWebpackPlugin(chunkS4NCBPJJ_cjs.createUnpluginFactory("webpack"));
|
|
7
|
+
var webpack_default = webpack;
|
|
8
|
+
|
|
9
|
+
exports.webpack = webpack;
|
|
10
|
+
exports.webpack_default = webpack_default;
|
|
11
|
+
//# sourceMappingURL=chunk-IU3UQCUE.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-IU3UQCUE.cjs.map
|
|
@@ -3,5 +3,5 @@ var __VFS_PATCH__ = "__VFS_PATCH__";
|
|
|
3
3
|
var __VFS_REVERT__ = "__VFS_REVERT__";
|
|
4
4
|
|
|
5
5
|
export { __VFS_PATCH__, __VFS_REVERT__ };
|
|
6
|
-
//# sourceMappingURL=chunk-
|
|
7
|
-
//# sourceMappingURL=chunk-
|
|
6
|
+
//# sourceMappingURL=chunk-IWD7XNVY.js.map
|
|
7
|
+
//# sourceMappingURL=chunk-IWD7XNVY.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-S2ECBI3I.js';
|
|
2
2
|
import { createRolldownPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var rolldown = createRolldownPlugin(createUnpluginFactory("rolldown"));
|
|
5
5
|
var rolldown_default = rolldown;
|
|
6
6
|
|
|
7
7
|
export { rolldown, rolldown_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-NBIX5MKZ.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-NBIX5MKZ.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLog, PowerlinesAPI } from './chunk-
|
|
1
|
+
import { createLog, PowerlinesAPI } from './chunk-7J4EXPJ4.js';
|
|
2
2
|
import { __name } from './chunk-7QVYU63E.js';
|
|
3
3
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
4
4
|
import { getWorkspaceRoot } from '@stryke/fs/get-workspace-root';
|
|
@@ -129,5 +129,5 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
129
129
|
__name(createUnpluginFactory, "createUnpluginFactory");
|
|
130
130
|
|
|
131
131
|
export { createUnpluginFactory, getString };
|
|
132
|
-
//# sourceMappingURL=chunk-
|
|
133
|
-
//# sourceMappingURL=chunk-
|
|
132
|
+
//# sourceMappingURL=chunk-S2ECBI3I.js.map
|
|
133
|
+
//# sourceMappingURL=chunk-S2ECBI3I.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6Q5WSBJX_cjs = require('./chunk-6Q5WSBJX.cjs');
|
|
4
4
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
5
5
|
var types = require('@storm-software/config-tools/types');
|
|
6
6
|
var getWorkspaceRoot = require('@stryke/fs/get-workspace-root');
|
|
@@ -27,7 +27,7 @@ chunkPK6SKIKE_cjs.__name(getString, "getString");
|
|
|
27
27
|
// src/lib/unplugin/factory.ts
|
|
28
28
|
function createUnpluginFactory(variant, decorate) {
|
|
29
29
|
return (config, meta) => {
|
|
30
|
-
const log =
|
|
30
|
+
const log = chunk6Q5WSBJX_cjs.createLog("unplugin", config);
|
|
31
31
|
log(types.LogLevelLabel.DEBUG, "Initializing Unplugin");
|
|
32
32
|
try {
|
|
33
33
|
const userConfig = {
|
|
@@ -38,7 +38,7 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
38
38
|
let api;
|
|
39
39
|
async function buildStart() {
|
|
40
40
|
log(types.LogLevelLabel.DEBUG, "Powerlines build plugin starting...");
|
|
41
|
-
api = await
|
|
41
|
+
api = await chunk6Q5WSBJX_cjs.PowerlinesAPI.from(getWorkspaceRoot.getWorkspaceRoot(process.cwd()), userConfig);
|
|
42
42
|
unplugin.setParseImpl(api.context.parse);
|
|
43
43
|
log(types.LogLevelLabel.DEBUG, "Preparing build artifacts for the Powerlines project...");
|
|
44
44
|
await api.prepare({
|
|
@@ -132,5 +132,5 @@ chunkPK6SKIKE_cjs.__name(createUnpluginFactory, "createUnpluginFactory");
|
|
|
132
132
|
|
|
133
133
|
exports.createUnpluginFactory = createUnpluginFactory;
|
|
134
134
|
exports.getString = getString;
|
|
135
|
-
//# sourceMappingURL=chunk-
|
|
136
|
-
//# sourceMappingURL=chunk-
|
|
135
|
+
//# sourceMappingURL=chunk-S4NCBPJJ.cjs.map
|
|
136
|
+
//# sourceMappingURL=chunk-S4NCBPJJ.cjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkAATT73UY_cjs = require('./chunk-AATT73UY.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkS4NCBPJJ_cjs = require('./chunk-S4NCBPJJ.cjs');
|
|
5
5
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
6
6
|
var isUndefined = require('@stryke/type-checks/is-undefined');
|
|
7
7
|
var unplugin = require('unplugin');
|
|
8
8
|
|
|
9
|
-
var esbuild = unplugin.createEsbuildPlugin(
|
|
9
|
+
var esbuild = unplugin.createEsbuildPlugin(chunkS4NCBPJJ_cjs.createUnpluginFactory("esbuild", (api, plugin) => {
|
|
10
10
|
return {
|
|
11
11
|
...plugin,
|
|
12
12
|
esbuild: {
|
|
@@ -32,5 +32,5 @@ var esbuild_default = esbuild;
|
|
|
32
32
|
|
|
33
33
|
exports.esbuild = esbuild;
|
|
34
34
|
exports.esbuild_default = esbuild_default;
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-V46MHECH.cjs.map
|
|
36
|
+
//# sourceMappingURL=chunk-V46MHECH.cjs.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EnvPaths } from '@stryke/env/get-env-paths';
|
|
2
2
|
import { FetchRequestOptions } from '@stryke/http/fetch';
|
|
3
3
|
import { MaybePromise, NonUndefined, FunctionLike, DeepPartial as DeepPartial$1 } from '@stryke/types/base';
|
|
4
|
+
import { TypeDefinition, TypeDefinitionParameter } from '@stryke/types/configuration';
|
|
4
5
|
import { PackageJson } from '@stryke/types/package-json';
|
|
5
6
|
import { Worker } from 'jest-worker';
|
|
6
7
|
import { Jiti } from 'jiti';
|
|
@@ -15,12 +16,11 @@ import { PluginPass, PluginObj, PluginItem, TransformOptions, transformAsync } f
|
|
|
15
16
|
import { Format } from '@storm-software/build-tools/types';
|
|
16
17
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
17
18
|
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
18
|
-
import { TypeDefinition, TypeDefinitionParameter } from '@stryke/types/configuration';
|
|
19
19
|
import { AssetGlob } from '@stryke/types/file';
|
|
20
20
|
import { ResolvedConfig as ResolvedConfig$1, ConfigLayer } from 'c12';
|
|
21
21
|
import { ResolvedPreviewOptions, PreviewOptions, ResolvedConfig as ResolvedConfig$2 } from 'vite';
|
|
22
22
|
import { BabelAPI } from '@babel/helper-plugin-utils';
|
|
23
|
-
import { StoragePort, StoragePreset, VirtualFileSystemInterface, ResolveOptions, VirtualFile } from './types/fs.js';
|
|
23
|
+
import { StoragePort, StoragePreset, VirtualFileSystemInterface, ResolveOptions, VirtualFile, WriteOptions } from './types/fs.js';
|
|
24
24
|
import { ArrayValues } from '@stryke/types/array';
|
|
25
25
|
import { BuildVariant, UnpluginBuildVariant, BuildConfig, BuildResolvedConfig, ViteBuildConfig, ViteResolvedBuildConfig, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupResolvedBuildConfig } from './types/build.js';
|
|
26
26
|
import { TSConfig, ParsedTypeScriptConfig } from './types/tsconfig.js';
|
|
@@ -1074,6 +1074,15 @@ interface ParseOptions extends ParserOptions {
|
|
|
1074
1074
|
*/
|
|
1075
1075
|
allowReturnOutsideFunction?: boolean;
|
|
1076
1076
|
}
|
|
1077
|
+
interface EmitEntryOptions extends WriteOptions {
|
|
1078
|
+
/**
|
|
1079
|
+
* The export name of the type definition in the file being emitted
|
|
1080
|
+
*
|
|
1081
|
+
* @remarks
|
|
1082
|
+
* If no value is provided, we will attempt to infer the type definition from the module's `default` export.
|
|
1083
|
+
*/
|
|
1084
|
+
name?: TypeDefinition["name"];
|
|
1085
|
+
}
|
|
1077
1086
|
/**
|
|
1078
1087
|
* The unresolved Powerlines context.
|
|
1079
1088
|
*
|
|
@@ -1290,15 +1299,17 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1290
1299
|
* @param code - The source code of the builtin file
|
|
1291
1300
|
* @param id - The unique identifier of the builtin file
|
|
1292
1301
|
* @param path - An optional path to write the builtin file to
|
|
1302
|
+
* @param options - Additional options for writing the builtin file
|
|
1293
1303
|
*/
|
|
1294
|
-
emitBuiltin: (code: string, id: string, path?: string) => Promise<void>;
|
|
1304
|
+
emitBuiltin: (code: string, id: string, path?: string, options?: WriteOptions) => Promise<void>;
|
|
1295
1305
|
/**
|
|
1296
1306
|
* Resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
1297
1307
|
*
|
|
1298
1308
|
* @param code - The source code of the entry file
|
|
1299
1309
|
* @param path - An optional path to write the entry file to
|
|
1310
|
+
* @param options - Additional options for writing the entry file
|
|
1300
1311
|
*/
|
|
1301
|
-
emitEntry: (code: string, path: string) => Promise<void>;
|
|
1312
|
+
emitEntry: (code: string, path: string, options?: EmitEntryOptions) => Promise<void>;
|
|
1302
1313
|
/**
|
|
1303
1314
|
* A function to update the context fields using a new user configuration options
|
|
1304
1315
|
*/
|
|
@@ -1465,6 +1476,7 @@ declare type __ΩSelectHooksOptions = any[];
|
|
|
1465
1476
|
declare type __ΩInitContextOptions = any[];
|
|
1466
1477
|
declare type __ΩFetchOptions = any[];
|
|
1467
1478
|
declare type __ΩParseOptions = any[];
|
|
1479
|
+
declare type __ΩEmitEntryOptions = any[];
|
|
1468
1480
|
declare type __ΩUnresolvedContext = any[];
|
|
1469
1481
|
declare type __ΩContext = any[];
|
|
1470
1482
|
declare type __ΩAPIContext = any[];
|
|
@@ -1474,4 +1486,4 @@ declare type __ΩEnvironmentContext = any[];
|
|
|
1474
1486
|
declare type __ΩPluginContext = any[];
|
|
1475
1487
|
declare type __ΩBuildPluginContext = any[];
|
|
1476
1488
|
|
|
1477
|
-
export { type UnbuildUserConfig as $, type PartialPlugin as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type PartialPluginFactory as E, type ProjectType as F, type BabelUserConfig as G, type DeployConfig as H, type ImportDefinition as I, type BaseConfig as J, type EnvironmentConfig as K, type LogFn as L, type CommonUserConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type WebpackUserConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type RspackUserConfig as T, type UserConfig as U, type RollupUserConfig as V, type WorkspaceConfig as W, type RolldownUserConfig as X, type ViteUserConfig as Y, type ESBuildUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type UnimportContext as a$, type TsupUserConfig as a0, type TsdownUserConfig as a1, type FarmUserConfig as a2, type InferUserConfig as a3, type InitialUserConfig as a4, type ParsedUserConfig as a5, type PowerlinesCommand as a6, type InlineConfig as a7, type NewInlineConfig as a8, type CleanInlineConfig as a9, type __ΩRolldownUserConfig as aA, type __ΩViteUserConfig as aB, type __ΩESBuildUserConfig as aC, type __ΩUnbuildUserConfig as aD, type __ΩTsupUserConfig as aE, type __ΩTsdownUserConfig as aF, type __ΩFarmUserConfig as aG, type __ΩInferUserConfig as aH, type __ΩInitialUserConfig as aI, type __ΩParsedUserConfig as aJ, type __ΩPowerlinesCommand as aK, type __ΩInlineConfig as aL, type __ΩNewInlineConfig as aM, type __ΩCleanInlineConfig as aN, type __ΩPrepareInlineConfig as aO, type __ΩBuildInlineConfig as aP, type __ΩLintInlineConfig as aQ, type __ΩDocsInlineConfig as aR, type __ΩDeployInlineConfig as aS, type __ΩConfigEnv as aT, type __ΩAnyUserConfig as aU, LogLevel as aV, type WorkerProcess as aW, type MetaInfo as aX, type Resolver as aY, type TransformResult as aZ, type SourceFile as a_, type PrepareInlineConfig as aa, type BuildInlineConfig as ab, type LintInlineConfig as ac, type DocsInlineConfig as ad, type DeployInlineConfig as ae, type ConfigEnv as af, type AnyUserConfig as ag, type __ΩLogFn as ah, type __ΩWorkspaceConfig as ai, type __ΩPluginFactory as aj, type __ΩPluginConfigTuple as ak, type __ΩPluginConfigObject as al, type __ΩPluginConfig as am, type __ΩPartialPlugin as an, type __ΩPartialPluginFactory as ao, type __ΩProjectType as ap, type __ΩBabelUserConfig as aq, type __ΩDeployConfig as ar, type __ΩOutputConfig as as, type __ΩBaseConfig as at, type __ΩEnvironmentConfig as au, type __ΩCommonUserConfig as av, type __ΩUserConfig as aw, type __ΩWebpackUserConfig as ax, type __ΩRspackUserConfig as ay, type __ΩRollupUserConfig as az, type BabelTransformPlugin as b, type
|
|
1489
|
+
export { type UnbuildUserConfig as $, type PartialPlugin as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type PartialPluginFactory as E, type ProjectType as F, type BabelUserConfig as G, type DeployConfig as H, type ImportDefinition as I, type BaseConfig as J, type EnvironmentConfig as K, type LogFn as L, type CommonUserConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type WebpackUserConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type RspackUserConfig as T, type UserConfig as U, type RollupUserConfig as V, type WorkspaceConfig as W, type RolldownUserConfig as X, type ViteUserConfig as Y, type ESBuildUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type UnimportContext as a$, type TsupUserConfig as a0, type TsdownUserConfig as a1, type FarmUserConfig as a2, type InferUserConfig as a3, type InitialUserConfig as a4, type ParsedUserConfig as a5, type PowerlinesCommand as a6, type InlineConfig as a7, type NewInlineConfig as a8, type CleanInlineConfig as a9, type __ΩRolldownUserConfig as aA, type __ΩViteUserConfig as aB, type __ΩESBuildUserConfig as aC, type __ΩUnbuildUserConfig as aD, type __ΩTsupUserConfig as aE, type __ΩTsdownUserConfig as aF, type __ΩFarmUserConfig as aG, type __ΩInferUserConfig as aH, type __ΩInitialUserConfig as aI, type __ΩParsedUserConfig as aJ, type __ΩPowerlinesCommand as aK, type __ΩInlineConfig as aL, type __ΩNewInlineConfig as aM, type __ΩCleanInlineConfig as aN, type __ΩPrepareInlineConfig as aO, type __ΩBuildInlineConfig as aP, type __ΩLintInlineConfig as aQ, type __ΩDocsInlineConfig as aR, type __ΩDeployInlineConfig as aS, type __ΩConfigEnv as aT, type __ΩAnyUserConfig as aU, LogLevel as aV, type WorkerProcess as aW, type MetaInfo as aX, type Resolver as aY, type TransformResult as aZ, type SourceFile as a_, type PrepareInlineConfig as aa, type BuildInlineConfig as ab, type LintInlineConfig as ac, type DocsInlineConfig as ad, type DeployInlineConfig as ae, type ConfigEnv as af, type AnyUserConfig as ag, type __ΩLogFn as ah, type __ΩWorkspaceConfig as ai, type __ΩPluginFactory as aj, type __ΩPluginConfigTuple as ak, type __ΩPluginConfigObject as al, type __ΩPluginConfig as am, type __ΩPartialPlugin as an, type __ΩPartialPluginFactory as ao, type __ΩProjectType as ap, type __ΩBabelUserConfig as aq, type __ΩDeployConfig as ar, type __ΩOutputConfig as as, type __ΩBaseConfig as at, type __ΩEnvironmentConfig as au, type __ΩCommonUserConfig as av, type __ΩUserConfig as aw, type __ΩWebpackUserConfig as ax, type __ΩRspackUserConfig as ay, type __ΩRollupUserConfig as az, type BabelTransformPlugin as b, type TypesResult as b$, type SelectHooksOptions as b0, type InitContextOptions as b1, type FetchOptions as b2, type ParseOptions as b3, type EmitEntryOptions as b4, type UnresolvedContext as b5, type Context as b6, type APIContext as b7, type EnvironmentContextPlugin as b8, type SelectHooksResult as b9, type ExternalHookKeys as bA, type Hooks as bB, type HookKeys as bC, type BaseHooksListItem as bD, type BaseHooksList as bE, type ExternalHooksListItem as bF, type HooksList as bG, type InferHookHandler as bH, type InferHookReturnType as bI, type InferHookParameters as bJ, type InferHookThisType as bK, type __ΩBaseHooks as bL, type __ΩBaseHookKeys as bM, type __ΩExternalHooks as bN, type __ΩExternalHookKeys as bO, type __ΩHooks as bP, type __ΩHookKeys as bQ, type __ΩBaseHooksListItem as bR, type __ΩBaseHooksList as bS, type __ΩExternalHooksListItem as bT, type __ΩHooksList as bU, type __ΩInferHookHandler as bV, type __ΩInferHookReturnType as bW, type __ΩInferHookParameters as bX, type __ΩInferHookThisType as bY, type PluginHookObject as bZ, type PluginHook as b_, type EnvironmentContext as ba, type PluginContext as bb, type BuildPluginContext as bc, type __ΩLogLevel as bd, type __ΩWorkerProcess as be, type __ΩMetaInfo as bf, type __ΩResolver as bg, type __ΩTransformResult as bh, type __ΩSourceFile as bi, type __ΩUnimportContext as bj, type __ΩSelectHooksOptions as bk, type __ΩInitContextOptions as bl, type __ΩFetchOptions as bm, type __ΩParseOptions as bn, type __ΩEmitEntryOptions as bo, type __ΩUnresolvedContext as bp, type __ΩContext as bq, type __ΩAPIContext as br, type __ΩEnvironmentContextPlugin as bs, type __ΩSelectHooksResult as bt, type __ΩEnvironmentContext as bu, type __ΩPluginContext as bv, type __ΩBuildPluginContext as bw, type BaseHooks as bx, type BaseHookKeys as by, type ExternalHooks as bz, type BabelTransformPluginOptions as c, type ConfigResult as c0, type BasePluginHookFunctions as c1, type BuildPlugin as c2, type ExternalPluginHookFunctionsVariant as c3, type ExternalPluginHookFunctions as c4, type PluginHookFunctions as c5, type PluginHooks as c6, type PluginBuildPlugins as c7, type Plugin as c8, PLUGIN_NON_HOOK_FIELDS as c9, type TsupResolvedConfig as cA, type TsdownResolvedConfig as cB, type UnbuildResolvedConfig as cC, type FarmResolvedConfig as cD, type InferResolvedConfig as cE, type __ΩResolvedEntryTypeDefinition as cF, type __ΩBabelResolvedConfig as cG, type __ΩEnvironmentResolvedConfig as cH, type __ΩResolvedAssetGlob as cI, type __ΩOutputResolvedConfig as cJ, type __ΩResolvedConfig as cK, type __ΩViteResolvedConfig as cL, type __ΩWebpackResolvedConfig as cM, type __ΩRspackResolvedConfig as cN, type __ΩESBuildResolvedConfig as cO, type __ΩRollupResolvedConfig as cP, type __ΩRolldownResolvedConfig as cQ, type __ΩTsupResolvedConfig as cR, type __ΩTsdownResolvedConfig as cS, type __ΩUnbuildResolvedConfig as cT, type __ΩFarmResolvedConfig as cU, type __ΩInferResolvedConfig as cV, type PluginNonHookFields as ca, type __ΩPluginHookObject as cb, type __ΩPluginHook as cc, type __ΩTypesResult as cd, type __ΩConfigResult as ce, type __ΩBasePluginHookFunctions as cf, type __ΩBuildPlugin as cg, type __ΩExternalPluginHookFunctionsVariant as ch, type __ΩExternalPluginHookFunctions as ci, type __ΩPluginHookFunctions as cj, type __ΩPluginHooks as ck, type __ΩPluginBuildPlugins as cl, type __ΩPlugin as cm, type __ΩPluginNonHookFields as cn, type ResolvedEntryTypeDefinition as co, type BabelResolvedConfig as cp, type EnvironmentResolvedConfig as cq, type ResolvedAssetGlob as cr, type OutputResolvedConfig as cs, type ResolvedConfig as ct, type ViteResolvedConfig as cu, type WebpackResolvedConfig as cv, type RspackResolvedConfig as cw, type ESBuildResolvedConfig as cx, type RollupResolvedConfig as cy, type RolldownResolvedConfig as cz, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type __ΩDefaultImportDefinition as i, type __ΩImportDefinition as j, type __ΩBabelPluginPass as k, type __ΩBabelTransformPluginFilter as l, type __ΩBabelTransformPlugin as m, type __ΩBabelTransformPluginOptions as n, type __ΩResolvedBabelTransformPluginOptions as o, type __ΩBabelTransformInput as p, type __ΩBabelTransformPluginBuilderParams as q, type __ΩBabelTransformPluginBuilder as r, type __ΩDeclareBabelTransformPluginReturn as s, type __ΩImportSpecifier as t, type Commands as u, type __ΩCommandType as v, type __ΩCommands as w, type PluginConfigTuple as x, type PluginConfigObject as y, type PluginConfig as z };
|