powerlines 0.36.20 → 0.36.22
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-BpNyqnfS.d.ts → api-CKsoNfIi.d.cts} +1 -1
- package/dist/{api-DhwCWSTm.d.cts → api-DF6OX-CP.d.ts} +1 -1
- package/dist/api.cjs +2 -2
- package/dist/api.d.cts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/api.js +1 -1
- package/dist/astro.cjs +4 -4
- package/dist/astro.d.cts +1 -1
- package/dist/astro.d.ts +1 -1
- package/dist/astro.js +3 -3
- package/dist/{chunk-Q5QDT4Z6.cjs → chunk-2XBYBJR5.cjs} +4 -4
- package/dist/{chunk-UMU2MF3G.cjs → chunk-A7AUGAHH.cjs} +7 -2
- package/dist/{chunk-VFEMKXPW.cjs → chunk-BYE57MON.cjs} +127 -6
- package/dist/{chunk-SE2DSY7Q.cjs → chunk-CY2P2DU6.cjs} +5 -5
- package/dist/{chunk-5P33FZVE.js → chunk-GJ2LG4DD.js} +3 -3
- package/dist/chunk-KXRVVFNK.js +11 -0
- package/dist/{chunk-GIOACISS.js → chunk-L2PNHKJM.js} +2 -2
- package/dist/{chunk-VNR35OGA.cjs → chunk-NCEMQXI7.cjs} +4 -4
- package/dist/{chunk-YCEMHKQ6.js → chunk-NIWBFUD2.js} +3 -3
- package/dist/{chunk-NG66D5S2.js → chunk-O2ASVIMW.js} +3 -3
- package/dist/{chunk-IJXEMXLH.cjs → chunk-PGF6BCY7.cjs} +2 -2
- package/dist/{chunk-YEMNMZFO.js → chunk-PONG5D7V.js} +3 -3
- package/dist/{chunk-JHMNUYR4.js → chunk-POZHPFH4.js} +127 -6
- package/dist/{chunk-WJT3YP4S.js → chunk-V3433RRZ.js} +3 -3
- package/dist/chunk-WGXJ6LPR.cjs +12 -0
- package/dist/chunk-ZDOLHPJF.cjs +12 -0
- package/dist/{context-AF63GCTq.d.cts → context-BjkbWSEi.d.cts} +17 -0
- package/dist/{context-BTkUT4s7.d.ts → context-D3mOE_yR.d.ts} +17 -0
- package/dist/esbuild.cjs +6 -6
- package/dist/esbuild.d.cts +1 -1
- package/dist/esbuild.d.ts +1 -1
- package/dist/esbuild.js +3 -3
- package/dist/farm.cjs +3 -3
- package/dist/farm.d.cts +1 -1
- package/dist/farm.d.ts +1 -1
- package/dist/farm.js +2 -2
- package/dist/index.cjs +19 -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-DXCDkT5F.d.ts → api-U9jjf5ZI.d.ts} +1 -1
- package/dist/lib/{api-_Bfi7q0n.d.cts → api-tl-yvTre.d.cts} +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.d.cts +4 -4
- package/dist/lib/build/index.d.ts +4 -4
- 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.d.cts +2 -2
- package/dist/lib/build/tsup.d.ts +2 -2
- 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-Y5KONJVR.cjs → chunk-4LHV7MWI.cjs} +9 -2
- package/dist/lib/chunk-4LHV7MWI.cjs.map +1 -0
- package/dist/lib/{chunk-LT2BKZXG.js → chunk-5UUCSS3L.js} +5 -6
- package/dist/lib/chunk-5UUCSS3L.js.map +1 -0
- package/dist/lib/{chunk-RLNO3YW6.js → chunk-7WJ27SD3.js} +3 -3
- package/dist/lib/{chunk-RLNO3YW6.js.map → chunk-7WJ27SD3.js.map} +1 -1
- package/dist/lib/{chunk-4U72WVKA.js → chunk-AD7VZMXQ.js} +4 -4
- package/dist/lib/{chunk-4U72WVKA.js.map → chunk-AD7VZMXQ.js.map} +1 -1
- package/dist/lib/{chunk-BEMSIGJW.cjs → chunk-E76ZBTKK.cjs} +50 -5
- package/dist/lib/chunk-E76ZBTKK.cjs.map +1 -0
- package/dist/lib/{chunk-QBE4SZN6.cjs → chunk-FO5AJ2PR.cjs} +11 -4
- package/dist/lib/chunk-FO5AJ2PR.cjs.map +1 -0
- package/dist/lib/{chunk-5QMQ5G73.js → chunk-I3GWGYDB.js} +10 -3
- package/dist/lib/chunk-I3GWGYDB.js.map +1 -0
- package/dist/lib/{chunk-LSHBFMOA.cjs → chunk-I4ZNMVU2.cjs} +67 -11
- package/dist/lib/chunk-I4ZNMVU2.cjs.map +1 -0
- package/dist/lib/{chunk-C3QHVUY2.cjs → chunk-I6JH6KU3.cjs} +17 -18
- package/dist/lib/chunk-I6JH6KU3.cjs.map +1 -0
- package/dist/lib/{chunk-ALSAZ7L6.js → chunk-INNJR7XT.js} +48 -3
- package/dist/lib/chunk-INNJR7XT.js.map +1 -0
- package/dist/lib/{chunk-YJEZASNU.js → chunk-NE26SC53.js} +10 -3
- package/dist/lib/chunk-NE26SC53.js.map +1 -0
- package/dist/lib/{chunk-CTMPQSK7.js → chunk-QHKZQZJG.js} +9 -2
- package/dist/lib/chunk-QHKZQZJG.js.map +1 -0
- package/dist/lib/{chunk-AQNUFK3L.cjs → chunk-RI3JLIUH.cjs} +11 -4
- package/dist/lib/chunk-RI3JLIUH.cjs.map +1 -0
- package/dist/lib/{chunk-PEUTCIA5.js → chunk-UOKSPMLS.js} +62 -6
- package/dist/lib/chunk-UOKSPMLS.js.map +1 -0
- package/dist/lib/{chunk-LWDVMU5O.cjs → chunk-X3KPKVM3.cjs} +6 -6
- package/dist/lib/{chunk-LWDVMU5O.cjs.map → chunk-X3KPKVM3.cjs.map} +1 -1
- package/dist/lib/{chunk-HUWPJJ3K.cjs → chunk-YQHAXICU.cjs} +14 -14
- package/dist/lib/{chunk-HUWPJJ3K.cjs.map → chunk-YQHAXICU.cjs.map} +1 -1
- package/dist/lib/{config-BIgwy55H.d.ts → config-BJy0qydr.d.ts} +18 -1
- package/dist/lib/{config-DWtYgc3i.d.cts → config-D2hB4lan.d.cts} +18 -1
- 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 +8 -8
- 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 +7 -7
- package/dist/lib/contexts/context.cjs +6 -6
- package/dist/lib/contexts/context.d.cts +21 -4
- package/dist/lib/contexts/context.d.ts +21 -4
- package/dist/lib/contexts/context.js +5 -5
- package/dist/lib/contexts/environment-context.cjs +7 -7
- 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 +6 -6
- package/dist/lib/contexts/index.cjs +10 -10
- package/dist/lib/contexts/index.d.cts +4 -4
- package/dist/lib/contexts/index.d.ts +4 -4
- package/dist/lib/contexts/index.js +7 -7
- 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.cjs +5 -5
- package/dist/lib/fs/index.d.cts +2 -2
- package/dist/lib/fs/index.d.ts +2 -2
- package/dist/lib/fs/index.js +4 -4
- package/dist/lib/fs/storage/base.cjs +2 -2
- package/dist/lib/fs/storage/base.d.cts +8 -1
- package/dist/lib/fs/storage/base.d.ts +8 -1
- package/dist/lib/fs/storage/base.js +1 -1
- package/dist/lib/fs/storage/file-system.cjs +3 -3
- package/dist/lib/fs/storage/file-system.d.cts +8 -1
- package/dist/lib/fs/storage/file-system.d.ts +8 -1
- package/dist/lib/fs/storage/file-system.js +2 -2
- package/dist/lib/fs/storage/index.cjs +6 -6
- 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/index.js +3 -3
- package/dist/lib/fs/storage/virtual.cjs +3 -3
- package/dist/lib/fs/storage/virtual.d.cts +8 -1
- package/dist/lib/fs/storage/virtual.d.ts +8 -1
- package/dist/lib/fs/storage/virtual.js +2 -2
- package/dist/lib/fs/vfs.cjs +5 -5
- package/dist/lib/fs/vfs.d.cts +12 -2
- package/dist/lib/fs/vfs.d.ts +12 -2
- package/dist/lib/fs/vfs.js +4 -4
- package/dist/lib/{fs-Mx46r7JY.d.cts → fs-DkLcPGg-.d.cts} +29 -1
- package/dist/lib/{fs-Mx46r7JY.d.ts → fs-DkLcPGg-.d.ts} +29 -1
- package/dist/lib/index.cjs +13 -13
- package/dist/lib/index.d.cts +5 -5
- package/dist/lib/index.d.ts +5 -5
- package/dist/lib/index.js +8 -8
- package/dist/lib/{internal-dgyhRXvh.d.ts → internal-CksJ16ez.d.ts} +2 -2
- package/dist/lib/{internal-D6xUbbF0.d.cts → internal-V6kgm5vH.d.cts} +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 +9 -9
- package/dist/lib/unplugin/factory.d.cts +4 -4
- package/dist/lib/unplugin/factory.d.ts +4 -4
- package/dist/lib/unplugin/factory.js +8 -8
- package/dist/lib/unplugin/helpers.d.cts +2 -2
- package/dist/lib/unplugin/helpers.d.ts +2 -2
- package/dist/lib/unplugin/index.cjs +9 -9
- package/dist/lib/unplugin/index.d.cts +4 -4
- package/dist/lib/unplugin/index.d.ts +4 -4
- package/dist/lib/unplugin/index.js +8 -8
- package/dist/lib/unplugin/plugin.d.cts +4 -4
- package/dist/lib/unplugin/plugin.d.ts +4 -4
- package/dist/lib/{unplugin-CWYKuPd7.d.cts → unplugin-C4u6D9M3.d.cts} +2 -2
- package/dist/lib/{unplugin-BViawRr0.d.ts → unplugin-I8HmDBMG.d.ts} +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 +1 -1
- package/dist/nuxt.d.ts +1 -1
- package/dist/nuxt.js +5 -5
- package/dist/plugin-utils/{context-DdRcFGKU.d.cts → context-BLMhhC0A.d.cts} +45 -0
- package/dist/plugin-utils/{context-DdRcFGKU.d.ts → context-BLMhhC0A.d.ts} +45 -0
- package/dist/plugin-utils/context-helpers.d.cts +1 -1
- package/dist/plugin-utils/context-helpers.d.ts +1 -1
- package/dist/plugin-utils/enforce.d.cts +1 -1
- package/dist/plugin-utils/enforce.d.ts +1 -1
- package/dist/plugin-utils/extend.d.cts +1 -1
- package/dist/plugin-utils/extend.d.ts +1 -1
- package/dist/plugin-utils/get-config-path.d.cts +1 -1
- package/dist/plugin-utils/get-config-path.d.ts +1 -1
- package/dist/plugin-utils/helpers.d.cts +1 -1
- package/dist/plugin-utils/helpers.d.ts +1 -1
- package/dist/plugin-utils/index.d.cts +1 -1
- package/dist/plugin-utils/index.d.ts +1 -1
- package/dist/plugin-utils/merge.d.cts +1 -1
- package/dist/plugin-utils/merge.d.ts +1 -1
- package/dist/plugin-utils/paths.d.cts +1 -1
- package/dist/plugin-utils/paths.d.ts +1 -1
- package/dist/rolldown.cjs +6 -6
- package/dist/rolldown.d.cts +1 -1
- package/dist/rolldown.d.ts +1 -1
- package/dist/rolldown.js +3 -3
- package/dist/rollup.cjs +3 -3
- package/dist/rollup.d.cts +1 -1
- package/dist/rollup.d.ts +1 -1
- package/dist/rollup.js +2 -2
- package/dist/rspack.cjs +3 -3
- package/dist/rspack.d.cts +1 -1
- package/dist/rspack.d.ts +1 -1
- 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 +2 -2
- package/dist/types/api.d.ts +2 -2
- package/dist/types/babel.d.cts +1 -1
- package/dist/types/babel.d.ts +1 -1
- package/dist/types/commands.d.cts +1 -1
- package/dist/types/commands.d.ts +1 -1
- 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 +1 -1
- package/dist/types/context.d.ts +1 -1
- package/dist/types/context.js +1 -1
- package/dist/types/fs.cjs +7 -3
- package/dist/types/fs.d.cts +30 -1
- package/dist/types/fs.d.ts +30 -1
- package/dist/types/fs.js +1 -1
- package/dist/types/hooks.d.cts +1 -1
- package/dist/types/hooks.d.ts +1 -1
- package/dist/types/index.cjs +9 -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 +2 -2
- package/dist/types/internal.d.ts +2 -2
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/resolved.d.cts +1 -1
- package/dist/types/resolved.d.ts +1 -1
- package/dist/types/unplugin.d.cts +2 -2
- package/dist/types/unplugin.d.ts +2 -2
- package/dist/unloader.cjs +3 -3
- package/dist/unloader.d.cts +1 -1
- package/dist/unloader.d.ts +1 -1
- package/dist/unloader.js +2 -2
- package/dist/unplugin.cjs +5 -5
- package/dist/unplugin.d.cts +2 -2
- package/dist/unplugin.d.ts +2 -2
- package/dist/unplugin.js +3 -3
- package/dist/vite.cjs +6 -6
- package/dist/vite.d.cts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +3 -3
- package/dist/webpack.cjs +6 -6
- package/dist/webpack.d.cts +1 -1
- package/dist/webpack.d.ts +1 -1
- package/dist/webpack.js +3 -3
- package/package.json +2 -2
- package/dist/chunk-EJZVAP3T.js +0 -7
- package/dist/chunk-LF52IIUG.cjs +0 -12
- package/dist/chunk-OAP26O5W.cjs +0 -12
- package/dist/lib/chunk-5QMQ5G73.js.map +0 -1
- package/dist/lib/chunk-ALSAZ7L6.js.map +0 -1
- package/dist/lib/chunk-AQNUFK3L.cjs.map +0 -1
- package/dist/lib/chunk-BEMSIGJW.cjs.map +0 -1
- package/dist/lib/chunk-C3QHVUY2.cjs.map +0 -1
- package/dist/lib/chunk-CTMPQSK7.js.map +0 -1
- package/dist/lib/chunk-LSHBFMOA.cjs.map +0 -1
- package/dist/lib/chunk-LT2BKZXG.js.map +0 -1
- package/dist/lib/chunk-PEUTCIA5.js.map +0 -1
- package/dist/lib/chunk-QBE4SZN6.cjs.map +0 -1
- package/dist/lib/chunk-Y5KONJVR.cjs.map +0 -1
- package/dist/lib/chunk-YJEZASNU.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MaybePromise } from '@stryke/types/base';
|
|
2
|
-
import { b0 as SelectHooksOptions, cz 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-
|
|
2
|
+
import { b0 as SelectHooksOptions, cz 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-BjkbWSEi.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, cz 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-
|
|
2
|
+
import { b0 as SelectHooksOptions, cz 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-D3mOE_yR.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 chunkBYE57MON_cjs = require('./chunk-BYE57MON.cjs');
|
|
4
4
|
require('./chunk-ZCMOAOQN.cjs');
|
|
5
5
|
require('./chunk-XOMY3USD.cjs');
|
|
6
6
|
require('./chunk-Z6ARQDHR.cjs');
|
|
@@ -10,7 +10,7 @@ require('./chunk-PK6SKIKE.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "PowerlinesAPI", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBYE57MON_cjs.PowerlinesAPI; }
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=api.cjs.map
|
|
16
16
|
//# sourceMappingURL=api.cjs.map
|
package/dist/api.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as API, C as CallHookOptions } from './api-
|
|
2
|
-
import { cz 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-
|
|
1
|
+
import { A as API, C as CallHookOptions } from './api-CKsoNfIi.cjs';
|
|
2
|
+
import { cz 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-BjkbWSEi.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/http/fetch';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as API, C as CallHookOptions } from './api-
|
|
2
|
-
import { cz 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-
|
|
1
|
+
import { A as API, C as CallHookOptions } from './api-DF6OX-CP.js';
|
|
2
|
+
import { cz 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-D3mOE_yR.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/http/fetch';
|
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 chunkNCEMQXI7_cjs = require('./chunk-NCEMQXI7.cjs');
|
|
6
6
|
require('./chunk-QHEKB7RW.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-CY2P2DU6.cjs');
|
|
8
|
+
require('./chunk-BYE57MON.cjs');
|
|
9
9
|
require('./chunk-ZCMOAOQN.cjs');
|
|
10
10
|
require('./chunk-XOMY3USD.cjs');
|
|
11
11
|
require('./chunk-Z6ARQDHR.cjs');
|
|
@@ -15,7 +15,7 @@ var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
|
15
15
|
var astro = /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((config) => ({
|
|
16
16
|
vite: {
|
|
17
17
|
plugins: [
|
|
18
|
-
|
|
18
|
+
chunkNCEMQXI7_cjs.vite_default(config)
|
|
19
19
|
]
|
|
20
20
|
}
|
|
21
21
|
}), "astro");
|
package/dist/astro.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import { cA as ViteResolvedConfig } from './context-
|
|
2
|
+
import { cA as ViteResolvedConfig } from './context-BjkbWSEi.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
5
5
|
import '@stryke/types/base';
|
package/dist/astro.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import { cA as ViteResolvedConfig } from './context-
|
|
2
|
+
import { cA as ViteResolvedConfig } from './context-D3mOE_yR.js';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
5
5
|
import '@stryke/types/base';
|
package/dist/astro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { vite_default } from './chunk-
|
|
1
|
+
import { vite_default } from './chunk-PONG5D7V.js';
|
|
2
2
|
import './chunk-YJWTNJQF.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-O2ASVIMW.js';
|
|
4
|
+
import './chunk-POZHPFH4.js';
|
|
5
5
|
import './chunk-AJPO5EP7.js';
|
|
6
6
|
import './chunk-U2RJRKLT.js';
|
|
7
7
|
import './chunk-2MYPFASJ.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkQHEKB7RW_cjs = require('./chunk-QHEKB7RW.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkCY2P2DU6_cjs = require('./chunk-CY2P2DU6.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(chunkCY2P2DU6_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-2XBYBJR5.cjs.map
|
|
36
|
+
//# sourceMappingURL=chunk-2XBYBJR5.cjs.map
|
|
@@ -3,8 +3,13 @@
|
|
|
3
3
|
// src/types/fs.ts
|
|
4
4
|
var __VFS_PATCH__ = "__VFS_PATCH__";
|
|
5
5
|
var __VFS_REVERT__ = "__VFS_REVERT__";
|
|
6
|
+
var STORAGE_PRESETS = [
|
|
7
|
+
"fs",
|
|
8
|
+
"virtual"
|
|
9
|
+
];
|
|
6
10
|
|
|
11
|
+
exports.STORAGE_PRESETS = STORAGE_PRESETS;
|
|
7
12
|
exports.__VFS_PATCH__ = __VFS_PATCH__;
|
|
8
13
|
exports.__VFS_REVERT__ = __VFS_REVERT__;
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-A7AUGAHH.cjs.map
|
|
15
|
+
//# sourceMappingURL=chunk-A7AUGAHH.cjs.map
|
|
@@ -63,6 +63,7 @@ var isFile = require('@stryke/fs/is-file');
|
|
|
63
63
|
var $ = require('@stryke/capnp');
|
|
64
64
|
var buffer = require('@stryke/fs/buffer');
|
|
65
65
|
var prettyBytes = require('@stryke/string-format/pretty-bytes');
|
|
66
|
+
var isRegexp = require('@stryke/type-checks/is-regexp');
|
|
66
67
|
var buffer$1 = require('buffer');
|
|
67
68
|
var url = require('url');
|
|
68
69
|
var prettier = require('prettier');
|
|
@@ -110,8 +111,7 @@ function resolveModulePath(nodePath, state) {
|
|
|
110
111
|
if (!t__namespace.isStringLiteral(nodePath.node)) {
|
|
111
112
|
return;
|
|
112
113
|
}
|
|
113
|
-
const
|
|
114
|
-
const resolvedPath = state.context?.fs.resolveSync(sourcePath);
|
|
114
|
+
const resolvedPath = state.context?.fs.resolveSync(nodePath.node.value);
|
|
115
115
|
if (resolvedPath) {
|
|
116
116
|
nodePath.replaceWith(t__namespace.stringLiteral(
|
|
117
117
|
// Remove the file extension if it exists
|
|
@@ -1263,6 +1263,13 @@ var BaseStorageAdapter = class {
|
|
|
1263
1263
|
*/
|
|
1264
1264
|
options;
|
|
1265
1265
|
/**
|
|
1266
|
+
* The storage preset for the adapter.
|
|
1267
|
+
*
|
|
1268
|
+
* @remarks
|
|
1269
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
1270
|
+
*/
|
|
1271
|
+
preset = null;
|
|
1272
|
+
/**
|
|
1266
1273
|
* Constructor for the BaseStorageAdapter.
|
|
1267
1274
|
*
|
|
1268
1275
|
* @param options - Configuration options for the storage adapter.
|
|
@@ -1453,6 +1460,13 @@ var FileSystemStorageAdapter = class extends BaseStorageAdapter {
|
|
|
1453
1460
|
*/
|
|
1454
1461
|
name = "file-system";
|
|
1455
1462
|
/**
|
|
1463
|
+
* The storage preset for the adapter.
|
|
1464
|
+
*
|
|
1465
|
+
* @remarks
|
|
1466
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
1467
|
+
*/
|
|
1468
|
+
preset = "fs";
|
|
1469
|
+
/**
|
|
1456
1470
|
* Constructor for the FileSystemStorageAdapter.
|
|
1457
1471
|
*
|
|
1458
1472
|
* @param options - Configuration options for the storage adapter.
|
|
@@ -1612,6 +1626,13 @@ var VirtualStorageAdapter = class extends BaseStorageAdapter {
|
|
|
1612
1626
|
*/
|
|
1613
1627
|
name = "virtual";
|
|
1614
1628
|
/**
|
|
1629
|
+
* The storage preset for the adapter.
|
|
1630
|
+
*
|
|
1631
|
+
* @remarks
|
|
1632
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
1633
|
+
*/
|
|
1634
|
+
preset = "virtual";
|
|
1635
|
+
/**
|
|
1615
1636
|
* In-memory data storage.
|
|
1616
1637
|
*/
|
|
1617
1638
|
data = /* @__PURE__ */ new Map();
|
|
@@ -1760,10 +1781,21 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
1760
1781
|
/**
|
|
1761
1782
|
* Gets the storage adapter and relative key for a given key.
|
|
1762
1783
|
*
|
|
1784
|
+
* @remarks
|
|
1785
|
+
* The `key` can be either a path or a storage adapter name.
|
|
1786
|
+
*
|
|
1763
1787
|
* @param key - The key to get the storage adapter for.
|
|
1764
1788
|
* @returns The storage adapter and relative key for the given key.
|
|
1765
1789
|
*/
|
|
1766
1790
|
#getStorage(key) {
|
|
1791
|
+
const found = Object.entries(this.#storage).find(([, adapter]) => adapter.name === key || adapter.preset && adapter.preset.toLowerCase() === key?.toLowerCase());
|
|
1792
|
+
if (found) {
|
|
1793
|
+
return {
|
|
1794
|
+
base: found[0],
|
|
1795
|
+
relativeKey: "",
|
|
1796
|
+
adapter: found[1]
|
|
1797
|
+
};
|
|
1798
|
+
}
|
|
1767
1799
|
const path = this.resolveSync(this.#normalizePath(key)) || key;
|
|
1768
1800
|
for (const base of Object.keys(this.#storage).filter(Boolean).sort().reverse()) {
|
|
1769
1801
|
if (isParentPath.isParentPath(path, base)) {
|
|
@@ -2311,7 +2343,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2311
2343
|
});
|
|
2312
2344
|
}
|
|
2313
2345
|
}
|
|
2314
|
-
const { relativeKey, adapter } = this.#getStorage(path);
|
|
2346
|
+
const { relativeKey, adapter } = this.#getStorage(options.storage || path);
|
|
2315
2347
|
this.#log(types.LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes.prettyBytes(new buffer$1.Blob(toArray.toArray(code)).size)})`);
|
|
2316
2348
|
const id = options?.meta?.id || this.#normalizeId(relativeKey);
|
|
2317
2349
|
this.#metadata[id] = {
|
|
@@ -2331,7 +2363,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2331
2363
|
* @param options - Optional parameters for writing the file.
|
|
2332
2364
|
*/
|
|
2333
2365
|
writeSync(path, data = "", options = {}) {
|
|
2334
|
-
const { relativeKey, adapter } = this.#getStorage(path);
|
|
2366
|
+
const { relativeKey, adapter } = this.#getStorage(options.storage || path);
|
|
2335
2367
|
this.#log(types.LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} file to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes.prettyBytes(new buffer$1.Blob(toArray.toArray(data)).size)})`);
|
|
2336
2368
|
const id = options?.meta?.id || this.#normalizeId(relativeKey);
|
|
2337
2369
|
this.#metadata[id] = {
|
|
@@ -2373,6 +2405,44 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2373
2405
|
return void 0;
|
|
2374
2406
|
}
|
|
2375
2407
|
/**
|
|
2408
|
+
* Resolves a given module ID using the configured aliases.
|
|
2409
|
+
*
|
|
2410
|
+
* @remarks
|
|
2411
|
+
* This function can be used to map module IDs to different paths based on the alias configuration.
|
|
2412
|
+
*
|
|
2413
|
+
* @param id - The module ID to resolve.
|
|
2414
|
+
* @returns The resolved module ID - after applying any configured aliases (this will be the same as the input ID if no aliases match).
|
|
2415
|
+
*/
|
|
2416
|
+
resolveAlias(id) {
|
|
2417
|
+
let path = id;
|
|
2418
|
+
if (this.#context.config.build.alias) {
|
|
2419
|
+
if (Array.isArray(this.#context.config.build.alias) && this.#context.config.build.alias.length > 0) {
|
|
2420
|
+
const found = this.#context.config.build.alias.filter((alias) => isSetString.isSetString(alias.find) && (alias.find === path || path.startsWith(`${alias.find}/`)) || isRegexp.isRegExp(alias.find) && alias.find.test(path));
|
|
2421
|
+
if (found.length > 0) {
|
|
2422
|
+
const alias = found.reduce((ret, current) => {
|
|
2423
|
+
const retLength = isSetString.isSetString(ret.find) ? ret.find.length : isRegexp.isRegExp(ret.find) ? ret.find.source.length : 0;
|
|
2424
|
+
const currentLength = isSetString.isSetString(current.find) ? current.find.length : isRegexp.isRegExp(current.find) ? current.find.source.length : 0;
|
|
2425
|
+
return retLength > currentLength ? ret : current;
|
|
2426
|
+
});
|
|
2427
|
+
if (isSetString.isSetString(alias.find)) {
|
|
2428
|
+
path = path.replace(new RegExp(`^${alias.find}`), alias.replacement);
|
|
2429
|
+
} else if (isRegexp.isRegExp(alias.find)) {
|
|
2430
|
+
path = path.replace(alias.find, alias.replacement);
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
} else if (isSetObject.isSetObject(this.#context.config.build.alias)) {
|
|
2434
|
+
const found = Object.keys(this.#context.config.build.alias).filter((key) => key === path || path.startsWith(`${key}/`));
|
|
2435
|
+
if (found.length > 0) {
|
|
2436
|
+
const alias = found.reduce((ret, current) => {
|
|
2437
|
+
return ret.length > current.length ? ret : current;
|
|
2438
|
+
});
|
|
2439
|
+
path = path.replace(new RegExp(`^${alias}`), this.#context.config.build.alias[alias]);
|
|
2440
|
+
}
|
|
2441
|
+
}
|
|
2442
|
+
}
|
|
2443
|
+
return path;
|
|
2444
|
+
}
|
|
2445
|
+
/**
|
|
2376
2446
|
* A helper function to resolve modules in the virtual file system (VFS).
|
|
2377
2447
|
*
|
|
2378
2448
|
* @remarks
|
|
@@ -2393,6 +2463,9 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2393
2463
|
if (path.includes("{") || path.includes("}")) {
|
|
2394
2464
|
path = replacePathTokens(this.#context, path);
|
|
2395
2465
|
}
|
|
2466
|
+
if (options.skipAlias !== true) {
|
|
2467
|
+
path = this.resolveAlias(path);
|
|
2468
|
+
}
|
|
2396
2469
|
if (isType.isAbsolutePath(path)) {
|
|
2397
2470
|
return path;
|
|
2398
2471
|
}
|
|
@@ -2463,6 +2536,9 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2463
2536
|
if (path.includes("{") || path.includes("}")) {
|
|
2464
2537
|
path = replacePathTokens(this.#context, path);
|
|
2465
2538
|
}
|
|
2539
|
+
if (options.skipAlias !== true) {
|
|
2540
|
+
path = this.resolveAlias(path);
|
|
2541
|
+
}
|
|
2466
2542
|
if (isType.isAbsolutePath(path)) {
|
|
2467
2543
|
return path;
|
|
2468
2544
|
}
|
|
@@ -3186,6 +3262,36 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3186
3262
|
}));
|
|
3187
3263
|
}
|
|
3188
3264
|
/**
|
|
3265
|
+
* Synchronously resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
3266
|
+
*
|
|
3267
|
+
* @param code - The source code of the entry file
|
|
3268
|
+
* @param path - A path to write the entry file to
|
|
3269
|
+
* @param options - Optional write file options
|
|
3270
|
+
*/
|
|
3271
|
+
emitEntrySync(code, path, options = {}) {
|
|
3272
|
+
const entryPath = isType.isAbsolute(path) ? path : append.appendPath(path, this.entryPath);
|
|
3273
|
+
this.entry ??= [];
|
|
3274
|
+
this.entry.push({
|
|
3275
|
+
name: options?.name,
|
|
3276
|
+
file: entryPath,
|
|
3277
|
+
input: options?.input,
|
|
3278
|
+
output: options?.output
|
|
3279
|
+
});
|
|
3280
|
+
return this.fs.writeSync(entryPath, code, defu7__default.default(omit.omit(options, [
|
|
3281
|
+
"name"
|
|
3282
|
+
]), {
|
|
3283
|
+
meta: {
|
|
3284
|
+
type: "entry",
|
|
3285
|
+
properties: {
|
|
3286
|
+
name: options?.name,
|
|
3287
|
+
output: options?.output,
|
|
3288
|
+
"input.file": options?.input?.file,
|
|
3289
|
+
"input.name": options?.input?.name
|
|
3290
|
+
}
|
|
3291
|
+
}
|
|
3292
|
+
}));
|
|
3293
|
+
}
|
|
3294
|
+
/**
|
|
3189
3295
|
* Resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
3190
3296
|
*
|
|
3191
3297
|
* @param code - The source code of the builtin file
|
|
@@ -3201,6 +3307,21 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3201
3307
|
}));
|
|
3202
3308
|
}
|
|
3203
3309
|
/**
|
|
3310
|
+
* Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
3311
|
+
*
|
|
3312
|
+
* @param code - The source code of the builtin file
|
|
3313
|
+
* @param id - The unique identifier of the builtin file
|
|
3314
|
+
* @param path - An optional path to write the builtin file to
|
|
3315
|
+
* @param options - Optional write file options
|
|
3316
|
+
*/
|
|
3317
|
+
emitBuiltinSync(code, id, path, options) {
|
|
3318
|
+
return this.fs.writeSync(path ? isType.isAbsolute(path) ? path : join.joinPaths(this.builtinsPath, path) : append.appendPath(id, this.builtinsPath), code, defu7__default.default(options, {
|
|
3319
|
+
meta: {
|
|
3320
|
+
type: "builtin"
|
|
3321
|
+
}
|
|
3322
|
+
}));
|
|
3323
|
+
}
|
|
3324
|
+
/**
|
|
3204
3325
|
* Update the context using a new user configuration options
|
|
3205
3326
|
*
|
|
3206
3327
|
* @param userConfig - The new user configuration options.
|
|
@@ -4693,5 +4814,5 @@ exports.PowerlinesAPI = PowerlinesAPI;
|
|
|
4693
4814
|
exports._capnpFileId = _capnpFileId;
|
|
4694
4815
|
exports.createLog = createLog;
|
|
4695
4816
|
exports.extendLog = extendLog;
|
|
4696
|
-
//# sourceMappingURL=chunk-
|
|
4697
|
-
//# sourceMappingURL=chunk-
|
|
4817
|
+
//# sourceMappingURL=chunk-BYE57MON.cjs.map
|
|
4818
|
+
//# sourceMappingURL=chunk-BYE57MON.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBYE57MON_cjs = require('./chunk-BYE57MON.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 = chunkBYE57MON_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 chunkBYE57MON_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-CY2P2DU6.cjs.map
|
|
136
|
+
//# sourceMappingURL=chunk-CY2P2DU6.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-O2ASVIMW.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-GJ2LG4DD.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-GJ2LG4DD.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// src/types/fs.ts
|
|
2
|
+
var __VFS_PATCH__ = "__VFS_PATCH__";
|
|
3
|
+
var __VFS_REVERT__ = "__VFS_REVERT__";
|
|
4
|
+
var STORAGE_PRESETS = [
|
|
5
|
+
"fs",
|
|
6
|
+
"virtual"
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
export { STORAGE_PRESETS, __VFS_PATCH__, __VFS_REVERT__ };
|
|
10
|
+
//# sourceMappingURL=chunk-KXRVVFNK.js.map
|
|
11
|
+
//# sourceMappingURL=chunk-KXRVVFNK.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkQHEKB7RW_cjs = require('./chunk-QHEKB7RW.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkCY2P2DU6_cjs = require('./chunk-CY2P2DU6.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(chunkCY2P2DU6_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-NCEMQXI7.cjs.map
|
|
162
|
+
//# sourceMappingURL=chunk-NCEMQXI7.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-YJWTNJQF.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-O2ASVIMW.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-NIWBFUD2.js.map
|
|
33
|
+
//# sourceMappingURL=chunk-NIWBFUD2.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLog, PowerlinesAPI } from './chunk-
|
|
1
|
+
import { createLog, PowerlinesAPI } from './chunk-POZHPFH4.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-O2ASVIMW.js.map
|
|
133
|
+
//# sourceMappingURL=chunk-O2ASVIMW.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-YJWTNJQF.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-O2ASVIMW.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-PONG5D7V.js.map
|
|
155
|
+
//# sourceMappingURL=chunk-PONG5D7V.js.map
|