powerlines 0.42.30 → 0.42.32
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-D6i8MmbC.mjs +6063 -0
- package/dist/api-D6i8MmbC.mjs.map +1 -0
- package/dist/api-DZoRNTY7.cjs +6083 -0
- package/dist/{api-context-AY_byIdN.mjs → api-context-BQi9M07D.mjs} +414 -6
- package/dist/api-context-BQi9M07D.mjs.map +1 -0
- package/dist/{api-context-BTrJUKNX.cjs → api-context-k3dnn5KR.cjs} +425 -9
- package/dist/astro.cjs +4 -5
- package/dist/astro.d.cts +2 -2
- package/dist/astro.d.cts.map +1 -1
- package/dist/astro.d.mts +2 -2
- package/dist/astro.d.mts.map +1 -1
- package/dist/astro.mjs +3 -3
- package/dist/astro.mjs.map +1 -1
- package/dist/base-Bl_AMAlI.d.cts +12 -0
- package/dist/base-Bl_AMAlI.d.cts.map +1 -0
- package/dist/base-hjCHfNY6.d.mts +12 -0
- package/dist/base-hjCHfNY6.d.mts.map +1 -0
- package/dist/{chunk-AIJqnxB6.cjs → chunk-7azAqIA9.cjs} +7 -0
- package/dist/{chunk-CtajNgzt.mjs → chunk-WJdhOJK3.mjs} +10 -1
- package/dist/config.cjs +1 -1
- package/dist/config.mjs +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/context/index.cjs +1 -1
- package/dist/context/index.d.cts +260 -1
- package/dist/context/index.d.cts.map +1 -1
- package/dist/context/index.d.mts +260 -1
- package/dist/context/index.d.mts.map +1 -1
- package/dist/context/index.mjs +1 -1
- package/dist/esbuild.cjs +3 -10
- package/dist/esbuild.d.cts +2 -2
- package/dist/esbuild.d.cts.map +1 -1
- package/dist/esbuild.d.mts +2 -2
- package/dist/esbuild.d.mts.map +1 -1
- package/dist/esbuild.mjs +2 -2
- package/dist/esbuild.mjs.map +1 -1
- package/dist/farm.cjs +5 -6
- package/dist/farm.d.cts +2 -2
- package/dist/farm.d.cts.map +1 -1
- package/dist/farm.d.mts +2 -2
- package/dist/farm.d.mts.map +1 -1
- package/dist/farm.mjs +2 -2
- package/dist/farm.mjs.map +1 -1
- package/dist/index.cjs +5 -7
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/dist/next.cjs +5 -6
- package/dist/next.d.cts +2 -2
- package/dist/next.d.cts.map +1 -1
- package/dist/next.d.mts +2 -2
- package/dist/next.d.mts.map +1 -1
- package/dist/next.mjs +4 -4
- package/dist/next.mjs.map +1 -1
- package/dist/nuxt.cjs +8 -9
- package/dist/nuxt.d.cts +2 -2
- package/dist/nuxt.d.cts.map +1 -1
- package/dist/nuxt.d.mts +2 -2
- package/dist/nuxt.d.mts.map +1 -1
- package/dist/nuxt.mjs +7 -7
- package/dist/nuxt.mjs.map +1 -1
- package/dist/plugin-utils.cjs +1 -1
- package/dist/plugin-utils.mjs +1 -1
- package/dist/rolldown.cjs +4 -11
- package/dist/rolldown.d.cts +2 -2
- package/dist/rolldown.d.cts.map +1 -1
- package/dist/rolldown.d.mts +2 -2
- package/dist/rolldown.d.mts.map +1 -1
- package/dist/rolldown.mjs +2 -2
- package/dist/rolldown.mjs.map +1 -1
- package/dist/rollup.cjs +4 -11
- package/dist/rollup.d.cts +2 -2
- package/dist/rollup.d.cts.map +1 -1
- package/dist/rollup.d.mts +2 -2
- package/dist/rollup.d.mts.map +1 -1
- package/dist/rollup.mjs +2 -2
- package/dist/rollup.mjs.map +1 -1
- package/dist/rspack.cjs +4 -11
- package/dist/rspack.d.cts +2 -2
- package/dist/rspack.d.cts.map +1 -1
- package/dist/rspack.d.mts +2 -2
- package/dist/rspack.d.mts.map +1 -1
- package/dist/rspack.mjs +2 -2
- package/dist/rspack.mjs.map +1 -1
- package/dist/storage/index.cjs +1 -1
- package/dist/storage/index.d.cts +1 -1
- package/dist/storage/index.d.mts +1 -1
- package/dist/storage/index.mjs +1 -1
- package/dist/{tsconfig-B0kfe_iM.cjs → tsconfig-BhVGZ2DK.cjs} +2 -2
- package/dist/{tsconfig-B8RooiIp.mjs → tsconfig-CzYPBpDS.mjs} +2 -2
- package/dist/{tsconfig-B8RooiIp.mjs.map → tsconfig-CzYPBpDS.mjs.map} +1 -1
- package/dist/tsdown.cjs +5 -12
- package/dist/tsdown.d.cts +2 -2
- package/dist/tsdown.d.cts.map +1 -1
- package/dist/tsdown.d.mts +2 -2
- package/dist/tsdown.d.mts.map +1 -1
- package/dist/tsdown.mjs +3 -3
- package/dist/tsdown.mjs.map +1 -1
- package/dist/tsup.cjs +5 -12
- package/dist/tsup.d.cts +547 -3
- package/dist/tsup.d.cts.map +1 -1
- package/dist/tsup.d.mts +547 -3
- package/dist/tsup.d.mts.map +1 -1
- package/dist/tsup.mjs +3 -3
- package/dist/tsup.mjs.map +1 -1
- package/dist/typescript/index.cjs +2 -2
- package/dist/typescript/index.d.cts +6 -1
- package/dist/typescript/index.d.cts.map +1 -1
- package/dist/typescript/index.d.mts +6 -1
- package/dist/typescript/index.d.mts.map +1 -1
- package/dist/typescript/index.mjs +1 -1
- package/dist/unloader.cjs +5 -6
- package/dist/unloader.d.cts +2 -2
- package/dist/unloader.d.mts +2 -2
- package/dist/unloader.mjs +2 -2
- package/dist/unloader.mjs.map +1 -1
- package/dist/unplugin.cjs +2 -2
- package/dist/unplugin.mjs +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.mjs +1 -1
- package/dist/{virtual-CJChzKrr.cjs → virtual-BHb4iMd_.cjs} +3 -3
- package/dist/{virtual-DB9ki0Y6.mjs → virtual-OEHgBu0s.mjs} +3 -3
- package/dist/{virtual-DB9ki0Y6.mjs.map → virtual-OEHgBu0s.mjs.map} +1 -1
- package/dist/vite.cjs +4 -11
- package/dist/vite.d.cts +2 -2
- package/dist/vite.d.mts +2 -2
- package/dist/vite.mjs +2 -2
- package/dist/vite.mjs.map +1 -1
- package/dist/webpack.cjs +4 -11
- package/dist/webpack.d.cts +2 -2
- package/dist/webpack.d.cts.map +1 -1
- package/dist/webpack.d.mts +2 -2
- package/dist/webpack.d.mts.map +1 -1
- package/dist/webpack.mjs +2 -2
- package/dist/webpack.mjs.map +1 -1
- package/package.json +14 -14
- package/dist/api-BQswQ9mT.mjs +0 -861
- package/dist/api-BQswQ9mT.mjs.map +0 -1
- package/dist/api-D7HzHvkw.cjs +0 -881
- package/dist/api-context-AY_byIdN.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/context/context.ts","../../src/context/api-context.ts","../../src/context/environment-context.ts","../../src/context/plugin-context.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":["PackageJson","Record","PackageJsonPerson","PackageJsonExports","Pick","name","version","description","keywords","homepage","bugs","url","email","license","repository","type","directory","scripts","private","author","contributors","files","main","browser","unpkg","bin","man","dependencies","devDependencies","optionalDependencies","peerDependencies","types","typings","module","exports","imports","workspaces","typesVersions","os","cpu","publishConfig","registry","tag","access","executableFiles","linkDirectory","packageManager","key","PackageJsonExportKey","PackageJsonExportsObject","Array","P"],"sources":["../../../../node_modules/.pnpm/@stryke+types@0.11.3/node_modules/@stryke/types/dist/package-json.d.cts","../../src/context/context.ts","../../src/context/api-context.ts","../../src/context/environment-context.ts","../../src/context/plugin-context.ts"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;UAIUA,WAAAA,SAAoBC,MAAAA;;;;;;;;;EAS5BI,IAAAA;EAmDSH;;;EA/CTI,OAAAA;EAiFeL;;;EA7EfM,WAAAA;EAyHUJ;;;EArHVK,QAAAA;EAsIgBP;;;EAlIhBQ,QAAAA;EAzBkC;;;EA6BlCC,IAAAA;IACEC,GAAAA;IACAC,KAAAA;EAAAA;EANFH;;;EAWAI,OAAAA;EAAAA;;;;EAKAC,UAAAA;IACEC,IAAAA;IACAJ,GAAAA;IAaFO;;;IATEF,SAAAA;EAAAA;EAqBFK;;;EAhBAJ,O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A,eAAA;EHjMjBK;;;;;;;;EAAAA,UGgNiB,MAAA,CACjB,OAAA,EAAS,eAAA,CAAA,kBAAA,CAAmB,eAAA,IAC3B,eAAA,CAAA,kBAAA,CAAmB,eAAA;AAAA;;;;;;;;;;iBC1MR,mBAAA,yBACU,eAAA,CAAA,cAAA,GAAiB,eAAA,CAAA,cAAA,CAAA,CAEzC,MAAA,EAAQ,eAAA,CAAA,MAAA,CAAO,eAAA,CAAA,aAAA,CAAc,eAAA,IAC7B,WAAA,EAAa,2BAAA,CAA4B,eAAA,IACxC,sBAAA,CAAuB,eAAA"}
|
package/dist/context/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as PowerlinesContext, n as PowerlinesEnvironmentContext, r as createPluginContext, t as PowerlinesAPIContext } from "../api-context-
|
|
1
|
+
import { i as PowerlinesContext, n as PowerlinesEnvironmentContext, r as createPluginContext, t as PowerlinesAPIContext } from "../api-context-BQi9M07D.mjs";
|
|
2
2
|
|
|
3
3
|
export { PowerlinesAPIContext, PowerlinesContext, PowerlinesEnvironmentContext, createPluginContext };
|
package/dist/esbuild.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
Object.
|
|
2
|
-
const require_chunk = require('./chunk-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_chunk = require('./chunk-7azAqIA9.cjs');
|
|
3
3
|
const require_unplugin = require('./unplugin.cjs');
|
|
4
4
|
let unplugin = require("unplugin");
|
|
5
5
|
let _powerlines_plugin_esbuild_helpers_resolve_options = require("@powerlines/plugin-esbuild/helpers/resolve-options");
|
|
@@ -42,15 +42,8 @@ const unplugin$1 = (0, unplugin.createEsbuildPlugin)(require_unplugin.createUnpl
|
|
|
42
42
|
}));
|
|
43
43
|
|
|
44
44
|
//#endregion
|
|
45
|
-
exports.
|
|
46
|
-
exports["module.exports"] = unplugin$1;
|
|
45
|
+
exports.esbuild = unplugin$1;
|
|
47
46
|
exports.unplugin = unplugin$1;
|
|
48
|
-
Object.defineProperty(exports, 'esbuild', {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _powerlines_plugin_esbuild.default;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
47
|
Object.defineProperty(exports, 'plugin', {
|
|
55
48
|
enumerable: true,
|
|
56
49
|
get: function () {
|
package/dist/esbuild.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _$esbuild from "esbuild";
|
|
2
2
|
import { EsbuildPluginUserConfig } from "@powerlines/plugin-esbuild/types/plugin";
|
|
3
|
-
import
|
|
3
|
+
import plugin from "@powerlines/plugin-esbuild";
|
|
4
4
|
|
|
5
5
|
//#region src/esbuild.d.ts
|
|
6
6
|
/**
|
|
@@ -21,5 +21,5 @@ import esbuild, { default as plugin } from "@powerlines/plugin-esbuild";
|
|
|
21
21
|
*/
|
|
22
22
|
declare const unplugin: (options: Partial<EsbuildPluginUserConfig>) => _$esbuild.Plugin;
|
|
23
23
|
//#endregion
|
|
24
|
-
export { unplugin as
|
|
24
|
+
export { unplugin as esbuild, unplugin, plugin };
|
|
25
25
|
//# sourceMappingURL=esbuild.d.cts.map
|
package/dist/esbuild.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esbuild.d.cts","names":[],"sources":["../src/esbuild.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"esbuild.d.cts","names":[],"sources":["../src/esbuild.ts"],"mappings":";;;;;;;;AA2CA;;;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAAA,uBAAA,MAAA,SAAA,CAAA,MAAA"}
|
package/dist/esbuild.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import plugin from "@powerlines/plugin-esbuild";
|
|
2
2
|
import * as _$esbuild from "esbuild";
|
|
3
3
|
import { EsbuildPluginUserConfig } from "@powerlines/plugin-esbuild/types/plugin";
|
|
4
4
|
|
|
@@ -21,5 +21,5 @@ import { EsbuildPluginUserConfig } from "@powerlines/plugin-esbuild/types/plugin
|
|
|
21
21
|
*/
|
|
22
22
|
declare const unplugin: (options: Partial<EsbuildPluginUserConfig>) => _$esbuild.Plugin;
|
|
23
23
|
//#endregion
|
|
24
|
-
export { unplugin as
|
|
24
|
+
export { unplugin as esbuild, unplugin, plugin };
|
|
25
25
|
//# sourceMappingURL=esbuild.d.mts.map
|
package/dist/esbuild.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esbuild.d.mts","names":[],"sources":["../src/esbuild.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"esbuild.d.mts","names":[],"sources":["../src/esbuild.ts"],"mappings":";;;;;;;;AA2CA;;;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAAA,uBAAA,MAAA,SAAA,CAAA,MAAA"}
|
package/dist/esbuild.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { createUnpluginFactory } from "./unplugin.mjs";
|
|
|
2
2
|
import { createEsbuildPlugin } from "unplugin";
|
|
3
3
|
import { resolveOptions } from "@powerlines/plugin-esbuild/helpers/resolve-options";
|
|
4
4
|
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
5
|
-
import
|
|
5
|
+
import plugin from "@powerlines/plugin-esbuild";
|
|
6
6
|
|
|
7
7
|
//#region src/esbuild.ts
|
|
8
8
|
/**
|
|
@@ -39,5 +39,5 @@ const unplugin = createEsbuildPlugin(createUnpluginFactory("esbuild", (api, plug
|
|
|
39
39
|
}));
|
|
40
40
|
|
|
41
41
|
//#endregion
|
|
42
|
-
export { unplugin as
|
|
42
|
+
export { unplugin as esbuild, unplugin, plugin };
|
|
43
43
|
//# sourceMappingURL=esbuild.mjs.map
|
package/dist/esbuild.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esbuild.mjs","names":[],"sources":["../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 { 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 {
|
|
1
|
+
{"version":3,"file":"esbuild.mjs","names":[],"sources":["../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 { 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 { default as plugin } 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 { unplugin as esbuild };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA2CA,MAAa,WAAW,oBACtB,sBAAsB,YAAY,KAAK,WAAW;AAChD,QAAO;EACL,GAAG;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,UAAuB;IACnC,MAAM,cAAc,MAAM,IAAI,QAAQ,gBAAgB;AAEtD,WAAO,IAAI,SAAS,iBAAiB,EAAE,aAAa,EAAE,MAAM;;GAE/D;EACF;EACD,CACH"}
|
package/dist/farm.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
Object.
|
|
2
|
-
const require_chunk = require('./chunk-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_chunk = require('./chunk-7azAqIA9.cjs');
|
|
3
3
|
const require_unplugin = require('./unplugin.cjs');
|
|
4
4
|
let unplugin = require("unplugin");
|
|
5
5
|
|
|
@@ -21,9 +21,8 @@ let unplugin = require("unplugin");
|
|
|
21
21
|
*
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
const
|
|
24
|
+
const unplugin$1 = (0, unplugin.createFarmPlugin)(require_unplugin.createUnpluginFactory("farm"));
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports["module.exports"] = farm;
|
|
27
|
+
exports.farm = unplugin$1;
|
|
28
|
+
exports.unplugin = unplugin$1;
|
package/dist/farm.d.cts
CHANGED
|
@@ -19,7 +19,7 @@ import * as _$_farmfe_core0 from "@farmfe/core";
|
|
|
19
19
|
*
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
declare const
|
|
22
|
+
declare const unplugin: (options: Partial<_$_powerlines_core0.UserConfig>) => _$_farmfe_core0.JsPlugin;
|
|
23
23
|
//#endregion
|
|
24
|
-
export {
|
|
24
|
+
export { unplugin as farm, unplugin };
|
|
25
25
|
//# sourceMappingURL=farm.d.cts.map
|
package/dist/farm.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"farm.d.cts","names":[],"sources":["../src/farm.ts"],"mappings":";;;;;;;;AAsCA;;;;;;;;;;;;;cAAa,
|
|
1
|
+
{"version":3,"file":"farm.d.cts","names":[],"sources":["../src/farm.ts"],"mappings":";;;;;;;;AAsCA;;;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAAkD,mBAAA,CAAlD,UAAA,MAAA,eAAA,CAAA,QAAA"}
|
package/dist/farm.d.mts
CHANGED
|
@@ -19,7 +19,7 @@ import * as _$_farmfe_core0 from "@farmfe/core";
|
|
|
19
19
|
*
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
declare const
|
|
22
|
+
declare const unplugin: (options: Partial<_$_powerlines_core0.UserConfig>) => _$_farmfe_core0.JsPlugin;
|
|
23
23
|
//#endregion
|
|
24
|
-
export {
|
|
24
|
+
export { unplugin as farm, unplugin };
|
|
25
25
|
//# sourceMappingURL=farm.d.mts.map
|
package/dist/farm.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"farm.d.mts","names":[],"sources":["../src/farm.ts"],"mappings":";;;;;;;;AAsCA;;;;;;;;;;;;;cAAa,
|
|
1
|
+
{"version":3,"file":"farm.d.mts","names":[],"sources":["../src/farm.ts"],"mappings":";;;;;;;;AAsCA;;;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAAkD,mBAAA,CAAlD,UAAA,MAAA,eAAA,CAAA,QAAA"}
|
package/dist/farm.mjs
CHANGED
|
@@ -19,8 +19,8 @@ import { createFarmPlugin } from "unplugin";
|
|
|
19
19
|
*
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
const
|
|
22
|
+
const unplugin = createFarmPlugin(createUnpluginFactory("farm"));
|
|
23
23
|
|
|
24
24
|
//#endregion
|
|
25
|
-
export {
|
|
25
|
+
export { unplugin as farm, unplugin };
|
|
26
26
|
//# sourceMappingURL=farm.mjs.map
|
package/dist/farm.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"farm.mjs","names":[],"sources":["../src/farm.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 { createFarmPlugin } from \"unplugin\";\nimport { createUnpluginFactory } from \"./unplugin\";\n\n/**\n * A Farm plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://farmjs.dev/plugins/writing-plugins\n *\n * @example\n * ```ts\n * // farm.config.ts\n * import powerlines from \"powerlines/farm\";\n * import { defineConfig } from \"@farmfe/core\";\n *\n * export default defineConfig({\n * plugins: [powerlines({ name: \"example-app\", ... })],\n * });\n *\n * ```\n */\nexport const
|
|
1
|
+
{"version":3,"file":"farm.mjs","names":[],"sources":["../src/farm.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 { createFarmPlugin } from \"unplugin\";\nimport { createUnpluginFactory } from \"./unplugin\";\n\n/**\n * A Farm plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://farmjs.dev/plugins/writing-plugins\n *\n * @example\n * ```ts\n * // farm.config.ts\n * import powerlines from \"powerlines/farm\";\n * import { defineConfig } from \"@farmfe/core\";\n *\n * export default defineConfig({\n * plugins: [powerlines({ name: \"example-app\", ... })],\n * });\n *\n * ```\n */\nexport const unplugin = createFarmPlugin(createUnpluginFactory(\"farm\"));\n\nexport { unplugin as farm };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAsCA,MAAa,WAAW,iBAAiB,sBAAsB,OAAO,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Object.
|
|
2
|
-
const require_chunk = require('./chunk-
|
|
3
|
-
const
|
|
4
|
-
const
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_chunk = require('./chunk-7azAqIA9.cjs');
|
|
3
|
+
const require_api_context = require('./api-context-k3dnn5KR.cjs');
|
|
4
|
+
const require_api = require('./api-DZoRNTY7.cjs');
|
|
5
5
|
let _stryke_fs_get_workspace_root = require("@stryke/fs/get-workspace-root");
|
|
6
6
|
|
|
7
7
|
//#region src/index.ts
|
|
@@ -24,7 +24,6 @@ async function createPowerlines(options = {}) {
|
|
|
24
24
|
const workspaceRoot = (0, _stryke_fs_get_workspace_root.getWorkspaceRoot)(options.root);
|
|
25
25
|
return require_api.PowerlinesAPI.from(workspaceRoot, options);
|
|
26
26
|
}
|
|
27
|
-
var src_default = require_api.PowerlinesAPI;
|
|
28
27
|
|
|
29
28
|
//#endregion
|
|
30
29
|
exports.FileId = require_api_context.FileId;
|
|
@@ -34,5 +33,4 @@ exports.FileStorage = require_api_context.FileStorage;
|
|
|
34
33
|
exports.FileSystem = require_api_context.FileSystem;
|
|
35
34
|
exports.PowerlinesAPI = require_api.PowerlinesAPI;
|
|
36
35
|
exports._capnpFileId = require_api_context._capnpFileId;
|
|
37
|
-
exports.createPowerlines = createPowerlines;
|
|
38
|
-
exports.default = src_default;
|
|
36
|
+
exports.createPowerlines = createPowerlines;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __exportAll, r as __reExport, t as types_d_exports } from "./types-DerAvFjs.cjs";
|
|
2
|
+
import { n as PartialKeys } from "./base-Bl_AMAlI.cjs";
|
|
2
3
|
import * as _$_powerlines_core0 from "@powerlines/core";
|
|
3
|
-
import { PartialKeys } from "@stryke/types/base";
|
|
4
4
|
import * as $ from "@stryke/capnp";
|
|
5
5
|
export * from "@powerlines/core";
|
|
6
6
|
|
|
@@ -259,7 +259,7 @@ declare class FileSystem extends $.Struct {
|
|
|
259
259
|
toString(): string;
|
|
260
260
|
}
|
|
261
261
|
declare namespace index_d_exports {
|
|
262
|
-
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createPowerlines
|
|
262
|
+
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createPowerlines };
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
265
|
* Creates a new {@link PowerlinesAPI} instance.
|
|
@@ -269,5 +269,5 @@ declare namespace index_d_exports {
|
|
|
269
269
|
*/
|
|
270
270
|
declare function createPowerlines(options?: Partial<types_d_exports.UserConfig>): Promise<PowerlinesAPI>;
|
|
271
271
|
//#endregion
|
|
272
|
-
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI,
|
|
272
|
+
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createPowerlines };
|
|
273
273
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as types_d_exports } from "./types-hdziyQIH.mjs";
|
|
2
|
+
import { n as PartialKeys } from "./base-hjCHfNY6.mjs";
|
|
2
3
|
import * as $ from "@stryke/capnp";
|
|
3
4
|
import * as _$_powerlines_core0 from "@powerlines/core";
|
|
4
|
-
import { PartialKeys } from "@stryke/types/base";
|
|
5
5
|
export * from "@powerlines/core";
|
|
6
6
|
|
|
7
7
|
//#region src/api.d.ts
|
|
@@ -259,7 +259,7 @@ declare class FileSystem extends $.Struct {
|
|
|
259
259
|
toString(): string;
|
|
260
260
|
}
|
|
261
261
|
declare namespace index_d_exports {
|
|
262
|
-
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createPowerlines
|
|
262
|
+
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createPowerlines };
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
265
|
* Creates a new {@link PowerlinesAPI} instance.
|
|
@@ -269,5 +269,5 @@ declare namespace index_d_exports {
|
|
|
269
269
|
*/
|
|
270
270
|
declare function createPowerlines(options?: Partial<types_d_exports.UserConfig>): Promise<PowerlinesAPI>;
|
|
271
271
|
//#endregion
|
|
272
|
-
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI,
|
|
272
|
+
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createPowerlines };
|
|
273
273
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a as FileId, c as FileStorage, l as FileSystem, o as FileMetadata, s as FileMetadata_KeyValuePair, u as _capnpFileId } from "./api-context-BQi9M07D.mjs";
|
|
2
|
+
import { t as PowerlinesAPI } from "./api-D6i8MmbC.mjs";
|
|
3
3
|
import { getWorkspaceRoot } from "@stryke/fs/get-workspace-root";
|
|
4
4
|
|
|
5
5
|
//#region src/index.ts
|
|
@@ -22,8 +22,7 @@ async function createPowerlines(options = {}) {
|
|
|
22
22
|
const workspaceRoot = getWorkspaceRoot(options.root);
|
|
23
23
|
return PowerlinesAPI.from(workspaceRoot, options);
|
|
24
24
|
}
|
|
25
|
-
var src_default = PowerlinesAPI;
|
|
26
25
|
|
|
27
26
|
//#endregion
|
|
28
|
-
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createPowerlines
|
|
27
|
+
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createPowerlines };
|
|
29
28
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.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\n/**\n * The powerlines library used by Storm Software for building NodeJS applications.\n *\n * @remarks\n * A build toolkit and runtime used by Storm Software in TypeScript applications\n *\n * @packageDocumentation\n */\n\nimport { getWorkspaceRoot } from \"@stryke/fs/get-workspace-root\";\nimport { PowerlinesAPI } from \"./api\";\nimport { UserConfig } from \"./types\";\n\nexport * from \"../schemas/fs\";\nexport type * from \"./types\";\n\n/**\n * Creates a new {@link PowerlinesAPI} instance.\n *\n * @param options - The user configuration options.\n * @returns A promise that resolves to a {@link PowerlinesAPI} instance.\n */\nexport async function createPowerlines(\n options: Partial<UserConfig> = {}\n): Promise<PowerlinesAPI> {\n options.root ??= process.cwd();\n const workspaceRoot = getWorkspaceRoot(options.root);\n\n return PowerlinesAPI.from(\n workspaceRoot,\n options as Parameters<typeof PowerlinesAPI.from>[1]\n );\n}\n\nexport { PowerlinesAPI };\
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.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\n/**\n * The powerlines library used by Storm Software for building NodeJS applications.\n *\n * @remarks\n * A build toolkit and runtime used by Storm Software in TypeScript applications\n *\n * @packageDocumentation\n */\n\nimport { getWorkspaceRoot } from \"@stryke/fs/get-workspace-root\";\nimport { PowerlinesAPI } from \"./api\";\nimport { UserConfig } from \"./types\";\n\nexport * from \"../schemas/fs\";\nexport type * from \"./types\";\n\n/**\n * Creates a new {@link PowerlinesAPI} instance.\n *\n * @param options - The user configuration options.\n * @returns A promise that resolves to a {@link PowerlinesAPI} instance.\n */\nexport async function createPowerlines(\n options: Partial<UserConfig> = {}\n): Promise<PowerlinesAPI> {\n options.root ??= process.cwd();\n const workspaceRoot = getWorkspaceRoot(options.root);\n\n return PowerlinesAPI.from(\n workspaceRoot,\n options as Parameters<typeof PowerlinesAPI.from>[1]\n );\n}\n\nexport { PowerlinesAPI };\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAwCA,eAAsB,iBACpB,UAA+B,EAAE,EACT;AACxB,SAAQ,SAAS,QAAQ,KAAK;CAC9B,MAAM,gBAAgB,iBAAiB,QAAQ,KAAK;AAEpD,QAAO,cAAc,KACnB,eACA,QACD"}
|
package/dist/next.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Object.
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_webpack = require('./webpack.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/next.ts
|
|
@@ -20,19 +20,18 @@ const require_webpack = require('./webpack.cjs');
|
|
|
20
20
|
* @param config - The Next.js configuration to merge with the Powerlines configuration.
|
|
21
21
|
* @returns The merged Next.js configuration.
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function unplugin(config = {}) {
|
|
24
24
|
return {
|
|
25
25
|
...config,
|
|
26
26
|
webpack(webpackConfig, context) {
|
|
27
27
|
const result = config.webpack?.(webpackConfig, context) || webpackConfig;
|
|
28
28
|
result.plugins ??= [];
|
|
29
|
-
result.plugins.push(require_webpack.
|
|
29
|
+
result.plugins.push(require_webpack.unplugin(webpackConfig));
|
|
30
30
|
return result;
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
//#endregion
|
|
36
|
-
exports.
|
|
37
|
-
exports
|
|
38
|
-
exports.next = next;
|
|
36
|
+
exports.next = unplugin;
|
|
37
|
+
exports.unplugin = unplugin;
|
package/dist/next.d.cts
CHANGED
|
@@ -19,7 +19,7 @@ import { NextConfig } from "next";
|
|
|
19
19
|
* @param config - The Next.js configuration to merge with the Powerlines configuration.
|
|
20
20
|
* @returns The merged Next.js configuration.
|
|
21
21
|
*/
|
|
22
|
-
declare function
|
|
22
|
+
declare function unplugin(config?: NextConfig): NextConfig;
|
|
23
23
|
//#endregion
|
|
24
|
-
export {
|
|
24
|
+
export { unplugin as next, unplugin };
|
|
25
25
|
//# sourceMappingURL=next.d.cts.map
|
package/dist/next.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next.d.cts","names":[],"sources":["../src/next.ts"],"mappings":";;;;;AA0CA;;;;;;;;;;;;;;;;iBAAgB,
|
|
1
|
+
{"version":3,"file":"next.d.cts","names":[],"sources":["../src/next.ts"],"mappings":";;;;;AA0CA;;;;;;;;;;;;;;;;iBAAgB,QAAA,CAAS,MAAA,GAAQ,UAAA,GAAkB,UAAA"}
|
package/dist/next.d.mts
CHANGED
|
@@ -19,7 +19,7 @@ import { NextConfig } from "next";
|
|
|
19
19
|
* @param config - The Next.js configuration to merge with the Powerlines configuration.
|
|
20
20
|
* @returns The merged Next.js configuration.
|
|
21
21
|
*/
|
|
22
|
-
declare function
|
|
22
|
+
declare function unplugin(config?: NextConfig): NextConfig;
|
|
23
23
|
//#endregion
|
|
24
|
-
export {
|
|
24
|
+
export { unplugin as next, unplugin };
|
|
25
25
|
//# sourceMappingURL=next.d.mts.map
|
package/dist/next.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next.d.mts","names":[],"sources":["../src/next.ts"],"mappings":";;;;;AA0CA;;;;;;;;;;;;;;;;iBAAgB,
|
|
1
|
+
{"version":3,"file":"next.d.mts","names":[],"sources":["../src/next.ts"],"mappings":";;;;;AA0CA;;;;;;;;;;;;;;;;iBAAgB,QAAA,CAAS,MAAA,GAAQ,UAAA,GAAkB,UAAA"}
|
package/dist/next.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import unplugin from "./webpack.mjs";
|
|
1
|
+
import { unplugin as unplugin$1 } from "./webpack.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/next.ts
|
|
4
4
|
/**
|
|
@@ -19,18 +19,18 @@ import unplugin from "./webpack.mjs";
|
|
|
19
19
|
* @param config - The Next.js configuration to merge with the Powerlines configuration.
|
|
20
20
|
* @returns The merged Next.js configuration.
|
|
21
21
|
*/
|
|
22
|
-
function
|
|
22
|
+
function unplugin(config = {}) {
|
|
23
23
|
return {
|
|
24
24
|
...config,
|
|
25
25
|
webpack(webpackConfig, context) {
|
|
26
26
|
const result = config.webpack?.(webpackConfig, context) || webpackConfig;
|
|
27
27
|
result.plugins ??= [];
|
|
28
|
-
result.plugins.push(unplugin(webpackConfig));
|
|
28
|
+
result.plugins.push(unplugin$1(webpackConfig));
|
|
29
29
|
return result;
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
//#endregion
|
|
35
|
-
export {
|
|
35
|
+
export { unplugin as next, unplugin };
|
|
36
36
|
//# sourceMappingURL=next.mjs.map
|
package/dist/next.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next.mjs","names":["webpack"],"sources":["../src/next.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 { WebpackPluginUserConfig } from \"@powerlines/plugin-webpack/types/plugin\";\nimport type { NextConfig } from \"next\";\nimport type { WebpackConfigContext } from \"next/dist/server/config-shared\";\nimport type { Configuration } from \"webpack\";\nimport webpack from \"./webpack\";\n\n/**\n * A Next.js configuration function that integrates Powerlines into the build process.\n *\n * @see https://nextjs.org/docs/api-reference/next.config.js/introduction\n *\n * @example\n * ```js\n * // next.config.js\n * import withPowerlines from 'powerlines/next'\n *\n * export default withPowerlines({\n * reactStrictMode: true,\n * })\n * ```\n *\n * @param config - The Next.js configuration to merge with the Powerlines configuration.\n * @returns The merged Next.js configuration.\n */\nexport function
|
|
1
|
+
{"version":3,"file":"next.mjs","names":["webpack"],"sources":["../src/next.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 { WebpackPluginUserConfig } from \"@powerlines/plugin-webpack/types/plugin\";\nimport type { NextConfig } from \"next\";\nimport type { WebpackConfigContext } from \"next/dist/server/config-shared\";\nimport type { Configuration } from \"webpack\";\nimport { webpack } from \"./webpack\";\n\n/**\n * A Next.js configuration function that integrates Powerlines into the build process.\n *\n * @see https://nextjs.org/docs/api-reference/next.config.js/introduction\n *\n * @example\n * ```js\n * // next.config.js\n * import withPowerlines from 'powerlines/next'\n *\n * export default withPowerlines({\n * reactStrictMode: true,\n * })\n * ```\n *\n * @param config - The Next.js configuration to merge with the Powerlines configuration.\n * @returns The merged Next.js configuration.\n */\nexport function unplugin(config: NextConfig = {}): NextConfig {\n return {\n ...config,\n webpack(webpackConfig: Configuration, context: WebpackConfigContext) {\n const result = (config.webpack?.(webpackConfig, context) ||\n webpackConfig) as Configuration;\n\n result.plugins ??= [];\n result.plugins.push(webpack(webpackConfig as WebpackPluginUserConfig));\n\n return result;\n }\n };\n}\n\nexport { unplugin as next };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA0CA,SAAgB,SAAS,SAAqB,EAAE,EAAc;AAC5D,QAAO;EACL,GAAG;EACH,QAAQ,eAA8B,SAA+B;GACnE,MAAM,SAAU,OAAO,UAAU,eAAe,QAAQ,IACtD;AAEF,UAAO,YAAY,EAAE;AACrB,UAAO,QAAQ,KAAKA,WAAQ,cAAyC,CAAC;AAEtE,UAAO;;EAEV"}
|
package/dist/nuxt.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Object.
|
|
2
|
-
const require_chunk = require('./chunk-
|
|
3
|
-
const require_api = require('./api-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_chunk = require('./chunk-7azAqIA9.cjs');
|
|
3
|
+
const require_api = require('./api-DZoRNTY7.cjs');
|
|
4
4
|
const require_vite = require('./vite.cjs');
|
|
5
5
|
const require_webpack = require('./webpack.cjs');
|
|
6
6
|
let _nuxt_kit = require("@nuxt/kit");
|
|
@@ -27,7 +27,7 @@ let _nuxt_kit = require("@nuxt/kit");
|
|
|
27
27
|
*
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
|
-
const
|
|
30
|
+
const unplugin = (0, _nuxt_kit.defineNuxtModule)({
|
|
31
31
|
meta: {
|
|
32
32
|
name: require_api.name,
|
|
33
33
|
version: require_api.version,
|
|
@@ -36,12 +36,11 @@ const nuxt = (0, _nuxt_kit.defineNuxtModule)({
|
|
|
36
36
|
},
|
|
37
37
|
defaults: {},
|
|
38
38
|
setup(options) {
|
|
39
|
-
(0, _nuxt_kit.addVitePlugin)(() => require_vite.
|
|
40
|
-
(0, _nuxt_kit.addWebpackPlugin)(() => require_webpack.
|
|
39
|
+
(0, _nuxt_kit.addVitePlugin)(() => require_vite.unplugin(options));
|
|
40
|
+
(0, _nuxt_kit.addWebpackPlugin)(() => require_webpack.unplugin(options));
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
//#endregion
|
|
45
|
-
exports.
|
|
46
|
-
exports
|
|
47
|
-
exports.nuxt = nuxt;
|
|
45
|
+
exports.nuxt = unplugin;
|
|
46
|
+
exports.unplugin = unplugin;
|
package/dist/nuxt.d.cts
CHANGED
|
@@ -23,7 +23,7 @@ import * as _$_nuxt_schema0 from "@nuxt/schema";
|
|
|
23
23
|
*
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
|
-
declare const
|
|
26
|
+
declare const unplugin: _$_nuxt_schema0.NuxtModule<types_d_exports.UserConfig, types_d_exports.UserConfig, false>;
|
|
27
27
|
//#endregion
|
|
28
|
-
export {
|
|
28
|
+
export { unplugin as nuxt, unplugin };
|
|
29
29
|
//# sourceMappingURL=nuxt.d.cts.map
|
package/dist/nuxt.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nuxt.d.cts","names":[],"sources":["../src/nuxt.ts"],"mappings":";;;;;;;AA6CA;;;;;;;;;;;;;;;;;;cAAa,
|
|
1
|
+
{"version":3,"file":"nuxt.d.cts","names":[],"sources":["../src/nuxt.ts"],"mappings":";;;;;;;AA6CA;;;;;;;;;;;;;;;;;;cAAa,QAAA,EAAQ,eAAA,CAAA,UAAA,CAAA,eAAA,CAAA,UAAA,EAAA,eAAA,CAAA,UAAA"}
|
package/dist/nuxt.d.mts
CHANGED
|
@@ -23,7 +23,7 @@ import * as _$_nuxt_schema0 from "@nuxt/schema";
|
|
|
23
23
|
*
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
|
-
declare const
|
|
26
|
+
declare const unplugin: _$_nuxt_schema0.NuxtModule<types_d_exports.UserConfig, types_d_exports.UserConfig, false>;
|
|
27
27
|
//#endregion
|
|
28
|
-
export {
|
|
28
|
+
export { unplugin as nuxt, unplugin };
|
|
29
29
|
//# sourceMappingURL=nuxt.d.mts.map
|
package/dist/nuxt.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nuxt.d.mts","names":[],"sources":["../src/nuxt.ts"],"mappings":";;;;;;;AA6CA;;;;;;;;;;;;;;;;;;cAAa,
|
|
1
|
+
{"version":3,"file":"nuxt.d.mts","names":[],"sources":["../src/nuxt.ts"],"mappings":";;;;;;;AA6CA;;;;;;;;;;;;;;;;;;cAAa,QAAA,EAAQ,eAAA,CAAA,UAAA,CAAA,eAAA,CAAA,UAAA,EAAA,eAAA,CAAA,UAAA"}
|
package/dist/nuxt.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as name, r as version } from "./api-
|
|
2
|
-
import unplugin from "./vite.mjs";
|
|
3
|
-
import unplugin$
|
|
1
|
+
import { n as name, r as version } from "./api-D6i8MmbC.mjs";
|
|
2
|
+
import { unplugin as unplugin$1 } from "./vite.mjs";
|
|
3
|
+
import { unplugin as unplugin$2 } from "./webpack.mjs";
|
|
4
4
|
import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
|
|
5
5
|
|
|
6
6
|
//#region src/nuxt.ts
|
|
@@ -25,7 +25,7 @@ import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
|
|
|
25
25
|
*
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
const
|
|
28
|
+
const unplugin = defineNuxtModule({
|
|
29
29
|
meta: {
|
|
30
30
|
name,
|
|
31
31
|
version,
|
|
@@ -34,11 +34,11 @@ const nuxt = defineNuxtModule({
|
|
|
34
34
|
},
|
|
35
35
|
defaults: {},
|
|
36
36
|
setup(options) {
|
|
37
|
-
addVitePlugin(() => unplugin(options));
|
|
38
|
-
addWebpackPlugin(() => unplugin$
|
|
37
|
+
addVitePlugin(() => unplugin$1(options));
|
|
38
|
+
addWebpackPlugin(() => unplugin$2(options));
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
//#endregion
|
|
43
|
-
export {
|
|
43
|
+
export { unplugin as nuxt, unplugin };
|
|
44
44
|
//# sourceMappingURL=nuxt.mjs.map
|
package/dist/nuxt.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nuxt.mjs","names":["vite","webpack"],"sources":["../src/nuxt.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 { addVitePlugin, addWebpackPlugin, defineNuxtModule } from \"@nuxt/kit\";\nimport { name, version } from \"../package.json\";\nimport { UserConfig } from \"./types\";\nimport vite from \"./vite\";\nimport webpack from \"./webpack\";\n\n/**\n * A Nuxt plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://nuxt.com/docs/guide/directory-structure/modules\n *\n * @example\n * ```ts\n * // nuxt.config.ts\n * import { defineNuxtConfig } from \"@nuxt/kit\";\n *\n * export default defineNuxtConfig({\n * modules: [\n * [\n * \"powerlines/nuxt\",\n * { name: \"example-app\", ... }\n * ],\n * ],\n * });\n *\n * ```\n */\nexport const
|
|
1
|
+
{"version":3,"file":"nuxt.mjs","names":["vite","webpack"],"sources":["../src/nuxt.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 { addVitePlugin, addWebpackPlugin, defineNuxtModule } from \"@nuxt/kit\";\nimport { name, version } from \"../package.json\";\nimport { UserConfig } from \"./types\";\nimport { vite } from \"./vite\";\nimport { webpack } from \"./webpack\";\n\n/**\n * A Nuxt plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://nuxt.com/docs/guide/directory-structure/modules\n *\n * @example\n * ```ts\n * // nuxt.config.ts\n * import { defineNuxtConfig } from \"@nuxt/kit\";\n *\n * export default defineNuxtConfig({\n * modules: [\n * [\n * \"powerlines/nuxt\",\n * { name: \"example-app\", ... }\n * ],\n * ],\n * });\n *\n * ```\n */\nexport const unplugin = defineNuxtModule<UserConfig>({\n meta: {\n name,\n version,\n configKey: \"powerlines\",\n compatibility: {\n builder: {\n vite: \"^6.0.0\"\n }\n }\n },\n defaults: {},\n setup(options) {\n addVitePlugin(() => vite(options));\n addWebpackPlugin(() => webpack(options));\n }\n});\n\nexport { unplugin as nuxt };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,MAAa,WAAW,iBAA6B;CACnD,MAAM;EACJ;EACA;EACA,WAAW;EACX,eAAe,EACb,SAAS,EACP,MAAM,UACP,EACF;EACF;CACD,UAAU,EAAE;CACZ,MAAM,SAAS;AACb,sBAAoBA,WAAK,QAAQ,CAAC;AAClC,yBAAuBC,WAAQ,QAAQ,CAAC;;CAE3C,CAAC"}
|
package/dist/plugin-utils.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_chunk = require('./chunk-
|
|
2
|
+
const require_chunk = require('./chunk-7azAqIA9.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/plugin-utils.ts
|
|
5
5
|
var plugin_utils_exports = /* @__PURE__ */ require_chunk.__exportAll({});
|
package/dist/plugin-utils.mjs
CHANGED