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.
Files changed (141) hide show
  1. package/dist/api-D6i8MmbC.mjs +6063 -0
  2. package/dist/api-D6i8MmbC.mjs.map +1 -0
  3. package/dist/api-DZoRNTY7.cjs +6083 -0
  4. package/dist/{api-context-AY_byIdN.mjs → api-context-BQi9M07D.mjs} +414 -6
  5. package/dist/api-context-BQi9M07D.mjs.map +1 -0
  6. package/dist/{api-context-BTrJUKNX.cjs → api-context-k3dnn5KR.cjs} +425 -9
  7. package/dist/astro.cjs +4 -5
  8. package/dist/astro.d.cts +2 -2
  9. package/dist/astro.d.cts.map +1 -1
  10. package/dist/astro.d.mts +2 -2
  11. package/dist/astro.d.mts.map +1 -1
  12. package/dist/astro.mjs +3 -3
  13. package/dist/astro.mjs.map +1 -1
  14. package/dist/base-Bl_AMAlI.d.cts +12 -0
  15. package/dist/base-Bl_AMAlI.d.cts.map +1 -0
  16. package/dist/base-hjCHfNY6.d.mts +12 -0
  17. package/dist/base-hjCHfNY6.d.mts.map +1 -0
  18. package/dist/{chunk-AIJqnxB6.cjs → chunk-7azAqIA9.cjs} +7 -0
  19. package/dist/{chunk-CtajNgzt.mjs → chunk-WJdhOJK3.mjs} +10 -1
  20. package/dist/config.cjs +1 -1
  21. package/dist/config.mjs +1 -1
  22. package/dist/constants.cjs +1 -1
  23. package/dist/constants.mjs +1 -1
  24. package/dist/context/index.cjs +1 -1
  25. package/dist/context/index.d.cts +260 -1
  26. package/dist/context/index.d.cts.map +1 -1
  27. package/dist/context/index.d.mts +260 -1
  28. package/dist/context/index.d.mts.map +1 -1
  29. package/dist/context/index.mjs +1 -1
  30. package/dist/esbuild.cjs +3 -10
  31. package/dist/esbuild.d.cts +2 -2
  32. package/dist/esbuild.d.cts.map +1 -1
  33. package/dist/esbuild.d.mts +2 -2
  34. package/dist/esbuild.d.mts.map +1 -1
  35. package/dist/esbuild.mjs +2 -2
  36. package/dist/esbuild.mjs.map +1 -1
  37. package/dist/farm.cjs +5 -6
  38. package/dist/farm.d.cts +2 -2
  39. package/dist/farm.d.cts.map +1 -1
  40. package/dist/farm.d.mts +2 -2
  41. package/dist/farm.d.mts.map +1 -1
  42. package/dist/farm.mjs +2 -2
  43. package/dist/farm.mjs.map +1 -1
  44. package/dist/index.cjs +5 -7
  45. package/dist/index.d.cts +3 -3
  46. package/dist/index.d.mts +3 -3
  47. package/dist/index.mjs +3 -4
  48. package/dist/index.mjs.map +1 -1
  49. package/dist/next.cjs +5 -6
  50. package/dist/next.d.cts +2 -2
  51. package/dist/next.d.cts.map +1 -1
  52. package/dist/next.d.mts +2 -2
  53. package/dist/next.d.mts.map +1 -1
  54. package/dist/next.mjs +4 -4
  55. package/dist/next.mjs.map +1 -1
  56. package/dist/nuxt.cjs +8 -9
  57. package/dist/nuxt.d.cts +2 -2
  58. package/dist/nuxt.d.cts.map +1 -1
  59. package/dist/nuxt.d.mts +2 -2
  60. package/dist/nuxt.d.mts.map +1 -1
  61. package/dist/nuxt.mjs +7 -7
  62. package/dist/nuxt.mjs.map +1 -1
  63. package/dist/plugin-utils.cjs +1 -1
  64. package/dist/plugin-utils.mjs +1 -1
  65. package/dist/rolldown.cjs +4 -11
  66. package/dist/rolldown.d.cts +2 -2
  67. package/dist/rolldown.d.cts.map +1 -1
  68. package/dist/rolldown.d.mts +2 -2
  69. package/dist/rolldown.d.mts.map +1 -1
  70. package/dist/rolldown.mjs +2 -2
  71. package/dist/rolldown.mjs.map +1 -1
  72. package/dist/rollup.cjs +4 -11
  73. package/dist/rollup.d.cts +2 -2
  74. package/dist/rollup.d.cts.map +1 -1
  75. package/dist/rollup.d.mts +2 -2
  76. package/dist/rollup.d.mts.map +1 -1
  77. package/dist/rollup.mjs +2 -2
  78. package/dist/rollup.mjs.map +1 -1
  79. package/dist/rspack.cjs +4 -11
  80. package/dist/rspack.d.cts +2 -2
  81. package/dist/rspack.d.cts.map +1 -1
  82. package/dist/rspack.d.mts +2 -2
  83. package/dist/rspack.d.mts.map +1 -1
  84. package/dist/rspack.mjs +2 -2
  85. package/dist/rspack.mjs.map +1 -1
  86. package/dist/storage/index.cjs +1 -1
  87. package/dist/storage/index.d.cts +1 -1
  88. package/dist/storage/index.d.mts +1 -1
  89. package/dist/storage/index.mjs +1 -1
  90. package/dist/{tsconfig-B0kfe_iM.cjs → tsconfig-BhVGZ2DK.cjs} +2 -2
  91. package/dist/{tsconfig-B8RooiIp.mjs → tsconfig-CzYPBpDS.mjs} +2 -2
  92. package/dist/{tsconfig-B8RooiIp.mjs.map → tsconfig-CzYPBpDS.mjs.map} +1 -1
  93. package/dist/tsdown.cjs +5 -12
  94. package/dist/tsdown.d.cts +2 -2
  95. package/dist/tsdown.d.cts.map +1 -1
  96. package/dist/tsdown.d.mts +2 -2
  97. package/dist/tsdown.d.mts.map +1 -1
  98. package/dist/tsdown.mjs +3 -3
  99. package/dist/tsdown.mjs.map +1 -1
  100. package/dist/tsup.cjs +5 -12
  101. package/dist/tsup.d.cts +547 -3
  102. package/dist/tsup.d.cts.map +1 -1
  103. package/dist/tsup.d.mts +547 -3
  104. package/dist/tsup.d.mts.map +1 -1
  105. package/dist/tsup.mjs +3 -3
  106. package/dist/tsup.mjs.map +1 -1
  107. package/dist/typescript/index.cjs +2 -2
  108. package/dist/typescript/index.d.cts +6 -1
  109. package/dist/typescript/index.d.cts.map +1 -1
  110. package/dist/typescript/index.d.mts +6 -1
  111. package/dist/typescript/index.d.mts.map +1 -1
  112. package/dist/typescript/index.mjs +1 -1
  113. package/dist/unloader.cjs +5 -6
  114. package/dist/unloader.d.cts +2 -2
  115. package/dist/unloader.d.mts +2 -2
  116. package/dist/unloader.mjs +2 -2
  117. package/dist/unloader.mjs.map +1 -1
  118. package/dist/unplugin.cjs +2 -2
  119. package/dist/unplugin.mjs +1 -1
  120. package/dist/utils.cjs +1 -1
  121. package/dist/utils.mjs +1 -1
  122. package/dist/{virtual-CJChzKrr.cjs → virtual-BHb4iMd_.cjs} +3 -3
  123. package/dist/{virtual-DB9ki0Y6.mjs → virtual-OEHgBu0s.mjs} +3 -3
  124. package/dist/{virtual-DB9ki0Y6.mjs.map → virtual-OEHgBu0s.mjs.map} +1 -1
  125. package/dist/vite.cjs +4 -11
  126. package/dist/vite.d.cts +2 -2
  127. package/dist/vite.d.mts +2 -2
  128. package/dist/vite.mjs +2 -2
  129. package/dist/vite.mjs.map +1 -1
  130. package/dist/webpack.cjs +4 -11
  131. package/dist/webpack.d.cts +2 -2
  132. package/dist/webpack.d.cts.map +1 -1
  133. package/dist/webpack.d.mts +2 -2
  134. package/dist/webpack.d.mts.map +1 -1
  135. package/dist/webpack.mjs +2 -2
  136. package/dist/webpack.mjs.map +1 -1
  137. package/package.json +14 -14
  138. package/dist/api-BQswQ9mT.mjs +0 -861
  139. package/dist/api-BQswQ9mT.mjs.map +0 -1
  140. package/dist/api-D7HzHvkw.cjs +0 -881
  141. 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":";;;;;;;;;;;cA6Ja,iBAAA,yBACa,eAAA,CAAA,cAAA,GAAiB,eAAA,CAAA,cAAA,aAC9B,eAAA,CAAA,OAAA,CAAQ,eAAA;EAAA;EAFR;;;;;;;EAAA,OAsFS,IAAA,yBACM,eAAA,CAAA,cAAA,GAAiB,eAAA,CAAA,cAAA,CAAA,CAEzC,aAAA,UACA,MAAA,EAAQ,eAAA,CAAA,iBAAA,CAAkB,eAAA,kBACzB,OAAA,CAAQ,eAAA,CAAA,OAAA,CAAQ,eAAA;EADS;;;EAoBrB,YAAA,EAAc,MAAA,kBAAwB,KAAA;EAnB1C;;;EAwBI,eAAA,EAAiB,MAAA,kBAAwB,KAAA;EAAxB;;;EAKjB,aAAA,EAAe,eAAA,CAAA,QAAA;EAoBJ;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AA,CAAA,SAAA,CAAU,eAAA,CAAA,aAAA,CAAc,eAAA;EFoKL;;;;;;;;EEvJC,KAAA,CAAA,GAAS,OAAA,CAAQ,eAAA,CAAA,kBAAA,CAAmB,eAAA;EAW7C,SAAA,CAAU,MAAA,EAAQ,eAAA,CAAA,MAAA,CAAO,eAAA,CAAA,aAAA,CAAc,eAAA,KAAiB,OAAA;EFqMf;;;EEzJ/C,WAAA,qBAAA,CACL,GAAA,EAAK,IAAA,EACL,OAAA,GAAU,eAAA,CAAA,kBAAA,GACT,eAAA,CAAA,gBAAA,CAAiB,eAAA,CAAA,aAAA,CAAc,eAAA,GAAkB,IAAA;EAAA,UAoD3C,WAAA,CACP,MAAA,EAAQ,eAAA,EACR,eAAA,EAAiB,eAAA,CAAA,eAAA;EF8IF;;;;;;;;EAAA,UE/HE,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"}
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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A;;;;;;;;EG3CT,KAAA,CAAA,GAAS,OAAA,CAAQ,eAAA,CAAA,kBAAA,CAAmB,eAAA;EAW7C,SAAA,CAAU,MAAA,EAAQ,eAAA,CAAA,MAAA,CAAO,eAAA,CAAA,aAAA,CAAc,eAAA,KAAiB,OAAA;EH1GrEM;;;EGsJO,WAAA,qBAAA,CACL,GAAA,EAAK,IAAA,EACL,OAAA,GAAU,eAAA,CAAA,kBAAA,GACT,eAAA,CAAA,gBAAA,CAAiB,eAAA,CAAA,aAAA,CAAc,eAAA,GAAkB,IAAA;EAAA,UAoD3C,WAAA,CACP,MAAA,EAAQ,eAAA,EACR,eAAA,EAAiB,eAAA,CAAA,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"}
@@ -1,3 +1,3 @@
1
- import { i as PowerlinesContext, n as PowerlinesEnvironmentContext, r as createPluginContext, t as PowerlinesAPIContext } from "../api-context-AY_byIdN.mjs";
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.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_chunk = require('./chunk-AIJqnxB6.cjs');
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.default = unplugin$1;
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 () {
@@ -1,6 +1,6 @@
1
1
  import * as _$esbuild from "esbuild";
2
2
  import { EsbuildPluginUserConfig } from "@powerlines/plugin-esbuild/types/plugin";
3
- import esbuild, { default as plugin } from "@powerlines/plugin-esbuild";
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 default, unplugin as "module.exports", unplugin, esbuild, plugin };
24
+ export { unplugin as esbuild, unplugin, plugin };
25
25
  //# sourceMappingURL=esbuild.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"esbuild.d.cts","names":[],"sources":["../src/esbuild.ts"],"mappings":";;;;;;;;AA8CA;;;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAAA,uBAAA,MAAA,SAAA,CAAA,MAAA"}
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"}
@@ -1,4 +1,4 @@
1
- import esbuild, { default as plugin } from "@powerlines/plugin-esbuild";
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 default, unplugin as "module.exports", unplugin, esbuild, plugin };
24
+ export { unplugin as esbuild, unplugin, plugin };
25
25
  //# sourceMappingURL=esbuild.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"esbuild.d.mts","names":[],"sources":["../src/esbuild.ts"],"mappings":";;;;;;;;AA8CA;;;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAAA,uBAAA,MAAA,SAAA,CAAA,MAAA"}
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 esbuild, { default as plugin } from "@powerlines/plugin-esbuild";
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 default, unplugin as "module.exports", unplugin, esbuild, plugin };
42
+ export { unplugin as esbuild, unplugin, plugin };
43
43
  //# sourceMappingURL=esbuild.mjs.map
@@ -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 {\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":";;;;;;;;;;;;;;;;;;;;;;;AA8CA,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"}
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.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_chunk = require('./chunk-AIJqnxB6.cjs');
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 farm = (0, unplugin.createFarmPlugin)(require_unplugin.createUnpluginFactory("farm"));
24
+ const unplugin$1 = (0, unplugin.createFarmPlugin)(require_unplugin.createUnpluginFactory("farm"));
25
25
 
26
26
  //#endregion
27
- exports.default = farm;
28
- exports.farm = farm;
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 farm: (options: Partial<_$_powerlines_core0.UserConfig>) => _$_farmfe_core0.JsPlugin;
22
+ declare const unplugin: (options: Partial<_$_powerlines_core0.UserConfig>) => _$_farmfe_core0.JsPlugin;
23
23
  //#endregion
24
- export { farm as default, farm, farm as "module.exports" };
24
+ export { unplugin as farm, unplugin };
25
25
  //# sourceMappingURL=farm.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"farm.d.cts","names":[],"sources":["../src/farm.ts"],"mappings":";;;;;;;;AAsCA;;;;;;;;;;;;;cAAa,IAAA,GAAI,OAAA,EAAA,OAAA,CAAkD,mBAAA,CAAlD,UAAA,MAAA,eAAA,CAAA,QAAA"}
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 farm: (options: Partial<_$_powerlines_core0.UserConfig>) => _$_farmfe_core0.JsPlugin;
22
+ declare const unplugin: (options: Partial<_$_powerlines_core0.UserConfig>) => _$_farmfe_core0.JsPlugin;
23
23
  //#endregion
24
- export { farm as default, farm, farm as "module.exports" };
24
+ export { unplugin as farm, unplugin };
25
25
  //# sourceMappingURL=farm.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"farm.d.mts","names":[],"sources":["../src/farm.ts"],"mappings":";;;;;;;;AAsCA;;;;;;;;;;;;;cAAa,IAAA,GAAI,OAAA,EAAA,OAAA,CAAkD,mBAAA,CAAlD,UAAA,MAAA,eAAA,CAAA,QAAA"}
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 farm = createFarmPlugin(createUnpluginFactory("farm"));
22
+ const unplugin = createFarmPlugin(createUnpluginFactory("farm"));
23
23
 
24
24
  //#endregion
25
- export { farm as default, farm, farm as "module.exports" };
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 farm = createFarmPlugin(createUnpluginFactory(\"farm\"));\n\nexport default farm;\nexport { farm as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAsCA,MAAa,OAAO,iBAAiB,sBAAsB,OAAO,CAAC"}
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.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_chunk = require('./chunk-AIJqnxB6.cjs');
3
- const require_api = require('./api-D7HzHvkw.cjs');
4
- const require_api_context = require('./api-context-BTrJUKNX.cjs');
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, PowerlinesAPI as default };
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, PowerlinesAPI as default, _capnpFileId, createPowerlines };
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, PowerlinesAPI as default };
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, PowerlinesAPI as default, _capnpFileId, createPowerlines };
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 { t as PowerlinesAPI } from "./api-BQswQ9mT.mjs";
2
- import { a as FileId, c as FileStorage, l as FileSystem, o as FileMetadata, s as FileMetadata_KeyValuePair, u as _capnpFileId } from "./api-context-AY_byIdN.mjs";
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, src_default as default };
27
+ export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createPowerlines };
29
28
  //# sourceMappingURL=index.mjs.map
@@ -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 };\nexport default 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;;AAIH,kBAAe"}
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.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
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 next(config = {}) {
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.default(webpackConfig));
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.default = next;
37
- exports["module.exports"] = next;
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 next(config?: NextConfig): NextConfig;
22
+ declare function unplugin(config?: NextConfig): NextConfig;
23
23
  //#endregion
24
- export { next as default, next as "module.exports", next };
24
+ export { unplugin as next, unplugin };
25
25
  //# sourceMappingURL=next.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"next.d.cts","names":[],"sources":["../src/next.ts"],"mappings":";;;;;AA0CA;;;;;;;;;;;;;;;;iBAAgB,IAAA,CAAK,MAAA,GAAQ,UAAA,GAAkB,UAAA"}
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 next(config?: NextConfig): NextConfig;
22
+ declare function unplugin(config?: NextConfig): NextConfig;
23
23
  //#endregion
24
- export { next as default, next as "module.exports", next };
24
+ export { unplugin as next, unplugin };
25
25
  //# sourceMappingURL=next.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"next.d.mts","names":[],"sources":["../src/next.ts"],"mappings":";;;;;AA0CA;;;;;;;;;;;;;;;;iBAAgB,IAAA,CAAK,MAAA,GAAQ,UAAA,GAAkB,UAAA"}
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 next(config = {}) {
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 { next as default, next as "module.exports", next };
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 next(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 default next;\nexport { next as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA0CA,SAAgB,KAAK,SAAqB,EAAE,EAAc;AACxD,QAAO;EACL,GAAG;EACH,QAAQ,eAA8B,SAA+B;GACnE,MAAM,SAAU,OAAO,UAAU,eAAe,QAAQ,IACtD;AAEF,UAAO,YAAY,EAAE;AACrB,UAAO,QAAQ,KAAKA,SAAQ,cAAyC,CAAC;AAEtE,UAAO;;EAEV"}
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.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_chunk = require('./chunk-AIJqnxB6.cjs');
3
- const require_api = require('./api-D7HzHvkw.cjs');
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 nuxt = (0, _nuxt_kit.defineNuxtModule)({
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.default(options));
40
- (0, _nuxt_kit.addWebpackPlugin)(() => require_webpack.default(options));
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.default = nuxt;
46
- exports["module.exports"] = nuxt;
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 nuxt: _$_nuxt_schema0.NuxtModule<types_d_exports.UserConfig, types_d_exports.UserConfig, false>;
26
+ declare const unplugin: _$_nuxt_schema0.NuxtModule<types_d_exports.UserConfig, types_d_exports.UserConfig, false>;
27
27
  //#endregion
28
- export { nuxt as default, nuxt as "module.exports", nuxt };
28
+ export { unplugin as nuxt, unplugin };
29
29
  //# sourceMappingURL=nuxt.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nuxt.d.cts","names":[],"sources":["../src/nuxt.ts"],"mappings":";;;;;;;AA6CA;;;;;;;;;;;;;;;;;;cAAa,IAAA,EAAI,eAAA,CAAA,UAAA,CAAA,eAAA,CAAA,UAAA,EAAA,eAAA,CAAA,UAAA"}
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 nuxt: _$_nuxt_schema0.NuxtModule<types_d_exports.UserConfig, types_d_exports.UserConfig, false>;
26
+ declare const unplugin: _$_nuxt_schema0.NuxtModule<types_d_exports.UserConfig, types_d_exports.UserConfig, false>;
27
27
  //#endregion
28
- export { nuxt as default, nuxt as "module.exports", nuxt };
28
+ export { unplugin as nuxt, unplugin };
29
29
  //# sourceMappingURL=nuxt.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nuxt.d.mts","names":[],"sources":["../src/nuxt.ts"],"mappings":";;;;;;;AA6CA;;;;;;;;;;;;;;;;;;cAAa,IAAA,EAAI,eAAA,CAAA,UAAA,CAAA,eAAA,CAAA,UAAA,EAAA,eAAA,CAAA,UAAA"}
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-BQswQ9mT.mjs";
2
- import unplugin from "./vite.mjs";
3
- import unplugin$1 from "./webpack.mjs";
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 nuxt = defineNuxtModule({
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$1(options));
37
+ addVitePlugin(() => unplugin$1(options));
38
+ addWebpackPlugin(() => unplugin$2(options));
39
39
  }
40
40
  });
41
41
 
42
42
  //#endregion
43
- export { nuxt as default, nuxt as "module.exports", nuxt };
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 nuxt = 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 default nuxt;\nexport { nuxt as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,MAAa,OAAO,iBAA6B;CAC/C,MAAM;EACJ;EACA;EACA,WAAW;EACX,eAAe,EACb,SAAS,EACP,MAAM,UACP,EACF;EACF;CACD,UAAU,EAAE;CACZ,MAAM,SAAS;AACb,sBAAoBA,SAAK,QAAQ,CAAC;AAClC,yBAAuBC,WAAQ,QAAQ,CAAC;;CAE3C,CAAC"}
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"}
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_chunk = require('./chunk-AIJqnxB6.cjs');
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({});
@@ -1,4 +1,4 @@
1
- import { n as __reExport, t as __exportAll } from "./chunk-CtajNgzt.mjs";
1
+ import { n as __exportAll, r as __reExport } from "./chunk-WJdhOJK3.mjs";
2
2
 
3
3
  export * from "@powerlines/core/plugin-utils"
4
4