powerlines 0.10.1 → 0.11.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/astro.cjs +8 -8
- package/dist/astro.d.cts +1 -1
- package/dist/astro.d.ts +1 -1
- package/dist/astro.js +5 -5
- package/dist/{chunk-5XYGZ3DC.cjs → chunk-22K72CJ5.cjs} +2 -2
- package/dist/{chunk-GPPJ2CRE.js → chunk-4HGQJ4KR.js} +2 -2
- package/dist/chunk-7MTW3KR2.cjs +12 -0
- package/dist/{chunk-VIRKTIPK.js → chunk-7UIYU6SC.js} +3 -3
- package/dist/chunk-7WMWRX2S.cjs +12 -0
- package/dist/{chunk-HVT7PBFF.js → chunk-A3BBPLTY.js} +3 -3
- package/dist/{chunk-S746E63M.js → chunk-BHP6KBGK.js} +3 -3
- package/dist/{chunk-ZU4IRZSQ.js → chunk-BOIEJ5I6.js} +3 -3
- package/dist/chunk-DELRP3WY.js +31 -0
- package/dist/{chunk-ZBDP43LG.cjs → chunk-ELHJY5WG.cjs} +4 -4
- package/dist/{chunk-UHCRNFFC.cjs → chunk-FANQC345.cjs} +4 -4
- package/dist/chunk-GV3S7ZR3.cjs +34 -0
- package/dist/{chunk-WCPY7HPU.js → chunk-L3DAMAEC.js} +4 -4
- package/dist/chunk-LC6FLEJS.cjs +12 -0
- package/dist/{chunk-N7NE3VOU.js → chunk-MAEKW52U.js} +3 -3
- package/dist/chunk-MXJWCZDP.cjs +12 -0
- package/dist/{chunk-EGSEJQCE.js → chunk-NGKWITCO.js} +3 -3
- package/dist/{chunk-L2SAK2JC.cjs → chunk-OC7CCD5M.cjs} +4 -4
- package/dist/{chunk-OYIM2M74.js → chunk-P4BOYWXT.js} +195 -6
- package/dist/{chunk-UTVZVGM3.cjs → chunk-PJRHRDLS.cjs} +204 -15
- package/dist/{chunk-5Y4JYQ66.js → chunk-RBRFT2R6.js} +3 -3
- package/dist/{chunk-66GXB2UY.cjs → chunk-RU6BHTIP.cjs} +4 -4
- package/dist/{chunk-WPVIF35O.js → chunk-SIZKRND7.js} +2 -2
- package/dist/chunk-SNARILEC.cjs +24 -0
- package/dist/{chunk-6UDHGAAI.js → chunk-SY7N6FC3.js} +3 -3
- package/dist/{chunk-QHGPZK2H.cjs → chunk-V5D5NVV7.cjs} +4 -4
- package/dist/{chunk-SDEBJQDT.js → chunk-V7LXFIGK.js} +3 -3
- package/dist/{chunk-2RHPFVYT.cjs → chunk-WCTOTE3T.cjs} +8 -8
- package/dist/chunk-WD4363UW.cjs +12 -0
- package/dist/{chunk-7IWH37DY.cjs → chunk-YIWHO6SW.cjs} +2 -2
- package/dist/{chunk-3Y5CCIJR.js → chunk-ZP5QLZQ2.js} +3 -3
- package/dist/{chunk-KYGEWAEG.js → chunk-ZQ7U35QZ.js} +3 -3
- package/dist/define-config.d.cts +1 -1
- package/dist/define-config.d.ts +1 -1
- package/dist/esbuild.cjs +7 -7
- package/dist/esbuild.d.cts +1 -1
- package/dist/esbuild.d.ts +1 -1
- package/dist/esbuild.js +4 -4
- package/dist/extend-plugin.d.cts +1 -1
- package/dist/extend-plugin.d.ts +1 -1
- 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-gk8S8LFP.d.cts → hooks-H3i0YxVa.d.cts} +1 -1
- package/dist/{hooks-BGYnc61f.d.ts → hooks-QG1Q6zBM.d.ts} +1 -1
- package/dist/index.cjs +26 -26
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17 -17
- package/dist/internal/api.cjs +3 -3
- package/dist/internal/api.d.cts +2 -2
- package/dist/internal/api.d.ts +2 -2
- package/dist/internal/api.js +2 -2
- package/dist/lib/build/esbuild.d.cts +12 -12
- package/dist/lib/build/esbuild.d.ts +12 -12
- package/dist/lib/build/index.cjs +18 -18
- package/dist/lib/build/index.d.cts +13 -13
- package/dist/lib/build/index.d.ts +13 -13
- package/dist/lib/build/index.js +3 -3
- package/dist/lib/build/rolldown.d.cts +12 -12
- package/dist/lib/build/rolldown.d.ts +12 -12
- package/dist/lib/build/rollup.d.cts +12 -12
- package/dist/lib/build/rollup.d.ts +12 -12
- package/dist/lib/build/rspack.d.cts +12 -12
- package/dist/lib/build/rspack.d.ts +12 -12
- package/dist/lib/build/tsup.d.cts +11 -11
- package/dist/lib/build/tsup.d.ts +11 -11
- package/dist/lib/build/unbuild.cjs +5 -5
- package/dist/lib/build/unbuild.d.cts +13 -13
- package/dist/lib/build/unbuild.d.ts +13 -13
- package/dist/lib/build/unbuild.js +2 -2
- package/dist/lib/build/vite.d.cts +12 -12
- package/dist/lib/build/vite.d.ts +12 -12
- package/dist/lib/build/webpack.d.cts +12 -12
- package/dist/lib/build/webpack.d.ts +12 -12
- package/dist/lib/bundle.cjs +16 -0
- package/dist/lib/bundle.cjs.map +1 -0
- package/dist/lib/bundle.d.cts +44 -0
- package/dist/lib/bundle.d.ts +44 -0
- package/dist/lib/bundle.js +7 -0
- package/dist/lib/bundle.js.map +1 -0
- package/dist/lib/chunk-2625RJNJ.cjs +41 -0
- package/dist/lib/chunk-2625RJNJ.cjs.map +1 -0
- package/dist/lib/{chunk-PIFE7MUZ.js → chunk-6BRTJXZ2.js} +195 -6
- package/dist/lib/chunk-6BRTJXZ2.js.map +1 -0
- package/dist/lib/chunk-6IJTWIVJ.cjs +107 -0
- package/dist/lib/chunk-6IJTWIVJ.cjs.map +1 -0
- package/dist/lib/{chunk-YVDJCVE5.cjs → chunk-BAC4AJEP.cjs} +3 -3
- package/dist/lib/{chunk-YVDJCVE5.cjs.map → chunk-BAC4AJEP.cjs.map} +1 -1
- package/dist/lib/{chunk-Q2RUDKWY.cjs → chunk-BW3VFCTS.cjs} +2 -2
- package/dist/lib/chunk-BW3VFCTS.cjs.map +1 -0
- package/dist/lib/chunk-ESYYL5UH.js +105 -0
- package/dist/lib/chunk-ESYYL5UH.js.map +1 -0
- package/dist/lib/chunk-GTQZYDA7.js +39 -0
- package/dist/lib/chunk-GTQZYDA7.js.map +1 -0
- package/dist/lib/{chunk-M7U5RMK7.js → chunk-KOCDKJDJ.js} +2 -2
- package/dist/lib/chunk-KOCDKJDJ.js.map +1 -0
- package/dist/lib/{chunk-M7WHFUKR.cjs → chunk-LYD5OTBI.cjs} +210 -21
- package/dist/lib/chunk-LYD5OTBI.cjs.map +1 -0
- package/dist/lib/{chunk-6U2UX2PX.cjs → chunk-RLMEYZ5I.cjs} +11 -15
- package/dist/lib/chunk-RLMEYZ5I.cjs.map +1 -0
- package/dist/lib/{chunk-CAPN4FSS.js → chunk-S4TGQD45.js} +3 -3
- package/dist/lib/{chunk-CAPN4FSS.js.map → chunk-S4TGQD45.js.map} +1 -1
- package/dist/lib/{chunk-KFE2IR3Y.js → chunk-V2T4H24I.js} +11 -15
- package/dist/lib/chunk-V2T4H24I.js.map +1 -0
- package/dist/lib/config-file.d.cts +11 -11
- package/dist/lib/config-file.d.ts +11 -11
- package/dist/lib/{config-AuIGsUck.d.cts → context-B481RQbf.d.cts} +615 -559
- package/dist/lib/{config-B_WTwd49.d.ts → context-efHKG-wc.d.ts} +615 -559
- package/dist/lib/create-program.cjs +13 -0
- package/dist/lib/create-program.cjs.map +1 -0
- package/dist/lib/create-program.d.cts +42 -0
- package/dist/lib/create-program.d.ts +42 -0
- package/dist/lib/create-program.js +4 -0
- package/dist/lib/create-program.js.map +1 -0
- package/dist/lib/entry.d.cts +12 -12
- package/dist/lib/entry.d.ts +12 -12
- package/dist/lib/{hooks-DErK4Fv4.d.ts → hooks-CdvPHbFZ.d.cts} +1 -1
- package/dist/lib/{hooks-4KkL9GD2.d.cts → hooks-JhMVguVh.d.ts} +1 -1
- package/dist/lib/index.cjs +47 -36
- package/dist/lib/index.d.cts +16 -13
- package/dist/lib/index.d.ts +16 -13
- package/dist/lib/index.js +10 -7
- package/dist/lib/logger.d.cts +12 -12
- package/dist/lib/logger.d.ts +12 -12
- package/dist/lib/typescript/compiler-host.cjs +46 -2
- package/dist/lib/typescript/compiler-host.cjs.map +1 -1
- package/dist/lib/typescript/compiler-host.d.cts +18 -13
- package/dist/lib/typescript/compiler-host.d.ts +18 -13
- package/dist/lib/typescript/compiler-host.js +45 -2
- package/dist/lib/typescript/compiler-host.js.map +1 -1
- package/dist/lib/typescript/import-transformer.d.cts +12 -12
- package/dist/lib/typescript/import-transformer.d.ts +12 -12
- package/dist/lib/typescript/index.cjs +6 -6
- package/dist/lib/typescript/index.d.cts +12 -12
- package/dist/lib/typescript/index.d.ts +12 -12
- package/dist/lib/typescript/index.js +1 -1
- package/dist/lib/typescript/program.cjs +6 -6
- package/dist/lib/typescript/program.d.cts +13 -13
- package/dist/lib/typescript/program.d.ts +13 -13
- package/dist/lib/typescript/program.js +1 -1
- package/dist/lib/unplugin/factory.cjs +3 -3
- package/dist/lib/unplugin/factory.d.cts +12 -12
- package/dist/lib/unplugin/factory.d.ts +12 -12
- package/dist/lib/unplugin/factory.js +2 -2
- package/dist/lib/unplugin/index.cjs +3 -3
- package/dist/lib/unplugin/index.d.cts +12 -12
- package/dist/lib/unplugin/index.d.ts +12 -12
- package/dist/lib/unplugin/index.js +2 -2
- package/dist/lib/unplugin/plugin.d.cts +11 -11
- package/dist/lib/unplugin/plugin.d.ts +11 -11
- package/dist/lib/unplugin/resolve-id.d.cts +11 -11
- package/dist/lib/unplugin/resolve-id.d.ts +11 -11
- package/dist/lib/utilities/file-header.d.cts +12 -12
- package/dist/lib/utilities/file-header.d.ts +12 -12
- package/dist/lib/utilities/index.cjs +20 -20
- package/dist/lib/utilities/index.d.cts +12 -12
- package/dist/lib/utilities/index.d.ts +12 -12
- package/dist/lib/utilities/index.js +3 -3
- package/dist/lib/utilities/meta.cjs +8 -8
- package/dist/lib/utilities/meta.d.cts +12 -12
- package/dist/lib/utilities/meta.d.ts +12 -12
- package/dist/lib/utilities/meta.js +1 -1
- package/dist/lib/utilities/plugin-helpers.d.cts +11 -11
- package/dist/lib/utilities/plugin-helpers.d.ts +11 -11
- package/dist/lib/utilities/resolve-path.d.cts +12 -12
- package/dist/lib/utilities/resolve-path.d.ts +12 -12
- package/dist/lib/utilities/worker.d.cts +11 -11
- package/dist/lib/utilities/worker.d.ts +11 -11
- package/dist/lib/utilities/write-file.d.cts +12 -12
- package/dist/lib/utilities/write-file.d.ts +12 -12
- package/dist/next.cjs +8 -8
- package/dist/next.js +5 -5
- package/dist/nuxt.cjs +9 -9
- package/dist/nuxt.js +6 -6
- package/dist/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 +8 -8
- package/dist/tsup.js +5 -5
- 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/compiler.d.cts +1 -1
- package/dist/types/compiler.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/hooks.d.cts +1 -1
- package/dist/types/hooks.d.ts +1 -1
- package/dist/types/index.cjs +9 -9
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- 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 +1 -1
- package/dist/types/unplugin.d.ts +1 -1
- package/dist/types/vfs.cjs +7 -7
- package/dist/types/vfs.d.cts +61 -5
- package/dist/types/vfs.d.ts +61 -5
- 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 +18 -18
- package/dist/unplugin.d.cts +2 -2
- package/dist/unplugin.d.ts +2 -2
- package/dist/unplugin.js +15 -15
- package/dist/vite.cjs +7 -7
- package/dist/vite.d.cts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +4 -4
- 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 +9 -11
- package/dist/chunk-IJBH5OUN.cjs +0 -12
- package/dist/chunk-JBTSAOIQ.js +0 -31
- package/dist/chunk-LXMNDUPG.cjs +0 -12
- package/dist/chunk-RQ4CHMPO.cjs +0 -12
- package/dist/chunk-S5QFX2GM.cjs +0 -12
- package/dist/chunk-SL3CXJWD.cjs +0 -34
- package/dist/chunk-YG7U2GIR.cjs +0 -24
- package/dist/chunk-ZFATNDSY.cjs +0 -12
- package/dist/lib/chunk-6U2UX2PX.cjs.map +0 -1
- package/dist/lib/chunk-KFE2IR3Y.js.map +0 -1
- package/dist/lib/chunk-M7U5RMK7.js.map +0 -1
- package/dist/lib/chunk-M7WHFUKR.cjs.map +0 -1
- package/dist/lib/chunk-PIFE7MUZ.js.map +0 -1
- package/dist/lib/chunk-Q2RUDKWY.cjs.map +0 -1
- package/dist/{resolved-CcuVqMqc.d.cts → resolved-3RFshyDy.d.cts} +16 -16
- package/dist/{resolved-Dhscmo3z.d.ts → resolved-BzyBMgQG.d.ts} +16 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkAPVMN2H7_cjs = require('./chunk-APVMN2H7.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk22K72CJ5_cjs = require('./chunk-22K72CJ5.cjs');
|
|
5
5
|
var chunk5VPVJHJO_cjs = require('./chunk-5VPVJHJO.cjs');
|
|
6
6
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
7
7
|
var console = require('@storm-software/config-tools/logger/console');
|
|
@@ -210,7 +210,7 @@ async function writeMetaFile(context) {
|
|
|
210
210
|
context.log(types.LogLevelLabel.DEBUG, `Writing runtime metadata to ${metaFilePath}`);
|
|
211
211
|
await context.fs.writeFile(metaFilePath, JSON.stringify({
|
|
212
212
|
...context.meta,
|
|
213
|
-
virtualFiles: context.fs[
|
|
213
|
+
virtualFiles: context.fs[chunk22K72CJ5_cjs.__VFS_VIRTUAL__].toJSON(context.artifactsPath),
|
|
214
214
|
virtualFilesMeta: context.fs.getPartialMeta()
|
|
215
215
|
}, null, 2), {
|
|
216
216
|
mode: "fs"
|
|
@@ -692,25 +692,25 @@ var VirtualFileSystem = class {
|
|
|
692
692
|
/**
|
|
693
693
|
* Exposes the internal VFS map for advanced usage.
|
|
694
694
|
*/
|
|
695
|
-
get [
|
|
695
|
+
get [chunk22K72CJ5_cjs.__VFS_CACHE__]() {
|
|
696
696
|
return this.#cachedFS;
|
|
697
697
|
}
|
|
698
698
|
/**
|
|
699
699
|
* Exposes the internal VFS resolver cache for advanced usage.
|
|
700
700
|
*/
|
|
701
|
-
get [
|
|
701
|
+
get [chunk22K72CJ5_cjs.__VFS_RESOLVER__]() {
|
|
702
702
|
return this.#cachedResolver;
|
|
703
703
|
}
|
|
704
704
|
/**
|
|
705
705
|
* Exposes the internal VFS map for advanced usage.
|
|
706
706
|
*/
|
|
707
|
-
get [
|
|
707
|
+
get [chunk22K72CJ5_cjs.__VFS_VIRTUAL__]() {
|
|
708
708
|
return this.#virtualFS;
|
|
709
709
|
}
|
|
710
710
|
/**
|
|
711
711
|
* Exposes the internal UFS map for advanced usage.
|
|
712
712
|
*/
|
|
713
|
-
get [
|
|
713
|
+
get [chunk22K72CJ5_cjs.__VFS_UNIFIED__]() {
|
|
714
714
|
return this.#unifiedFS;
|
|
715
715
|
}
|
|
716
716
|
/**
|
|
@@ -827,13 +827,13 @@ var VirtualFileSystem = class {
|
|
|
827
827
|
}
|
|
828
828
|
this.#log = extendLog(this.#context.log, "virtual-file-system");
|
|
829
829
|
}
|
|
830
|
-
[
|
|
830
|
+
[chunk22K72CJ5_cjs.__VFS_INIT__]() {
|
|
831
831
|
if (!this.#isPatched && this.#context.config.output.mode !== "fs") {
|
|
832
832
|
this.#revert = patchFS(fs__default.default, this);
|
|
833
833
|
this.#isPatched = true;
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
|
-
[
|
|
836
|
+
[chunk22K72CJ5_cjs.__VFS_REVERT__]() {
|
|
837
837
|
if (this.#isPatched && this.#context.config.output.mode !== "fs") {
|
|
838
838
|
if (!this.#revert) {
|
|
839
839
|
throw new Error("Attempting to revert File System patch prior to calling `__init__` function");
|
|
@@ -997,6 +997,19 @@ var VirtualFileSystem = class {
|
|
|
997
997
|
return this.unlink(path, options);
|
|
998
998
|
}
|
|
999
999
|
/**
|
|
1000
|
+
* Synchronously removes a file or directory in the virtual file system (VFS).
|
|
1001
|
+
*
|
|
1002
|
+
* @param path - The path to the file or directory to remove.
|
|
1003
|
+
* @param options - Options for removing the file or directory.
|
|
1004
|
+
*/
|
|
1005
|
+
rmSync(path, options = {}) {
|
|
1006
|
+
this.#log(types.LogLevelLabel.TRACE, `Removing: ${toFilePath(path)}`);
|
|
1007
|
+
if (this.isDirectory(path)) {
|
|
1008
|
+
return this.rmdirSync(path, options);
|
|
1009
|
+
}
|
|
1010
|
+
return this.unlinkSync(path, options);
|
|
1011
|
+
}
|
|
1012
|
+
/**
|
|
1000
1013
|
* Creates a directory in the virtual file system (VFS).
|
|
1001
1014
|
*
|
|
1002
1015
|
* @param path - The path to create the directory at.
|
|
@@ -1033,6 +1046,166 @@ var VirtualFileSystem = class {
|
|
|
1033
1046
|
return result;
|
|
1034
1047
|
}
|
|
1035
1048
|
/**
|
|
1049
|
+
* Glob files in the virtual file system (VFS) based on the provided pattern(s).
|
|
1050
|
+
*
|
|
1051
|
+
* @param patterns - A pattern (or multiple patterns) to use to determine the file paths to return
|
|
1052
|
+
* @returns An array of file paths matching the provided pattern(s)
|
|
1053
|
+
*/
|
|
1054
|
+
async glob(patterns) {
|
|
1055
|
+
const results = [];
|
|
1056
|
+
for (const pattern of toArray.toArray(patterns)) {
|
|
1057
|
+
const normalized = this.formatPath(pattern);
|
|
1058
|
+
if (!/[*?[\]{}]/.test(normalized) && !normalized.includes("**")) {
|
|
1059
|
+
const resolved = this.resolve(normalized, {
|
|
1060
|
+
type: "file"
|
|
1061
|
+
});
|
|
1062
|
+
if (resolved && !results.includes(resolved)) {
|
|
1063
|
+
results.push(resolved);
|
|
1064
|
+
}
|
|
1065
|
+
continue;
|
|
1066
|
+
}
|
|
1067
|
+
const absPattern = isType.isAbsolutePath(normalized) ? normalized : this.formatPath(joinPaths.joinPaths(this.#context.workspaceConfig.workspaceRoot, normalized));
|
|
1068
|
+
const firstGlobIdx = absPattern.search(/[*?[\]{}]/);
|
|
1069
|
+
const baseDir = firstGlobIdx === -1 ? filePathFns.findFilePath(absPattern) : absPattern.slice(0, Math.max(0, absPattern.lastIndexOf("/", firstGlobIdx)));
|
|
1070
|
+
const stack = [
|
|
1071
|
+
baseDir && isType.isAbsolutePath(baseDir) ? baseDir : this.#context.workspaceConfig.workspaceRoot
|
|
1072
|
+
];
|
|
1073
|
+
while (stack.length) {
|
|
1074
|
+
const dir = stack.pop();
|
|
1075
|
+
let entries = [];
|
|
1076
|
+
try {
|
|
1077
|
+
entries = await this.readdir(dir);
|
|
1078
|
+
} catch {
|
|
1079
|
+
continue;
|
|
1080
|
+
}
|
|
1081
|
+
for (const entry of entries) {
|
|
1082
|
+
const full = this.formatPath(joinPaths.joinPaths(dir, entry));
|
|
1083
|
+
let stats;
|
|
1084
|
+
try {
|
|
1085
|
+
stats = this.#unifiedFS.lstatSync(full);
|
|
1086
|
+
} catch {
|
|
1087
|
+
stats = void 0;
|
|
1088
|
+
}
|
|
1089
|
+
if (!stats) continue;
|
|
1090
|
+
if (stats.isDirectory()) {
|
|
1091
|
+
stack.push(full);
|
|
1092
|
+
} else if (stats.isFile()) {
|
|
1093
|
+
if (this.buildRegex(absPattern).test(full)) {
|
|
1094
|
+
const resolved = this.resolve(full, {
|
|
1095
|
+
type: "file"
|
|
1096
|
+
});
|
|
1097
|
+
if (resolved && !results.includes(resolved)) {
|
|
1098
|
+
results.push(resolved);
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
return results;
|
|
1106
|
+
}
|
|
1107
|
+
/**
|
|
1108
|
+
* Synchronously glob files in the virtual file system (VFS) based on the provided pattern(s).
|
|
1109
|
+
*
|
|
1110
|
+
* @param patterns - A pattern (or multiple patterns) to use to determine the file paths to return
|
|
1111
|
+
* @returns An array of file paths matching the provided pattern(s)
|
|
1112
|
+
*/
|
|
1113
|
+
globSync(patterns) {
|
|
1114
|
+
const results = [];
|
|
1115
|
+
for (const pattern of toArray.toArray(patterns)) {
|
|
1116
|
+
const normalized = this.formatPath(pattern);
|
|
1117
|
+
if (!/[*?[\]{}]/.test(normalized) && !normalized.includes("**")) {
|
|
1118
|
+
const resolved = this.resolve(normalized, {
|
|
1119
|
+
type: "file"
|
|
1120
|
+
});
|
|
1121
|
+
if (resolved && !results.includes(resolved)) {
|
|
1122
|
+
results.push(resolved);
|
|
1123
|
+
}
|
|
1124
|
+
continue;
|
|
1125
|
+
}
|
|
1126
|
+
const absPattern = isType.isAbsolutePath(normalized) ? normalized : this.formatPath(joinPaths.joinPaths(this.#context.workspaceConfig.workspaceRoot, normalized));
|
|
1127
|
+
const firstGlobIdx = absPattern.search(/[*?[\]{}]/);
|
|
1128
|
+
const baseDir = firstGlobIdx === -1 ? filePathFns.findFilePath(absPattern) : absPattern.slice(0, Math.max(0, absPattern.lastIndexOf("/", firstGlobIdx)));
|
|
1129
|
+
const stack = [
|
|
1130
|
+
baseDir && isType.isAbsolutePath(baseDir) ? baseDir : this.#context.workspaceConfig.workspaceRoot
|
|
1131
|
+
];
|
|
1132
|
+
while (stack.length) {
|
|
1133
|
+
const dir = stack.pop();
|
|
1134
|
+
let entries = [];
|
|
1135
|
+
try {
|
|
1136
|
+
entries = this.readdirSync(dir);
|
|
1137
|
+
} catch {
|
|
1138
|
+
continue;
|
|
1139
|
+
}
|
|
1140
|
+
for (const entry of entries) {
|
|
1141
|
+
const full = this.formatPath(joinPaths.joinPaths(dir, entry));
|
|
1142
|
+
let stats;
|
|
1143
|
+
try {
|
|
1144
|
+
stats = this.#unifiedFS.lstatSync(full);
|
|
1145
|
+
} catch {
|
|
1146
|
+
stats = void 0;
|
|
1147
|
+
}
|
|
1148
|
+
if (!stats) continue;
|
|
1149
|
+
if (stats.isDirectory()) {
|
|
1150
|
+
stack.push(full);
|
|
1151
|
+
} else if (stats.isFile()) {
|
|
1152
|
+
if (this.buildRegex(absPattern).test(full)) {
|
|
1153
|
+
const resolved = this.resolve(full, {
|
|
1154
|
+
type: "file"
|
|
1155
|
+
});
|
|
1156
|
+
if (resolved && !results.includes(resolved)) {
|
|
1157
|
+
results.push(resolved);
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
return results;
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* Moves a file from one path to another in the virtual file system (VFS).
|
|
1168
|
+
*
|
|
1169
|
+
* @param srcPath - The source path to move
|
|
1170
|
+
* @param destPath - The destination path to move to
|
|
1171
|
+
*/
|
|
1172
|
+
async move(srcPath, destPath) {
|
|
1173
|
+
const content = await this.readFile(srcPath);
|
|
1174
|
+
await this.writeFile(destPath, content);
|
|
1175
|
+
await this.rm(srcPath);
|
|
1176
|
+
}
|
|
1177
|
+
/**
|
|
1178
|
+
* Synchronously moves a file from one path to another in the virtual file system (VFS).
|
|
1179
|
+
*
|
|
1180
|
+
* @param srcPath - The source path to move
|
|
1181
|
+
* @param destPath - The destination path to move to
|
|
1182
|
+
*/
|
|
1183
|
+
moveSync(srcPath, destPath) {
|
|
1184
|
+
const content = this.readFileSync(srcPath);
|
|
1185
|
+
this.writeFileSync(destPath, content);
|
|
1186
|
+
this.rmSync(srcPath);
|
|
1187
|
+
}
|
|
1188
|
+
/**
|
|
1189
|
+
* Copies a file from one path to another in the virtual file system (VFS).
|
|
1190
|
+
*
|
|
1191
|
+
* @param srcPath - The source path to copy
|
|
1192
|
+
* @param destPath - The destination path to copy to
|
|
1193
|
+
*/
|
|
1194
|
+
async copy(srcPath, destPath) {
|
|
1195
|
+
const content = await this.readFile(srcPath);
|
|
1196
|
+
await this.writeFile(destPath, content);
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* Synchronously copies a file from one path to another in the virtual file system (VFS).
|
|
1200
|
+
*
|
|
1201
|
+
* @param srcPath - The source path to copy
|
|
1202
|
+
* @param destPath - The destination path to copy to
|
|
1203
|
+
*/
|
|
1204
|
+
copySync(srcPath, destPath) {
|
|
1205
|
+
const content = this.readFileSync(srcPath);
|
|
1206
|
+
this.writeFileSync(destPath, content);
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1036
1209
|
* Lists files in a given path.
|
|
1037
1210
|
*
|
|
1038
1211
|
* @param pathOrId - The path to list files from.
|
|
@@ -1174,6 +1347,19 @@ var VirtualFileSystem = class {
|
|
|
1174
1347
|
return this.resolve(pathOrId) !== false;
|
|
1175
1348
|
}
|
|
1176
1349
|
/**
|
|
1350
|
+
* Retrieves the metadata of a file in the virtual file system (VFS).
|
|
1351
|
+
*
|
|
1352
|
+
* @param pathOrId - The path or ID of the file to retrieve metadata for.
|
|
1353
|
+
* @returns The metadata of the file, or undefined if the file does not exist.
|
|
1354
|
+
*/
|
|
1355
|
+
getMetadata(pathOrId) {
|
|
1356
|
+
const resolved = this.resolve(pathOrId);
|
|
1357
|
+
if (resolved && this.meta[resolved]) {
|
|
1358
|
+
return this.meta[resolved];
|
|
1359
|
+
}
|
|
1360
|
+
return void 0;
|
|
1361
|
+
}
|
|
1362
|
+
/**
|
|
1177
1363
|
* Checks if a file exists in the virtual file system (VFS).
|
|
1178
1364
|
*
|
|
1179
1365
|
* @remarks
|
|
@@ -1315,6 +1501,10 @@ var VirtualFileSystem = class {
|
|
|
1315
1501
|
getPartialMeta() {
|
|
1316
1502
|
return Object.fromEntries(Object.entries(this.#meta).filter(([_, data]) => isSetObject.isSetObject(data)));
|
|
1317
1503
|
}
|
|
1504
|
+
buildRegex(strPattern) {
|
|
1505
|
+
const token = "::GLOBSTAR::";
|
|
1506
|
+
return new RegExp(`^${this.formatPath(strPattern).replace(/\*\*/g, token).replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, "[^/]*").replace(/\?/g, "[^/]").replace(new RegExp(token, "g"), ".*")}$`);
|
|
1507
|
+
}
|
|
1318
1508
|
/**
|
|
1319
1509
|
* Converts a relative path to an absolute path based on the workspace and project root.
|
|
1320
1510
|
*
|
|
@@ -1338,7 +1528,7 @@ var VirtualFileSystem = class {
|
|
|
1338
1528
|
*/
|
|
1339
1529
|
formatId(id) {
|
|
1340
1530
|
const formattedId = toFilePath(id);
|
|
1341
|
-
return `${this.#context.config.output.builtinPrefix}:${formattedId.replace(new RegExp(`^${this.#context.config.output.builtinPrefix}:`), "").replace(/^\\0/, "").replace(filePathFns.
|
|
1531
|
+
return `${this.#context.config.output.builtinPrefix}:${formattedId.replace(new RegExp(`^${this.#context.config.output.builtinPrefix}:`), "").replace(/^\\0/, "").replace(filePathFns.findFileDotExtensionSafe(formattedId), "")}`;
|
|
1342
1532
|
}
|
|
1343
1533
|
/**
|
|
1344
1534
|
* Resolves an id parameter to a corresponding virtual file path in the virtual file system (VFS).
|
|
@@ -1548,7 +1738,6 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1548
1738
|
#envPaths;
|
|
1549
1739
|
#fs;
|
|
1550
1740
|
#tsconfig;
|
|
1551
|
-
// #entry: ResolvedEntryTypeDefinition[] = [] as ResolvedEntryTypeDefinition[];
|
|
1552
1741
|
#getConfigProps(config = {}) {
|
|
1553
1742
|
return {
|
|
1554
1743
|
variant: config.build?.variant,
|
|
@@ -2965,7 +3154,7 @@ ${context.entry.map((entry) => `- ${entry.input.file || entry.file}${entry.outpu
|
|
|
2965
3154
|
context.log(types.LogLevelLabel.TRACE, `Powerlines configuration has been resolved:
|
|
2966
3155
|
|
|
2967
3156
|
${console.formatLogMessage(context.config)}`);
|
|
2968
|
-
context.fs[
|
|
3157
|
+
context.fs[chunk22K72CJ5_cjs.__VFS_INIT__]();
|
|
2969
3158
|
await writeMetaFile(context);
|
|
2970
3159
|
context.persistedMeta = context.meta;
|
|
2971
3160
|
if (!exists.existsSync(context.cachePath)) {
|
|
@@ -2988,7 +3177,7 @@ ${console.formatLogMessage(context.config)}`);
|
|
|
2988
3177
|
}
|
|
2989
3178
|
await this.callPostHook(context, "prepare");
|
|
2990
3179
|
await writeMetaFile(context);
|
|
2991
|
-
context.fs[
|
|
3180
|
+
context.fs[chunk22K72CJ5_cjs.__VFS_REVERT__]();
|
|
2992
3181
|
});
|
|
2993
3182
|
this.context.log(types.LogLevelLabel.INFO, "Powerlines API has been prepared successfully");
|
|
2994
3183
|
}
|
|
@@ -3147,7 +3336,7 @@ ${console.formatLogMessage(context.config)}`);
|
|
|
3147
3336
|
this.context.log(types.LogLevelLabel.TRACE, "Powerlines finalize execution started");
|
|
3148
3337
|
await this.#executeEnvironments(async (context) => {
|
|
3149
3338
|
await this.callHook(context, "finalize");
|
|
3150
|
-
context.fs[
|
|
3339
|
+
context.fs[chunk22K72CJ5_cjs.__VFS_REVERT__]();
|
|
3151
3340
|
});
|
|
3152
3341
|
this.context.log(types.LogLevelLabel.TRACE, "Powerlines finalize execution completed");
|
|
3153
3342
|
}
|
|
@@ -3409,5 +3598,5 @@ Note: Please ensure the plugin package's default export is a class that extends
|
|
|
3409
3598
|
exports.PowerlinesAPI = PowerlinesAPI;
|
|
3410
3599
|
exports.createLog = createLog;
|
|
3411
3600
|
exports.getString = getString;
|
|
3412
|
-
//# sourceMappingURL=chunk-
|
|
3413
|
-
//# sourceMappingURL=chunk-
|
|
3601
|
+
//# sourceMappingURL=chunk-PJRHRDLS.cjs.map
|
|
3602
|
+
//# sourceMappingURL=chunk-PJRHRDLS.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-V7LXFIGK.js';
|
|
2
2
|
import { createUnloaderPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var unloader = createUnloaderPlugin(createUnpluginFactory("unloader"));
|
|
5
5
|
var unloader_default = unloader;
|
|
6
6
|
|
|
7
7
|
export { unloader, unloader_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-RBRFT2R6.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-RBRFT2R6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLC6FLEJS_cjs = require('./chunk-LC6FLEJS.cjs');
|
|
4
4
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.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(chunkLC6FLEJS_cjs.webpack_default(webpackConfig));
|
|
14
14
|
return result;
|
|
15
15
|
}
|
|
16
16
|
};
|
|
@@ -20,5 +20,5 @@ var next_default = next;
|
|
|
20
20
|
|
|
21
21
|
exports.next = next;
|
|
22
22
|
exports.next_default = next_default;
|
|
23
|
-
//# sourceMappingURL=chunk-
|
|
24
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-RU6BHTIP.cjs.map
|
|
24
|
+
//# sourceMappingURL=chunk-RU6BHTIP.cjs.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkFANQC345_cjs = require('./chunk-FANQC345.cjs');
|
|
4
|
+
var chunkLC6FLEJS_cjs = require('./chunk-LC6FLEJS.cjs');
|
|
5
|
+
var kit = require('@nuxt/kit');
|
|
6
|
+
require('@nuxt/schema');
|
|
7
|
+
|
|
8
|
+
var nuxt = kit.defineNuxtModule({
|
|
9
|
+
meta: {
|
|
10
|
+
name: "powerlines",
|
|
11
|
+
configKey: "storm"
|
|
12
|
+
},
|
|
13
|
+
defaults: {},
|
|
14
|
+
setup(options, _nuxt) {
|
|
15
|
+
kit.addVitePlugin(() => chunkFANQC345_cjs.vite_default(options));
|
|
16
|
+
kit.addWebpackPlugin(() => chunkLC6FLEJS_cjs.webpack_default(options));
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
var nuxt_default = nuxt;
|
|
20
|
+
|
|
21
|
+
exports.nuxt = nuxt;
|
|
22
|
+
exports.nuxt_default = nuxt_default;
|
|
23
|
+
//# sourceMappingURL=chunk-SNARILEC.cjs.map
|
|
24
|
+
//# sourceMappingURL=chunk-SNARILEC.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-V7LXFIGK.js';
|
|
2
2
|
import { createRspackPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var rspack = createRspackPlugin(createUnpluginFactory("rspack"));
|
|
5
5
|
var rspack_default = rspack;
|
|
6
6
|
|
|
7
7
|
export { rspack, rspack_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-SY7N6FC3.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-SY7N6FC3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkELHJY5WG_cjs = require('./chunk-ELHJY5WG.cjs');
|
|
4
4
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.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
|
+
chunkELHJY5WG_cjs.esbuild_default({
|
|
12
12
|
output: {
|
|
13
13
|
outputPath: options.outDir,
|
|
14
14
|
format: options.format
|
|
@@ -38,5 +38,5 @@ var tsup_default = tsup;
|
|
|
38
38
|
|
|
39
39
|
exports.tsup = tsup;
|
|
40
40
|
exports.tsup_default = tsup_default;
|
|
41
|
-
//# sourceMappingURL=chunk-
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
41
|
+
//# sourceMappingURL=chunk-V5D5NVV7.cjs.map
|
|
42
|
+
//# sourceMappingURL=chunk-V5D5NVV7.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLog, PowerlinesAPI, getString } from './chunk-
|
|
1
|
+
import { createLog, PowerlinesAPI, getString } from './chunk-P4BOYWXT.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';
|
|
@@ -195,5 +195,5 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
195
195
|
__name(createUnpluginFactory, "createUnpluginFactory");
|
|
196
196
|
|
|
197
197
|
export { createUnpluginFactory };
|
|
198
|
-
//# sourceMappingURL=chunk-
|
|
199
|
-
//# sourceMappingURL=chunk-
|
|
198
|
+
//# sourceMappingURL=chunk-V7LXFIGK.js.map
|
|
199
|
+
//# sourceMappingURL=chunk-V7LXFIGK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPJRHRDLS_cjs = require('./chunk-PJRHRDLS.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');
|
|
@@ -79,7 +79,7 @@ chunkPK6SKIKE_cjs.__name(handleResolveId, "handleResolveId");
|
|
|
79
79
|
// src/lib/unplugin/factory.ts
|
|
80
80
|
function createUnpluginFactory(variant, decorate) {
|
|
81
81
|
return (config, meta) => {
|
|
82
|
-
const log =
|
|
82
|
+
const log = chunkPJRHRDLS_cjs.createLog("unplugin", config);
|
|
83
83
|
log(types.LogLevelLabel.DEBUG, "Initializing Unplugin");
|
|
84
84
|
try {
|
|
85
85
|
const userConfig = {
|
|
@@ -92,7 +92,7 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
92
92
|
async function buildStart() {
|
|
93
93
|
log(types.LogLevelLabel.DEBUG, "Powerlines build plugin starting...");
|
|
94
94
|
const workspaceRoot = getWorkspaceRoot.getWorkspaceRoot(process.cwd());
|
|
95
|
-
api = await
|
|
95
|
+
api = await chunkPJRHRDLS_cjs.PowerlinesAPI.from(workspaceRoot, userConfig);
|
|
96
96
|
if (api.context.config.build.skipNodeModulesBundle) {
|
|
97
97
|
resolvePatterns = bundleRequire.tsconfigPathsToRegExp(api.context.tsconfig.options.paths ?? []);
|
|
98
98
|
}
|
|
@@ -139,15 +139,15 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
139
139
|
async function transform(code, id) {
|
|
140
140
|
const environment = await api.context.getEnvironment();
|
|
141
141
|
let transformed = code;
|
|
142
|
-
let result2 = await api.callPreHook(environment, "transform",
|
|
142
|
+
let result2 = await api.callPreHook(environment, "transform", chunkPJRHRDLS_cjs.getString(transformed), id);
|
|
143
143
|
if (result2) {
|
|
144
144
|
transformed = result2;
|
|
145
145
|
}
|
|
146
|
-
result2 = await api.callNormalHook(environment, "transform",
|
|
146
|
+
result2 = await api.callNormalHook(environment, "transform", chunkPJRHRDLS_cjs.getString(transformed), id);
|
|
147
147
|
if (result2) {
|
|
148
148
|
transformed = result2;
|
|
149
149
|
}
|
|
150
|
-
result2 = await api.callPostHook(environment, "transform",
|
|
150
|
+
result2 = await api.callPostHook(environment, "transform", chunkPJRHRDLS_cjs.getString(transformed), id);
|
|
151
151
|
if (result2) {
|
|
152
152
|
transformed = result2;
|
|
153
153
|
}
|
|
@@ -197,5 +197,5 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
197
197
|
chunkPK6SKIKE_cjs.__name(createUnpluginFactory, "createUnpluginFactory");
|
|
198
198
|
|
|
199
199
|
exports.createUnpluginFactory = createUnpluginFactory;
|
|
200
|
-
//# sourceMappingURL=chunk-
|
|
201
|
-
//# sourceMappingURL=chunk-
|
|
200
|
+
//# sourceMappingURL=chunk-WCTOTE3T.cjs.map
|
|
201
|
+
//# sourceMappingURL=chunk-WCTOTE3T.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkWCTOTE3T_cjs = require('./chunk-WCTOTE3T.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var unloader = unplugin.createUnloaderPlugin(chunkWCTOTE3T_cjs.createUnpluginFactory("unloader"));
|
|
7
|
+
var unloader_default = unloader;
|
|
8
|
+
|
|
9
|
+
exports.unloader = unloader;
|
|
10
|
+
exports.unloader_default = unloader_default;
|
|
11
|
+
//# sourceMappingURL=chunk-WD4363UW.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-WD4363UW.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { webpack_default } from './chunk-
|
|
1
|
+
import { webpack_default } from './chunk-NGKWITCO.js';
|
|
2
2
|
import { __name } from './chunk-7QVYU63E.js';
|
|
3
3
|
|
|
4
4
|
// src/next.ts
|
|
@@ -17,5 +17,5 @@ __name(next, "next");
|
|
|
17
17
|
var next_default = next;
|
|
18
18
|
|
|
19
19
|
export { next, next_default };
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
21
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-ZP5QLZQ2.js.map
|
|
21
|
+
//# sourceMappingURL=chunk-ZP5QLZQ2.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-V7LXFIGK.js';
|
|
2
2
|
import { createRollupPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var rollup = createRollupPlugin(createUnpluginFactory("rollup"));
|
|
5
5
|
var rollup_default = rollup;
|
|
6
6
|
|
|
7
7
|
export { rollup, rollup_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-ZQ7U35QZ.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-ZQ7U35QZ.js.map
|
package/dist/define-config.d.cts
CHANGED
package/dist/define-config.d.ts
CHANGED
package/dist/esbuild.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkELHJY5WG_cjs = require('./chunk-ELHJY5WG.cjs');
|
|
6
6
|
require('./chunk-UZQYBO6Z.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-WCTOTE3T.cjs');
|
|
8
|
+
require('./chunk-PJRHRDLS.cjs');
|
|
9
9
|
require('./chunk-APVMN2H7.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-22K72CJ5.cjs');
|
|
11
11
|
require('./chunk-5VPVJHJO.cjs');
|
|
12
12
|
require('./chunk-PK6SKIKE.cjs');
|
|
13
13
|
|
|
@@ -15,15 +15,15 @@ require('./chunk-PK6SKIKE.cjs');
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "default", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkELHJY5WG_cjs.esbuild_default; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "esbuild", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkELHJY5WG_cjs.esbuild; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "module.exports", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkELHJY5WG_cjs.esbuild; }
|
|
27
27
|
});
|
|
28
28
|
//# sourceMappingURL=esbuild.cjs.map
|
|
29
29
|
//# sourceMappingURL=esbuild.cjs.map
|
package/dist/esbuild.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _esbuild from 'esbuild';
|
|
2
|
-
import { a5 as ESBuildUserConfig } from './resolved-
|
|
2
|
+
import { a5 as ESBuildUserConfig } from './resolved-3RFshyDy.cjs';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
5
|
import '@stryke/types/configuration';
|
package/dist/esbuild.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _esbuild from 'esbuild';
|
|
2
|
-
import { a5 as ESBuildUserConfig } from './resolved-
|
|
2
|
+
import { a5 as ESBuildUserConfig } from './resolved-BzyBMgQG.js';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
5
|
import '@stryke/types/configuration';
|
package/dist/esbuild.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { esbuild_default as default, esbuild, esbuild as "module.exports" } from './chunk-
|
|
1
|
+
export { esbuild_default as default, esbuild, esbuild as "module.exports" } from './chunk-MAEKW52U.js';
|
|
2
2
|
import './chunk-6TJGZR5X.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-V7LXFIGK.js';
|
|
4
|
+
import './chunk-P4BOYWXT.js';
|
|
5
5
|
import './chunk-EBMELFCF.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-4HGQJ4KR.js';
|
|
7
7
|
import './chunk-LO77RPRV.js';
|
|
8
8
|
import './chunk-7QVYU63E.js';
|
|
9
9
|
//# sourceMappingURL=esbuild.js.map
|
package/dist/extend-plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { be as PluginContext, P as PluginFactory, c4 as Plugin } from './resolved-
|
|
1
|
+
import { be as PluginContext, P as PluginFactory, c4 as Plugin } from './resolved-3RFshyDy.cjs';
|
|
2
2
|
import '@storm-software/config-tools/types';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
package/dist/extend-plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { be as PluginContext, P as PluginFactory, c4 as Plugin } from './resolved-
|
|
1
|
+
import { be as PluginContext, P as PluginFactory, c4 as Plugin } from './resolved-BzyBMgQG.js';
|
|
2
2
|
import '@storm-software/config-tools/types';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|