powerlines 0.40.15 → 0.40.16
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-85-mgHqx.mjs → api-CT1HMNLh.mjs} +11 -11
- package/dist/{api-85-mgHqx.mjs.map → api-CT1HMNLh.mjs.map} +1 -1
- package/dist/{api-D180iP_A.cjs → api-Cq1cUeLx.cjs} +10 -10
- package/dist/astro.cjs +2 -2
- package/dist/astro.d.mts +1 -1
- package/dist/astro.mjs +2 -2
- package/dist/context/index.cjs +1 -1
- package/dist/context/index.d.mts +1 -1
- package/dist/context/index.mjs +1 -1
- package/dist/{esbuild-t4PC4dn-.mjs → esbuild-DuyGcO2M.mjs} +2 -2
- package/dist/{esbuild-t4PC4dn-.mjs.map → esbuild-DuyGcO2M.mjs.map} +1 -1
- package/dist/{esbuild-ynaP5f1V.cjs → esbuild-ZfmZH2rH.cjs} +1 -1
- package/dist/esbuild.cjs +2 -2
- package/dist/esbuild.d.mts +1 -1
- package/dist/esbuild.mjs +2 -2
- package/dist/farm.cjs +1 -1
- package/dist/farm.d.mts +1 -1
- package/dist/farm.mjs +1 -1
- package/dist/{index-iSZBsyij.d.mts → index-CK6YPeaO.d.mts} +7 -5
- package/dist/index-CK6YPeaO.d.mts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/next.cjs +2 -2
- package/dist/next.mjs +2 -2
- package/dist/nuxt.cjs +3 -3
- package/dist/nuxt.d.mts +1 -1
- package/dist/nuxt.mjs +3 -3
- package/dist/{plugin-ear5Cnss.d.cts → plugin-BEVE4I3A.d.cts} +7 -5
- package/dist/plugin-BEVE4I3A.d.cts.map +1 -0
- package/dist/plugin-utils.d.cts +2 -2
- package/dist/plugin-utils.d.cts.map +1 -1
- package/dist/plugin-utils.d.mts +3 -3
- package/dist/plugin-utils.d.mts.map +1 -1
- package/dist/{rolldown-C3tsiPzl.mjs → rolldown-5_RAKPoC.mjs} +2 -2
- package/dist/{rolldown-C3tsiPzl.mjs.map → rolldown-5_RAKPoC.mjs.map} +1 -1
- package/dist/{rolldown-CUDinDSb.cjs → rolldown-UH28mDes.cjs} +1 -1
- package/dist/rolldown.cjs +2 -2
- package/dist/rolldown.d.mts +1 -1
- package/dist/rolldown.mjs +2 -2
- package/dist/rollup.cjs +1 -1
- package/dist/rollup.d.mts +1 -1
- package/dist/rollup.mjs +1 -1
- package/dist/rspack.cjs +1 -1
- package/dist/rspack.d.mts +1 -1
- package/dist/rspack.mjs +1 -1
- package/dist/storage/index.d.cts.map +1 -1
- package/dist/storage/index.d.mts +1 -1
- package/dist/tsdown.cjs +2 -2
- package/dist/tsdown.d.mts +1 -1
- package/dist/tsdown.mjs +2 -2
- package/dist/tsup.cjs +2 -2
- package/dist/tsup.d.mts +1 -1
- package/dist/tsup.mjs +2 -2
- package/dist/typescript/index.d.mts +1 -1
- package/dist/unloader.cjs +1 -1
- package/dist/unloader.d.mts +1 -1
- package/dist/unloader.mjs +1 -1
- package/dist/unplugin.cjs +1 -1
- package/dist/unplugin.d.cts +1 -1
- package/dist/unplugin.d.mts +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/{vite-CIGLlj_V.mjs → vite-62muOctS.mjs} +2 -2
- package/dist/{vite-CIGLlj_V.mjs.map → vite-62muOctS.mjs.map} +1 -1
- package/dist/{vite-NCu3ROcK.cjs → vite-DwAQ0nZ5.cjs} +1 -1
- package/dist/vite.cjs +2 -2
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +2 -2
- package/dist/{webpack-BLb_jBPH.cjs → webpack-0YhRQr-B.cjs} +1 -1
- package/dist/{webpack-DwcEC5ov.mjs → webpack-Bca7BjFU.mjs} +2 -2
- package/dist/{webpack-DwcEC5ov.mjs.map → webpack-Bca7BjFU.mjs.map} +1 -1
- package/dist/webpack.cjs +2 -2
- package/dist/webpack.d.mts +1 -1
- package/dist/webpack.mjs +2 -2
- package/package.json +13 -13
- package/dist/index-iSZBsyij.d.mts.map +0 -1
- package/dist/plugin-ear5Cnss.d.cts.map +0 -1
|
@@ -75,7 +75,7 @@ let unplugin = require("unplugin");
|
|
|
75
75
|
|
|
76
76
|
//#region package.json
|
|
77
77
|
var name = "powerlines";
|
|
78
|
-
var version = "0.40.
|
|
78
|
+
var version = "0.40.16";
|
|
79
79
|
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region src/_internal/helpers/generate-types.ts
|
|
@@ -2629,6 +2629,8 @@ function isUnpluginBuilderVariant(str) {
|
|
|
2629
2629
|
|
|
2630
2630
|
//#endregion
|
|
2631
2631
|
//#region ../core/src/lib/unplugin/module-resolution.ts
|
|
2632
|
+
const VIRTUAL_MODULE_PREFIX = "\\0powerlines-virtual:";
|
|
2633
|
+
const VIRTUAL_MODULE_PREFIX_REGEX = /^\\0powerlines-virtual:/;
|
|
2632
2634
|
/**
|
|
2633
2635
|
* Creates the module resolution hook functions for a Powerlines unplugin plugin instance.
|
|
2634
2636
|
*
|
|
@@ -2639,13 +2641,11 @@ function isUnpluginBuilderVariant(str) {
|
|
|
2639
2641
|
* @see https://rollupjs.org/plugin-development/#load
|
|
2640
2642
|
*
|
|
2641
2643
|
* @param context - The plugin context.
|
|
2644
|
+
* @param options - Options for creating the module resolution functions.
|
|
2642
2645
|
* @returns The module resolution hooks (`resolveId` and `load`).
|
|
2643
2646
|
*/
|
|
2644
2647
|
function createUnpluginModuleResolutionFunctions(context, options = {}) {
|
|
2645
2648
|
const ctx = context;
|
|
2646
|
-
let prefix = "";
|
|
2647
|
-
if ((0, __stryke_type_checks_is_set_string.isSetString)(options.prefix)) prefix = options.prefix;
|
|
2648
|
-
else if (options.prefix !== false) prefix = "\0powerlines:";
|
|
2649
2649
|
return {
|
|
2650
2650
|
async resolveId(id, importer, opts = { isEntry: false }) {
|
|
2651
2651
|
let result = await ctx.$$internal.callHook("resolveId", {
|
|
@@ -2656,7 +2656,7 @@ function createUnpluginModuleResolutionFunctions(context, options = {}) {
|
|
|
2656
2656
|
if ((0, __stryke_type_checks_is_set_string.isSetString)(result)) return result;
|
|
2657
2657
|
else if ((0, __stryke_type_checks_is_set_object.isSetObject)(result)) return {
|
|
2658
2658
|
...result,
|
|
2659
|
-
id: result.virtual ? `${
|
|
2659
|
+
id: result.virtual && options.prefix !== false ? `${VIRTUAL_MODULE_PREFIX}${result.id}` : result.id
|
|
2660
2660
|
};
|
|
2661
2661
|
result = await ctx.$$internal.callHook("resolveId", {
|
|
2662
2662
|
sequential: true,
|
|
@@ -2666,7 +2666,7 @@ function createUnpluginModuleResolutionFunctions(context, options = {}) {
|
|
|
2666
2666
|
if ((0, __stryke_type_checks_is_set_string.isSetString)(result)) return result;
|
|
2667
2667
|
else if ((0, __stryke_type_checks_is_set_object.isSetObject)(result)) return {
|
|
2668
2668
|
...result,
|
|
2669
|
-
id: result.virtual ? `${
|
|
2669
|
+
id: result.virtual && options.prefix !== false ? `${VIRTUAL_MODULE_PREFIX}${result.id}` : result.id
|
|
2670
2670
|
};
|
|
2671
2671
|
result = await ctx.resolve(id, importer, {
|
|
2672
2672
|
isFile: true,
|
|
@@ -2674,7 +2674,7 @@ function createUnpluginModuleResolutionFunctions(context, options = {}) {
|
|
|
2674
2674
|
});
|
|
2675
2675
|
if ((0, __stryke_type_checks_is_set_object.isSetObject)(result)) return {
|
|
2676
2676
|
...result,
|
|
2677
|
-
id: result.virtual ? `${
|
|
2677
|
+
id: result.virtual && options.prefix !== false ? `${VIRTUAL_MODULE_PREFIX}${result.id}` : result.id
|
|
2678
2678
|
};
|
|
2679
2679
|
result = await ctx.$$internal.callHook("resolveId", {
|
|
2680
2680
|
sequential: true,
|
|
@@ -2684,14 +2684,14 @@ function createUnpluginModuleResolutionFunctions(context, options = {}) {
|
|
|
2684
2684
|
if ((0, __stryke_type_checks_is_set_string.isSetString)(result)) return result;
|
|
2685
2685
|
else if ((0, __stryke_type_checks_is_set_object.isSetObject)(result)) return {
|
|
2686
2686
|
...result,
|
|
2687
|
-
id: result.virtual ? `${
|
|
2687
|
+
id: result.virtual && options.prefix !== false ? `${VIRTUAL_MODULE_PREFIX}${result.id}` : result.id
|
|
2688
2688
|
};
|
|
2689
2689
|
return null;
|
|
2690
2690
|
},
|
|
2691
2691
|
load: {
|
|
2692
|
-
filter: prefix ? { id: { include: [
|
|
2692
|
+
filter: options.prefix !== false ? { id: { include: [VIRTUAL_MODULE_PREFIX_REGEX] } } : void 0,
|
|
2693
2693
|
async handler(id) {
|
|
2694
|
-
const moduleId = prefix ? id.replace(
|
|
2694
|
+
const moduleId = options.prefix !== false ? id.replace(VIRTUAL_MODULE_PREFIX, "") : id;
|
|
2695
2695
|
let result = await ctx.$$internal.callHook("load", {
|
|
2696
2696
|
sequential: true,
|
|
2697
2697
|
result: "first",
|
package/dist/astro.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./api-
|
|
2
|
+
require('./api-Cq1cUeLx.cjs');
|
|
3
3
|
require('./tsconfig-C8M8X6U0.cjs');
|
|
4
4
|
require('./plugin-utils-Ck3cx3w6.cjs');
|
|
5
5
|
require('./plugin-CZ_PJPpQ.cjs');
|
|
@@ -11,7 +11,7 @@ require('./virtual-B1MLgqnQ.cjs');
|
|
|
11
11
|
require('./resolve-options-BQnTgg3V.cjs');
|
|
12
12
|
require('./resolve-options-vyFhhkLp.cjs');
|
|
13
13
|
require('./resolve-options-lxQ2pm0W.cjs');
|
|
14
|
-
const require_vite = require('./vite-
|
|
14
|
+
const require_vite = require('./vite-DwAQ0nZ5.cjs');
|
|
15
15
|
|
|
16
16
|
//#region src/astro.ts
|
|
17
17
|
/**
|
package/dist/astro.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./config-CK756s0L.mjs";
|
|
2
2
|
import "./config-CiPXgwzt.mjs";
|
|
3
3
|
import "./index-C7W0kmm7.mjs";
|
|
4
|
-
import "./index-
|
|
4
|
+
import "./index-CK6YPeaO.mjs";
|
|
5
5
|
import { r as VitePluginUserConfig } from "./plugin-C_8RhG5V.mjs";
|
|
6
6
|
import { AstroUserConfig } from "astro";
|
|
7
7
|
|
package/dist/astro.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./api-
|
|
1
|
+
import "./api-CT1HMNLh.mjs";
|
|
2
2
|
import "./tsconfig-B92heKit.mjs";
|
|
3
3
|
import "./plugin-utils-C3HnZJl1.mjs";
|
|
4
4
|
import "./plugin-E5foRD0k.mjs";
|
|
@@ -10,7 +10,7 @@ import "./virtual-B9imjOqe.mjs";
|
|
|
10
10
|
import "./resolve-options-DHL3RM8F.mjs";
|
|
11
11
|
import "./resolve-options-6sXFqzEA.mjs";
|
|
12
12
|
import "./resolve-options-D-RGs8j8.mjs";
|
|
13
|
-
import { n as vite_default } from "./vite-
|
|
13
|
+
import { n as vite_default } from "./vite-62muOctS.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/astro.ts
|
|
16
16
|
/**
|
package/dist/context/index.cjs
CHANGED
package/dist/context/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ct as InitContextOptions, Dn as InferHookReturnType, Dt as ResolveResult, En as InferHookParameters, Et as PluginContext, M as ResolvedEntryTypeDefinition, Nr as API, Nt as TransformResult$1, Ot as Resolver, P as WorkspaceConfig, St as FetchOptions, Tt as ParseOptions, Ur as VirtualFile, _t as Context, bt as EnvironmentContext, cn as ParsedTypeScriptConfig, er as Plugin, ht as APIContext, j as ResolvedConfig, jt as SelectHooksOptions, kt as SelectHookResult, l as EnvironmentResolvedConfig, p as LogFn, qr as VirtualFileSystemInterface, u as InitialUserConfig, vt as EmitEntryOptions, wn as HooksList, wt as MetaInfo, x as PluginConfig, xn as CallHookOptions, xt as EnvironmentContextPlugin, yt as EmitOptions, zr as ResolveOptions } from "../config-CK756s0L.mjs";
|
|
2
2
|
import "../config-CiPXgwzt.mjs";
|
|
3
3
|
import "../index-C7W0kmm7.mjs";
|
|
4
|
-
import "../index-
|
|
4
|
+
import "../index-CK6YPeaO.mjs";
|
|
5
5
|
import "../types-Bh_vLuQ0.mjs";
|
|
6
6
|
import { EnvPaths } from "@stryke/env/get-env-paths";
|
|
7
7
|
import { FlatCache } from "flat-cache";
|
package/dist/context/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as PowerlinesContext, i as createPluginContext, n as PowerlinesAPIContext, r as PowerlinesEnvironmentContext } from "../api-
|
|
1
|
+
import { d as PowerlinesContext, i as createPluginContext, n as PowerlinesAPIContext, r as PowerlinesEnvironmentContext } from "../api-CT1HMNLh.mjs";
|
|
2
2
|
import "../tsconfig-B92heKit.mjs";
|
|
3
3
|
import "../plugin-utils-C3HnZJl1.mjs";
|
|
4
4
|
import "../plugin-E5foRD0k.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as createUnpluginFactory, o as createUnplugin } from "./api-
|
|
1
|
+
import { a as createUnpluginFactory, o as createUnplugin } from "./api-CT1HMNLh.mjs";
|
|
2
2
|
import { n as resolveEntry, r as resolveOptions, t as DEFAULT_ESBUILD_CONFIG } from "./resolve-options-DHL3RM8F.mjs";
|
|
3
3
|
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
4
4
|
import { findFileName } from "@stryke/path/file-path-fns";
|
|
@@ -79,4 +79,4 @@ var esbuild_default = unplugin;
|
|
|
79
79
|
|
|
80
80
|
//#endregion
|
|
81
81
|
export { unplugin as n, src_default as r, esbuild_default as t };
|
|
82
|
-
//# sourceMappingURL=esbuild-
|
|
82
|
+
//# sourceMappingURL=esbuild-DuyGcO2M.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esbuild-
|
|
1
|
+
{"version":3,"file":"esbuild-DuyGcO2M.mjs","names":["createEsbuildPlugin","createEsbuildUnplugin","createEsbuildPlugin","plugin","build"],"sources":["../../plugin-esbuild/src/helpers/unplugin.ts","../../plugin-esbuild/src/index.ts","../src/esbuild.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createUnplugin } from \"@powerlines/core/lib/unplugin\";\nimport { createEsbuildPlugin as createEsbuildUnplugin } from \"unplugin\";\nimport { EsbuildPluginContext } from \"../types/plugin\";\n\nexport function createEsbuildPlugin(context: EsbuildPluginContext) {\n return createEsbuildUnplugin(createUnplugin(context))({});\n}\n","/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Plugin } from \"@powerlines/core\";\nimport defu from \"defu\";\nimport { build } from \"esbuild\";\nimport {\n DEFAULT_ESBUILD_CONFIG,\n resolveEntry,\n resolveOptions\n} from \"./helpers/resolve-options\";\nimport { createEsbuildPlugin } from \"./helpers/unplugin\";\nimport {\n EsbuildPluginContext,\n EsbuildPluginOptions,\n EsbuildPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\ndeclare module \"@powerlines/core\" {\n interface Config {\n esbuild?: EsbuildPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to assist in developing other Powerlines plugins.\n */\nexport const plugin = <\n TContext extends EsbuildPluginContext = EsbuildPluginContext\n>(\n options: EsbuildPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"esbuild\",\n config() {\n return {\n output: {\n format: [\"esm\"]\n },\n build: {\n ...DEFAULT_ESBUILD_CONFIG,\n ...options,\n variant: \"esbuild\"\n }\n } as Partial<EsbuildPluginUserConfig>;\n },\n async build() {\n await build(\n defu(\n {\n entryPoints: resolveEntry(this, this.entry),\n plugins: [createEsbuildPlugin(this)]\n },\n resolveOptions(this)\n )\n );\n }\n };\n};\n\nexport default plugin;\n","/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { resolveOptions } from \"@powerlines/plugin-esbuild/helpers/resolve-options\";\nimport { EsbuildPluginUserConfig } from \"@powerlines/plugin-esbuild/types/plugin\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport type { BuildOptions, PluginBuild } from \"esbuild\";\nimport { createEsbuildPlugin } from \"unplugin\";\nimport { createUnpluginFactory } from \"./unplugin\";\n\nexport {\n default as esbuild,\n default as plugin\n} from \"@powerlines/plugin-esbuild\";\n\n/**\n * An ESBuild plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://esbuild.github.io/plugins/\n *\n * @example\n * ```js\n * // esbuild.config.js\n * import powerlines from \"powerlines/esbuild\";\n *\n * export default {\n * plugins: [powerlines({ name: \"example-app\", ... })],\n * };\n *\n * ```\n */\nexport const unplugin = createEsbuildPlugin<Partial<EsbuildPluginUserConfig>>(\n createUnpluginFactory(\"esbuild\", (api, plugin) => {\n return {\n ...plugin,\n esbuild: {\n config: options => {\n options ??= {} as BuildOptions;\n\n const result = resolveOptions(api.context);\n for (const key in result) {\n if (\n isUndefined(options[key as keyof BuildOptions]) &&\n !isUndefined(result[key as keyof BuildOptions])\n ) {\n options[key as keyof BuildOptions] = result[\n key as keyof BuildOptions\n ] as any;\n }\n }\n },\n setup: async (build: PluginBuild) => {\n const environment = await api.context.getEnvironment();\n\n return api.callHook(\"esbuild:setup\", { environment }, build);\n }\n }\n };\n })\n);\n\nexport default unplugin;\n\nexport { unplugin as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;AAsBA,SAAgBA,sBAAoB,SAA+B;AACjE,QAAOC,oBAAsB,eAAe,QAAQ,CAAC,CAAC,EAAE,CAAC;;;;;;;;ACsB3D,MAAa,UAGX,UAAgC,EAAE,KACb;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO;IACL,QAAQ,EACN,QAAQ,CAAC,MAAM,EAChB;IACD,OAAO;KACL,GAAG;KACH,GAAG;KACH,SAAS;KACV;IACF;;EAEH,MAAM,QAAQ;AACZ,SAAM,MACJ,KACE;IACE,aAAa,aAAa,MAAM,KAAK,MAAM;IAC3C,SAAS,CAACC,sBAAoB,KAAK,CAAC;IACrC,EACD,eAAe,KAAK,CACrB,CACF;;EAEJ;;AAGH,kBAAe;;;;;;;;;;;;;;;;;;;;AChCf,MAAa,WAAW,oBACtB,sBAAsB,YAAY,KAAK,aAAW;AAChD,QAAO;EACL,GAAGC;EACH,SAAS;GACP,SAAQ,YAAW;AACjB,gBAAY,EAAE;IAEd,MAAM,SAAS,eAAe,IAAI,QAAQ;AAC1C,SAAK,MAAM,OAAO,OAChB,KACE,YAAY,QAAQ,KAA2B,IAC/C,CAAC,YAAY,OAAO,KAA2B,CAE/C,SAAQ,OAA6B,OACnC;;GAKR,OAAO,OAAO,YAAuB;IACnC,MAAM,cAAc,MAAM,IAAI,QAAQ,gBAAgB;AAEtD,WAAO,IAAI,SAAS,iBAAiB,EAAE,aAAa,EAAEC,QAAM;;GAE/D;EACF;EACD,CACH;AAED,sBAAe"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
const require_api = require('./api-
|
|
2
|
+
const require_api = require('./api-Cq1cUeLx.cjs');
|
|
3
3
|
const require_resolve_options = require('./resolve-options-BQnTgg3V.cjs');
|
|
4
4
|
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
5
5
|
let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
package/dist/esbuild.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./api-
|
|
2
|
+
require('./api-Cq1cUeLx.cjs');
|
|
3
3
|
require('./tsconfig-C8M8X6U0.cjs');
|
|
4
4
|
require('./plugin-utils-Ck3cx3w6.cjs');
|
|
5
5
|
require('./plugin-CZ_PJPpQ.cjs');
|
|
@@ -9,7 +9,7 @@ require('./config-D86Vw7SC.cjs');
|
|
|
9
9
|
require('./utils-BbDma_5Y.cjs');
|
|
10
10
|
require('./virtual-B1MLgqnQ.cjs');
|
|
11
11
|
require('./resolve-options-BQnTgg3V.cjs');
|
|
12
|
-
const require_esbuild = require('./esbuild-
|
|
12
|
+
const require_esbuild = require('./esbuild-ZfmZH2rH.cjs');
|
|
13
13
|
|
|
14
14
|
exports.default = require_esbuild.esbuild_default;
|
|
15
15
|
exports.esbuild = require_esbuild.src_default;
|
package/dist/esbuild.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Et as PluginContext, N as UserConfig, er as Plugin, j as ResolvedConfig } from "./config-CK756s0L.mjs";
|
|
2
2
|
import "./config-CiPXgwzt.mjs";
|
|
3
3
|
import "./index-C7W0kmm7.mjs";
|
|
4
|
-
import "./index-
|
|
4
|
+
import "./index-CK6YPeaO.mjs";
|
|
5
5
|
import * as esbuild0 from "esbuild";
|
|
6
6
|
import { BuildOptions } from "esbuild";
|
|
7
7
|
import { TypeDefinitionParameter } from "@stryke/types/configuration";
|
package/dist/esbuild.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./api-
|
|
1
|
+
import "./api-CT1HMNLh.mjs";
|
|
2
2
|
import "./tsconfig-B92heKit.mjs";
|
|
3
3
|
import "./plugin-utils-C3HnZJl1.mjs";
|
|
4
4
|
import "./plugin-E5foRD0k.mjs";
|
|
@@ -8,6 +8,6 @@ import "./config-D4Fh2gQL.mjs";
|
|
|
8
8
|
import "./utils-DoQcX7Sk.mjs";
|
|
9
9
|
import "./virtual-B9imjOqe.mjs";
|
|
10
10
|
import "./resolve-options-DHL3RM8F.mjs";
|
|
11
|
-
import { n as unplugin, r as src_default, t as esbuild_default } from "./esbuild-
|
|
11
|
+
import { n as unplugin, r as src_default, t as esbuild_default } from "./esbuild-DuyGcO2M.mjs";
|
|
12
12
|
|
|
13
13
|
export { esbuild_default as default, src_default as esbuild, src_default as plugin, unplugin as "module.exports", unplugin };
|
package/dist/farm.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
3
|
-
const require_api = require('./api-
|
|
3
|
+
const require_api = require('./api-Cq1cUeLx.cjs');
|
|
4
4
|
require('./tsconfig-C8M8X6U0.cjs');
|
|
5
5
|
require('./plugin-utils-Ck3cx3w6.cjs');
|
|
6
6
|
require('./plugin-CZ_PJPpQ.cjs');
|
package/dist/farm.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { N as UserConfig } from "./config-CK756s0L.mjs";
|
|
2
2
|
import "./config-CiPXgwzt.mjs";
|
|
3
3
|
import "./index-C7W0kmm7.mjs";
|
|
4
|
-
import "./index-
|
|
4
|
+
import "./index-CK6YPeaO.mjs";
|
|
5
5
|
import * as _farmfe_core0 from "@farmfe/core";
|
|
6
6
|
|
|
7
7
|
//#region src/farm.d.ts
|
package/dist/farm.mjs
CHANGED
|
@@ -22,14 +22,15 @@ declare function isUnpluginBuilderVariant(str: unknown): str is UnpluginBuilderV
|
|
|
22
22
|
//#region ../core/src/lib/unplugin/module-resolution.d.ts
|
|
23
23
|
interface CreateUnpluginModuleResolutionFunctionsOptions {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* An indicator of whether to prefix virtual module IDs with a specific string. This is useful for ensuring that virtual modules are only processed by the plugin and not by other plugins or the bundler itself.
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
|
-
* If set to `
|
|
28
|
+
* - If set to `true`, virtual module IDs will be prefixed with the string `\0powerlines:`.
|
|
29
|
+
* - If set to `false`, no prefix will be added to virtual module IDs.
|
|
29
30
|
*
|
|
30
|
-
* @defaultValue
|
|
31
|
+
* @defaultValue true
|
|
31
32
|
*/
|
|
32
|
-
prefix?:
|
|
33
|
+
prefix?: boolean;
|
|
33
34
|
}
|
|
34
35
|
/**
|
|
35
36
|
* Creates the module resolution hook functions for a Powerlines unplugin plugin instance.
|
|
@@ -41,6 +42,7 @@ interface CreateUnpluginModuleResolutionFunctionsOptions {
|
|
|
41
42
|
* @see https://rollupjs.org/plugin-development/#load
|
|
42
43
|
*
|
|
43
44
|
* @param context - The plugin context.
|
|
45
|
+
* @param options - Options for creating the module resolution functions.
|
|
44
46
|
* @returns The module resolution hooks (`resolveId` and `load`).
|
|
45
47
|
*/
|
|
46
48
|
declare function createUnpluginModuleResolutionFunctions<TContext extends PluginContext = PluginContext>(context: TContext, options?: CreateUnpluginModuleResolutionFunctionsOptions): Pick<UnpluginOptions, "resolveId" | "load">;
|
|
@@ -77,4 +79,4 @@ declare type __ΩCreateUnpluginResolverOptions = any[];
|
|
|
77
79
|
declare type __ΩCreateUnpluginOptions = any[];
|
|
78
80
|
//#endregion
|
|
79
81
|
export { createUnplugin as a, __ΩCreateUnpluginModuleResolutionFunctionsOptions as c, isUnpluginBuilderVariant as d, __ΩCreateUnpluginResolverOptions as i, createUnpluginModuleResolutionFunctions as l, CreateUnpluginResolverOptions as n, createUnpluginResolver as o, __ΩCreateUnpluginOptions as r, CreateUnpluginModuleResolutionFunctionsOptions as s, CreateUnpluginOptions as t, combineContexts as u };
|
|
80
|
-
//# sourceMappingURL=index-
|
|
82
|
+
//# sourceMappingURL=index-CK6YPeaO.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CK6YPeaO.d.mts","names":[],"sources":["../../core/src/lib/unplugin/helpers.ts","../../core/src/lib/unplugin/module-resolution.ts","../../core/src/lib/unplugin/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;AAgCA;;;;;;AAGiC,iBAHjB,eAGiB,CAAA,kBAFb,iBAEa,GAFO,oBAEP,EAAA,kBADb,iBACa,GADO,oBACP,CAAA,CAAA,QAAA,EAArB,SAAqB,EAAA,QAAA,EAAA,SAAA,CAAA,EAAY,SAAZ,GAAwB,SAAxB;;;;AAUjC;;;iBAAgB,wBAAA,uBAEN;;;UClBO,8CAAA;;ADGjB;;;;;;;;EAGyD,MAAA,CAAA,EAAA,OAAA;;AAUzD;;;;AChBA;AA6BA;;;;;;;;iBAAgB,yDACG,gBAAgB,wBAExB,oBACA,iDACR,KAAK;;;;UCzBS,6BAAA,SAAsC;EFNvC;;;;;;;;EAGyC,IAAA,CAAA,EAAA,MAAA;;AAUzD;;;;AChBA;AA6BA;AACmB,iBCHH,sBDGG,CAAA,iBCFA,aDEA,GCFgB,aDEhB,CAAA,CAAA,OAAA,ECAR,QDAQ,EAAA,OAAA,CAAA,ECCR,6BDDQ,CAAA,ECEhB,eDFgB,CCEA,QDFA,CAAA;AAAgB,UCwClB,qBAAA,SAA8B,6BDxCZ,CAAA;;;;;;;iBCgDnB,gCAAgC,gBAAgB,wBACrD,oBACA,wBACR,gBAAgB;;AAxEF,wCAA8B,GAAQ,EAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
3
|
-
const require_api = require('./api-
|
|
3
|
+
const require_api = require('./api-Cq1cUeLx.cjs');
|
|
4
4
|
require('./tsconfig-C8M8X6U0.cjs');
|
|
5
5
|
require('./plugin-utils-Ck3cx3w6.cjs');
|
|
6
6
|
require('./plugin-CZ_PJPpQ.cjs');
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as __ΩPartialPlugin, $n as Hooks, $r as __ΩStoragePreset, $t as __ΩSelectHookResultItem, A as ResolvedAssetGlob, An as PluginHooksList, Ar as __ΩUnpluginFactory, At as SelectHookResultItem, B as __ΩDeployInlineConfig, Bn as __ΩHooksList, Br as StorageAdapter, Bt as __ΩContext, C as PluginConfigTuple, Cn as HookListOrders, Cr as UnpluginFactory, Ct as InitContextOptions, D as ProjectType, Dn as InferHookReturnType, Dr as __ΩInferUnpluginOptions, Dt as ResolveResult, E as PrepareInlineConfig, En as InferHookParameters, Er as __ΩBuilderVariant, Et as PluginContext, F as __ΩAnyUserConfig, Fn as UnpluginHookVariantField, Fr as CommandType, Ft as UnresolvedContext, G as __ΩInlineConfig, Gn as __ΩInferHooksListItem, Gr as VirtualFileExtension, Gt as __ΩFetchOptions, H as __ΩEnvironmentConfig, Hn as __ΩInferHookParameters, Hr as StoragePreset, Ht as __ΩEmitOptions, I as __ΩBuildInlineConfig, In as UnpluginHooksListItem, Ir as Commands, It as WithUnpluginBuildContext, J as __ΩLogLevel, Jn as __ΩUnpluginHookFunctions, Jr as WriteData, Jt as __ΩParseOptions, K as __ΩLintInlineConfig, Kn as __ΩPluginHooksList, Kr as VirtualFileMetadata, Kt as __ΩInitContextOptions, L as __ΩCleanInlineConfig, Ln as __ΩCallHookOptions, Lr as __ΩCommandType, Lt as WorkerProcess, M as ResolvedEntryTypeDefinition, Mn as UnpluginHookFunctions, Mr as __ΩUnpluginUserConfig, Mt as SourceFile, N as UserConfig, Nn as UnpluginHookList, Nr as API, Nt as TransformResult, O as ResolveConfig, On as InferHookThisType, Or as __ΩInferUnpluginVariant, Ot as Resolver, P as WorkspaceConfig, Pn as UnpluginHookVariant, Pr as __ΩAPI, Pt as UnimportContext, Q as __ΩParsedUserConfig, Qn as __ΩUnpluginHooksListItem, Qr as __ΩStoragePort, Qt as __ΩSelectHookResult, R as __ΩConfig, Rn as __ΩHookFields, Rr as __ΩCommands, Rt as __ΩAPIContext, S as PluginConfigObject, Sn as HookFields, Sr as UnpluginBuilderVariant, St as FetchOptions, T as PowerlinesCommand, Tn as InferHookFunction, Tr as UnpluginUserConfig, Tt as ParseOptions, U as __ΩEnvironmentResolvedConfig, Un as __ΩInferHookReturnType, Ur as VirtualFile, Ut as __ΩEnvironmentContext, V as __ΩDocsInlineConfig, Vn as __ΩInferHookFunction, Vr as StoragePort, Vt as __ΩEmitEntryOptions, W as __ΩInitialUserConfig, Wn as __ΩInferHookThisType, Wr as VirtualFileData, Wt as __ΩEnvironmentContextPlugin, X as __ΩOutputConfig, Xn as __ΩUnpluginHookVariant, Xr as __ΩResolveOptions, Xt as __ΩResolveResult, Y as __ΩNewInlineConfig, Yn as __ΩUnpluginHookList, Yr as WriteOptions, Yt as __ΩPluginContext, Z as __ΩOutputResolvedConfig, Zn as __ΩUnpluginHookVariantField, Zr as __ΩStorageAdapter, Zt as __ΩResolver, _ as OutputResolvedConfig, _n as __ΩReflectionLevel, _r as __ΩPluginNonHookFields, _t as Context, a as ConfigEnv, ai as __ΩWriteData, an as __ΩWithUnpluginBuildContext, ar as PluginHookObject, at as __ΩPowerlinesCommand, b as PartialPluginFactory, bn as __ΩTSConfig, br as InferUnpluginOptions, bt as EnvironmentContext, c as EnvironmentConfig, cn as ParsedTypeScriptConfig, cr as TypesResult, ct as __ΩResolveConfig, d as InlineConfig, dn as ReflectionMode, dr as __ΩPluginFields, dt as __ΩResolvedConfig, ei as __ΩVirtualFile, en as __ΩSelectHooksOptions, er as Plugin, et as __ΩPartialPluginFactory, f as LintInlineConfig, fn as TSCompilerOptions, fr as __ΩPluginHook, ft as __ΩResolvedEntryTypeDefinition, g as OutputConfig, gn as __ΩRawReflectionMode, gr as __ΩPluginHooks, gt as BuildPluginContext, h as NewInlineConfig, hn as __ΩParsedTypeScriptConfig, hr as __ΩPluginHookObject, ht as APIContext, i as Config, ii as __ΩVirtualFileSystemInterface, in as __ΩUnresolvedContext, ir as PluginHookFunctions, it as __ΩPluginFactory, j as ResolvedConfig, jn as PluginHooksListItem, jr as __ΩUnpluginOptions, jt as SelectHooksOptions, k as ResolveResolvedConfig, kn as InferHooksListItem, kr as __ΩUnpluginBuilderVariant, kt as SelectHookResult, l as EnvironmentResolvedConfig, ln as RawReflectionMode, lr as __ΩHooks, lt as __ΩResolveResolvedConfig, m as LogLevel, mn as __ΩDeepkitOptions, mr as __ΩPluginHookFunctions, mt as __ΩWorkspaceConfig, n as BuildInlineConfig, ni as __ΩVirtualFileExtension, nn as __ΩTransformResult, nr as PluginHook, nt as __ΩPluginConfigObject, o as DeployInlineConfig, oi as __ΩWriteOptions, on as __ΩWorkerProcess, or as PluginHooks, ot as __ΩPrepareInlineConfig, p as LogFn, pn as TSConfig, pr as __ΩPluginHookFields, pt as __ΩUserConfig, q as __ΩLogFn, qn as __ΩPluginHooksListItem, qr as VirtualFileSystemInterface, qt as __ΩMetaInfo, r as CleanInlineConfig, ri as __ΩVirtualFileMetadata, rn as __ΩUnimportContext, rr as PluginHookFields, rt as __ΩPluginConfigTuple, s as DocsInlineConfig, sn as DeepkitOptions, sr as PluginNonHookFields, st as __ΩProjectType, t as AnyUserConfig, ti as __ΩVirtualFileData, tn as __ΩSourceFile, tr as PluginFields, tt as __ΩPluginConfig, u as InitialUserConfig, un as ReflectionLevel, ur as __ΩPlugin, ut as __ΩResolvedAssetGlob, v as ParsedUserConfig, vn as __ΩReflectionMode, vr as __ΩTypesResult, vt as EmitEntryOptions, w as PluginFactory, wn as HooksList, wr as UnpluginOptions, wt as MetaInfo, x as PluginConfig, xn as CallHookOptions, xr as InferUnpluginVariant, xt as EnvironmentContextPlugin, y as PartialPlugin, yn as __ΩTSCompilerOptions, yr as BuilderVariant, yt as EmitOptions, z as __ΩConfigEnv, zn as __ΩHookListOrders, zr as ResolveOptions, zt as __ΩBuildPluginContext } from "./config-vnrrSxEB.cjs";
|
|
2
2
|
import { a as loadWorkspaceConfig, i as loadUserConfigFile, n as __ΩPartiallyResolvedContext, r as defineConfig, t as PartiallyResolvedContext } from "./config-J74ORCFY.cjs";
|
|
3
3
|
import { C as resolveInputs, S as resolveInput, _ as extendLog, a as getString, b as isTypeDefinition, c as FileHeaderOptions, d as getFileHeaderWarning, f as getFileHeaderWarningText, g as createLog, h as __ΩCreateLogOptions, i as getSourceFile, l as __ΩFileHeaderOptions, m as CreateLogOptions, n as generateSourceMap, o as format, p as getTypescriptFileHeader, r as getMagicString, s as formatFolder, t as writeFile, u as getFileHeader, v as getUniqueInputs, w as resolveInputsSync, x as resolveEntryOutput, y as isResolvedEntryTypeDefinition } from "./write-file-CpNWY8SV.cjs";
|
|
4
|
-
import { a as createUnplugin, c as __ΩCreateUnpluginModuleResolutionFunctionsOptions, d as isUnpluginBuilderVariant, i as __ΩCreateUnpluginResolverOptions, l as createUnpluginModuleResolutionFunctions, n as CreateUnpluginResolverOptions, o as createUnpluginResolver, r as __ΩCreateUnpluginOptions, s as CreateUnpluginModuleResolutionFunctionsOptions, t as CreateUnpluginOptions, u as combineContexts } from "./plugin-
|
|
4
|
+
import { a as createUnplugin, c as __ΩCreateUnpluginModuleResolutionFunctionsOptions, d as isUnpluginBuilderVariant, i as __ΩCreateUnpluginResolverOptions, l as createUnpluginModuleResolutionFunctions, n as CreateUnpluginResolverOptions, o as createUnpluginResolver, r as __ΩCreateUnpluginOptions, s as CreateUnpluginModuleResolutionFunctionsOptions, t as CreateUnpluginOptions, u as combineContexts } from "./plugin-BEVE4I3A.cjs";
|
|
5
5
|
import { a as FileStorage, c as PowerlinesAPI, i as FileMetadata_KeyValuePair, n as FileId, o as FileSystem, r as FileMetadata, s as _capnpFileId, t as createPowerlines } from "./index-DJ-k0GOX.cjs";
|
|
6
6
|
export { API, APIContext, AnyUserConfig, BuildInlineConfig, BuildPluginContext, BuilderVariant, CallHookOptions, CleanInlineConfig, CommandType, Commands, Config, ConfigEnv, Context, CreateLogOptions, CreateUnpluginModuleResolutionFunctionsOptions, CreateUnpluginOptions, CreateUnpluginResolverOptions, DeepkitOptions, DeployInlineConfig, DocsInlineConfig, EmitEntryOptions, EmitOptions, EnvironmentConfig, EnvironmentContext, EnvironmentContextPlugin, EnvironmentResolvedConfig, FetchOptions, FileHeaderOptions, FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, HookFields, HookListOrders, Hooks, HooksList, InferHookFunction, InferHookParameters, InferHookReturnType, InferHookThisType, InferHooksListItem, InferUnpluginOptions, InferUnpluginVariant, InitContextOptions, InitialUserConfig, InlineConfig, LintInlineConfig, LogFn, LogLevel, MetaInfo, NewInlineConfig, OutputConfig, OutputResolvedConfig, ParseOptions, ParsedTypeScriptConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PartiallyResolvedContext, Plugin, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginContext, PluginFactory, PluginFields, PluginHook, PluginHookFields, PluginHookFunctions, PluginHookObject, PluginHooks, PluginHooksList, PluginHooksListItem, PluginNonHookFields, PowerlinesAPI, PowerlinesAPI as default, PowerlinesCommand, PrepareInlineConfig, ProjectType, RawReflectionMode, ReflectionLevel, ReflectionMode, ResolveConfig, ResolveOptions, ResolveResolvedConfig, ResolveResult, ResolvedAssetGlob, ResolvedConfig, ResolvedEntryTypeDefinition, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, SourceFile, StorageAdapter, StoragePort, StoragePreset, TSCompilerOptions, TSConfig, TransformResult, TypesResult, UnimportContext, UnpluginBuilderVariant, UnpluginFactory, UnpluginHookFunctions, UnpluginHookList, UnpluginHookVariant, UnpluginHookVariantField, UnpluginHooksListItem, UnpluginOptions, UnpluginUserConfig, UnresolvedContext, UserConfig, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WithUnpluginBuildContext, WorkerProcess, WorkspaceConfig, WriteData, WriteOptions, __ΩAPI, __ΩAPIContext, __ΩAnyUserConfig, __ΩBuildInlineConfig, __ΩBuildPluginContext, __ΩBuilderVariant, __ΩCallHookOptions, __ΩCleanInlineConfig, __ΩCommandType, __ΩCommands, __ΩConfig, __ΩConfigEnv, __ΩContext, __ΩCreateLogOptions, __ΩCreateUnpluginModuleResolutionFunctionsOptions, __ΩCreateUnpluginOptions, __ΩCreateUnpluginResolverOptions, __ΩDeepkitOptions, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEmitEntryOptions, __ΩEmitOptions, __ΩEnvironmentConfig, __ΩEnvironmentContext, __ΩEnvironmentContextPlugin, __ΩEnvironmentResolvedConfig, __ΩFetchOptions, __ΩFileHeaderOptions, __ΩHookFields, __ΩHookListOrders, __ΩHooks, __ΩHooksList, __ΩInferHookFunction, __ΩInferHookParameters, __ΩInferHookReturnType, __ΩInferHookThisType, __ΩInferHooksListItem, __ΩInferUnpluginOptions, __ΩInferUnpluginVariant, __ΩInitContextOptions, __ΩInitialUserConfig, __ΩInlineConfig, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩMetaInfo, __ΩNewInlineConfig, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParseOptions, __ΩParsedTypeScriptConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPartiallyResolvedContext, __ΩPlugin, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginContext, __ΩPluginFactory, __ΩPluginFields, __ΩPluginHook, __ΩPluginHookFields, __ΩPluginHookFunctions, __ΩPluginHookObject, __ΩPluginHooks, __ΩPluginHooksList, __ΩPluginHooksListItem, __ΩPluginNonHookFields, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩRawReflectionMode, __ΩReflectionLevel, __ΩReflectionMode, __ΩResolveConfig, __ΩResolveOptions, __ΩResolveResolvedConfig, __ΩResolveResult, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEntryTypeDefinition, __ΩResolver, __ΩSelectHookResult, __ΩSelectHookResultItem, __ΩSelectHooksOptions, __ΩSourceFile, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩTSCompilerOptions, __ΩTSConfig, __ΩTransformResult, __ΩTypesResult, __ΩUnimportContext, __ΩUnpluginBuilderVariant, __ΩUnpluginFactory, __ΩUnpluginHookFunctions, __ΩUnpluginHookList, __ΩUnpluginHookVariant, __ΩUnpluginHookVariantField, __ΩUnpluginHooksListItem, __ΩUnpluginOptions, __ΩUnpluginUserConfig, __ΩUnresolvedContext, __ΩUserConfig, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWithUnpluginBuildContext, __ΩWorkerProcess, __ΩWorkspaceConfig, __ΩWriteData, __ΩWriteOptions, _capnpFileId, combineContexts, createLog, createPowerlines, createUnplugin, createUnpluginModuleResolutionFunctions, createUnpluginResolver, defineConfig, extendLog, format, formatFolder, generateSourceMap, getFileHeader, getFileHeaderWarning, getFileHeaderWarningText, getMagicString, getSourceFile, getString, getTypescriptFileHeader, getUniqueInputs, isResolvedEntryTypeDefinition, isTypeDefinition, isUnpluginBuilderVariant, loadUserConfigFile, loadWorkspaceConfig, resolveEntryOutput, resolveInput, resolveInputs, resolveInputsSync, writeFile };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $ as __ΩPartialPlugin, $n as Hooks, $r as __ΩStoragePreset, $t as __ΩSelectHookResultItem, A as ResolvedAssetGlob, An as PluginHooksList, Ar as __ΩUnpluginFactory, At as SelectHookResultItem, B as __ΩDeployInlineConfig, Bn as __ΩHooksList, Br as StorageAdapter, Bt as __ΩContext, C as PluginConfigTuple, Cn as HookListOrders, Cr as UnpluginFactory, Ct as InitContextOptions, D as ProjectType, Dn as InferHookReturnType, Dr as __ΩInferUnpluginOptions, Dt as ResolveResult, E as PrepareInlineConfig, En as InferHookParameters, Er as __ΩBuilderVariant, Et as PluginContext, F as __ΩAnyUserConfig, Fn as UnpluginHookVariantField, Fr as CommandType, Ft as UnresolvedContext, G as __ΩInlineConfig, Gn as __ΩInferHooksListItem, Gr as VirtualFileExtension, Gt as __ΩFetchOptions, H as __ΩEnvironmentConfig, Hn as __ΩInferHookParameters, Hr as StoragePreset, Ht as __ΩEmitOptions, I as __ΩBuildInlineConfig, In as UnpluginHooksListItem, Ir as Commands, It as WithUnpluginBuildContext, J as __ΩLogLevel, Jn as __ΩUnpluginHookFunctions, Jr as WriteData, Jt as __ΩParseOptions, K as __ΩLintInlineConfig, Kn as __ΩPluginHooksList, Kr as VirtualFileMetadata, Kt as __ΩInitContextOptions, L as __ΩCleanInlineConfig, Ln as __ΩCallHookOptions, Lr as __ΩCommandType, Lt as WorkerProcess, M as ResolvedEntryTypeDefinition, Mn as UnpluginHookFunctions, Mr as __ΩUnpluginUserConfig, Mt as SourceFile, N as UserConfig, Nn as UnpluginHookList, Nr as API, Nt as TransformResult, O as ResolveConfig, On as InferHookThisType, Or as __ΩInferUnpluginVariant, Ot as Resolver, P as WorkspaceConfig, Pn as UnpluginHookVariant, Pr as __ΩAPI, Pt as UnimportContext, Q as __ΩParsedUserConfig, Qn as __ΩUnpluginHooksListItem, Qr as __ΩStoragePort, Qt as __ΩSelectHookResult, R as __ΩConfig, Rn as __ΩHookFields, Rr as __ΩCommands, Rt as __ΩAPIContext, S as PluginConfigObject, Sn as HookFields, Sr as UnpluginBuilderVariant, St as FetchOptions, T as PowerlinesCommand, Tn as InferHookFunction, Tr as UnpluginUserConfig, Tt as ParseOptions, U as __ΩEnvironmentResolvedConfig, Un as __ΩInferHookReturnType, Ur as VirtualFile, Ut as __ΩEnvironmentContext, V as __ΩDocsInlineConfig, Vn as __ΩInferHookFunction, Vr as StoragePort, Vt as __ΩEmitEntryOptions, W as __ΩInitialUserConfig, Wn as __ΩInferHookThisType, Wr as VirtualFileData, Wt as __ΩEnvironmentContextPlugin, X as __ΩOutputConfig, Xn as __ΩUnpluginHookVariant, Xr as __ΩResolveOptions, Xt as __ΩResolveResult, Y as __ΩNewInlineConfig, Yn as __ΩUnpluginHookList, Yr as WriteOptions, Yt as __ΩPluginContext, Z as __ΩOutputResolvedConfig, Zn as __ΩUnpluginHookVariantField, Zr as __ΩStorageAdapter, Zt as __ΩResolver, _ as OutputResolvedConfig, _n as __ΩReflectionLevel, _r as __ΩPluginNonHookFields, _t as Context, a as ConfigEnv, ai as __ΩWriteData, an as __ΩWithUnpluginBuildContext, ar as PluginHookObject, at as __ΩPowerlinesCommand, b as PartialPluginFactory, bn as __ΩTSConfig, br as InferUnpluginOptions, bt as EnvironmentContext, c as EnvironmentConfig, cn as ParsedTypeScriptConfig, cr as TypesResult, ct as __ΩResolveConfig, d as InlineConfig, dn as ReflectionMode, dr as __ΩPluginFields, dt as __ΩResolvedConfig, ei as __ΩVirtualFile, en as __ΩSelectHooksOptions, er as Plugin, et as __ΩPartialPluginFactory, f as LintInlineConfig, fn as TSCompilerOptions, fr as __ΩPluginHook, ft as __ΩResolvedEntryTypeDefinition, g as OutputConfig, gn as __ΩRawReflectionMode, gr as __ΩPluginHooks, gt as BuildPluginContext, h as NewInlineConfig, hn as __ΩParsedTypeScriptConfig, hr as __ΩPluginHookObject, ht as APIContext, i as Config, ii as __ΩVirtualFileSystemInterface, in as __ΩUnresolvedContext, ir as PluginHookFunctions, it as __ΩPluginFactory, j as ResolvedConfig, jn as PluginHooksListItem, jr as __ΩUnpluginOptions, jt as SelectHooksOptions, k as ResolveResolvedConfig, kn as InferHooksListItem, kr as __ΩUnpluginBuilderVariant, kt as SelectHookResult, l as EnvironmentResolvedConfig, ln as RawReflectionMode, lr as __ΩHooks, lt as __ΩResolveResolvedConfig, m as LogLevel, mn as __ΩDeepkitOptions, mr as __ΩPluginHookFunctions, mt as __ΩWorkspaceConfig, n as BuildInlineConfig, ni as __ΩVirtualFileExtension, nn as __ΩTransformResult, nr as PluginHook, nt as __ΩPluginConfigObject, o as DeployInlineConfig, oi as __ΩWriteOptions, on as __ΩWorkerProcess, or as PluginHooks, ot as __ΩPrepareInlineConfig, p as LogFn, pn as TSConfig, pr as __ΩPluginHookFields, pt as __ΩUserConfig, q as __ΩLogFn, qn as __ΩPluginHooksListItem, qr as VirtualFileSystemInterface, qt as __ΩMetaInfo, r as CleanInlineConfig, ri as __ΩVirtualFileMetadata, rn as __ΩUnimportContext, rr as PluginHookFields, rt as __ΩPluginConfigTuple, s as DocsInlineConfig, sn as DeepkitOptions, sr as PluginNonHookFields, st as __ΩProjectType, t as AnyUserConfig, ti as __ΩVirtualFileData, tn as __ΩSourceFile, tr as PluginFields, tt as __ΩPluginConfig, u as InitialUserConfig, un as ReflectionLevel, ur as __ΩPlugin, ut as __ΩResolvedAssetGlob, v as ParsedUserConfig, vn as __ΩReflectionMode, vr as __ΩTypesResult, vt as EmitEntryOptions, w as PluginFactory, wn as HooksList, wr as UnpluginOptions, wt as MetaInfo, x as PluginConfig, xn as CallHookOptions, xr as InferUnpluginVariant, xt as EnvironmentContextPlugin, y as PartialPlugin, yn as __ΩTSCompilerOptions, yr as BuilderVariant, yt as EmitOptions, z as __ΩConfigEnv, zn as __ΩHookListOrders, zr as ResolveOptions, zt as __ΩBuildPluginContext } from "./config-CK756s0L.mjs";
|
|
2
2
|
import { a as loadWorkspaceConfig, i as loadUserConfigFile, n as __ΩPartiallyResolvedContext, r as defineConfig, t as PartiallyResolvedContext } from "./config-CiPXgwzt.mjs";
|
|
3
3
|
import { C as resolveInputs, S as resolveInput, _ as extendLog, a as getString, b as isTypeDefinition, c as FileHeaderOptions, d as getFileHeaderWarning, f as getFileHeaderWarningText, g as createLog, h as __ΩCreateLogOptions, i as getSourceFile, l as __ΩFileHeaderOptions, m as CreateLogOptions, n as generateSourceMap, o as format, p as getTypescriptFileHeader, r as getMagicString, s as formatFolder, t as writeFile, u as getFileHeader, v as getUniqueInputs, w as resolveInputsSync, x as resolveEntryOutput, y as isResolvedEntryTypeDefinition } from "./index-C7W0kmm7.mjs";
|
|
4
|
-
import { a as createUnplugin, c as __ΩCreateUnpluginModuleResolutionFunctionsOptions, d as isUnpluginBuilderVariant, i as __ΩCreateUnpluginResolverOptions, l as createUnpluginModuleResolutionFunctions, n as CreateUnpluginResolverOptions, o as createUnpluginResolver, r as __ΩCreateUnpluginOptions, s as CreateUnpluginModuleResolutionFunctionsOptions, t as CreateUnpluginOptions, u as combineContexts } from "./index-
|
|
4
|
+
import { a as createUnplugin, c as __ΩCreateUnpluginModuleResolutionFunctionsOptions, d as isUnpluginBuilderVariant, i as __ΩCreateUnpluginResolverOptions, l as createUnpluginModuleResolutionFunctions, n as CreateUnpluginResolverOptions, o as createUnpluginResolver, r as __ΩCreateUnpluginOptions, s as CreateUnpluginModuleResolutionFunctionsOptions, t as CreateUnpluginOptions, u as combineContexts } from "./index-CK6YPeaO.mjs";
|
|
5
5
|
import "./types-Bh_vLuQ0.mjs";
|
|
6
6
|
import { a as FileStorage, c as PowerlinesAPI, i as FileMetadata_KeyValuePair, n as FileId, o as FileSystem, r as FileMetadata, s as _capnpFileId, t as createPowerlines } from "./index-6BLROVtJ.mjs";
|
|
7
7
|
export { API, APIContext, AnyUserConfig, BuildInlineConfig, BuildPluginContext, BuilderVariant, CallHookOptions, CleanInlineConfig, CommandType, Commands, Config, ConfigEnv, Context, CreateLogOptions, CreateUnpluginModuleResolutionFunctionsOptions, CreateUnpluginOptions, CreateUnpluginResolverOptions, DeepkitOptions, DeployInlineConfig, DocsInlineConfig, EmitEntryOptions, EmitOptions, EnvironmentConfig, EnvironmentContext, EnvironmentContextPlugin, EnvironmentResolvedConfig, FetchOptions, FileHeaderOptions, FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, HookFields, HookListOrders, Hooks, HooksList, InferHookFunction, InferHookParameters, InferHookReturnType, InferHookThisType, InferHooksListItem, InferUnpluginOptions, InferUnpluginVariant, InitContextOptions, InitialUserConfig, InlineConfig, LintInlineConfig, LogFn, LogLevel, MetaInfo, NewInlineConfig, OutputConfig, OutputResolvedConfig, ParseOptions, ParsedTypeScriptConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PartiallyResolvedContext, Plugin, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginContext, PluginFactory, PluginFields, PluginHook, PluginHookFields, PluginHookFunctions, PluginHookObject, PluginHooks, PluginHooksList, PluginHooksListItem, PluginNonHookFields, PowerlinesAPI, PowerlinesAPI as default, PowerlinesCommand, PrepareInlineConfig, ProjectType, RawReflectionMode, ReflectionLevel, ReflectionMode, ResolveConfig, ResolveOptions, ResolveResolvedConfig, ResolveResult, ResolvedAssetGlob, ResolvedConfig, ResolvedEntryTypeDefinition, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, SourceFile, StorageAdapter, StoragePort, StoragePreset, TSCompilerOptions, TSConfig, TransformResult, TypesResult, UnimportContext, UnpluginBuilderVariant, UnpluginFactory, UnpluginHookFunctions, UnpluginHookList, UnpluginHookVariant, UnpluginHookVariantField, UnpluginHooksListItem, UnpluginOptions, UnpluginUserConfig, UnresolvedContext, UserConfig, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WithUnpluginBuildContext, WorkerProcess, WorkspaceConfig, WriteData, WriteOptions, __ΩAPI, __ΩAPIContext, __ΩAnyUserConfig, __ΩBuildInlineConfig, __ΩBuildPluginContext, __ΩBuilderVariant, __ΩCallHookOptions, __ΩCleanInlineConfig, __ΩCommandType, __ΩCommands, __ΩConfig, __ΩConfigEnv, __ΩContext, __ΩCreateLogOptions, __ΩCreateUnpluginModuleResolutionFunctionsOptions, __ΩCreateUnpluginOptions, __ΩCreateUnpluginResolverOptions, __ΩDeepkitOptions, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEmitEntryOptions, __ΩEmitOptions, __ΩEnvironmentConfig, __ΩEnvironmentContext, __ΩEnvironmentContextPlugin, __ΩEnvironmentResolvedConfig, __ΩFetchOptions, __ΩFileHeaderOptions, __ΩHookFields, __ΩHookListOrders, __ΩHooks, __ΩHooksList, __ΩInferHookFunction, __ΩInferHookParameters, __ΩInferHookReturnType, __ΩInferHookThisType, __ΩInferHooksListItem, __ΩInferUnpluginOptions, __ΩInferUnpluginVariant, __ΩInitContextOptions, __ΩInitialUserConfig, __ΩInlineConfig, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩMetaInfo, __ΩNewInlineConfig, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParseOptions, __ΩParsedTypeScriptConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPartiallyResolvedContext, __ΩPlugin, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginContext, __ΩPluginFactory, __ΩPluginFields, __ΩPluginHook, __ΩPluginHookFields, __ΩPluginHookFunctions, __ΩPluginHookObject, __ΩPluginHooks, __ΩPluginHooksList, __ΩPluginHooksListItem, __ΩPluginNonHookFields, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩRawReflectionMode, __ΩReflectionLevel, __ΩReflectionMode, __ΩResolveConfig, __ΩResolveOptions, __ΩResolveResolvedConfig, __ΩResolveResult, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEntryTypeDefinition, __ΩResolver, __ΩSelectHookResult, __ΩSelectHookResultItem, __ΩSelectHooksOptions, __ΩSourceFile, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩTSCompilerOptions, __ΩTSConfig, __ΩTransformResult, __ΩTypesResult, __ΩUnimportContext, __ΩUnpluginBuilderVariant, __ΩUnpluginFactory, __ΩUnpluginHookFunctions, __ΩUnpluginHookList, __ΩUnpluginHookVariant, __ΩUnpluginHookVariantField, __ΩUnpluginHooksListItem, __ΩUnpluginOptions, __ΩUnpluginUserConfig, __ΩUnresolvedContext, __ΩUserConfig, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWithUnpluginBuildContext, __ΩWorkerProcess, __ΩWorkspaceConfig, __ΩWriteData, __ΩWriteOptions, _capnpFileId, combineContexts, createLog, createPowerlines, createUnplugin, createUnpluginModuleResolutionFunctions, createUnpluginResolver, defineConfig, extendLog, format, formatFolder, generateSourceMap, getFileHeader, getFileHeaderWarning, getFileHeaderWarningText, getMagicString, getSourceFile, getString, getTypescriptFileHeader, getUniqueInputs, isResolvedEntryTypeDefinition, isTypeDefinition, isUnpluginBuilderVariant, loadUserConfigFile, loadWorkspaceConfig, resolveEntryOutput, resolveInput, resolveInputs, resolveInputsSync, writeFile };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _capnpFileId, f as FileId, g as FileSystem, h as FileStorage, m as FileMetadata_KeyValuePair, p as FileMetadata, t as PowerlinesAPI } from "./api-
|
|
1
|
+
import { _ as _capnpFileId, f as FileId, g as FileSystem, h as FileStorage, m as FileMetadata_KeyValuePair, p as FileMetadata, t as PowerlinesAPI } from "./api-CT1HMNLh.mjs";
|
|
2
2
|
import "./tsconfig-B92heKit.mjs";
|
|
3
3
|
import "./plugin-utils-C3HnZJl1.mjs";
|
|
4
4
|
import "./plugin-E5foRD0k.mjs";
|
package/dist/next.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./api-
|
|
2
|
+
require('./api-Cq1cUeLx.cjs');
|
|
3
3
|
require('./tsconfig-C8M8X6U0.cjs');
|
|
4
4
|
require('./plugin-utils-Ck3cx3w6.cjs');
|
|
5
5
|
require('./plugin-CZ_PJPpQ.cjs');
|
|
@@ -8,7 +8,7 @@ require('./constants-CZh5rsgh.cjs');
|
|
|
8
8
|
require('./config-D86Vw7SC.cjs');
|
|
9
9
|
require('./utils-BbDma_5Y.cjs');
|
|
10
10
|
require('./virtual-B1MLgqnQ.cjs');
|
|
11
|
-
const require_webpack = require('./webpack-
|
|
11
|
+
const require_webpack = require('./webpack-0YhRQr-B.cjs');
|
|
12
12
|
|
|
13
13
|
//#region src/next.ts
|
|
14
14
|
/**
|
package/dist/next.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./api-
|
|
1
|
+
import "./api-CT1HMNLh.mjs";
|
|
2
2
|
import "./tsconfig-B92heKit.mjs";
|
|
3
3
|
import "./plugin-utils-C3HnZJl1.mjs";
|
|
4
4
|
import "./plugin-E5foRD0k.mjs";
|
|
@@ -7,7 +7,7 @@ import "./constants-cXxSHhNp.mjs";
|
|
|
7
7
|
import "./config-D4Fh2gQL.mjs";
|
|
8
8
|
import "./utils-DoQcX7Sk.mjs";
|
|
9
9
|
import "./virtual-B9imjOqe.mjs";
|
|
10
|
-
import { n as webpack_default } from "./webpack-
|
|
10
|
+
import { n as webpack_default } from "./webpack-Bca7BjFU.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/next.ts
|
|
13
13
|
/**
|
package/dist/nuxt.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
3
|
-
const require_api = require('./api-
|
|
3
|
+
const require_api = require('./api-Cq1cUeLx.cjs');
|
|
4
4
|
require('./tsconfig-C8M8X6U0.cjs');
|
|
5
5
|
require('./plugin-utils-Ck3cx3w6.cjs');
|
|
6
6
|
require('./plugin-CZ_PJPpQ.cjs');
|
|
@@ -12,8 +12,8 @@ require('./virtual-B1MLgqnQ.cjs');
|
|
|
12
12
|
require('./resolve-options-BQnTgg3V.cjs');
|
|
13
13
|
require('./resolve-options-vyFhhkLp.cjs');
|
|
14
14
|
require('./resolve-options-lxQ2pm0W.cjs');
|
|
15
|
-
const require_vite = require('./vite-
|
|
16
|
-
const require_webpack = require('./webpack-
|
|
15
|
+
const require_vite = require('./vite-DwAQ0nZ5.cjs');
|
|
16
|
+
const require_webpack = require('./webpack-0YhRQr-B.cjs');
|
|
17
17
|
let __nuxt_kit = require("@nuxt/kit");
|
|
18
18
|
|
|
19
19
|
//#region src/nuxt.ts
|
package/dist/nuxt.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { N as UserConfig } from "./config-CK756s0L.mjs";
|
|
2
2
|
import "./config-CiPXgwzt.mjs";
|
|
3
3
|
import "./index-C7W0kmm7.mjs";
|
|
4
|
-
import "./index-
|
|
4
|
+
import "./index-CK6YPeaO.mjs";
|
|
5
5
|
import "./types-Bh_vLuQ0.mjs";
|
|
6
6
|
import * as _nuxt_schema0 from "@nuxt/schema";
|
|
7
7
|
|
package/dist/nuxt.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as name, y as version } from "./api-
|
|
1
|
+
import { v as name, y as version } from "./api-CT1HMNLh.mjs";
|
|
2
2
|
import "./tsconfig-B92heKit.mjs";
|
|
3
3
|
import "./plugin-utils-C3HnZJl1.mjs";
|
|
4
4
|
import "./plugin-E5foRD0k.mjs";
|
|
@@ -10,8 +10,8 @@ import "./virtual-B9imjOqe.mjs";
|
|
|
10
10
|
import "./resolve-options-DHL3RM8F.mjs";
|
|
11
11
|
import "./resolve-options-6sXFqzEA.mjs";
|
|
12
12
|
import "./resolve-options-D-RGs8j8.mjs";
|
|
13
|
-
import { n as vite_default } from "./vite-
|
|
14
|
-
import { n as webpack_default } from "./webpack-
|
|
13
|
+
import { n as vite_default } from "./vite-62muOctS.mjs";
|
|
14
|
+
import { n as webpack_default } from "./webpack-Bca7BjFU.mjs";
|
|
15
15
|
import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
|
|
16
16
|
|
|
17
17
|
//#region src/nuxt.ts
|
|
@@ -22,14 +22,15 @@ declare function isUnpluginBuilderVariant(str: unknown): str is UnpluginBuilderV
|
|
|
22
22
|
//#region ../core/src/lib/unplugin/module-resolution.d.ts
|
|
23
23
|
interface CreateUnpluginModuleResolutionFunctionsOptions {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* An indicator of whether to prefix virtual module IDs with a specific string. This is useful for ensuring that virtual modules are only processed by the plugin and not by other plugins or the bundler itself.
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
|
-
* If set to `
|
|
28
|
+
* - If set to `true`, virtual module IDs will be prefixed with the string `\0powerlines:`.
|
|
29
|
+
* - If set to `false`, no prefix will be added to virtual module IDs.
|
|
29
30
|
*
|
|
30
|
-
* @defaultValue
|
|
31
|
+
* @defaultValue true
|
|
31
32
|
*/
|
|
32
|
-
prefix?:
|
|
33
|
+
prefix?: boolean;
|
|
33
34
|
}
|
|
34
35
|
/**
|
|
35
36
|
* Creates the module resolution hook functions for a Powerlines unplugin plugin instance.
|
|
@@ -41,6 +42,7 @@ interface CreateUnpluginModuleResolutionFunctionsOptions {
|
|
|
41
42
|
* @see https://rollupjs.org/plugin-development/#load
|
|
42
43
|
*
|
|
43
44
|
* @param context - The plugin context.
|
|
45
|
+
* @param options - Options for creating the module resolution functions.
|
|
44
46
|
* @returns The module resolution hooks (`resolveId` and `load`).
|
|
45
47
|
*/
|
|
46
48
|
declare function createUnpluginModuleResolutionFunctions<TContext extends PluginContext = PluginContext>(context: TContext, options?: CreateUnpluginModuleResolutionFunctionsOptions): Pick<UnpluginOptions, "resolveId" | "load">;
|
|
@@ -77,4 +79,4 @@ declare type __ΩCreateUnpluginResolverOptions = any[];
|
|
|
77
79
|
declare type __ΩCreateUnpluginOptions = any[];
|
|
78
80
|
//#endregion
|
|
79
81
|
export { createUnplugin as a, __ΩCreateUnpluginModuleResolutionFunctionsOptions as c, isUnpluginBuilderVariant as d, __ΩCreateUnpluginResolverOptions as i, createUnpluginModuleResolutionFunctions as l, CreateUnpluginResolverOptions as n, createUnpluginResolver as o, __ΩCreateUnpluginOptions as r, CreateUnpluginModuleResolutionFunctionsOptions as s, CreateUnpluginOptions as t, combineContexts as u };
|
|
80
|
-
//# sourceMappingURL=plugin-
|
|
82
|
+
//# sourceMappingURL=plugin-BEVE4I3A.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-BEVE4I3A.d.cts","names":[],"sources":["../../core/src/lib/unplugin/helpers.ts","../../core/src/lib/unplugin/module-resolution.ts","../../core/src/lib/unplugin/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;AAgCA;;;;;;AAGiC,iBAHjB,eAGiB,CAAA,kBAFb,iBAEa,GAFO,oBAEP,EAAA,kBADb,iBACa,GADO,oBACP,CAAA,CAAA,QAAA,EAArB,SAAqB,EAAA,QAAA,EAAA,SAAA,CAAA,EAAY,SAAZ,GAAwB,SAAxB;;;;AAUjC;;;iBAAgB,wBAAA,uBAEN;;;UClBO,8CAAA;;ADGjB;;;;;;;;EAGyD,MAAA,CAAA,EAAA,OAAA;;AAUzD;;;;AChBA;AA6BA;;;;;;;;iBAAgB,yDACG,gBAAgB,wBAExB,oBACA,iDACR,KAAK;;;;UCzBS,6BAAA,SAAsC;EFNvC;;;;;;;;EAGyC,IAAA,CAAA,EAAA,MAAA;;AAUzD;;;;AChBA;AA6BA;AACmB,iBCHH,sBDGG,CAAA,iBCFA,aDEA,GCFgB,aDEhB,CAAA,CAAA,OAAA,ECAR,QDAQ,EAAA,OAAA,CAAA,ECCR,6BDDQ,CAAA,ECEhB,eDFgB,CCEA,QDFA,CAAA;AAAgB,UCwClB,qBAAA,SAA8B,6BDxCZ,CAAA;;;;;;;iBCgDnB,gCAAgC,gBAAgB,wBACrD,oBACA,wBACR,gBAAgB;;AAxEF,wCAA8B,GAAQ,EAAA"}
|
package/dist/plugin-utils.d.cts
CHANGED
|
@@ -142,11 +142,11 @@ declare function extractPluginHook<TContext extends PluginContext = PluginContex
|
|
|
142
142
|
isEntry: boolean;
|
|
143
143
|
}) => _stryke_types_base0.MaybePromise<string | ResolveResult | null | undefined>, never> & ((this: unplugin0.UnpluginBuildContext & PluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
|
|
144
144
|
isEntry: boolean;
|
|
145
|
-
}) => _stryke_types_base0.MaybePromise<string | ResolveResult | null | undefined>)) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>) & ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>)) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>) & PluginHookObject<(this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>, never>) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>) & (TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>) | (PluginHookObject<(this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T_1 ? { [K in keyof T_1]?: (T_1[K] extends infer T_2 ? { [K_2 in keyof T_2]?: (T_2[K_2] extends infer T_3 ? { [K_3 in keyof T_3]?: (T_3[K_3] extends infer T_4 ? { [K_4 in keyof T_4]?: (T_4[K_4] extends infer T_5 ? { [K_5 in keyof T_5]?: (T_5[K_5] extends infer T_6 ? { [K_6 in keyof T_6]?: (T_6[K_6] extends infer T_7 ? { [K_7 in keyof T_7]?: (T_7[K_7] extends infer T_8 ? { [K_8 in keyof T_8]?: (T_8[K_8] extends infer T_9 ? { [K_9 in keyof T_9]?: (T_9[K_9] extends infer T_10 ? { [K_10 in keyof T_10]?: (T_10[K_10] extends infer T_11 ? { [K_11 in keyof T_11]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>, never> & ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T_1 ? { [K in keyof T_1]?: (T_1[K] extends infer T_2 ? { [K_2 in keyof T_2]?: (T_2[K_2] extends infer T_3 ? { [K_3 in keyof T_3]?: (T_3[K_3] extends infer T_4 ? { [K_4 in keyof T_4]?: (T_4[K_4] extends infer T_5 ? { [K_5 in keyof T_5]?: (T_5[K_5] extends infer T_6 ? { [K_6 in keyof T_6]?: (T_6[K_6] extends infer T_7 ? { [K_7 in keyof T_7]?: (T_7[K_7] extends infer T_8 ? { [K_8 in keyof T_8]?: (T_8[K_8] extends infer T_9 ? { [K_9 in keyof T_9]?: (T_9[K_9] extends infer T_10 ? { [K_10 in keyof T_10]?: (T_10[K_10] extends infer T_11 ? { [K_11 in keyof T_11]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>)) | ((this: TContext) => _stryke_types_base0.MaybePromise<void>) | ((this: unplugin0.UnpluginBuildContext & PluginContext<TContext["config"]> & TContext) => _stryke_types_base0.MaybePromise<void>) | ((this:
|
|
145
|
+
}) => _stryke_types_base0.MaybePromise<string | ResolveResult | null | undefined>)) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>) & ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>)) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>) & PluginHookObject<(this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>, never>) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>) & (TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>) | (PluginHookObject<(this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T_1 ? { [K in keyof T_1]?: (T_1[K] extends infer T_2 ? { [K_2 in keyof T_2]?: (T_2[K_2] extends infer T_3 ? { [K_3 in keyof T_3]?: (T_3[K_3] extends infer T_4 ? { [K_4 in keyof T_4]?: (T_4[K_4] extends infer T_5 ? { [K_5 in keyof T_5]?: (T_5[K_5] extends infer T_6 ? { [K_6 in keyof T_6]?: (T_6[K_6] extends infer T_7 ? { [K_7 in keyof T_7]?: (T_7[K_7] extends infer T_8 ? { [K_8 in keyof T_8]?: (T_8[K_8] extends infer T_9 ? { [K_9 in keyof T_9]?: (T_9[K_9] extends infer T_10 ? { [K_10 in keyof T_10]?: (T_10[K_10] extends infer T_11 ? { [K_11 in keyof T_11]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>, never> & ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T_1 ? { [K in keyof T_1]?: (T_1[K] extends infer T_2 ? { [K_2 in keyof T_2]?: (T_2[K_2] extends infer T_3 ? { [K_3 in keyof T_3]?: (T_3[K_3] extends infer T_4 ? { [K_4 in keyof T_4]?: (T_4[K_4] extends infer T_5 ? { [K_5 in keyof T_5]?: (T_5[K_5] extends infer T_6 ? { [K_6 in keyof T_6]?: (T_6[K_6] extends infer T_7 ? { [K_7 in keyof T_7]?: (T_7[K_7] extends infer T_8 ? { [K_8 in keyof T_8]?: (T_8[K_8] extends infer T_9 ? { [K_9 in keyof T_9]?: (T_9[K_9] extends infer T_10 ? { [K_10 in keyof T_10]?: (T_10[K_10] extends infer T_11 ? { [K_11 in keyof T_11]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>)) | ((this: unplugin0.UnpluginBuildContext & PluginContext<TContext["config"]> & TContext) => _stryke_types_base0.MaybePromise<void>) | ((this: unplugin0.UnpluginBuildContext & PluginContext<TContext["config"]> & TContext) => _stryke_types_base0.MaybePromise<void>) | ((this: TContext) => _stryke_types_base0.MaybePromise<void>) | ((this: TContext) => _stryke_types_base0.MaybePromise<void>) | ((this: TContext, name: string, environment: EnvironmentConfig) => _stryke_types_base0.MaybePromise<Partial<EnvironmentResolvedConfig> | undefined | null>) | ((this: TContext) => _stryke_types_base0.MaybePromise<void>) | ((this: TContext, code: string) => _stryke_types_base0.MaybePromise<TypesResult | string | undefined | null>)>;
|
|
146
146
|
} | {
|
|
147
147
|
[x: string]: OmitThisParameter<((this: unplugin0.UnpluginBuildContext & PluginContext<TContext["config"]> & TContext, code: string, id: string) => _stryke_types_base0.MaybePromise<unplugin0.TransformResult>) | ((this: unplugin0.UnpluginBuildContext & PluginContext<TContext["config"]> & TContext, id: string) => _stryke_types_base0.MaybePromise<rollup1.LoadResult>) | ((this: unplugin0.UnpluginBuildContext & PluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
|
|
148
148
|
isEntry: boolean;
|
|
149
|
-
}) => _stryke_types_base0.MaybePromise<string | ResolveResult | null | undefined>) | ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T_1 ? { [K in keyof T_1]?: (T_1[K] extends infer T_2 ? { [K_2 in keyof T_2]?: (T_2[K_2] extends infer T_3 ? { [K_3 in keyof T_3]?: (T_3[K_3] extends infer T_4 ? { [K_4 in keyof T_4]?: (T_4[K_4] extends infer T_5 ? { [K_5 in keyof T_5]?: (T_5[K_5] extends infer T_6 ? { [K_6 in keyof T_6]?: (T_6[K_6] extends infer T_7 ? { [K_7 in keyof T_7]?: (T_7[K_7] extends infer T_8 ? { [K_8 in keyof T_8]?: (T_8[K_8] extends infer T_9 ? { [K_9 in keyof T_9]?: (T_9[K_9] extends infer T_10 ? { [K_10 in keyof T_10]?: (T_10[K_10] extends infer T_11 ? { [K_11 in keyof T_11]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T_1 ? { [K in keyof T_1]?: (T_1[K] extends infer T_2 ? { [K_2 in keyof T_2]?: (T_2[K_2] extends infer T_3 ? { [K_3 in keyof T_3]?: (T_3[K_3] extends infer T_4 ? { [K_4 in keyof T_4]?: (T_4[K_4] extends infer T_5 ? { [K_5 in keyof T_5]?: (T_5[K_5] extends infer T_6 ? { [K_6 in keyof T_6]?: (T_6[K_6] extends infer T_7 ? { [K_7 in keyof T_7]?: (T_7[K_7] extends infer T_8 ? { [K_8 in keyof T_8]?: (T_8[K_8] extends infer T_9 ? { [K_9 in keyof T_9]?: (T_9[K_9] extends infer T_10 ? { [K_10 in keyof T_10]?: (T_10[K_10] extends infer T_11 ? { [K_11 in keyof T_11]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>) & ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T_1 ? { [K in keyof T_1]?: (T_1[K] extends infer T_2 ? { [K_2 in keyof T_2]?: (T_2[K_2] extends infer T_3 ? { [K_3 in keyof T_3]?: (T_3[K_3] extends infer T_4 ? { [K_4 in keyof T_4]?: (T_4[K_4] extends infer T_5 ? { [K_5 in keyof T_5]?: (T_5[K_5] extends infer T_6 ? { [K_6 in keyof T_6]?: (T_6[K_6] extends infer T_7 ? { [K_7 in keyof T_7]?: (T_7[K_7] extends infer T_8 ? { [K_8 in keyof T_8]?: (T_8[K_8] extends infer T_9 ? { [K_9 in keyof T_9]?: (T_9[K_9] extends infer T_10 ? { [K_10 in keyof T_10]?: (T_10[K_10] extends infer T_11 ? { [K_11 in keyof T_11]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>)) | ((this: TContext) => _stryke_types_base0.MaybePromise<void>) | ((this: unplugin0.UnpluginBuildContext & PluginContext<TContext["config"]> & TContext) => _stryke_types_base0.MaybePromise<void>) | ((this:
|
|
149
|
+
}) => _stryke_types_base0.MaybePromise<string | ResolveResult | null | undefined>) | ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T_1 ? { [K in keyof T_1]?: (T_1[K] extends infer T_2 ? { [K_2 in keyof T_2]?: (T_2[K_2] extends infer T_3 ? { [K_3 in keyof T_3]?: (T_3[K_3] extends infer T_4 ? { [K_4 in keyof T_4]?: (T_4[K_4] extends infer T_5 ? { [K_5 in keyof T_5]?: (T_5[K_5] extends infer T_6 ? { [K_6 in keyof T_6]?: (T_6[K_6] extends infer T_7 ? { [K_7 in keyof T_7]?: (T_7[K_7] extends infer T_8 ? { [K_8 in keyof T_8]?: (T_8[K_8] extends infer T_9 ? { [K_9 in keyof T_9]?: (T_9[K_9] extends infer T_10 ? { [K_10 in keyof T_10]?: (T_10[K_10] extends infer T_11 ? { [K_11 in keyof T_11]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T_1 ? { [K in keyof T_1]?: (T_1[K] extends infer T_2 ? { [K_2 in keyof T_2]?: (T_2[K_2] extends infer T_3 ? { [K_3 in keyof T_3]?: (T_3[K_3] extends infer T_4 ? { [K_4 in keyof T_4]?: (T_4[K_4] extends infer T_5 ? { [K_5 in keyof T_5]?: (T_5[K_5] extends infer T_6 ? { [K_6 in keyof T_6]?: (T_6[K_6] extends infer T_7 ? { [K_7 in keyof T_7]?: (T_7[K_7] extends infer T_8 ? { [K_8 in keyof T_8]?: (T_8[K_8] extends infer T_9 ? { [K_9 in keyof T_9]?: (T_9[K_9] extends infer T_10 ? { [K_10 in keyof T_10]?: (T_10[K_10] extends infer T_11 ? { [K_11 in keyof T_11]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>) & ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base0.MaybePromise<(TContext["config"] extends infer T_1 ? { [K in keyof T_1]?: (T_1[K] extends infer T_2 ? { [K_2 in keyof T_2]?: (T_2[K_2] extends infer T_3 ? { [K_3 in keyof T_3]?: (T_3[K_3] extends infer T_4 ? { [K_4 in keyof T_4]?: (T_4[K_4] extends infer T_5 ? { [K_5 in keyof T_5]?: (T_5[K_5] extends infer T_6 ? { [K_6 in keyof T_6]?: (T_6[K_6] extends infer T_7 ? { [K_7 in keyof T_7]?: (T_7[K_7] extends infer T_8 ? { [K_8 in keyof T_8]?: (T_8[K_8] extends infer T_9 ? { [K_9 in keyof T_9]?: (T_9[K_9] extends infer T_10 ? { [K_10 in keyof T_10]?: (T_10[K_10] extends infer T_11 ? { [K_11 in keyof T_11]?: /*elided*/any | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) | undefined } : never) & Record<string, any>>)) | ((this: unplugin0.UnpluginBuildContext & PluginContext<TContext["config"]> & TContext) => _stryke_types_base0.MaybePromise<void>) | ((this: unplugin0.UnpluginBuildContext & PluginContext<TContext["config"]> & TContext) => _stryke_types_base0.MaybePromise<void>) | ((this: TContext) => _stryke_types_base0.MaybePromise<void>) | ((this: TContext) => _stryke_types_base0.MaybePromise<void>) | ((this: TContext, name: string, environment: EnvironmentConfig) => _stryke_types_base0.MaybePromise<Partial<EnvironmentResolvedConfig> | undefined | null>) | ((this: TContext) => _stryke_types_base0.MaybePromise<void>) | ((this: TContext, code: string) => _stryke_types_base0.MaybePromise<TypesResult | string | undefined | null>)>;
|
|
150
150
|
normal?: undefined;
|
|
151
151
|
} | undefined;
|
|
152
152
|
/**
|