powerlines 0.22.1 → 0.23.1
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.cjs +3 -3
- package/dist/api.d.cts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/api.js +2 -2
- package/dist/astro.cjs +9 -9
- package/dist/astro.d.cts +1 -1
- package/dist/astro.d.ts +1 -1
- package/dist/astro.js +6 -6
- package/dist/{chunk-3JH36WUJ.cjs → chunk-3FNCYVTC.cjs} +2 -2
- package/dist/{chunk-SQANNMRF.cjs → chunk-3NWZ7U74.cjs} +3 -3
- package/dist/{chunk-SVF4ATJR.cjs → chunk-3WDMXRK6.cjs} +2 -2
- package/dist/chunk-3ZYSJWDS.cjs +32 -0
- package/dist/{chunk-OZU47JET.js → chunk-4H6HIUTA.js} +28 -8
- package/dist/{chunk-HV7SHEHD.cjs → chunk-5IBA5HC2.cjs} +1 -1
- package/dist/{chunk-PJP4MECA.cjs → chunk-6MOT27K6.cjs} +2 -2
- package/dist/{chunk-7C2NEC7D.cjs → chunk-6ZR445UL.cjs} +2 -2
- package/dist/{chunk-WU7I52LM.js → chunk-AOVVQFI3.js} +2 -2
- package/dist/{chunk-LKYBC6DX.cjs → chunk-AUARPEPN.cjs} +4 -4
- package/dist/{chunk-F4BD5CXH.cjs → chunk-CVRUQZN7.cjs} +2 -2
- package/dist/{chunk-ZPOCM5XZ.js → chunk-DV5TMDLV.js} +1 -1
- package/dist/{chunk-2HNC5JVK.cjs → chunk-F65TZZ57.cjs} +2 -2
- package/dist/{chunk-QQGXARP3.js → chunk-FC46JGB5.js} +1 -1
- package/dist/chunk-FM4ABZQ2.js +5 -0
- package/dist/{chunk-YG5ORYN2.cjs → chunk-HBDBJSWL.cjs} +2 -2
- package/dist/{chunk-DMXXNXLS.cjs → chunk-HPQPBZGL.cjs} +4 -4
- package/dist/{chunk-M6XGEVJY.js → chunk-IQG3XK3P.js} +1 -1
- package/dist/{chunk-3FS7K4DZ.js → chunk-IQXGIDXL.js} +1 -1
- package/dist/{chunk-C5TKY75S.js → chunk-K55N2SZU.js} +1 -1
- package/dist/{chunk-237NITCY.js → chunk-L57J2FXN.js} +1 -1
- package/dist/{chunk-A5GTERYN.js → chunk-MOQZVSWO.js} +2 -2
- package/dist/{chunk-6XRDZOE3.cjs → chunk-N4SUYIMO.cjs} +33 -13
- package/dist/{chunk-WYJGOC3Y.cjs → chunk-NNCCUGXA.cjs} +2 -2
- package/dist/{chunk-44UTUCBG.cjs → chunk-S432MQT4.cjs} +5 -5
- package/dist/{chunk-NZXMP4J5.js → chunk-S53KWDAO.js} +1 -1
- package/dist/{chunk-L4AXJFX2.js → chunk-TW2PHIE2.js} +3 -3
- package/dist/{chunk-2Q2PSPZK.js → chunk-UBZHGFM5.js} +1 -1
- package/dist/chunk-UF2HNMZH.js +29 -0
- package/dist/{chunk-PDFOF6ZP.js → chunk-VBR53KGY.js} +1 -1
- package/dist/{chunk-SVDPKN3U.js → chunk-WWB3FZJY.js} +1 -1
- package/dist/{chunk-UVM4JAR3.cjs → chunk-YCHT4OYW.cjs} +2 -2
- package/dist/config.d.cts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/esbuild.cjs +8 -8
- package/dist/esbuild.d.cts +1 -1
- package/dist/esbuild.d.ts +1 -1
- package/dist/esbuild.js +5 -5
- package/dist/farm.cjs +4 -4
- package/dist/farm.d.cts +1 -1
- package/dist/farm.d.ts +1 -1
- package/dist/farm.js +3 -3
- package/dist/{hooks-CNEZpkMS.d.ts → hooks-D2UGCryi.d.ts} +1 -1
- package/dist/{hooks-CJ1W5lrx.d.cts → hooks-DJG3B-Hw.d.cts} +1 -1
- package/dist/index.cjs +27 -27
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17 -17
- package/dist/lib/build/esbuild.cjs +5 -5
- package/dist/lib/build/esbuild.d.cts +1 -1
- package/dist/lib/build/esbuild.d.ts +1 -1
- package/dist/lib/build/esbuild.js +2 -2
- package/dist/lib/build/index.cjs +25 -25
- package/dist/lib/build/index.d.cts +2 -2
- package/dist/lib/build/index.d.ts +2 -2
- package/dist/lib/build/index.js +9 -9
- package/dist/lib/build/rolldown.cjs +3 -3
- package/dist/lib/build/rolldown.d.cts +1 -1
- package/dist/lib/build/rolldown.d.ts +1 -1
- package/dist/lib/build/rolldown.js +2 -2
- package/dist/lib/build/rollup.cjs +3 -3
- package/dist/lib/build/rollup.d.cts +1 -1
- package/dist/lib/build/rollup.d.ts +1 -1
- package/dist/lib/build/rollup.js +1 -1
- package/dist/lib/build/rspack.cjs +2 -2
- package/dist/lib/build/rspack.d.cts +1 -1
- package/dist/lib/build/rspack.d.ts +1 -1
- package/dist/lib/build/rspack.js +1 -1
- package/dist/lib/build/tsup.cjs +6 -6
- package/dist/lib/build/tsup.d.cts +1 -1
- package/dist/lib/build/tsup.d.ts +1 -1
- package/dist/lib/build/tsup.js +3 -3
- package/dist/lib/build/unbuild.cjs +5 -5
- package/dist/lib/build/unbuild.d.cts +2 -2
- package/dist/lib/build/unbuild.d.ts +2 -2
- package/dist/lib/build/unbuild.js +2 -2
- package/dist/lib/build/vite.cjs +5 -5
- package/dist/lib/build/vite.d.cts +1 -1
- package/dist/lib/build/vite.d.ts +1 -1
- package/dist/lib/build/vite.js +3 -3
- package/dist/lib/build/webpack.cjs +2 -2
- package/dist/lib/build/webpack.d.cts +1 -1
- package/dist/lib/build/webpack.d.ts +1 -1
- package/dist/lib/build/webpack.js +1 -1
- package/dist/lib/{chunk-GDXHCTCX.cjs → chunk-2OV26JXJ.cjs} +3 -3
- package/dist/lib/{chunk-YV6MDKW4.js → chunk-2X5DUDNT.js} +2 -2
- package/dist/lib/{chunk-HQ5YA43H.js → chunk-AKBAX4FH.js} +1 -1
- package/dist/lib/{chunk-3G4C3YAU.js → chunk-AOHJEL2Q.js} +2 -2
- package/dist/lib/{chunk-4FX4VOLA.cjs → chunk-DALRRHB4.cjs} +1 -1
- package/dist/lib/{chunk-5SADLYYK.js → chunk-EUDKQWSB.js} +1 -1
- package/dist/lib/{chunk-HOZ37BFN.js → chunk-H6EOZSIZ.js} +1 -1
- package/dist/lib/{chunk-T7RMV2FW.js → chunk-HY6DNFCT.js} +2 -2
- package/dist/lib/{chunk-MPCVQK2D.cjs → chunk-ISBHXSDH.cjs} +1 -1
- package/dist/lib/{chunk-CSJ6KNIX.cjs → chunk-JYDGFQIV.cjs} +1 -1
- package/dist/lib/{chunk-43VJVIL2.js → chunk-KJIQ7JEY.js} +29 -9
- package/dist/lib/{chunk-LMO7PRBP.cjs → chunk-L3HESXYF.cjs} +4 -4
- package/dist/lib/{chunk-LAFEAMNN.cjs → chunk-LPRZ3HD4.cjs} +3 -3
- package/dist/lib/{chunk-IOM7GRZU.js → chunk-PZLO6FZW.js} +2 -2
- package/dist/lib/{chunk-HCOHRD3Q.cjs → chunk-RMA2PMP7.cjs} +3 -3
- package/dist/lib/{chunk-QAXCBFBP.js → chunk-SEWUUTNA.js} +1 -1
- package/dist/lib/{chunk-Y2BHXV33.cjs → chunk-TDJNFAOV.cjs} +1 -1
- package/dist/lib/{chunk-5SP6QZLX.js → chunk-TMZCGC5U.js} +1 -1
- package/dist/lib/{chunk-27VJFYDM.cjs → chunk-TOCNXURI.cjs} +3 -3
- package/dist/lib/{chunk-FN7673NC.cjs → chunk-UPVFKXB7.cjs} +2 -2
- package/dist/lib/{chunk-E2MVGKGH.cjs → chunk-VL63QEPF.cjs} +2 -2
- package/dist/lib/{chunk-5GM5UAUO.js → chunk-WTTBXYFQ.js} +4 -4
- package/dist/lib/{chunk-LPA7UJIR.cjs → chunk-XDRTIXW2.cjs} +32 -12
- package/dist/lib/{chunk-BHDQZ6YX.js → chunk-XZFEHPYE.js} +1 -1
- package/dist/lib/{config-7vXtXiGg.d.cts → config-BoGlIhnH.d.cts} +11 -2
- package/dist/lib/{config-B9aVEiiX.d.ts → config-CTej7RMP.d.ts} +11 -2
- package/dist/lib/config-file.d.cts +1 -1
- package/dist/lib/config-file.d.ts +1 -1
- package/dist/lib/create-program.d.cts +1 -1
- package/dist/lib/create-program.d.ts +1 -1
- package/dist/lib/entry.cjs +9 -9
- package/dist/lib/entry.d.cts +1 -1
- package/dist/lib/entry.d.ts +1 -1
- package/dist/lib/entry.js +1 -1
- package/dist/lib/{hooks-cvv50JDh.d.cts → hooks-CDLPWf7j.d.cts} +1 -1
- package/dist/lib/{hooks-BxUBzqCb.d.ts → hooks-Cn-IqwYp.d.ts} +1 -1
- package/dist/lib/index.cjs +17 -17
- package/dist/lib/index.d.cts +2 -2
- package/dist/lib/index.d.ts +2 -2
- package/dist/lib/index.js +5 -5
- package/dist/lib/logger.d.cts +1 -1
- package/dist/lib/logger.d.ts +1 -1
- package/dist/lib/typescript/compiler-host.d.cts +1 -1
- package/dist/lib/typescript/compiler-host.d.ts +1 -1
- package/dist/lib/typescript/import-transformer.d.cts +1 -1
- package/dist/lib/typescript/import-transformer.d.ts +1 -1
- package/dist/lib/typescript/index.d.cts +1 -1
- package/dist/lib/typescript/index.d.ts +1 -1
- package/dist/lib/typescript/program.d.cts +1 -1
- package/dist/lib/typescript/program.d.ts +1 -1
- package/dist/lib/unplugin/factory.cjs +3 -3
- package/dist/lib/unplugin/factory.d.cts +2 -2
- package/dist/lib/unplugin/factory.d.ts +2 -2
- package/dist/lib/unplugin/factory.js +2 -2
- package/dist/lib/unplugin/index.cjs +3 -3
- package/dist/lib/unplugin/index.d.cts +2 -2
- package/dist/lib/unplugin/index.d.ts +2 -2
- package/dist/lib/unplugin/index.js +2 -2
- package/dist/lib/unplugin/plugin.d.cts +1 -1
- package/dist/lib/unplugin/plugin.d.ts +1 -1
- package/dist/lib/unplugin/resolve-id.d.cts +1 -1
- package/dist/lib/unplugin/resolve-id.d.ts +1 -1
- package/dist/lib/utilities/bundle.cjs +4 -4
- package/dist/lib/utilities/bundle.d.cts +1 -1
- package/dist/lib/utilities/bundle.d.ts +1 -1
- package/dist/lib/utilities/bundle.js +3 -3
- package/dist/lib/utilities/cache.d.cts +1 -1
- package/dist/lib/utilities/cache.d.ts +1 -1
- package/dist/lib/utilities/file-header.d.cts +1 -1
- package/dist/lib/utilities/file-header.d.ts +1 -1
- package/dist/lib/utilities/index.cjs +6 -6
- package/dist/lib/utilities/index.d.cts +1 -1
- package/dist/lib/utilities/index.d.ts +1 -1
- package/dist/lib/utilities/index.js +4 -4
- package/dist/lib/utilities/meta.d.cts +1 -1
- package/dist/lib/utilities/meta.d.ts +1 -1
- package/dist/lib/utilities/resolve-path.d.cts +1 -1
- package/dist/lib/utilities/resolve-path.d.ts +1 -1
- package/dist/lib/utilities/resolve.cjs +5 -5
- package/dist/lib/utilities/resolve.d.cts +1 -1
- package/dist/lib/utilities/resolve.d.ts +1 -1
- package/dist/lib/utilities/resolve.js +4 -4
- package/dist/lib/utilities/source-file.d.cts +1 -1
- package/dist/lib/utilities/source-file.d.ts +1 -1
- package/dist/lib/utilities/source-map.d.cts +1 -1
- package/dist/lib/utilities/source-map.d.ts +1 -1
- package/dist/lib/utilities/worker.d.cts +1 -1
- package/dist/lib/utilities/worker.d.ts +1 -1
- package/dist/lib/utilities/write-file.d.cts +1 -1
- package/dist/lib/utilities/write-file.d.ts +1 -1
- package/dist/next.cjs +8 -8
- package/dist/next.js +5 -5
- package/dist/nuxt.cjs +10 -10
- package/dist/nuxt.js +7 -7
- package/dist/plugin-utils/{chunk-QP6OJWFG.cjs → chunk-HSYQWNIH.cjs} +1 -1
- package/dist/plugin-utils/{chunk-J33TXWF6.js → chunk-JHTLGE4X.js} +1 -1
- package/dist/plugin-utils/{context-BseW8r26.d.cts → context-D1I2JQgs.d.cts} +11 -2
- package/dist/plugin-utils/{context-BseW8r26.d.ts → context-D1I2JQgs.d.ts} +11 -2
- 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.cjs +2 -2
- package/dist/plugin-utils/index.d.cts +1 -1
- package/dist/plugin-utils/index.d.ts +1 -1
- package/dist/plugin-utils/index.js +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.cjs +2 -2
- package/dist/plugin-utils/paths.d.cts +5 -3
- package/dist/plugin-utils/paths.d.ts +5 -3
- package/dist/plugin-utils/paths.js +1 -1
- package/dist/{resolved-DWxXKJYy.d.ts → resolved-D1ySEdUv.d.ts} +9 -0
- package/dist/{resolved-D8vIizyA.d.cts → resolved-DYLxPDut.d.cts} +9 -0
- package/dist/rolldown.cjs +7 -7
- package/dist/rolldown.d.cts +1 -1
- package/dist/rolldown.d.ts +1 -1
- package/dist/rolldown.js +4 -4
- package/dist/rollup.cjs +7 -7
- package/dist/rollup.d.cts +1 -1
- package/dist/rollup.d.ts +1 -1
- package/dist/rollup.js +4 -4
- package/dist/rspack.cjs +7 -7
- package/dist/rspack.d.cts +1 -1
- package/dist/rspack.d.ts +1 -1
- package/dist/rspack.js +4 -4
- package/dist/tsup.cjs +9 -9
- package/dist/tsup.js +6 -6
- 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.d.cts +1 -1
- package/dist/types/context.d.ts +1 -1
- package/dist/types/hooks.d.cts +1 -1
- package/dist/types/hooks.d.ts +1 -1
- package/dist/types/index.cjs +3 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- 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 +1 -1
- package/dist/types/unplugin.d.ts +1 -1
- package/dist/types/vfs.cjs +3 -3
- package/dist/types/vfs.d.cts +2 -2
- package/dist/types/vfs.d.ts +2 -2
- package/dist/types/vfs.js +1 -1
- package/dist/unloader.cjs +7 -7
- package/dist/unloader.d.cts +1 -1
- package/dist/unloader.d.ts +1 -1
- package/dist/unloader.js +4 -4
- package/dist/unplugin.cjs +19 -19
- package/dist/unplugin.d.cts +2 -2
- package/dist/unplugin.d.ts +2 -2
- package/dist/unplugin.js +16 -16
- package/dist/vite.cjs +8 -8
- package/dist/vite.d.cts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +5 -5
- package/dist/webpack.cjs +7 -7
- package/dist/webpack.d.cts +1 -1
- package/dist/webpack.d.ts +1 -1
- package/dist/webpack.js +4 -4
- package/package.json +3 -3
- package/dist/chunk-B4KLWFY6.cjs +0 -32
- package/dist/chunk-GRAVJX3I.js +0 -29
- package/dist/chunk-ZWF7LZXE.js +0 -5
package/dist/api.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkN4SUYIMO_cjs = require('./chunk-N4SUYIMO.cjs');
|
|
4
4
|
require('./chunk-ETKZMGLN.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-3WDMXRK6.cjs');
|
|
6
6
|
require('./chunk-PAMSESZV.cjs');
|
|
7
7
|
require('./chunk-USNT2KNT.cjs');
|
|
8
8
|
|
|
@@ -10,5 +10,5 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "PowerlinesAPI", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkN4SUYIMO_cjs.PowerlinesAPI; }
|
|
14
14
|
});
|
package/dist/api.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CallHookOptions } from './hooks-
|
|
2
|
-
import { aS as ResolvedConfig, af as APIContext, z as InitialUserConfig, M as PrepareInlineConfig, J as NewInlineConfig, K as CleanInlineConfig, Q as BuildInlineConfig, X as LintInlineConfig, Y as DocsInlineConfig, Z as DeployInlineConfig, aq as HookKeys, ai as PluginContext, ah as EnvironmentContext, ax as InferHookParameters, aw as InferHookReturnType } from './resolved-
|
|
1
|
+
import { C as CallHookOptions } from './hooks-DJG3B-Hw.cjs';
|
|
2
|
+
import { aS as ResolvedConfig, af as APIContext, z as InitialUserConfig, M as PrepareInlineConfig, J as NewInlineConfig, K as CleanInlineConfig, Q as BuildInlineConfig, X as LintInlineConfig, Y as DocsInlineConfig, Z as DeployInlineConfig, aq as HookKeys, ai as PluginContext, ah as EnvironmentContext, ax as InferHookParameters, aw as InferHookReturnType } from './resolved-DYLxPDut.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CallHookOptions } from './hooks-
|
|
2
|
-
import { aS as ResolvedConfig, af as APIContext, z as InitialUserConfig, M as PrepareInlineConfig, J as NewInlineConfig, K as CleanInlineConfig, Q as BuildInlineConfig, X as LintInlineConfig, Y as DocsInlineConfig, Z as DeployInlineConfig, aq as HookKeys, ai as PluginContext, ah as EnvironmentContext, ax as InferHookParameters, aw as InferHookReturnType } from './resolved-
|
|
1
|
+
import { C as CallHookOptions } from './hooks-D2UGCryi.js';
|
|
2
|
+
import { aS as ResolvedConfig, af as APIContext, z as InitialUserConfig, M as PrepareInlineConfig, J as NewInlineConfig, K as CleanInlineConfig, Q as BuildInlineConfig, X as LintInlineConfig, Y as DocsInlineConfig, Z as DeployInlineConfig, aq as HookKeys, ai as PluginContext, ah as EnvironmentContext, ax as InferHookParameters, aw as InferHookReturnType } from './resolved-D1ySEdUv.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
package/dist/api.js
CHANGED
package/dist/astro.cjs
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
5
|
+
var chunkF65TZZ57_cjs = require('./chunk-F65TZZ57.cjs');
|
|
6
|
+
require('./chunk-S432MQT4.cjs');
|
|
7
|
+
require('./chunk-5IBA5HC2.cjs');
|
|
8
|
+
require('./chunk-3NWZ7U74.cjs');
|
|
9
|
+
require('./chunk-N4SUYIMO.cjs');
|
|
10
10
|
require('./chunk-ETKZMGLN.cjs');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-3WDMXRK6.cjs');
|
|
12
12
|
require('./chunk-PAMSESZV.cjs');
|
|
13
13
|
require('./chunk-USNT2KNT.cjs');
|
|
14
14
|
|
|
@@ -16,13 +16,13 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, "astro", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkF65TZZ57_cjs.astro; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "default", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkF65TZZ57_cjs.astro_default; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "module.exports", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkF65TZZ57_cjs.astro; }
|
|
28
28
|
});
|
package/dist/astro.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import { aT as ViteResolvedConfig } from './resolved-
|
|
2
|
+
import { aT as ViteResolvedConfig } from './resolved-DYLxPDut.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
package/dist/astro.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import { aT as ViteResolvedConfig } from './resolved-
|
|
2
|
+
import { aT as ViteResolvedConfig } from './resolved-D1ySEdUv.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
package/dist/astro.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { astro, astro_default as default, astro as "module.exports" } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
1
|
+
export { astro, astro_default as default, astro as "module.exports" } from './chunk-K55N2SZU.js';
|
|
2
|
+
import './chunk-TW2PHIE2.js';
|
|
3
|
+
import './chunk-VBR53KGY.js';
|
|
4
|
+
import './chunk-L57J2FXN.js';
|
|
5
|
+
import './chunk-4H6HIUTA.js';
|
|
6
6
|
import './chunk-JQCWV4DT.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-FM4ABZQ2.js';
|
|
8
8
|
import './chunk-JKBJF3UI.js';
|
|
9
9
|
import './chunk-SHUYVCID.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3NWZ7U74_cjs = require('./chunk-3NWZ7U74.cjs');
|
|
4
4
|
var unplugin = require('unplugin');
|
|
5
5
|
|
|
6
|
-
var rspack = unplugin.createRspackPlugin(
|
|
6
|
+
var rspack = unplugin.createRspackPlugin(chunk3NWZ7U74_cjs.createUnpluginFactory("rspack"));
|
|
7
7
|
var rspack_default = rspack;
|
|
8
8
|
|
|
9
9
|
exports.rspack = rspack;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkN4SUYIMO_cjs = require('./chunk-N4SUYIMO.cjs');
|
|
4
4
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
var types = require('@storm-software/config-tools/types');
|
|
6
6
|
var getWorkspaceRoot = require('@stryke/fs/get-workspace-root');
|
|
@@ -111,7 +111,7 @@ chunkUSNT2KNT_cjs.__name(handleResolveId, "handleResolveId");
|
|
|
111
111
|
// src/lib/unplugin/factory.ts
|
|
112
112
|
function createUnpluginFactory(variant, decorate) {
|
|
113
113
|
return (config, meta) => {
|
|
114
|
-
const log =
|
|
114
|
+
const log = chunkN4SUYIMO_cjs.createLog("unplugin", config);
|
|
115
115
|
log(types.LogLevelLabel.DEBUG, "Initializing Unplugin");
|
|
116
116
|
try {
|
|
117
117
|
const userConfig = {
|
|
@@ -124,7 +124,7 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
124
124
|
async function buildStart() {
|
|
125
125
|
log(types.LogLevelLabel.DEBUG, "Powerlines build plugin starting...");
|
|
126
126
|
const workspaceRoot = getWorkspaceRoot.getWorkspaceRoot(process.cwd());
|
|
127
|
-
api = await
|
|
127
|
+
api = await chunkN4SUYIMO_cjs.PowerlinesAPI.from(workspaceRoot, userConfig);
|
|
128
128
|
if (api.context.config.build.skipNodeModulesBundle) {
|
|
129
129
|
resolvePatterns = bundleRequire.tsconfigPathsToRegExp(api.context.tsconfig.options.paths ?? []);
|
|
130
130
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
// src/types/vfs.ts
|
|
4
|
-
var __VFS_PATCH__ =
|
|
5
|
-
var __VFS_REVERT__ =
|
|
4
|
+
var __VFS_PATCH__ = "__VFS_PATCH__";
|
|
5
|
+
var __VFS_REVERT__ = "__VFS_REVERT__";
|
|
6
6
|
|
|
7
7
|
exports.__VFS_PATCH__ = __VFS_PATCH__;
|
|
8
8
|
exports.__VFS_REVERT__ = __VFS_REVERT__;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkYCHT4OYW_cjs = require('./chunk-YCHT4OYW.cjs');
|
|
4
|
+
var chunk6ZR445UL_cjs = require('./chunk-6ZR445UL.cjs');
|
|
5
|
+
var chunk3FNCYVTC_cjs = require('./chunk-3FNCYVTC.cjs');
|
|
6
|
+
var chunk6MOT27K6_cjs = require('./chunk-6MOT27K6.cjs');
|
|
7
|
+
var chunkNNCCUGXA_cjs = require('./chunk-NNCCUGXA.cjs');
|
|
8
|
+
var chunkF65TZZ57_cjs = require('./chunk-F65TZZ57.cjs');
|
|
9
|
+
var chunkHPQPBZGL_cjs = require('./chunk-HPQPBZGL.cjs');
|
|
10
|
+
var chunkHBDBJSWL_cjs = require('./chunk-HBDBJSWL.cjs');
|
|
11
|
+
var chunkAUARPEPN_cjs = require('./chunk-AUARPEPN.cjs');
|
|
12
|
+
var chunkS432MQT4_cjs = require('./chunk-S432MQT4.cjs');
|
|
13
|
+
var chunkCVRUQZN7_cjs = require('./chunk-CVRUQZN7.cjs');
|
|
14
|
+
|
|
15
|
+
// src/unplugin.ts
|
|
16
|
+
var plugins = {
|
|
17
|
+
astro: chunkF65TZZ57_cjs.astro_default,
|
|
18
|
+
esbuild: chunkHPQPBZGL_cjs.esbuild_default,
|
|
19
|
+
next: chunkHBDBJSWL_cjs.next_default,
|
|
20
|
+
nuxt: chunkAUARPEPN_cjs.nuxt_default,
|
|
21
|
+
rolldown: chunkYCHT4OYW_cjs.rolldown_default,
|
|
22
|
+
rollup: chunk6ZR445UL_cjs.rollup_default,
|
|
23
|
+
rspack: chunk3FNCYVTC_cjs.rspack_default,
|
|
24
|
+
tsup: chunk6MOT27K6_cjs.tsup_default,
|
|
25
|
+
unloader: chunkNNCCUGXA_cjs.unloader_default,
|
|
26
|
+
vite: chunkS432MQT4_cjs.vite_default,
|
|
27
|
+
webpack: chunkCVRUQZN7_cjs.webpack_default
|
|
28
|
+
};
|
|
29
|
+
var unplugin_default = plugins;
|
|
30
|
+
|
|
31
|
+
exports.plugins = plugins;
|
|
32
|
+
exports.unplugin_default = unplugin_default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PLUGIN_NON_HOOK_FIELDS } from './chunk-JQCWV4DT.js';
|
|
2
|
-
import { __VFS_PATCH__, __VFS_REVERT__ } from './chunk-
|
|
2
|
+
import { __VFS_PATCH__, __VFS_REVERT__ } from './chunk-FM4ABZQ2.js';
|
|
3
3
|
import { SUPPORTED_COMMANDS } from './chunk-JKBJF3UI.js';
|
|
4
4
|
import { __name } from './chunk-SHUYVCID.js';
|
|
5
5
|
import { transformAsync } from '@babel/core';
|
|
@@ -13,6 +13,7 @@ import { install } from '@stryke/fs/install';
|
|
|
13
13
|
import { listFiles, listFilesSync } from '@stryke/fs/list-files';
|
|
14
14
|
import { isPackageExists, isPackageListed, doesPackageMatch, getPackageListing } from '@stryke/fs/package-fns';
|
|
15
15
|
import { resolvePackage } from '@stryke/fs/resolve';
|
|
16
|
+
import { appendPath } from '@stryke/path/append';
|
|
16
17
|
import { joinPaths as joinPaths$1 } from '@stryke/path/join-paths';
|
|
17
18
|
import { replacePath, replaceExtension } from '@stryke/path/replace';
|
|
18
19
|
import { isError } from '@stryke/type-checks/is-error';
|
|
@@ -37,7 +38,6 @@ import { murmurhash } from '@stryke/hash/murmurhash';
|
|
|
37
38
|
import { getUnique, getUniqueBy } from '@stryke/helpers/get-unique';
|
|
38
39
|
import { omit } from '@stryke/helpers/omit';
|
|
39
40
|
import { StormJSON } from '@stryke/json/storm-json';
|
|
40
|
-
import { appendPath } from '@stryke/path/append';
|
|
41
41
|
import { findFileDotExtensionSafe, findFilePath, hasFileExtension, relativePath, findFileName } from '@stryke/path/file-path-fns';
|
|
42
42
|
import { isAbsolutePath, isAbsolute } from '@stryke/path/is-type';
|
|
43
43
|
import { joinPaths } from '@stryke/path/join';
|
|
@@ -272,7 +272,7 @@ function replacePathTokens(context, path) {
|
|
|
272
272
|
if (!path) {
|
|
273
273
|
return path;
|
|
274
274
|
}
|
|
275
|
-
return path.replaceAll("{workspaceRoot}", context.workspaceConfig.workspaceRoot).replaceAll("{root}", context.config.projectRoot).replaceAll("{projectRoot}", context.config.projectRoot).replaceAll("{powerlinesPath}", context.powerlinesPath).replaceAll("{cachePath}", context.cachePath).replaceAll("{dataPath}", context.dataPath).replaceAll("{logPath}", context.envPaths.log).replaceAll("{tempPath}", context.envPaths.temp).replaceAll("{configPath}", context.envPaths.config).replaceAll("{artifactsPath}", replacePath(context.artifactsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{builtinPath}", replacePath(context.builtinsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{entryPath}", replacePath(context.entryPath, context.workspaceConfig.workspaceRoot));
|
|
275
|
+
return path.replaceAll("{workspaceRoot}", context.workspaceConfig.workspaceRoot).replaceAll("{root}", context.config.projectRoot).replaceAll("{projectRoot}", context.config.projectRoot).replaceAll("{powerlinesPath}", context.powerlinesPath).replaceAll("{cachePath}", context.cachePath).replaceAll("{dataPath}", context.dataPath).replaceAll("{logPath}", context.envPaths.log).replaceAll("{tempPath}", context.envPaths.temp).replaceAll("{configPath}", context.envPaths.config).replaceAll("{outputPath}", context.config.output.outputPath).replaceAll("{distPath}", context.config.output.distPath).replaceAll("{artifactsPath}", replacePath(context.artifactsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{builtinPath}", replacePath(context.builtinsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{entryPath}", replacePath(context.entryPath, context.workspaceConfig.workspaceRoot));
|
|
276
276
|
}
|
|
277
277
|
__name(replacePathTokens, "replacePathTokens");
|
|
278
278
|
|
|
@@ -787,8 +787,8 @@ var UnifiedFS = class _UnifiedFS extends Union {
|
|
|
787
787
|
recursive: true
|
|
788
788
|
});
|
|
789
789
|
}
|
|
790
|
-
if (!this.#physicalFS.existsSync(joinPaths(this.#context.workspaceConfig.workspaceRoot, this.#context.config.output.
|
|
791
|
-
this.#physicalFS.mkdirSync(joinPaths(this.#context.workspaceConfig.workspaceRoot, this.#context.config.output.
|
|
790
|
+
if (!this.#physicalFS.existsSync(joinPaths(this.#context.workspaceConfig.workspaceRoot, this.#context.config.output.distPath))) {
|
|
791
|
+
this.#physicalFS.mkdirSync(joinPaths(this.#context.workspaceConfig.workspaceRoot, this.#context.config.output.distPath), {
|
|
792
792
|
recursive: true
|
|
793
793
|
});
|
|
794
794
|
}
|
|
@@ -875,7 +875,7 @@ var UnifiedFS = class _UnifiedFS extends Union {
|
|
|
875
875
|
resolveMode(pathOrUrl, options = {}) {
|
|
876
876
|
if (options.mode === "virtual" && this.#context.config.output.mode !== "fs" && isParentPath(toFilePath(pathOrUrl), this.#context.artifactsPath)) {
|
|
877
877
|
return "virtual";
|
|
878
|
-
} else if (options.mode === "fs" || this.#context.config.output.mode === "fs" || isParentPath(toFilePath(pathOrUrl), this.#context.dataPath) || isParentPath(toFilePath(pathOrUrl), this.#context.cachePath) || isParentPath(toFilePath(pathOrUrl), joinPaths(this.#context.workspaceConfig.workspaceRoot, this.#context.config.output.
|
|
878
|
+
} else if (options.mode === "fs" || this.#context.config.output.mode === "fs" || isParentPath(toFilePath(pathOrUrl), this.#context.dataPath) || isParentPath(toFilePath(pathOrUrl), this.#context.cachePath) || isParentPath(toFilePath(pathOrUrl), joinPaths(this.#context.workspaceConfig.workspaceRoot, this.#context.config.output.distPath))) {
|
|
879
879
|
return "fs";
|
|
880
880
|
}
|
|
881
881
|
return void 0;
|
|
@@ -2553,12 +2553,18 @@ ${result.errors.map((error) => ` [${error.severity}] ${error.message}${error.co
|
|
|
2553
2553
|
] : [
|
|
2554
2554
|
"esm"
|
|
2555
2555
|
])));
|
|
2556
|
-
this.config.
|
|
2556
|
+
if (this.config.projectRoot && this.config.projectRoot !== "." && this.config.projectRoot !== "./" && this.config.projectRoot !== this.workspaceConfig.workspaceRoot) {
|
|
2557
|
+
this.config.output.outputPath ??= joinPaths("dist", this.config.projectRoot);
|
|
2558
|
+
this.config.output.distPath ??= joinPaths(this.config.projectRoot, "dist");
|
|
2559
|
+
} else {
|
|
2560
|
+
this.config.output.outputPath ??= "dist";
|
|
2561
|
+
this.config.output.distPath ??= "dist";
|
|
2562
|
+
}
|
|
2557
2563
|
this.config.output.assets = getUnique(this.config.output.assets.map((asset) => {
|
|
2558
2564
|
return {
|
|
2559
2565
|
glob: isSetObject(asset) ? asset.glob : asset,
|
|
2560
2566
|
input: isString(asset) || !asset.input || asset.input === "." || asset.input === "/" || asset.input === "./" ? this.workspaceConfig.workspaceRoot : appendPath(asset.input, this.workspaceConfig.workspaceRoot),
|
|
2561
|
-
output: appendPath(isSetObject(asset) && asset.output ? joinPaths(this.config.output.
|
|
2567
|
+
output: appendPath(isSetObject(asset) && asset.output ? joinPaths(this.config.output.distPath, replacePath(asset.output, this.config.output.distPath)) : this.config.output.distPath, this.workspaceConfig.workspaceRoot),
|
|
2562
2568
|
ignore: isSetObject(asset) && asset.ignore ? toArray(asset.ignore) : void 0
|
|
2563
2569
|
};
|
|
2564
2570
|
}));
|
|
@@ -3567,6 +3573,9 @@ ${formatTypes(generatedTypes)}
|
|
|
3567
3573
|
this.context.log(LogLevelLabel.INFO, "\u{1F9F9} Cleaning the previous Powerlines artifacts");
|
|
3568
3574
|
await this.prepare(inlineConfig);
|
|
3569
3575
|
await this.#executeEnvironments(async (context) => {
|
|
3576
|
+
this.context.log(LogLevelLabel.TRACE, "Cleaning the project's dist and artifacts directories.");
|
|
3577
|
+
await context.fs.rmdir(joinPaths$1(context.workspaceConfig.workspaceRoot, context.config.output.distPath));
|
|
3578
|
+
await context.fs.rmdir(joinPaths$1(context.workspaceConfig.workspaceRoot, context.config.output.artifactsFolder));
|
|
3570
3579
|
await callHook(context, "clean", {
|
|
3571
3580
|
sequential: true
|
|
3572
3581
|
});
|
|
@@ -3612,6 +3621,17 @@ ${formatTypes(generatedTypes)}
|
|
|
3612
3621
|
context.log(LogLevelLabel.DEBUG, `Copying asset(s): ${chalk5.redBright(context.workspaceConfig.workspaceRoot === asset.input ? asset.glob : joinPaths$1(replacePath(asset.input, context.workspaceConfig.workspaceRoot), asset.glob))} -> ${chalk5.greenBright(joinPaths$1(replacePath(asset.output, context.workspaceConfig.workspaceRoot), asset.glob))} ${Array.isArray(asset.ignore) && asset.ignore.length > 0 ? ` (ignoring: ${asset.ignore.map((i) => chalk5.yellowBright(i)).join(", ")})` : ""}`);
|
|
3613
3622
|
await copyFiles(asset, asset.output);
|
|
3614
3623
|
}));
|
|
3624
|
+
if (context.config.output.distPath !== context.config.output.outputPath) {
|
|
3625
|
+
const sourcePath = appendPath(context.config.output.distPath, context.workspaceConfig.workspaceRoot);
|
|
3626
|
+
const destinationPath = joinPaths$1(appendPath(context.config.output.outputPath, context.workspaceConfig.workspaceRoot), "dist");
|
|
3627
|
+
if (sourcePath !== destinationPath) {
|
|
3628
|
+
context.log(LogLevelLabel.INFO, `Copying build output files from project's \`dist\` directory (${context.config.output.distPath}) to the output directory (${context.config.output.outputPath}).`);
|
|
3629
|
+
await copyFiles({
|
|
3630
|
+
input: sourcePath,
|
|
3631
|
+
glob: "**/*"
|
|
3632
|
+
}, destinationPath);
|
|
3633
|
+
}
|
|
3634
|
+
}
|
|
3615
3635
|
await this.callPostHook(context, "build");
|
|
3616
3636
|
});
|
|
3617
3637
|
this.context.log(LogLevelLabel.TRACE, "Powerlines build completed");
|
|
@@ -97,7 +97,7 @@ export { ${key} };`;
|
|
|
97
97
|
format: Array.isArray(context.config.output.format) ? context.config.output.format[0] : context.config.output.format,
|
|
98
98
|
platform: context.config.build.platform,
|
|
99
99
|
treeShaking: Boolean(context.config.build?.treeshake) || context.config.build?.treeShaking,
|
|
100
|
-
outdir: context.config.output.
|
|
100
|
+
outdir: context.config.output.distPath,
|
|
101
101
|
tsconfig: context.tsconfig.tsconfigFilePath,
|
|
102
102
|
tsconfigRaw: context.tsconfig.tsconfigJson
|
|
103
103
|
}, context.config.build.variant === "esbuild" ? omit.omit(context.config.build, [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHPQPBZGL_cjs = require('./chunk-HPQPBZGL.cjs');
|
|
4
4
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
var omit = require('@stryke/helpers/omit');
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ function tsup(options = {}) {
|
|
|
8
8
|
return {
|
|
9
9
|
...options,
|
|
10
10
|
esbuildPlugins: [
|
|
11
|
-
|
|
11
|
+
chunkHPQPBZGL_cjs.esbuild_default({
|
|
12
12
|
output: {
|
|
13
13
|
outputPath: options.outDir,
|
|
14
14
|
format: options.format
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3NWZ7U74_cjs = require('./chunk-3NWZ7U74.cjs');
|
|
4
4
|
var unplugin = require('unplugin');
|
|
5
5
|
|
|
6
|
-
var rollup = unplugin.createRollupPlugin(
|
|
6
|
+
var rollup = unplugin.createRollupPlugin(chunk3NWZ7U74_cjs.createUnpluginFactory("rollup"));
|
|
7
7
|
var rollup_default = rollup;
|
|
8
8
|
|
|
9
9
|
exports.rollup = rollup;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { extractESBuildConfig } from './chunk-
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { extractESBuildConfig } from './chunk-VBR53KGY.js';
|
|
2
|
+
import { createUnpluginFactory } from './chunk-L57J2FXN.js';
|
|
3
3
|
import { __name } from './chunk-SHUYVCID.js';
|
|
4
4
|
import { isUndefined } from '@stryke/type-checks/is-undefined';
|
|
5
5
|
import { createEsbuildPlugin } from 'unplugin';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkS432MQT4_cjs = require('./chunk-S432MQT4.cjs');
|
|
4
|
+
var chunkCVRUQZN7_cjs = require('./chunk-CVRUQZN7.cjs');
|
|
5
5
|
var kit = require('@nuxt/kit');
|
|
6
6
|
require('@nuxt/schema');
|
|
7
7
|
|
|
@@ -12,8 +12,8 @@ var nuxt = kit.defineNuxtModule({
|
|
|
12
12
|
},
|
|
13
13
|
defaults: {},
|
|
14
14
|
setup(options, _nuxt) {
|
|
15
|
-
kit.addVitePlugin(() =>
|
|
16
|
-
kit.addWebpackPlugin(() =>
|
|
15
|
+
kit.addVitePlugin(() => chunkS432MQT4_cjs.vite_default(options));
|
|
16
|
+
kit.addWebpackPlugin(() => chunkCVRUQZN7_cjs.webpack_default(options));
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
var nuxt_default = nuxt;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3NWZ7U74_cjs = require('./chunk-3NWZ7U74.cjs');
|
|
4
4
|
var unplugin = require('unplugin');
|
|
5
5
|
|
|
6
|
-
var webpack = unplugin.createWebpackPlugin(
|
|
6
|
+
var webpack = unplugin.createWebpackPlugin(chunk3NWZ7U74_cjs.createUnpluginFactory("webpack"));
|
|
7
7
|
var webpack_default = webpack;
|
|
8
8
|
|
|
9
9
|
exports.webpack = webpack;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkS432MQT4_cjs = require('./chunk-S432MQT4.cjs');
|
|
4
4
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
|
|
6
6
|
// src/astro.ts
|
|
7
7
|
var astro = /* @__PURE__ */ chunkUSNT2KNT_cjs.__name((config) => ({
|
|
8
8
|
vite: {
|
|
9
9
|
plugins: [
|
|
10
|
-
|
|
10
|
+
chunkS432MQT4_cjs.vite_default(config)
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}), "astro");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCVRUQZN7_cjs = require('./chunk-CVRUQZN7.cjs');
|
|
4
4
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
|
|
6
6
|
// src/next.ts
|
|
@@ -10,7 +10,7 @@ function next(config = {}) {
|
|
|
10
10
|
webpack(webpackConfig, context) {
|
|
11
11
|
const result = config.webpack?.(webpackConfig, context) || webpackConfig;
|
|
12
12
|
result.plugins ??= [];
|
|
13
|
-
result.plugins.push(
|
|
13
|
+
result.plugins.push(chunkCVRUQZN7_cjs.webpack_default(webpackConfig));
|
|
14
14
|
return result;
|
|
15
15
|
}
|
|
16
16
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk5IBA5HC2_cjs = require('./chunk-5IBA5HC2.cjs');
|
|
4
|
+
var chunk3NWZ7U74_cjs = require('./chunk-3NWZ7U74.cjs');
|
|
5
5
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.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(chunk3NWZ7U74_cjs.createUnpluginFactory("esbuild", (api, plugin) => {
|
|
10
10
|
return {
|
|
11
11
|
...plugin,
|
|
12
12
|
esbuild: {
|
|
13
13
|
config: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name((options) => {
|
|
14
14
|
options ??= {};
|
|
15
|
-
const result =
|
|
15
|
+
const result = chunk5IBA5HC2_cjs.extractESBuildConfig(api.context);
|
|
16
16
|
for (const key in result) {
|
|
17
17
|
if (isUndefined.isUndefined(options[key]) && !isUndefined.isUndefined(result[key])) {
|
|
18
18
|
options[key] = result[key];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLog, PowerlinesAPI } from './chunk-
|
|
1
|
+
import { createLog, PowerlinesAPI } from './chunk-4H6HIUTA.js';
|
|
2
2
|
import { __name } from './chunk-SHUYVCID.js';
|
|
3
3
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
4
4
|
import { getWorkspaceRoot } from '@stryke/fs/get-workspace-root';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { vite_default } from './chunk-
|
|
2
|
-
import { webpack_default } from './chunk-
|
|
1
|
+
import { vite_default } from './chunk-TW2PHIE2.js';
|
|
2
|
+
import { webpack_default } from './chunk-FC46JGB5.js';
|
|
3
3
|
import { defineNuxtModule, addVitePlugin, addWebpackPlugin } from '@nuxt/kit';
|
|
4
4
|
import '@nuxt/schema';
|
|
5
5
|
|