@powerlines/plugin-rollup 0.7.310 → 0.7.312

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 (31) hide show
  1. package/dist/helpers/index.d.cts +3 -3
  2. package/dist/helpers/index.d.mts +3 -3
  3. package/dist/helpers/resolve-options.d.cts +1 -1
  4. package/dist/helpers/resolve-options.d.mts +1 -1
  5. package/dist/helpers/unplugin.d.cts +2 -2
  6. package/dist/helpers/unplugin.d.mts +2 -2
  7. package/dist/index.d.cts +9 -4
  8. package/dist/index.d.cts.map +1 -1
  9. package/dist/index.d.mts +9 -4
  10. package/dist/index.d.mts.map +1 -1
  11. package/dist/index.mjs.map +1 -1
  12. package/dist/{plugin-Diu2VjRD.d.mts → plugin-BCFpvByy.d.mts} +2 -2
  13. package/dist/{plugin-Diu2VjRD.d.mts.map → plugin-BCFpvByy.d.mts.map} +1 -1
  14. package/dist/{plugin-jKu50p7w.d.cts → plugin-BULXKDMv.d.cts} +2 -2
  15. package/dist/{plugin-jKu50p7w.d.cts.map → plugin-BULXKDMv.d.cts.map} +1 -1
  16. package/dist/resolve-options-Aps_4r5P.mjs.map +1 -1
  17. package/dist/{resolve-options-CDAAEyhT.d.cts → resolve-options-C5kHKAmS.d.cts} +2 -2
  18. package/dist/{resolve-options-CDAAEyhT.d.cts.map → resolve-options-C5kHKAmS.d.cts.map} +1 -1
  19. package/dist/{resolve-options-E_fWwC71.d.mts → resolve-options-k4Zaspd8.d.mts} +2 -2
  20. package/dist/{resolve-options-E_fWwC71.d.mts.map → resolve-options-k4Zaspd8.d.mts.map} +1 -1
  21. package/dist/types/index.d.cts +1 -1
  22. package/dist/types/index.d.mts +1 -1
  23. package/dist/types/plugin.d.cts +1 -1
  24. package/dist/types/plugin.d.mts +1 -1
  25. package/dist/{unplugin-BMtcWvP4.d.mts → unplugin-BMzDrbyK.d.cts} +2 -2
  26. package/dist/unplugin-BMzDrbyK.d.cts.map +1 -0
  27. package/dist/{unplugin-JxAcixPP.d.cts → unplugin-CYs-oGNg.d.mts} +2 -2
  28. package/dist/unplugin-CYs-oGNg.d.mts.map +1 -0
  29. package/package.json +4 -4
  30. package/dist/unplugin-BMtcWvP4.d.mts.map +0 -1
  31. package/dist/unplugin-JxAcixPP.d.cts.map +0 -1
@@ -1,6 +1,6 @@
1
- import { n as resolveOptions, t as dtsBundlePlugin } from "../resolve-options-CDAAEyhT.cjs";
1
+ import { n as resolveOptions, t as dtsBundlePlugin } from "../resolve-options-C5kHKAmS.cjs";
2
2
  import "../build-CZBW0WlF.cjs";
3
- import "../plugin-jKu50p7w.cjs";
4
- import { t as createRollupPlugin } from "../unplugin-JxAcixPP.cjs";
3
+ import "../plugin-BULXKDMv.cjs";
4
+ import { t as createRollupPlugin } from "../unplugin-BMzDrbyK.cjs";
5
5
  import "../index-CiBIKhMu.cjs";
6
6
  export { createRollupPlugin, dtsBundlePlugin, resolveOptions };
@@ -1,6 +1,6 @@
1
- import { n as resolveOptions, t as dtsBundlePlugin } from "../resolve-options-E_fWwC71.mjs";
1
+ import { n as resolveOptions, t as dtsBundlePlugin } from "../resolve-options-k4Zaspd8.mjs";
2
2
  import "../build-DZybhECU.mjs";
3
- import "../plugin-Diu2VjRD.mjs";
4
- import { t as createRollupPlugin } from "../unplugin-BMtcWvP4.mjs";
3
+ import "../plugin-BCFpvByy.mjs";
4
+ import { t as createRollupPlugin } from "../unplugin-CYs-oGNg.mjs";
5
5
  import "../index-CW2WHUXP.mjs";
6
6
  export { createRollupPlugin, dtsBundlePlugin, resolveOptions };
@@ -1,2 +1,2 @@
1
- import { n as resolveOptions, t as dtsBundlePlugin } from "../resolve-options-CDAAEyhT.cjs";
1
+ import { n as resolveOptions, t as dtsBundlePlugin } from "../resolve-options-C5kHKAmS.cjs";
2
2
  export { dtsBundlePlugin, resolveOptions };
@@ -1,2 +1,2 @@
1
- import { n as resolveOptions, t as dtsBundlePlugin } from "../resolve-options-E_fWwC71.mjs";
1
+ import { n as resolveOptions, t as dtsBundlePlugin } from "../resolve-options-k4Zaspd8.mjs";
2
2
  export { dtsBundlePlugin, resolveOptions };
@@ -1,4 +1,4 @@
1
1
  import "../build-CZBW0WlF.cjs";
2
- import "../plugin-jKu50p7w.cjs";
3
- import { t as createRollupPlugin } from "../unplugin-JxAcixPP.cjs";
2
+ import "../plugin-BULXKDMv.cjs";
3
+ import { t as createRollupPlugin } from "../unplugin-BMzDrbyK.cjs";
4
4
  export { createRollupPlugin };
@@ -1,4 +1,4 @@
1
1
  import "../build-DZybhECU.mjs";
2
- import "../plugin-Diu2VjRD.mjs";
3
- import { t as createRollupPlugin } from "../unplugin-BMtcWvP4.mjs";
2
+ import "../plugin-BCFpvByy.mjs";
3
+ import { t as createRollupPlugin } from "../unplugin-CYs-oGNg.mjs";
4
4
  export { createRollupPlugin };
package/dist/index.d.cts CHANGED
@@ -1,12 +1,17 @@
1
- import { n as resolveOptions, t as dtsBundlePlugin } from "./resolve-options-CDAAEyhT.cjs";
1
+ import { n as resolveOptions, t as dtsBundlePlugin } from "./resolve-options-C5kHKAmS.cjs";
2
2
  import { n as __ΩRollupOptions, t as RollupOptions } from "./build-CZBW0WlF.cjs";
3
- import { a as __ΩRollupPluginContext, c as __ΩRollupPluginUserConfig, i as RollupPluginUserConfig, n as RollupPluginOptions, o as __ΩRollupPluginOptions, r as RollupPluginResolvedConfig, s as __ΩRollupPluginResolvedConfig, t as RollupPluginContext } from "./plugin-jKu50p7w.cjs";
4
- import { t as createRollupPlugin } from "./unplugin-JxAcixPP.cjs";
3
+ import { a as __ΩRollupPluginContext, c as __ΩRollupPluginUserConfig, i as RollupPluginUserConfig, n as RollupPluginOptions, o as __ΩRollupPluginOptions, r as RollupPluginResolvedConfig, s as __ΩRollupPluginResolvedConfig, t as RollupPluginContext } from "./plugin-BULXKDMv.cjs";
4
+ import { t as createRollupPlugin } from "./unplugin-BMzDrbyK.cjs";
5
5
  import "./index-CiBIKhMu.cjs";
6
6
  import "./index-B_e8BwCm.cjs";
7
- import { Plugin } from "@powerlines/core/types";
7
+ import { Plugin } from "@powerlines/core";
8
8
 
9
9
  //#region src/index.d.ts
10
+ declare module "@powerlines/core" {
11
+ interface BaseConfig {
12
+ rollup?: RollupPluginOptions;
13
+ }
14
+ }
10
15
  /**
11
16
  * A Powerlines plugin to assist in developing other Powerlines plugins.
12
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAoCa,0BACM,sBAAsB,+BAE9B,wBACR,OAAO"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;aAmCa;;;AAJW;;;AAIQ,cAOnB,MAPmB,EAAA,CAAA,iBAQb,mBARa,GAQS,mBART,CAAA,CAAA,OAAA,CAAA,EAUrB,mBAVqB,EAAA,GAW7B,MAX6B,CAWtB,QAXsB,CAAA"}
package/dist/index.d.mts CHANGED
@@ -1,12 +1,17 @@
1
- import { n as resolveOptions, t as dtsBundlePlugin } from "./resolve-options-E_fWwC71.mjs";
1
+ import { n as resolveOptions, t as dtsBundlePlugin } from "./resolve-options-k4Zaspd8.mjs";
2
2
  import { n as __ΩRollupOptions, t as RollupOptions } from "./build-DZybhECU.mjs";
3
- import { a as __ΩRollupPluginContext, c as __ΩRollupPluginUserConfig, i as RollupPluginUserConfig, n as RollupPluginOptions, o as __ΩRollupPluginOptions, r as RollupPluginResolvedConfig, s as __ΩRollupPluginResolvedConfig, t as RollupPluginContext } from "./plugin-Diu2VjRD.mjs";
4
- import { t as createRollupPlugin } from "./unplugin-BMtcWvP4.mjs";
3
+ import { a as __ΩRollupPluginContext, c as __ΩRollupPluginUserConfig, i as RollupPluginUserConfig, n as RollupPluginOptions, o as __ΩRollupPluginOptions, r as RollupPluginResolvedConfig, s as __ΩRollupPluginResolvedConfig, t as RollupPluginContext } from "./plugin-BCFpvByy.mjs";
4
+ import { t as createRollupPlugin } from "./unplugin-CYs-oGNg.mjs";
5
5
  import "./index-CW2WHUXP.mjs";
6
6
  import "./index-Cc7fCJU9.mjs";
7
- import { Plugin } from "@powerlines/core/types";
7
+ import { Plugin } from "@powerlines/core";
8
8
 
9
9
  //#region src/index.d.ts
10
+ declare module "@powerlines/core" {
11
+ interface BaseConfig {
12
+ rollup?: RollupPluginOptions;
13
+ }
14
+ }
10
15
  /**
11
16
  * A Powerlines plugin to assist in developing other Powerlines plugins.
12
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAoCa,0BACM,sBAAsB,+BAE9B,wBACR,OAAO"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;aAmCa;;;AAJW;;;AAIQ,cAOnB,MAPmB,EAAA,CAAA,iBAQb,mBARa,GAQS,mBART,CAAA,CAAA,OAAA,CAAA,EAUrB,mBAVqB,EAAA,GAW7B,MAX6B,CAWtB,QAXsB,CAAA"}
@@ -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 { Plugin } from \"@powerlines/core/types\";\nimport { toArray } from \"@stryke/convert/to-array\";\nimport defu from \"defu\";\nimport { rollup as build } from \"rollup\";\nimport { resolveOptions } from \"./helpers\";\nimport { createRollupPlugin } from \"./helpers/unplugin\";\nimport {\n RollupPluginContext,\n RollupPluginOptions,\n RollupPluginUserConfig\n} 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 rollup: {\n ...options\n }\n } as Partial<RollupPluginUserConfig>;\n },\n async build() {\n const result = await build(\n defu(\n {\n plugins: [createRollupPlugin(this)]\n },\n resolveOptions(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":";;;;;;;;;;;;;;AAoCA,MAAa,UAGX,UAA+B,EAAE,KACZ;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO;IACL,QAAQ,EACN,QAAQ,CAAC,OAAO,MAAM,EACvB;IACD,QAAQ,EACN,GAAG,SACJ;IACF;;EAEH,MAAM,QAAQ;GACZ,MAAM,SAAS,MAAMA,OACnB,KACE,EACE,SAAS,CAAC,mBAAmB,KAAK,CAAC,EACpC,EACD,eAAe,KAAK,CACrB,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 { Plugin } from \"@powerlines/core\";\nimport { toArray } from \"@stryke/convert/to-array\";\nimport defu from \"defu\";\nimport { rollup as build } from \"rollup\";\nimport { resolveOptions } from \"./helpers\";\nimport { createRollupPlugin } from \"./helpers/unplugin\";\nimport {\n RollupPluginContext,\n RollupPluginOptions,\n RollupPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\ndeclare module \"@powerlines/core\" {\n interface BaseConfig {\n rollup?: RollupPluginOptions;\n }\n}\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 rollup: {\n ...options\n }\n } as Partial<RollupPluginUserConfig>;\n },\n async build() {\n const result = await build(\n defu(\n {\n plugins: [createRollupPlugin(this)]\n },\n resolveOptions(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":";;;;;;;;;;;;;;AA0CA,MAAa,UAGX,UAA+B,EAAE,KACZ;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO;IACL,QAAQ,EACN,QAAQ,CAAC,OAAO,MAAM,EACvB;IACD,QAAQ,EACN,GAAG,SACJ;IACF;;EAEH,MAAM,QAAQ;GACZ,MAAM,SAAS,MAAMA,OACnB,KACE,EACE,SAAS,CAAC,mBAAmB,KAAK,CAAC,EACpC,EACD,eAAe,KAAK,CACrB,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,5 +1,5 @@
1
1
  import { t as RollupOptions } from "./build-DZybhECU.mjs";
2
- import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core/types";
2
+ import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core";
3
3
 
4
4
  //#region src/types/plugin.d.ts
5
5
  type RollupPluginOptions = Partial<RollupOptions>;
@@ -16,4 +16,4 @@ declare type __ΩRollupPluginResolvedConfig = any[];
16
16
  declare type __ΩRollupPluginContext = any[];
17
17
  //#endregion
18
18
  export { __ΩRollupPluginContext as a, __ΩRollupPluginUserConfig as c, RollupPluginUserConfig as i, RollupPluginOptions as n, __ΩRollupPluginOptions as o, RollupPluginResolvedConfig as r, __ΩRollupPluginResolvedConfig as s, RollupPluginContext as t };
19
- //# sourceMappingURL=plugin-Diu2VjRD.d.mts.map
19
+ //# sourceMappingURL=plugin-BCFpvByy.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin-Diu2VjRD.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KAyBY,mBAAA,GAAsB,QAAQ;UAEzB,sBAAA,SAA+B;EAFpC,MAAA,EAGF,mBAHqB;AAE/B;AAIiB,UAAA,0BAAA,SAAmC,cAAA,CAAA;EAIxC,MAAA,EAHF,aAGE;;AAER,KAFQ,mBAER,CAAA,wBADsB,0BACtB,GAAA,0BAAA,CAAA,GACA,aADA,CACc,eADd,CAAA;AACc,sCAAA,GAAA,EAAA;AAAd,yCAAA,GAAA,EAAA;AAAa,6CAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"plugin-BCFpvByy.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KAqBY,mBAAA,GAAsB,QAAQ;UAEzB,sBAAA,SAA+B;EAFpC,MAAA,EAGF,mBAHqB;AAE/B;AAIiB,UAAA,0BAAA,SAAmC,cAAA,CAAA;EAIxC,MAAA,EAHF,aAGE;;AAER,KAFQ,mBAER,CAAA,wBADsB,0BACtB,GAAA,0BAAA,CAAA,GACA,aADA,CACc,eADd,CAAA;AACc,sCAAA,GAAA,EAAA;AAAd,yCAAA,GAAA,EAAA;AAAa,6CAAA,GAAA,EAAA"}
@@ -1,5 +1,5 @@
1
1
  import { t as RollupOptions } from "./build-CZBW0WlF.cjs";
2
- import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core/types";
2
+ import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core";
3
3
 
4
4
  //#region src/types/plugin.d.ts
5
5
  type RollupPluginOptions = Partial<RollupOptions>;
@@ -16,4 +16,4 @@ declare type __ΩRollupPluginResolvedConfig = any[];
16
16
  declare type __ΩRollupPluginContext = any[];
17
17
  //#endregion
18
18
  export { __ΩRollupPluginContext as a, __ΩRollupPluginUserConfig as c, RollupPluginUserConfig as i, RollupPluginOptions as n, __ΩRollupPluginOptions as o, RollupPluginResolvedConfig as r, __ΩRollupPluginResolvedConfig as s, RollupPluginContext as t };
19
- //# sourceMappingURL=plugin-jKu50p7w.d.cts.map
19
+ //# sourceMappingURL=plugin-BULXKDMv.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin-jKu50p7w.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KAyBY,mBAAA,GAAsB,QAAQ;UAEzB,sBAAA,SAA+B;EAFpC,MAAA,EAGF,mBAHqB;AAE/B;AAIiB,UAAA,0BAAA,SAAmC,cAAA,CAAA;EAIxC,MAAA,EAHF,aAGE;;AAER,KAFQ,mBAER,CAAA,wBADsB,0BACtB,GAAA,0BAAA,CAAA,GACA,aADA,CACc,eADd,CAAA;AACc,sCAAA,GAAA,EAAA;AAAd,yCAAA,GAAA,EAAA;AAAa,6CAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"plugin-BULXKDMv.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KAqBY,mBAAA,GAAsB,QAAQ;UAEzB,sBAAA,SAA+B;EAFpC,MAAA,EAGF,mBAHqB;AAE/B;AAIiB,UAAA,0BAAA,SAAmC,cAAA,CAAA;EAIxC,MAAA,EAHF,aAGE;;AAER,KAFQ,mBAER,CAAA,wBADsB,0BACtB,GAAA,0BAAA,CAAA,GACA,aADA,CACc,eADd,CAAA;AACc,sCAAA,GAAA,EAAA;AAAd,yCAAA,GAAA,EAAA;AAAa,6CAAA,GAAA,EAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-options-Aps_4r5P.mjs","names":["dtsBundlePlugin: Plugin"],"sources":["../src/helpers/resolve-options.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 { Context } from \"@powerlines/core/types\";\nimport { BabelPluginResolvedConfig } from \"@powerlines/plugin-babel/types/plugin\";\nimport alias from \"@rollup/plugin-alias\";\nimport {\n getBabelInputPlugin,\n RollupBabelInputPluginOptions\n} from \"@rollup/plugin-babel\";\nimport inject from \"@rollup/plugin-inject\";\nimport resolve from \"@rollup/plugin-node-resolve\";\nimport replace from \"@rollup/plugin-replace\";\nimport { toArray } from \"@stryke/convert/to-array\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport defu from \"defu\";\nimport { globSync } from \"node:fs\";\nimport type { RollupOptions } from \"rollup\";\nimport { Plugin } from \"rollup\";\nimport typescriptPlugin from \"rollup-plugin-typescript2\";\nimport { RollupPluginResolvedConfig } from \"../types/plugin\";\n\n/**\n * A Rollup plugin to bundle TypeScript declaration files (.d.ts) alongside the JavaScript output files.\n *\n * @remarks\n * This plugin generates .d.ts files for each entry point in the bundle, ensuring that type definitions are available for consumers of the library.\n */\nexport const dtsBundlePlugin: Plugin = {\n name: \"powerlines:dts-bundle\",\n async generateBundle(_opts, bundle) {\n for (const [, file] of Object.entries(bundle)) {\n if (\n file.type === \"asset\" ||\n !file.isEntry ||\n file.facadeModuleId == null\n ) {\n continue;\n }\n\n // Replace various JavaScript file extensions (e.g., .js, .cjs, .mjs, .cjs.js, .mjs.js) with .d.ts for generating type definition file names.\n const dtsFileName = file.fileName.replace(\n /(?:\\.cjs|\\.mjs|\\.esm\\.js|\\.cjs\\.js|\\.mjs\\.js|\\.js)$/,\n \".d.ts\"\n );\n\n const relativeSourceDtsName = JSON.stringify(\n `./${file.facadeModuleId.replace(/\\.[cm]?[jt]sx?$/, \"\")}`\n );\n\n this.emitFile({\n type: \"asset\",\n fileName: dtsFileName,\n source: file.exports.includes(\"default\")\n ? `export * from ${relativeSourceDtsName};\\nexport { default } from ${relativeSourceDtsName};\\n`\n : `export * from ${relativeSourceDtsName};\\n`\n });\n }\n }\n};\n\n/**\n * Resolves the options for [rollup](https://rollupjs.org).\n *\n * @param context - The build context.\n * @returns The resolved options.\n */\nexport function resolveOptions(context: Context): RollupOptions {\n const result = defu(\n {\n input: globSync(\n toArray(context.entry).map(entry =>\n isString(entry) ? entry : entry.file\n )\n ).flat(),\n external: (source: string) => {\n if (\n context.config.resolve.external &&\n toArray(context.config.resolve.external).includes(source)\n ) {\n return true;\n }\n\n if (\n context.config.resolve.noExternal &&\n toArray(context.config.resolve.noExternal).includes(source)\n ) {\n return false;\n }\n\n if (context.builtins.includes(source)) {\n return context.config.projectType !== \"application\";\n }\n\n return !context.config.resolve.skipNodeModulesBundle;\n },\n plugins: [\n typescriptPlugin({\n check: false,\n tsconfig: context.tsconfig.tsconfigFilePath\n }),\n context.config.define &&\n Object.keys(context.config.define).length > 0 &&\n replace({\n sourceMap: context.config.mode === \"development\",\n preventAssignment: true,\n ...(context.config.define ?? {})\n }),\n context.config.inject &&\n Object.keys(context.config.inject).length > 0 &&\n inject({\n sourceMap: context.config.mode === \"development\",\n ...context.config.inject\n }),\n alias({\n entries: Object.entries(context.alias).reduce(\n (ret, [id, path]) => {\n if (!ret.find(e => e.find === id)) {\n ret.push({\n find: id,\n replacement: path\n });\n } else {\n context.warn(\n `Duplicate alias entry for '${id}' detected. The first entry will be used.`\n );\n }\n\n return ret;\n },\n [] as { find: string; replacement: string }[]\n )\n }),\n (context.config as BabelPluginResolvedConfig).babel &&\n getBabelInputPlugin(\n defu((context.config as BabelPluginResolvedConfig).babel, {\n caller: {\n name: \"powerlines\",\n supportsStaticESM: true\n },\n cwd: context.config.root,\n babelrc: false,\n extensions: [\".js\", \".jsx\", \".ts\", \".tsx\"],\n babelHelpers: \"bundled\",\n skipPreflightCheck: true,\n exclude: /node_modules/\n }) as RollupBabelInputPluginOptions\n ),\n resolve({\n moduleDirectories: [\"node_modules\"],\n preferBuiltins: true\n }),\n dtsBundlePlugin\n ].filter(Boolean) as Plugin[]\n },\n (context.config as RollupPluginResolvedConfig)?.rollup\n ? (context.config as RollupPluginResolvedConfig)?.rollup\n : {},\n {\n cache: !context.config.skipCache\n ? joinPaths(context.cachePath, \"rollup\")\n : false,\n logLevel: context.config.logLevel,\n output: [\n {\n dir: context.config.output.buildPath,\n format: \"es\",\n entryFileNames: \"[name].js\",\n preserveModules: true,\n sourcemap: context.config.mode === \"development\"\n },\n {\n dir: context.config.output.buildPath,\n format: \"cjs\",\n entryFileNames: \"[name].cjs\",\n preserveModules: true,\n sourcemap: context.config.mode === \"development\"\n }\n ]\n }\n ) as RollupOptions;\n\n return result;\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"resolve-options-Aps_4r5P.mjs","names":["dtsBundlePlugin: Plugin"],"sources":["../src/helpers/resolve-options.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 { Context } from \"@powerlines/core\";\nimport { BabelPluginResolvedConfig } from \"@powerlines/plugin-babel/types/plugin\";\nimport alias from \"@rollup/plugin-alias\";\nimport {\n getBabelInputPlugin,\n RollupBabelInputPluginOptions\n} from \"@rollup/plugin-babel\";\nimport inject from \"@rollup/plugin-inject\";\nimport resolve from \"@rollup/plugin-node-resolve\";\nimport replace from \"@rollup/plugin-replace\";\nimport { toArray } from \"@stryke/convert/to-array\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport defu from \"defu\";\nimport { globSync } from \"node:fs\";\nimport type { RollupOptions } from \"rollup\";\nimport { Plugin } from \"rollup\";\nimport typescriptPlugin from \"rollup-plugin-typescript2\";\nimport { RollupPluginResolvedConfig } from \"../types/plugin\";\n\n/**\n * A Rollup plugin to bundle TypeScript declaration files (.d.ts) alongside the JavaScript output files.\n *\n * @remarks\n * This plugin generates .d.ts files for each entry point in the bundle, ensuring that type definitions are available for consumers of the library.\n */\nexport const dtsBundlePlugin: Plugin = {\n name: \"powerlines:dts-bundle\",\n async generateBundle(_opts, bundle) {\n for (const [, file] of Object.entries(bundle)) {\n if (\n file.type === \"asset\" ||\n !file.isEntry ||\n file.facadeModuleId == null\n ) {\n continue;\n }\n\n // Replace various JavaScript file extensions (e.g., .js, .cjs, .mjs, .cjs.js, .mjs.js) with .d.ts for generating type definition file names.\n const dtsFileName = file.fileName.replace(\n /(?:\\.cjs|\\.mjs|\\.esm\\.js|\\.cjs\\.js|\\.mjs\\.js|\\.js)$/,\n \".d.ts\"\n );\n\n const relativeSourceDtsName = JSON.stringify(\n `./${file.facadeModuleId.replace(/\\.[cm]?[jt]sx?$/, \"\")}`\n );\n\n this.emitFile({\n type: \"asset\",\n fileName: dtsFileName,\n source: file.exports.includes(\"default\")\n ? `export * from ${relativeSourceDtsName};\\nexport { default } from ${relativeSourceDtsName};\\n`\n : `export * from ${relativeSourceDtsName};\\n`\n });\n }\n }\n};\n\n/**\n * Resolves the options for [rollup](https://rollupjs.org).\n *\n * @param context - The build context.\n * @returns The resolved options.\n */\nexport function resolveOptions(context: Context): RollupOptions {\n const result = defu(\n {\n input: globSync(\n toArray(context.entry).map(entry =>\n isString(entry) ? entry : entry.file\n )\n ).flat(),\n external: (source: string) => {\n if (\n context.config.resolve.external &&\n toArray(context.config.resolve.external).includes(source)\n ) {\n return true;\n }\n\n if (\n context.config.resolve.noExternal &&\n toArray(context.config.resolve.noExternal).includes(source)\n ) {\n return false;\n }\n\n if (context.builtins.includes(source)) {\n return context.config.projectType !== \"application\";\n }\n\n return !context.config.resolve.skipNodeModulesBundle;\n },\n plugins: [\n typescriptPlugin({\n check: false,\n tsconfig: context.tsconfig.tsconfigFilePath\n }),\n context.config.define &&\n Object.keys(context.config.define).length > 0 &&\n replace({\n sourceMap: context.config.mode === \"development\",\n preventAssignment: true,\n ...(context.config.define ?? {})\n }),\n context.config.inject &&\n Object.keys(context.config.inject).length > 0 &&\n inject({\n sourceMap: context.config.mode === \"development\",\n ...context.config.inject\n }),\n alias({\n entries: Object.entries(context.alias).reduce(\n (ret, [id, path]) => {\n if (!ret.find(e => e.find === id)) {\n ret.push({\n find: id,\n replacement: path\n });\n } else {\n context.warn(\n `Duplicate alias entry for '${id}' detected. The first entry will be used.`\n );\n }\n\n return ret;\n },\n [] as { find: string; replacement: string }[]\n )\n }),\n (context.config as BabelPluginResolvedConfig).babel &&\n getBabelInputPlugin(\n defu((context.config as BabelPluginResolvedConfig).babel, {\n caller: {\n name: \"powerlines\",\n supportsStaticESM: true\n },\n cwd: context.config.root,\n babelrc: false,\n extensions: [\".js\", \".jsx\", \".ts\", \".tsx\"],\n babelHelpers: \"bundled\",\n skipPreflightCheck: true,\n exclude: /node_modules/\n }) as RollupBabelInputPluginOptions\n ),\n resolve({\n moduleDirectories: [\"node_modules\"],\n preferBuiltins: true\n }),\n dtsBundlePlugin\n ].filter(Boolean) as Plugin[]\n },\n (context.config as RollupPluginResolvedConfig)?.rollup\n ? (context.config as RollupPluginResolvedConfig)?.rollup\n : {},\n {\n cache: !context.config.skipCache\n ? joinPaths(context.cachePath, \"rollup\")\n : false,\n logLevel: context.config.logLevel,\n output: [\n {\n dir: context.config.output.buildPath,\n format: \"es\",\n entryFileNames: \"[name].js\",\n preserveModules: true,\n sourcemap: context.config.mode === \"development\"\n },\n {\n dir: context.config.output.buildPath,\n format: \"cjs\",\n entryFileNames: \"[name].cjs\",\n preserveModules: true,\n sourcemap: context.config.mode === \"development\"\n }\n ]\n }\n ) as RollupOptions;\n\n return result;\n}\n"],"mappings":"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"}
@@ -1,4 +1,4 @@
1
- import { Context } from "@powerlines/core/types";
1
+ import { Context } from "@powerlines/core";
2
2
  import { Plugin as Plugin$1, RollupOptions } from "rollup";
3
3
 
4
4
  //#region src/helpers/resolve-options.d.ts
@@ -19,4 +19,4 @@ declare const dtsBundlePlugin: Plugin$1;
19
19
  declare function resolveOptions(context: Context): RollupOptions;
20
20
  //#endregion
21
21
  export { resolveOptions as n, dtsBundlePlugin as t };
22
- //# sourceMappingURL=resolve-options-CDAAEyhT.d.cts.map
22
+ //# sourceMappingURL=resolve-options-C5kHKAmS.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-options-CDAAEyhT.d.cts","names":[],"sources":["../src/helpers/resolve-options.ts"],"sourcesContent":[],"mappings":";;;;;;AA4CA;AAuCA;;;;cAvCa,iBAAiB;;;;;;;iBAuCd,cAAA,UAAwB,UAAU"}
1
+ {"version":3,"file":"resolve-options-C5kHKAmS.d.cts","names":[],"sources":["../src/helpers/resolve-options.ts"],"sourcesContent":[],"mappings":";;;;;;AA4CA;AAuCA;;;;cAvCa,iBAAiB;;;;;;;iBAuCd,cAAA,UAAwB,UAAU"}
@@ -1,5 +1,5 @@
1
1
  import { Plugin, RollupOptions } from "rollup";
2
- import { Context } from "@powerlines/core/types";
2
+ import { Context } from "@powerlines/core";
3
3
 
4
4
  //#region src/helpers/resolve-options.d.ts
5
5
 
@@ -19,4 +19,4 @@ declare const dtsBundlePlugin: Plugin;
19
19
  declare function resolveOptions(context: Context): RollupOptions;
20
20
  //#endregion
21
21
  export { resolveOptions as n, dtsBundlePlugin as t };
22
- //# sourceMappingURL=resolve-options-E_fWwC71.d.mts.map
22
+ //# sourceMappingURL=resolve-options-k4Zaspd8.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-options-E_fWwC71.d.mts","names":[],"sources":["../src/helpers/resolve-options.ts"],"sourcesContent":[],"mappings":";;;;;;AA4CA;AAuCA;;;;cAvCa,iBAAiB;;;;;;;iBAuCd,cAAA,UAAwB,UAAU"}
1
+ {"version":3,"file":"resolve-options-k4Zaspd8.d.mts","names":[],"sources":["../src/helpers/resolve-options.ts"],"sourcesContent":[],"mappings":";;;;;;AA4CA;AAuCA;;;;cAvCa,iBAAiB;;;;;;;iBAuCd,cAAA,UAAwB,UAAU"}
@@ -1,4 +1,4 @@
1
1
  import { n as __ΩRollupOptions, t as RollupOptions } from "../build-CZBW0WlF.cjs";
2
- import { a as __ΩRollupPluginContext, c as __ΩRollupPluginUserConfig, i as RollupPluginUserConfig, n as RollupPluginOptions, o as __ΩRollupPluginOptions, r as RollupPluginResolvedConfig, s as __ΩRollupPluginResolvedConfig, t as RollupPluginContext } from "../plugin-jKu50p7w.cjs";
2
+ import { a as __ΩRollupPluginContext, c as __ΩRollupPluginUserConfig, i as RollupPluginUserConfig, n as RollupPluginOptions, o as __ΩRollupPluginOptions, r as RollupPluginResolvedConfig, s as __ΩRollupPluginResolvedConfig, t as RollupPluginContext } from "../plugin-BULXKDMv.cjs";
3
3
  import "../index-B_e8BwCm.cjs";
4
4
  export { RollupOptions, RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, RollupPluginUserConfig, __ΩRollupOptions, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig, __ΩRollupPluginUserConfig };
@@ -1,4 +1,4 @@
1
1
  import { n as __ΩRollupOptions, t as RollupOptions } from "../build-DZybhECU.mjs";
2
- import { a as __ΩRollupPluginContext, c as __ΩRollupPluginUserConfig, i as RollupPluginUserConfig, n as RollupPluginOptions, o as __ΩRollupPluginOptions, r as RollupPluginResolvedConfig, s as __ΩRollupPluginResolvedConfig, t as RollupPluginContext } from "../plugin-Diu2VjRD.mjs";
2
+ import { a as __ΩRollupPluginContext, c as __ΩRollupPluginUserConfig, i as RollupPluginUserConfig, n as RollupPluginOptions, o as __ΩRollupPluginOptions, r as RollupPluginResolvedConfig, s as __ΩRollupPluginResolvedConfig, t as RollupPluginContext } from "../plugin-BCFpvByy.mjs";
3
3
  import "../index-Cc7fCJU9.mjs";
4
4
  export { RollupOptions, RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, RollupPluginUserConfig, __ΩRollupOptions, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig, __ΩRollupPluginUserConfig };
@@ -1,3 +1,3 @@
1
1
  import "../build-CZBW0WlF.cjs";
2
- import { a as __ΩRollupPluginContext, c as __ΩRollupPluginUserConfig, i as RollupPluginUserConfig, n as RollupPluginOptions, o as __ΩRollupPluginOptions, r as RollupPluginResolvedConfig, s as __ΩRollupPluginResolvedConfig, t as RollupPluginContext } from "../plugin-jKu50p7w.cjs";
2
+ import { a as __ΩRollupPluginContext, c as __ΩRollupPluginUserConfig, i as RollupPluginUserConfig, n as RollupPluginOptions, o as __ΩRollupPluginOptions, r as RollupPluginResolvedConfig, s as __ΩRollupPluginResolvedConfig, t as RollupPluginContext } from "../plugin-BULXKDMv.cjs";
3
3
  export { RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, RollupPluginUserConfig, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig, __ΩRollupPluginUserConfig };
@@ -1,3 +1,3 @@
1
1
  import "../build-DZybhECU.mjs";
2
- import { a as __ΩRollupPluginContext, c as __ΩRollupPluginUserConfig, i as RollupPluginUserConfig, n as RollupPluginOptions, o as __ΩRollupPluginOptions, r as RollupPluginResolvedConfig, s as __ΩRollupPluginResolvedConfig, t as RollupPluginContext } from "../plugin-Diu2VjRD.mjs";
2
+ import { a as __ΩRollupPluginContext, c as __ΩRollupPluginUserConfig, i as RollupPluginUserConfig, n as RollupPluginOptions, o as __ΩRollupPluginOptions, r as RollupPluginResolvedConfig, s as __ΩRollupPluginResolvedConfig, t as RollupPluginContext } from "../plugin-BCFpvByy.mjs";
3
3
  export { RollupPluginContext, RollupPluginOptions, RollupPluginResolvedConfig, RollupPluginUserConfig, __ΩRollupPluginContext, __ΩRollupPluginOptions, __ΩRollupPluginResolvedConfig, __ΩRollupPluginUserConfig };
@@ -1,8 +1,8 @@
1
- import { t as RollupPluginContext } from "./plugin-Diu2VjRD.mjs";
1
+ import { t as RollupPluginContext } from "./plugin-BULXKDMv.cjs";
2
2
  import * as esbuild0 from "esbuild";
3
3
 
4
4
  //#region src/helpers/unplugin.d.ts
5
5
  declare function createRollupPlugin(context: RollupPluginContext): esbuild0.Plugin;
6
6
  //#endregion
7
7
  export { createRollupPlugin as t };
8
- //# sourceMappingURL=unplugin-BMtcWvP4.d.mts.map
8
+ //# sourceMappingURL=unplugin-BMzDrbyK.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unplugin-BMzDrbyK.d.cts","names":[],"sources":["../src/helpers/unplugin.ts"],"sourcesContent":[],"mappings":";;;;iBAsBgB,kBAAA,UAA4B,sBAAmB,QAAA,CAAA"}
@@ -1,8 +1,8 @@
1
- import { t as RollupPluginContext } from "./plugin-jKu50p7w.cjs";
1
+ import { t as RollupPluginContext } from "./plugin-BCFpvByy.mjs";
2
2
  import * as esbuild0 from "esbuild";
3
3
 
4
4
  //#region src/helpers/unplugin.d.ts
5
5
  declare function createRollupPlugin(context: RollupPluginContext): esbuild0.Plugin;
6
6
  //#endregion
7
7
  export { createRollupPlugin as t };
8
- //# sourceMappingURL=unplugin-JxAcixPP.d.cts.map
8
+ //# sourceMappingURL=unplugin-CYs-oGNg.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unplugin-CYs-oGNg.d.mts","names":[],"sources":["../src/helpers/unplugin.ts"],"sourcesContent":[],"mappings":";;;;iBAsBgB,kBAAA,UAA4B,sBAAmB,QAAA,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-rollup",
3
- "version": "0.7.310",
3
+ "version": "0.7.312",
4
4
  "private": false,
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "keywords": ["rollup", "powerlines", "storm-software", "powerlines-plugin"],
@@ -73,8 +73,8 @@
73
73
  "typings": "dist/index.d.mts",
74
74
  "files": ["dist/**/*"],
75
75
  "dependencies": {
76
- "@powerlines/core": "^0.0.11",
77
- "@powerlines/plugin-babel": "^0.12.309",
76
+ "@powerlines/core": "^0.1.0",
77
+ "@powerlines/plugin-babel": "^0.12.311",
78
78
  "@rollup/plugin-alias": "^6.0.0",
79
79
  "@rollup/plugin-babel": "^6.1.0",
80
80
  "@rollup/plugin-inject": "^5.0.5",
@@ -94,5 +94,5 @@
94
94
  "peerDependencies": { "rollup": ">=4.46.4" },
95
95
  "peerDependenciesMeta": { "rollup": { "optional": false } },
96
96
  "publishConfig": { "access": "public" },
97
- "gitHead": "645a902416b92ae709b2ae786c21d3ec0be09258"
97
+ "gitHead": "e63eb5a0ecd0e5ee3e030388ad1c534b3ecb2136"
98
98
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"unplugin-BMtcWvP4.d.mts","names":[],"sources":["../src/helpers/unplugin.ts"],"sourcesContent":[],"mappings":";;;;iBAsBgB,kBAAA,UAA4B,sBAAmB,QAAA,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"unplugin-JxAcixPP.d.cts","names":[],"sources":["../src/helpers/unplugin.ts"],"sourcesContent":[],"mappings":";;;;iBAsBgB,kBAAA,UAA4B,sBAAmB,QAAA,CAAA"}