@powerlines/plugin-rollup 0.7.263 → 0.7.264

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 (49) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +29 -0
  2. package/dist/helpers/index.cjs +2 -3
  3. package/dist/helpers/index.d.cts +1 -3
  4. package/dist/helpers/index.d.mts +1 -3
  5. package/dist/helpers/index.mjs +1 -2
  6. package/dist/helpers/unplugin.cjs +10 -2
  7. package/dist/helpers/unplugin.d.cts +8 -3
  8. package/dist/helpers/unplugin.d.cts.map +1 -0
  9. package/dist/helpers/unplugin.d.mts +8 -3
  10. package/dist/helpers/unplugin.d.mts.map +1 -0
  11. package/dist/helpers/unplugin.mjs +10 -2
  12. package/dist/helpers/unplugin.mjs.map +1 -0
  13. package/dist/index.cjs +6 -35
  14. package/dist/index.d.cts +4 -4
  15. package/dist/index.d.mts +4 -4
  16. package/dist/index.mjs +2 -4
  17. package/dist/index.mjs.map +1 -1
  18. package/dist/types/index.cjs +0 -2
  19. package/dist/types/index.d.cts +1 -2
  20. package/dist/types/index.d.mts +1 -2
  21. package/dist/types/index.mjs +0 -3
  22. package/dist/types/plugin.cjs +0 -1
  23. package/dist/types/plugin.d.cts +14 -2
  24. package/dist/types/plugin.d.cts.map +1 -0
  25. package/dist/types/plugin.d.mts +14 -2
  26. package/dist/types/plugin.d.mts.map +1 -0
  27. package/dist/types/plugin.mjs +0 -2
  28. package/package.json +5 -5
  29. package/dist/helpers-B15z10jN.mjs +0 -1
  30. package/dist/helpers-LF26RHol.cjs +0 -0
  31. package/dist/index-9iG2qHLe.d.mts +0 -1
  32. package/dist/index-D4ELpJXS.d.cts +0 -1
  33. package/dist/index-D6CnpA_r.d.cts +0 -1
  34. package/dist/index-DL0uimUT.d.mts +0 -1
  35. package/dist/plugin-DlfE5ZsY.d.cts +0 -14
  36. package/dist/plugin-DlfE5ZsY.d.cts.map +0 -1
  37. package/dist/plugin-Na5-83mO.d.mts +0 -14
  38. package/dist/plugin-Na5-83mO.d.mts.map +0 -1
  39. package/dist/plugin-ifZVa20V.mjs +0 -1
  40. package/dist/plugin-pBKbb5K9.cjs +0 -0
  41. package/dist/types-U3zd8PTP.mjs +0 -1
  42. package/dist/types-o3zWarRp.cjs +0 -0
  43. package/dist/unplugin-C5eOaOji.mjs +0 -11
  44. package/dist/unplugin-C5eOaOji.mjs.map +0 -1
  45. package/dist/unplugin-CHWbd4Jl.d.cts +0 -8
  46. package/dist/unplugin-CHWbd4Jl.d.cts.map +0 -1
  47. package/dist/unplugin-DF8nxEF0.cjs +0 -16
  48. package/dist/unplugin-DfhyXwLx.d.mts +0 -8
  49. package/dist/unplugin-DfhyXwLx.d.mts.map +0 -1
@@ -0,0 +1,29 @@
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) {
13
+ __defProp(to, key, {
14
+ get: ((k) => from[k]).bind(null, key),
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ }
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ value: mod,
24
+ enumerable: true
25
+ }) : target, mod));
26
+
27
+ //#endregion
28
+
29
+ exports.__toESM = __toESM;
@@ -1,4 +1,3 @@
1
- const require_unplugin = require('../unplugin-DF8nxEF0.cjs');
2
- require('../helpers-LF26RHol.cjs');
1
+ const require_helpers_unplugin = require('./unplugin.cjs');
3
2
 
4
- exports.createRollupPlugin = require_unplugin.createRollupPlugin;
3
+ exports.createRollupPlugin = require_helpers_unplugin.createRollupPlugin;
@@ -1,4 +1,2 @@
1
- import "../plugin-DlfE5ZsY.cjs";
2
- import { t as createRollupPlugin } from "../unplugin-CHWbd4Jl.cjs";
3
- import "../index-D6CnpA_r.cjs";
1
+ import { createRollupPlugin } from "./unplugin.cjs";
4
2
  export { createRollupPlugin };
@@ -1,4 +1,2 @@
1
- import "../plugin-Na5-83mO.mjs";
2
- import { t as createRollupPlugin } from "../unplugin-DfhyXwLx.mjs";
3
- import "../index-DL0uimUT.mjs";
1
+ import { createRollupPlugin } from "./unplugin.mjs";
4
2
  export { createRollupPlugin };
@@ -1,4 +1,3 @@
1
- import { t as createRollupPlugin } from "../unplugin-C5eOaOji.mjs";
2
- import "../helpers-B15z10jN.mjs";
1
+ import { createRollupPlugin } from "./unplugin.mjs";
3
2
 
4
3
  export { createRollupPlugin };
@@ -1,3 +1,11 @@
1
- const require_unplugin = require('../unplugin-DF8nxEF0.cjs');
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ let powerlines_lib_unplugin = require("powerlines/lib/unplugin");
3
+ let unplugin = require("unplugin");
2
4
 
3
- exports.createRollupPlugin = require_unplugin.createRollupPlugin;
5
+ //#region src/helpers/unplugin.ts
6
+ function createRollupPlugin(context) {
7
+ return (0, unplugin.createEsbuildPlugin)((0, powerlines_lib_unplugin.createUnplugin)(context))({});
8
+ }
9
+
10
+ //#endregion
11
+ exports.createRollupPlugin = createRollupPlugin;
@@ -1,3 +1,8 @@
1
- import "../plugin-DlfE5ZsY.cjs";
2
- import { t as createRollupPlugin } from "../unplugin-CHWbd4Jl.cjs";
3
- export { createRollupPlugin };
1
+ import { RollupPluginContext } from "../types/plugin.cjs";
2
+ import * as esbuild0 from "esbuild";
3
+
4
+ //#region src/helpers/unplugin.d.ts
5
+ declare function createRollupPlugin(context: RollupPluginContext): esbuild0.Plugin;
6
+ //#endregion
7
+ export { createRollupPlugin };
8
+ //# sourceMappingURL=unplugin.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unplugin.d.cts","names":[],"sources":["../../src/helpers/unplugin.ts"],"sourcesContent":[],"mappings":";;;;iBAsBgB,kBAAA,UAA4B,sBAAmB,QAAA,CAAA"}
@@ -1,3 +1,8 @@
1
- import "../plugin-Na5-83mO.mjs";
2
- import { t as createRollupPlugin } from "../unplugin-DfhyXwLx.mjs";
3
- export { createRollupPlugin };
1
+ import { RollupPluginContext } from "../types/plugin.mjs";
2
+ import * as esbuild0 from "esbuild";
3
+
4
+ //#region src/helpers/unplugin.d.ts
5
+ declare function createRollupPlugin(context: RollupPluginContext): esbuild0.Plugin;
6
+ //#endregion
7
+ export { createRollupPlugin };
8
+ //# sourceMappingURL=unplugin.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unplugin.d.mts","names":[],"sources":["../../src/helpers/unplugin.ts"],"sourcesContent":[],"mappings":";;;;iBAsBgB,kBAAA,UAA4B,sBAAmB,QAAA,CAAA"}
@@ -1,3 +1,11 @@
1
- import { t as createRollupPlugin } from "../unplugin-C5eOaOji.mjs";
1
+ import { createUnplugin } from "powerlines/lib/unplugin";
2
+ import { createEsbuildPlugin } from "unplugin";
2
3
 
3
- export { createRollupPlugin };
4
+ //#region src/helpers/unplugin.ts
5
+ function createRollupPlugin(context) {
6
+ return createEsbuildPlugin(createUnplugin(context))({});
7
+ }
8
+
9
+ //#endregion
10
+ export { createRollupPlugin };
11
+ //# sourceMappingURL=unplugin.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unplugin.mjs","names":[],"sources":["../../src/helpers/unplugin.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createUnplugin } from \"powerlines/lib/unplugin\";\nimport { createEsbuildPlugin } from \"unplugin\";\nimport { RollupPluginContext } from \"../types/plugin\";\n\nexport function createRollupPlugin(context: RollupPluginContext) {\n return createEsbuildPlugin(createUnplugin(context))({});\n}\n"],"mappings":";;;;AAsBA,SAAgB,mBAAmB,SAA8B;AAC/D,QAAO,oBAAoB,eAAe,QAAQ,CAAC,CAAC,EAAE,CAAC"}
package/dist/index.cjs CHANGED
@@ -1,38 +1,10 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- //#region rolldown:runtime
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
- key = keys[i];
13
- if (!__hasOwnProp.call(to, key) && key !== except) {
14
- __defProp(to, key, {
15
- get: ((k) => from[k]).bind(null, key),
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- }
19
- }
20
- }
21
- return to;
22
- };
23
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
24
- value: mod,
25
- enumerable: true
26
- }) : target, mod));
27
-
28
- //#endregion
29
- const require_unplugin = require('./unplugin-DF8nxEF0.cjs');
30
- require('./helpers-LF26RHol.cjs');
31
- require('./plugin-pBKbb5K9.cjs');
32
- require('./types-o3zWarRp.cjs');
2
+ const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
3
+ const require_helpers_unplugin = require('./helpers/unplugin.cjs');
4
+ require('./helpers/index.cjs');
33
5
  let __stryke_convert_to_array = require("@stryke/convert/to-array");
34
6
  let defu = require("defu");
35
- defu = __toESM(defu);
7
+ defu = require_rolldown_runtime.__toESM(defu);
36
8
  let powerlines_lib_build_rollup = require("powerlines/lib/build/rollup");
37
9
  let rollup = require("rollup");
38
10
 
@@ -53,7 +25,7 @@ const plugin = (options = {}) => {
53
25
  };
54
26
  },
55
27
  async build() {
56
- const result = await (0, rollup.rollup)((0, defu.default)({ plugins: [require_unplugin.createRollupPlugin(this)] }, (0, powerlines_lib_build_rollup.extractRollupConfig)(this)));
28
+ const result = await (0, rollup.rollup)((0, defu.default)({ plugins: [require_helpers_unplugin.createRollupPlugin(this)] }, (0, powerlines_lib_build_rollup.extractRollupConfig)(this)));
57
29
  await Promise.all((0, __stryke_convert_to_array.toArray)(this.config.output.format).map(async (format) => result.write({ format })));
58
30
  }
59
31
  };
@@ -61,7 +33,6 @@ const plugin = (options = {}) => {
61
33
  var src_default = plugin;
62
34
 
63
35
  //#endregion
64
- exports.__toESM = __toESM;
65
- exports.createRollupPlugin = require_unplugin.createRollupPlugin;
36
+ exports.createRollupPlugin = require_helpers_unplugin.createRollupPlugin;
66
37
  exports.default = src_default;
67
38
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { a as __ΩRollupPluginOptions, i as __ΩRollupPluginContext, n as RollupPluginOptions, o as __ΩRollupPluginResolvedConfig, r as RollupPluginResolvedConfig, t as RollupPluginContext } from "./plugin-DlfE5ZsY.cjs";
2
- import { t as createRollupPlugin } from "./unplugin-CHWbd4Jl.cjs";
3
- import "./index-D6CnpA_r.cjs";
4
- import "./index-D4ELpJXS.cjs";
1
+ import { RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig } from "./types/plugin.cjs";
2
+ import { createRollupPlugin } from "./helpers/unplugin.cjs";
3
+ import "./helpers/index.cjs";
4
+ import "./types/index.cjs";
5
5
  import { Plugin } from "powerlines/types/plugin";
6
6
 
7
7
  //#region src/index.d.ts
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import { a as __ΩRollupPluginOptions, i as __ΩRollupPluginContext, n as RollupPluginOptions, o as __ΩRollupPluginResolvedConfig, r as RollupPluginResolvedConfig, t as RollupPluginContext } from "./plugin-Na5-83mO.mjs";
2
- import { t as createRollupPlugin } from "./unplugin-DfhyXwLx.mjs";
3
- import "./index-DL0uimUT.mjs";
4
- import "./index-9iG2qHLe.mjs";
1
+ import { RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig } from "./types/plugin.mjs";
2
+ import { createRollupPlugin } from "./helpers/unplugin.mjs";
3
+ import "./helpers/index.mjs";
4
+ import "./types/index.mjs";
5
5
  import { Plugin } from "powerlines/types/plugin";
6
6
 
7
7
  //#region src/index.d.ts
package/dist/index.mjs CHANGED
@@ -1,7 +1,5 @@
1
- import { t as createRollupPlugin } from "./unplugin-C5eOaOji.mjs";
2
- import "./helpers-B15z10jN.mjs";
3
- import "./plugin-ifZVa20V.mjs";
4
- import "./types-U3zd8PTP.mjs";
1
+ import { createRollupPlugin } from "./helpers/unplugin.mjs";
2
+ import "./helpers/index.mjs";
5
3
  import { toArray } from "@stryke/convert/to-array";
6
4
  import defu from "defu";
7
5
  import { extractRollupConfig } from "powerlines/lib/build/rollup";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["build"],"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\nimport { toArray } from \"@stryke/convert/to-array\";\nimport defu from \"defu\";\nimport { extractRollupConfig } from \"powerlines/lib/build/rollup\";\nimport { RollupUserConfig } from \"powerlines/types/config\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport { rollup as build } from \"rollup\";\nimport { createRollupPlugin } from \"./helpers/unplugin\";\nimport { RollupPluginContext, RollupPluginOptions } from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\n/**\n * A Powerlines plugin to assist in developing other Powerlines plugins.\n */\nexport const plugin = <\n TContext extends RollupPluginContext = RollupPluginContext\n>(\n options: RollupPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"rollup\",\n config() {\n return {\n output: {\n format: [\"cjs\", \"esm\"]\n },\n build: {\n ...options,\n variant: \"rollup\"\n }\n } as Partial<RollupUserConfig>;\n },\n async build() {\n const result = await build(\n defu(\n {\n plugins: [createRollupPlugin(this)]\n },\n extractRollupConfig(this)\n )\n );\n\n await Promise.all(\n toArray(this.config.output.format).map(async format =>\n result.write({\n format\n })\n )\n );\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;AAiCA,MAAa,UAGX,UAA+B,EAAE,KACZ;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO;IACL,QAAQ,EACN,QAAQ,CAAC,OAAO,MAAM,EACvB;IACD,OAAO;KACL,GAAG;KACH,SAAS;KACV;IACF;;EAEH,MAAM,QAAQ;GACZ,MAAM,SAAS,MAAMA,OACnB,KACE,EACE,SAAS,CAAC,mBAAmB,KAAK,CAAC,EACpC,EACD,oBAAoB,KAAK,CAC1B,CACF;AAED,SAAM,QAAQ,IACZ,QAAQ,KAAK,OAAO,OAAO,OAAO,CAAC,IAAI,OAAM,WAC3C,OAAO,MAAM,EACX,QACD,CAAC,CACH,CACF;;EAEJ;;AAGH,kBAAe"}
1
+ {"version":3,"file":"index.mjs","names":["build"],"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\nimport { toArray } from \"@stryke/convert/to-array\";\nimport defu from \"defu\";\nimport { extractRollupConfig } from \"powerlines/lib/build/rollup\";\nimport { RollupUserConfig } from \"powerlines/types/config\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport { rollup as build } from \"rollup\";\nimport { createRollupPlugin } from \"./helpers/unplugin\";\nimport { RollupPluginContext, RollupPluginOptions } from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\n/**\n * A Powerlines plugin to assist in developing other Powerlines plugins.\n */\nexport const plugin = <\n TContext extends RollupPluginContext = RollupPluginContext\n>(\n options: RollupPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"rollup\",\n config() {\n return {\n output: {\n format: [\"cjs\", \"esm\"]\n },\n build: {\n ...options,\n variant: \"rollup\"\n }\n } as Partial<RollupUserConfig>;\n },\n async build() {\n const result = await build(\n defu(\n {\n plugins: [createRollupPlugin(this)]\n },\n extractRollupConfig(this)\n )\n );\n\n await Promise.all(\n toArray(this.config.output.format).map(async format =>\n result.write({\n format\n })\n )\n );\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;AAiCA,MAAa,UAGX,UAA+B,EAAE,KACZ;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO;IACL,QAAQ,EACN,QAAQ,CAAC,OAAO,MAAM,EACvB;IACD,OAAO;KACL,GAAG;KACH,SAAS;KACV;IACF;;EAEH,MAAM,QAAQ;GACZ,MAAM,SAAS,MAAMA,OACnB,KACE,EACE,SAAS,CAAC,mBAAmB,KAAK,CAAC,EACpC,EACD,oBAAoB,KAAK,CAC1B,CACF;AAED,SAAM,QAAQ,IACZ,QAAQ,KAAK,OAAO,OAAO,OAAO,CAAC,IAAI,OAAM,WAC3C,OAAO,MAAM,EACX,QACD,CAAC,CACH,CACF;;EAEJ;;AAGH,kBAAe"}
@@ -1,2 +0,0 @@
1
- require('../plugin-pBKbb5K9.cjs');
2
- require('../types-o3zWarRp.cjs');
@@ -1,3 +1,2 @@
1
- import { a as __ΩRollupPluginOptions, i as __ΩRollupPluginContext, n as RollupPluginOptions, o as __ΩRollupPluginResolvedConfig, r as RollupPluginResolvedConfig, t as RollupPluginContext } from "../plugin-DlfE5ZsY.cjs";
2
- import "../index-D4ELpJXS.cjs";
1
+ import { RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig } from "./plugin.cjs";
3
2
  export { RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig };
@@ -1,3 +1,2 @@
1
- import { a as __ΩRollupPluginOptions, i as __ΩRollupPluginContext, n as RollupPluginOptions, o as __ΩRollupPluginResolvedConfig, r as RollupPluginResolvedConfig, t as RollupPluginContext } from "../plugin-Na5-83mO.mjs";
2
- import "../index-9iG2qHLe.mjs";
1
+ import { RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig } from "./plugin.mjs";
3
2
  export { RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig };
@@ -1,4 +1 @@
1
- import "../plugin-ifZVa20V.mjs";
2
- import "../types-U3zd8PTP.mjs";
3
-
4
1
  export { };
@@ -1 +0,0 @@
1
- require('../plugin-pBKbb5K9.cjs');
@@ -1,2 +1,14 @@
1
- import { a as __ΩRollupPluginOptions, i as __ΩRollupPluginContext, n as RollupPluginOptions, o as __ΩRollupPluginResolvedConfig, r as RollupPluginResolvedConfig, t as RollupPluginContext } from "../plugin-DlfE5ZsY.cjs";
2
- export { RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig };
1
+ import { RollupBuildConfig } from "powerlines/types/build";
2
+ import { PluginContext } from "powerlines/types/context";
3
+ import { RollupResolvedConfig } from "powerlines/types/resolved";
4
+
5
+ //#region src/types/plugin.d.ts
6
+ type RollupPluginOptions = Partial<RollupBuildConfig>;
7
+ type RollupPluginResolvedConfig = RollupResolvedConfig;
8
+ type RollupPluginContext<TResolvedConfig extends RollupPluginResolvedConfig = RollupPluginResolvedConfig> = PluginContext<TResolvedConfig>;
9
+ declare type __ΩRollupPluginOptions = any[];
10
+ declare type __ΩRollupPluginResolvedConfig = any[];
11
+ declare type __ΩRollupPluginContext = any[];
12
+ //#endregion
13
+ export { RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig };
14
+ //# sourceMappingURL=plugin.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAsBY,mBAAA,GAAsB,QAAQ;KAE9B,0BAAA,GAA6B;AAF7B,KAIA,mBAJmB,CAAA,wBAM3B,0BANqC,GAMR,0BANQ,CAAA,GAOrC,aAPqC,CAOvB,eAPuB,CAAA;AAE7B,sCAA6B,GAAA,EAAA;AAE7B,6CAAmB,GAAA,EAAA;AAE3B,sCAAA,GAAA,EAAA"}
@@ -1,2 +1,14 @@
1
- import { a as __ΩRollupPluginOptions, i as __ΩRollupPluginContext, n as RollupPluginOptions, o as __ΩRollupPluginResolvedConfig, r as RollupPluginResolvedConfig, t as RollupPluginContext } from "../plugin-Na5-83mO.mjs";
2
- export { RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig };
1
+ import { RollupBuildConfig } from "powerlines/types/build";
2
+ import { PluginContext } from "powerlines/types/context";
3
+ import { RollupResolvedConfig } from "powerlines/types/resolved";
4
+
5
+ //#region src/types/plugin.d.ts
6
+ type RollupPluginOptions = Partial<RollupBuildConfig>;
7
+ type RollupPluginResolvedConfig = RollupResolvedConfig;
8
+ type RollupPluginContext<TResolvedConfig extends RollupPluginResolvedConfig = RollupPluginResolvedConfig> = PluginContext<TResolvedConfig>;
9
+ declare type __ΩRollupPluginOptions = any[];
10
+ declare type __ΩRollupPluginResolvedConfig = any[];
11
+ declare type __ΩRollupPluginContext = any[];
12
+ //#endregion
13
+ export { RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig };
14
+ //# sourceMappingURL=plugin.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAsBY,mBAAA,GAAsB,QAAQ;KAE9B,0BAAA,GAA6B;AAF7B,KAIA,mBAJmB,CAAA,wBAM3B,0BANqC,GAMR,0BANQ,CAAA,GAOrC,aAPqC,CAOvB,eAPuB,CAAA;AAE7B,sCAA6B,GAAA,EAAA;AAE7B,6CAAmB,GAAA,EAAA;AAE3B,sCAAA,GAAA,EAAA"}
@@ -1,3 +1 @@
1
- import "../plugin-ifZVa20V.mjs";
2
-
3
1
  export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-rollup",
3
- "version": "0.7.263",
3
+ "version": "0.7.264",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "repository": {
@@ -124,15 +124,15 @@
124
124
  "@stryke/types": "^0.10.37",
125
125
  "defu": "^6.1.4",
126
126
  "jiti": "^2.6.1",
127
- "powerlines": "^0.38.20",
128
- "rollup": "^4.57.0",
127
+ "powerlines": "^0.38.21",
128
+ "rollup": "^4.57.1",
129
129
  "unplugin": "3.0.0-beta.3"
130
130
  },
131
131
  "devDependencies": {
132
- "@powerlines/plugin-plugin": "^0.12.204",
132
+ "@powerlines/plugin-plugin": "^0.12.205",
133
133
  "@types/node": "^24.10.9"
134
134
  },
135
135
  "publishConfig": { "access": "public" },
136
136
  "types": "./dist/index.d.cts",
137
- "gitHead": "54a89805dd69f77013ebbd3282232563d7af4e7b"
137
+ "gitHead": "6000a15bf3fbc1b7eaaf967088c68eef9949786a"
138
138
  }
@@ -1 +0,0 @@
1
- export { };
File without changes
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
@@ -1,14 +0,0 @@
1
- import { RollupBuildConfig } from "powerlines/types/build";
2
- import { PluginContext } from "powerlines/types/context";
3
- import { RollupResolvedConfig } from "powerlines/types/resolved";
4
-
5
- //#region src/types/plugin.d.ts
6
- type RollupPluginOptions = Partial<RollupBuildConfig>;
7
- type RollupPluginResolvedConfig = RollupResolvedConfig;
8
- type RollupPluginContext<TResolvedConfig extends RollupPluginResolvedConfig = RollupPluginResolvedConfig> = PluginContext<TResolvedConfig>;
9
- declare type __ΩRollupPluginOptions = any[];
10
- declare type __ΩRollupPluginResolvedConfig = any[];
11
- declare type __ΩRollupPluginContext = any[];
12
- //#endregion
13
- export { __ΩRollupPluginOptions as a, __ΩRollupPluginContext as i, RollupPluginOptions as n, __ΩRollupPluginResolvedConfig as o, RollupPluginResolvedConfig as r, RollupPluginContext as t };
14
- //# sourceMappingURL=plugin-DlfE5ZsY.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-DlfE5ZsY.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAsBY,mBAAA,GAAsB,QAAQ;KAE9B,0BAAA,GAA6B;AAF7B,KAIA,mBAJmB,CAAA,wBAM3B,0BANqC,GAMR,0BANQ,CAAA,GAOrC,aAPqC,CAOvB,eAPuB,CAAA;AAE7B,sCAA6B,GAAA,EAAA;AAE7B,6CAAmB,GAAA,EAAA;AAE3B,sCAAA,GAAA,EAAA"}
@@ -1,14 +0,0 @@
1
- import { RollupBuildConfig } from "powerlines/types/build";
2
- import { PluginContext } from "powerlines/types/context";
3
- import { RollupResolvedConfig } from "powerlines/types/resolved";
4
-
5
- //#region src/types/plugin.d.ts
6
- type RollupPluginOptions = Partial<RollupBuildConfig>;
7
- type RollupPluginResolvedConfig = RollupResolvedConfig;
8
- type RollupPluginContext<TResolvedConfig extends RollupPluginResolvedConfig = RollupPluginResolvedConfig> = PluginContext<TResolvedConfig>;
9
- declare type __ΩRollupPluginOptions = any[];
10
- declare type __ΩRollupPluginResolvedConfig = any[];
11
- declare type __ΩRollupPluginContext = any[];
12
- //#endregion
13
- export { __ΩRollupPluginOptions as a, __ΩRollupPluginContext as i, RollupPluginOptions as n, __ΩRollupPluginResolvedConfig as o, RollupPluginResolvedConfig as r, RollupPluginContext as t };
14
- //# sourceMappingURL=plugin-Na5-83mO.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-Na5-83mO.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAsBY,mBAAA,GAAsB,QAAQ;KAE9B,0BAAA,GAA6B;AAF7B,KAIA,mBAJmB,CAAA,wBAM3B,0BANqC,GAMR,0BANQ,CAAA,GAOrC,aAPqC,CAOvB,eAPuB,CAAA;AAE7B,sCAA6B,GAAA,EAAA;AAE7B,6CAAmB,GAAA,EAAA;AAE3B,sCAAA,GAAA,EAAA"}
@@ -1 +0,0 @@
1
- export { };
File without changes
@@ -1 +0,0 @@
1
- export { };
File without changes
@@ -1,11 +0,0 @@
1
- import { createUnplugin } from "powerlines/lib/unplugin";
2
- import { createEsbuildPlugin } from "unplugin";
3
-
4
- //#region src/helpers/unplugin.ts
5
- function createRollupPlugin(context) {
6
- return createEsbuildPlugin(createUnplugin(context))({});
7
- }
8
-
9
- //#endregion
10
- export { createRollupPlugin as t };
11
- //# sourceMappingURL=unplugin-C5eOaOji.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unplugin-C5eOaOji.mjs","names":[],"sources":["../src/helpers/unplugin.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createUnplugin } from \"powerlines/lib/unplugin\";\nimport { createEsbuildPlugin } from \"unplugin\";\nimport { RollupPluginContext } from \"../types/plugin\";\n\nexport function createRollupPlugin(context: RollupPluginContext) {\n return createEsbuildPlugin(createUnplugin(context))({});\n}\n"],"mappings":";;;;AAsBA,SAAgB,mBAAmB,SAA8B;AAC/D,QAAO,oBAAoB,eAAe,QAAQ,CAAC,CAAC,EAAE,CAAC"}
@@ -1,8 +0,0 @@
1
- import { t as RollupPluginContext } from "./plugin-DlfE5ZsY.cjs";
2
- import * as esbuild0 from "esbuild";
3
-
4
- //#region src/helpers/unplugin.d.ts
5
- declare function createRollupPlugin(context: RollupPluginContext): esbuild0.Plugin;
6
- //#endregion
7
- export { createRollupPlugin as t };
8
- //# sourceMappingURL=unplugin-CHWbd4Jl.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unplugin-CHWbd4Jl.d.cts","names":[],"sources":["../src/helpers/unplugin.ts"],"sourcesContent":[],"mappings":";;;;iBAsBgB,kBAAA,UAA4B,sBAAmB,QAAA,CAAA"}
@@ -1,16 +0,0 @@
1
- const require_index = require('./index.cjs');
2
- let powerlines_lib_unplugin = require("powerlines/lib/unplugin");
3
- let unplugin = require("unplugin");
4
-
5
- //#region src/helpers/unplugin.ts
6
- function createRollupPlugin(context) {
7
- return (0, unplugin.createEsbuildPlugin)((0, powerlines_lib_unplugin.createUnplugin)(context))({});
8
- }
9
-
10
- //#endregion
11
- Object.defineProperty(exports, 'createRollupPlugin', {
12
- enumerable: true,
13
- get: function () {
14
- return createRollupPlugin;
15
- }
16
- });
@@ -1,8 +0,0 @@
1
- import { t as RollupPluginContext } from "./plugin-Na5-83mO.mjs";
2
- import * as esbuild0 from "esbuild";
3
-
4
- //#region src/helpers/unplugin.d.ts
5
- declare function createRollupPlugin(context: RollupPluginContext): esbuild0.Plugin;
6
- //#endregion
7
- export { createRollupPlugin as t };
8
- //# sourceMappingURL=unplugin-DfhyXwLx.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unplugin-DfhyXwLx.d.mts","names":[],"sources":["../src/helpers/unplugin.ts"],"sourcesContent":[],"mappings":";;;;iBAsBgB,kBAAA,UAA4B,sBAAmB,QAAA,CAAA"}