@powerlines/plugin-rolldown 0.7.462 → 0.7.466
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build-BdEj7BmI.d.mts +8 -0
- package/dist/build-BdEj7BmI.d.mts.map +1 -0
- package/dist/build-D6-cmdSo.d.cts +8 -0
- package/dist/build-D6-cmdSo.d.cts.map +1 -0
- package/dist/index.cjs +42 -9
- package/dist/index.d.cts +3 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +3 -5
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +14 -5
- package/dist/index.mjs.map +1 -1
- package/dist/types/build.d.cts +2 -8
- package/dist/types/build.d.mts +2 -8
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/plugin.d.cts +3 -5
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +3 -5
- package/dist/types/plugin.d.mts.map +1 -1
- package/package.json +25 -26
- package/dist/_virtual/_rolldown/runtime.cjs +0 -29
- package/dist/helpers/index.cjs +0 -6
- package/dist/helpers/index.d.cts +0 -3
- package/dist/helpers/index.d.mts +0 -3
- package/dist/helpers/index.mjs +0 -4
- package/dist/helpers/resolve-options.cjs +0 -125
- package/dist/helpers/resolve-options.d.cts +0 -14
- package/dist/helpers/resolve-options.d.cts.map +0 -1
- package/dist/helpers/resolve-options.d.mts +0 -14
- package/dist/helpers/resolve-options.d.mts.map +0 -1
- package/dist/helpers/resolve-options.mjs +0 -119
- package/dist/helpers/resolve-options.mjs.map +0 -1
- package/dist/helpers/unplugin.cjs +0 -18
- package/dist/helpers/unplugin.d.cts +0 -8
- package/dist/helpers/unplugin.d.cts.map +0 -1
- package/dist/helpers/unplugin.d.mts +0 -8
- package/dist/helpers/unplugin.d.mts.map +0 -1
- package/dist/helpers/unplugin.mjs +0 -17
- package/dist/helpers/unplugin.mjs.map +0 -1
- package/dist/types/build.d.cts.map +0 -1
- package/dist/types/build.d.mts.map +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RolldownOptions } from "rolldown";
|
|
2
|
+
|
|
3
|
+
//#region src/types/build.d.ts
|
|
4
|
+
type RolldownOptions$1 = Omit<RolldownOptions, "input" | "external" | "tsconfig" | "logLevel" | "output">;
|
|
5
|
+
declare type __ΩRolldownOptions = any[];
|
|
6
|
+
//#endregion
|
|
7
|
+
export { __ΩRolldownOptions as n, RolldownOptions$1 as t };
|
|
8
|
+
//# sourceMappingURL=build-BdEj7BmI.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-BdEj7BmI.d.mts","names":[],"sources":["../src/types/build.ts"],"mappings":";;;KAoBY,iBAAA,GAAkB,IAAA,CAC5B,eAAA;AAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RolldownOptions } from "rolldown";
|
|
2
|
+
|
|
3
|
+
//#region src/types/build.d.ts
|
|
4
|
+
type RolldownOptions$1 = Omit<RolldownOptions, "input" | "external" | "tsconfig" | "logLevel" | "output">;
|
|
5
|
+
declare type __ΩRolldownOptions = any[];
|
|
6
|
+
//#endregion
|
|
7
|
+
export { __ΩRolldownOptions as n, RolldownOptions$1 as t };
|
|
8
|
+
//# sourceMappingURL=build-D6-cmdSo.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-D6-cmdSo.d.cts","names":[],"sources":["../src/types/build.ts"],"mappings":";;;KAoBY,iBAAA,GAAkB,IAAA,CAC5B,eAAA;AAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,13 +1,40 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
//#region \0rolldown/runtime.js
|
|
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
|
+
require('./types/index.cjs');
|
|
30
|
+
let _powerlines_core = require("@powerlines/core");
|
|
6
31
|
let _powerlines_core_plugin_utils = require("@powerlines/core/plugin-utils");
|
|
32
|
+
let _powerlines_unplugin_rolldown = require("@powerlines/unplugin/rolldown");
|
|
7
33
|
let _stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
8
34
|
let defu = require("defu");
|
|
9
|
-
defu =
|
|
35
|
+
defu = __toESM(defu, 1);
|
|
10
36
|
let rolldown = require("rolldown");
|
|
37
|
+
let unplugin = require("unplugin");
|
|
11
38
|
|
|
12
39
|
//#region src/index.ts
|
|
13
40
|
/**
|
|
@@ -24,7 +51,15 @@ const plugin = (options = {}) => {
|
|
|
24
51
|
},
|
|
25
52
|
async build() {
|
|
26
53
|
this.debug("Starting Rolldown build process...");
|
|
27
|
-
const
|
|
54
|
+
const resolved = (0, _powerlines_unplugin_rolldown.resolveOptions)(this);
|
|
55
|
+
const options = (0, defu.default)(this.config.rolldown, {
|
|
56
|
+
...resolved,
|
|
57
|
+
config: false,
|
|
58
|
+
plugins: [(0, unplugin.createRolldownPlugin)((0, _powerlines_core.createUnplugin)(this, {
|
|
59
|
+
silenceHookLogging: true,
|
|
60
|
+
name: "rolldown"
|
|
61
|
+
}))()]
|
|
62
|
+
});
|
|
28
63
|
this.debug({
|
|
29
64
|
meta: { category: "config" },
|
|
30
65
|
message: `Resolved Rolldown configuration: \n${(0, _powerlines_core_plugin_utils.formatConfig)(options)}`
|
|
@@ -36,7 +71,5 @@ const plugin = (options = {}) => {
|
|
|
36
71
|
};
|
|
37
72
|
|
|
38
73
|
//#endregion
|
|
39
|
-
exports.createRolldownPlugin = require_helpers_unplugin.createRolldownPlugin;
|
|
40
74
|
exports.default = plugin;
|
|
41
|
-
exports.plugin = plugin;
|
|
42
|
-
exports.resolveOptions = require_helpers_resolve_options.resolveOptions;
|
|
75
|
+
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { RolldownPluginContext, RolldownPluginInitialConfig, RolldownPluginOptions, RolldownPluginResolvedConfig, RolldownPluginUserConfig, __ΩRolldownPluginContext, __ΩRolldownPluginInitialConfig, __ΩRolldownPluginOptions, __ΩRolldownPluginResolvedConfig, __ΩRolldownPluginUserConfig } from "./types/plugin.cjs";
|
|
4
|
-
import { createRolldownPlugin } from "./helpers/unplugin.cjs";
|
|
1
|
+
import { n as __ΩRolldownOptions, t as RolldownOptions } from "./build-D6-cmdSo.cjs";
|
|
2
|
+
import { RolldownPluginContext, RolldownPluginOptions, RolldownPluginResolvedConfig, RolldownPluginUserConfig, __ΩRolldownPluginContext, __ΩRolldownPluginOptions, __ΩRolldownPluginResolvedConfig, __ΩRolldownPluginUserConfig } from "./types/plugin.cjs";
|
|
5
3
|
import { Plugin } from "@powerlines/core/types/plugin";
|
|
6
4
|
|
|
7
5
|
//#region src/index.d.ts
|
|
@@ -15,5 +13,5 @@ declare module "@powerlines/core" {
|
|
|
15
13
|
*/
|
|
16
14
|
declare const plugin: <TContext extends RolldownPluginContext = RolldownPluginContext>(options?: RolldownPluginOptions) => Plugin<TContext>;
|
|
17
15
|
//#endregion
|
|
18
|
-
export { RolldownOptions, RolldownPluginContext,
|
|
16
|
+
export { RolldownOptions, RolldownPluginContext, RolldownPluginOptions, RolldownPluginResolvedConfig, RolldownPluginUserConfig, __ΩRolldownOptions, __ΩRolldownPluginContext, __ΩRolldownPluginOptions, __ΩRolldownPluginResolvedConfig, __ΩRolldownPluginUserConfig, plugin as default, plugin };
|
|
19
17
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;YA+BY,MAAA;IACR,QAAA,GAAW,qBAAA;EAAA;AAAA;;;;cAOF,MAAA,oBACM,qBAAA,GAAwB,qBAAA,EAEzC,OAAA,GAAS,qBAAA,KACR,MAAA,CAAO,QAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { RolldownPluginContext, RolldownPluginInitialConfig, RolldownPluginOptions, RolldownPluginResolvedConfig, RolldownPluginUserConfig, __ΩRolldownPluginContext, __ΩRolldownPluginInitialConfig, __ΩRolldownPluginOptions, __ΩRolldownPluginResolvedConfig, __ΩRolldownPluginUserConfig } from "./types/plugin.mjs";
|
|
4
|
-
import { createRolldownPlugin } from "./helpers/unplugin.mjs";
|
|
1
|
+
import { n as __ΩRolldownOptions, t as RolldownOptions } from "./build-BdEj7BmI.mjs";
|
|
2
|
+
import { RolldownPluginContext, RolldownPluginOptions, RolldownPluginResolvedConfig, RolldownPluginUserConfig, __ΩRolldownPluginContext, __ΩRolldownPluginOptions, __ΩRolldownPluginResolvedConfig, __ΩRolldownPluginUserConfig } from "./types/plugin.mjs";
|
|
5
3
|
import { Plugin } from "@powerlines/core/types/plugin";
|
|
6
4
|
|
|
7
5
|
//#region src/index.d.ts
|
|
@@ -15,5 +13,5 @@ declare module "@powerlines/core" {
|
|
|
15
13
|
*/
|
|
16
14
|
declare const plugin: <TContext extends RolldownPluginContext = RolldownPluginContext>(options?: RolldownPluginOptions) => Plugin<TContext>;
|
|
17
15
|
//#endregion
|
|
18
|
-
export { RolldownOptions, RolldownPluginContext,
|
|
16
|
+
export { RolldownOptions, RolldownPluginContext, RolldownPluginOptions, RolldownPluginResolvedConfig, RolldownPluginUserConfig, __ΩRolldownOptions, __ΩRolldownPluginContext, __ΩRolldownPluginOptions, __ΩRolldownPluginResolvedConfig, __ΩRolldownPluginUserConfig, plugin as default, plugin };
|
|
19
17
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;YA+BY,MAAA;IACR,QAAA,GAAW,qBAAA;EAAA;AAAA;;;;cAOF,MAAA,oBACM,qBAAA,GAAwB,qBAAA,EAEzC,OAAA,GAAS,qBAAA,KACR,MAAA,CAAO,QAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import "./helpers/index.mjs";
|
|
1
|
+
import "./types/index.mjs";
|
|
2
|
+
import { createUnplugin } from "@powerlines/core";
|
|
4
3
|
import { formatConfig } from "@powerlines/core/plugin-utils";
|
|
4
|
+
import { resolveOptions } from "@powerlines/unplugin/rolldown";
|
|
5
5
|
import { toArray } from "@stryke/convert/to-array";
|
|
6
6
|
import defu from "defu";
|
|
7
7
|
import { rolldown } from "rolldown";
|
|
8
|
+
import { createRolldownPlugin } from "unplugin";
|
|
8
9
|
|
|
9
10
|
//#region src/index.ts
|
|
10
11
|
/**
|
|
@@ -21,7 +22,15 @@ const plugin = (options = {}) => {
|
|
|
21
22
|
},
|
|
22
23
|
async build() {
|
|
23
24
|
this.debug("Starting Rolldown build process...");
|
|
24
|
-
const
|
|
25
|
+
const resolved = resolveOptions(this);
|
|
26
|
+
const options = defu(this.config.rolldown, {
|
|
27
|
+
...resolved,
|
|
28
|
+
config: false,
|
|
29
|
+
plugins: [createRolldownPlugin(createUnplugin(this, {
|
|
30
|
+
silenceHookLogging: true,
|
|
31
|
+
name: "rolldown"
|
|
32
|
+
}))()]
|
|
33
|
+
});
|
|
25
34
|
this.debug({
|
|
26
35
|
meta: { category: "config" },
|
|
27
36
|
message: `Resolved Rolldown configuration: \n${formatConfig(options)}`
|
|
@@ -33,5 +42,5 @@ const plugin = (options = {}) => {
|
|
|
33
42
|
};
|
|
34
43
|
|
|
35
44
|
//#endregion
|
|
36
|
-
export {
|
|
45
|
+
export { plugin as default, plugin };
|
|
37
46
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -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 { formatConfig } from \"@powerlines/core/plugin-utils\";\nimport { Plugin } from \"@powerlines/core/types/plugin\";\nimport { toArray } from \"@stryke/convert/to-array\";\nimport defu from \"defu\";\nimport { rolldown as build } from \"rolldown\";\nimport {
|
|
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 { createUnplugin } from \"@powerlines/core\";\nimport { formatConfig } from \"@powerlines/core/plugin-utils\";\nimport { Plugin } from \"@powerlines/core/types/plugin\";\nimport { resolveOptions } from \"@powerlines/unplugin/rolldown\";\nimport { toArray } from \"@stryke/convert/to-array\";\nimport defu from \"defu\";\nimport { rolldown as build, InputOptions } from \"rolldown\";\nimport { createRolldownPlugin } from \"unplugin\";\nimport { RolldownPluginContext, RolldownPluginOptions } from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"@powerlines/core\" {\n interface Config {\n rolldown?: RolldownPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to assist in developing other Powerlines plugins.\n */\nexport const plugin = <\n TContext extends RolldownPluginContext = RolldownPluginContext\n>(\n options: RolldownPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"rolldown\",\n config() {\n return {\n output: {\n format: [\"cjs\", \"esm\"]\n },\n rolldown: {\n ...options\n }\n };\n },\n async build() {\n this.debug(\"Starting Rolldown build process...\");\n\n const resolved = resolveOptions(this);\n const options = defu(this.config.rolldown, {\n ...resolved,\n config: false,\n plugins: [\n createRolldownPlugin(\n createUnplugin(this, {\n silenceHookLogging: true,\n name: \"rolldown\"\n })\n )()\n ]\n }) as InputOptions;\n\n this.debug({\n meta: {\n category: \"config\"\n },\n message: `Resolved Rolldown configuration: \\n${formatConfig(options)}`\n });\n\n const result = await build(options);\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":";;;;;;;;;;;;;AAuCA,MAAa,UAGX,UAAiC,EAAE,KACd;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO;IACL,QAAQ,EACN,QAAQ,CAAC,OAAO,MAAM,EACvB;IACD,UAAU,EACR,GAAG,SACJ;IACF;;EAEH,MAAM,QAAQ;AACZ,QAAK,MAAM,qCAAqC;GAEhD,MAAM,WAAW,eAAe,KAAK;GACrC,MAAM,UAAU,KAAK,KAAK,OAAO,UAAU;IACzC,GAAG;IACH,QAAQ;IACR,SAAS,CACP,qBACE,eAAe,MAAM;KACnB,oBAAoB;KACpB,MAAM;KACP,CAAC,CACH,EAAE,CACJ;IACF,CAAC;AAEF,QAAK,MAAM;IACT,MAAM,EACJ,UAAU,UACX;IACD,SAAS,sCAAsC,aAAa,QAAQ;IACrE,CAAC;GAEF,MAAM,SAAS,MAAMA,SAAM,QAAQ;AAEnC,SAAM,QAAQ,IACZ,QAAQ,KAAK,OAAO,OAAO,OAAO,CAAC,IAAI,OAAM,WAC3C,OAAO,MAAM,EACX,QACD,CAAC,CACH,CACF;;EAEJ"}
|
package/dist/types/build.d.cts
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import { RolldownOptions as RolldownOptions
|
|
2
|
-
|
|
3
|
-
//#region src/types/build.d.ts
|
|
4
|
-
type RolldownOptions = Omit<RolldownOptions$1, "input" | "external" | "tsconfig" | "logLevel" | "output">;
|
|
5
|
-
declare type __ΩRolldownOptions = any[];
|
|
6
|
-
//#endregion
|
|
7
|
-
export { RolldownOptions, __ΩRolldownOptions };
|
|
8
|
-
//# sourceMappingURL=build.d.cts.map
|
|
1
|
+
import { n as __ΩRolldownOptions, t as RolldownOptions } from "../build-D6-cmdSo.cjs";
|
|
2
|
+
export { RolldownOptions, __ΩRolldownOptions };
|
package/dist/types/build.d.mts
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import { RolldownOptions as RolldownOptions
|
|
2
|
-
|
|
3
|
-
//#region src/types/build.d.ts
|
|
4
|
-
type RolldownOptions = Omit<RolldownOptions$1, "input" | "external" | "tsconfig" | "logLevel" | "output">;
|
|
5
|
-
declare type __ΩRolldownOptions = any[];
|
|
6
|
-
//#endregion
|
|
7
|
-
export { RolldownOptions, __ΩRolldownOptions };
|
|
8
|
-
//# sourceMappingURL=build.d.mts.map
|
|
1
|
+
import { n as __ΩRolldownOptions, t as RolldownOptions } from "../build-BdEj7BmI.mjs";
|
|
2
|
+
export { RolldownOptions, __ΩRolldownOptions };
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { RolldownPluginContext,
|
|
3
|
-
export { RolldownOptions, RolldownPluginContext,
|
|
1
|
+
import { n as __ΩRolldownOptions, t as RolldownOptions } from "../build-D6-cmdSo.cjs";
|
|
2
|
+
import { RolldownPluginContext, RolldownPluginOptions, RolldownPluginResolvedConfig, RolldownPluginUserConfig, __ΩRolldownPluginContext, __ΩRolldownPluginOptions, __ΩRolldownPluginResolvedConfig, __ΩRolldownPluginUserConfig } from "./plugin.cjs";
|
|
3
|
+
export { RolldownOptions, RolldownPluginContext, RolldownPluginOptions, RolldownPluginResolvedConfig, RolldownPluginUserConfig, __ΩRolldownOptions, __ΩRolldownPluginContext, __ΩRolldownPluginOptions, __ΩRolldownPluginResolvedConfig, __ΩRolldownPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { RolldownPluginContext,
|
|
3
|
-
export { RolldownOptions, RolldownPluginContext,
|
|
1
|
+
import { n as __ΩRolldownOptions, t as RolldownOptions } from "../build-BdEj7BmI.mjs";
|
|
2
|
+
import { RolldownPluginContext, RolldownPluginOptions, RolldownPluginResolvedConfig, RolldownPluginUserConfig, __ΩRolldownPluginContext, __ΩRolldownPluginOptions, __ΩRolldownPluginResolvedConfig, __ΩRolldownPluginUserConfig } from "./plugin.mjs";
|
|
3
|
+
export { RolldownOptions, RolldownPluginContext, RolldownPluginOptions, RolldownPluginResolvedConfig, RolldownPluginUserConfig, __ΩRolldownOptions, __ΩRolldownPluginContext, __ΩRolldownPluginOptions, __ΩRolldownPluginResolvedConfig, __ΩRolldownPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import { RolldownOptions } from "
|
|
2
|
-
import {
|
|
1
|
+
import { t as RolldownOptions } from "../build-D6-cmdSo.cjs";
|
|
2
|
+
import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core";
|
|
3
3
|
|
|
4
4
|
//#region src/types/plugin.d.ts
|
|
5
5
|
type RolldownPluginOptions = Partial<RolldownOptions>;
|
|
6
6
|
interface RolldownPluginUserConfig extends UserConfig {
|
|
7
7
|
rolldown: RolldownPluginOptions;
|
|
8
8
|
}
|
|
9
|
-
type RolldownPluginInitialConfig = InitialPluginConfig<RolldownPluginUserConfig>;
|
|
10
9
|
interface RolldownPluginResolvedConfig extends ResolvedConfig {
|
|
11
10
|
rolldown: RolldownOptions;
|
|
12
11
|
}
|
|
13
12
|
type RolldownPluginContext<TResolvedConfig extends RolldownPluginResolvedConfig = RolldownPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
14
13
|
declare type __ΩRolldownPluginOptions = any[];
|
|
15
14
|
declare type __ΩRolldownPluginUserConfig = any[];
|
|
16
|
-
declare type __ΩRolldownPluginInitialConfig = any[];
|
|
17
15
|
declare type __ΩRolldownPluginResolvedConfig = any[];
|
|
18
16
|
declare type __ΩRolldownPluginContext = any[];
|
|
19
17
|
//#endregion
|
|
20
|
-
export { RolldownPluginContext,
|
|
18
|
+
export { RolldownPluginContext, RolldownPluginOptions, RolldownPluginResolvedConfig, RolldownPluginUserConfig, __ΩRolldownPluginContext, __ΩRolldownPluginOptions, __ΩRolldownPluginResolvedConfig, __ΩRolldownPluginUserConfig };
|
|
21
19
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAqBY,qBAAA,GAAwB,OAAA,CAAQ,eAAA;AAAA,UAE3B,wBAAA,SAAiC,UAAA;EAChD,QAAA,EAAU,qBAAA;AAAA;AAAA,UAGK,4BAAA,SAAqC,cAAA;EACpD,QAAA,EAAU,eAAA;AAAA;AAAA,KAGA,qBAAA,yBACc,4BAAA,GACtB,4BAAA,IACA,aAAA,CAAc,eAAA;AAAA"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import { RolldownOptions } from "
|
|
2
|
-
import {
|
|
1
|
+
import { t as RolldownOptions } from "../build-BdEj7BmI.mjs";
|
|
2
|
+
import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core";
|
|
3
3
|
|
|
4
4
|
//#region src/types/plugin.d.ts
|
|
5
5
|
type RolldownPluginOptions = Partial<RolldownOptions>;
|
|
6
6
|
interface RolldownPluginUserConfig extends UserConfig {
|
|
7
7
|
rolldown: RolldownPluginOptions;
|
|
8
8
|
}
|
|
9
|
-
type RolldownPluginInitialConfig = InitialPluginConfig<RolldownPluginUserConfig>;
|
|
10
9
|
interface RolldownPluginResolvedConfig extends ResolvedConfig {
|
|
11
10
|
rolldown: RolldownOptions;
|
|
12
11
|
}
|
|
13
12
|
type RolldownPluginContext<TResolvedConfig extends RolldownPluginResolvedConfig = RolldownPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
14
13
|
declare type __ΩRolldownPluginOptions = any[];
|
|
15
14
|
declare type __ΩRolldownPluginUserConfig = any[];
|
|
16
|
-
declare type __ΩRolldownPluginInitialConfig = any[];
|
|
17
15
|
declare type __ΩRolldownPluginResolvedConfig = any[];
|
|
18
16
|
declare type __ΩRolldownPluginContext = any[];
|
|
19
17
|
//#endregion
|
|
20
|
-
export { RolldownPluginContext,
|
|
18
|
+
export { RolldownPluginContext, RolldownPluginOptions, RolldownPluginResolvedConfig, RolldownPluginUserConfig, __ΩRolldownPluginContext, __ΩRolldownPluginOptions, __ΩRolldownPluginResolvedConfig, __ΩRolldownPluginUserConfig };
|
|
21
19
|
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAqBY,qBAAA,GAAwB,OAAA,CAAQ,eAAA;AAAA,UAE3B,wBAAA,SAAiC,UAAA;EAChD,QAAA,EAAU,qBAAA;AAAA;AAAA,UAGK,4BAAA,SAAqC,cAAA;EACpD,QAAA,EAAU,eAAA;AAAA;AAAA,KAGA,qBAAA,yBACc,4BAAA,GACtB,4BAAA,IACA,aAAA,CAAc,eAAA;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-rolldown",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.466",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"keywords": ["rolldown", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "github",
|
|
14
14
|
"url": "https://github.com/storm-software/powerlines.git",
|
|
15
|
-
"directory": "packages/plugin-rolldown"
|
|
15
|
+
"directory": "packages/plugins/plugin-rolldown"
|
|
16
16
|
},
|
|
17
17
|
"funding": {
|
|
18
18
|
"type": "github",
|
|
@@ -39,29 +39,6 @@
|
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
41
|
"type": "module",
|
|
42
|
-
"files": ["dist/**/*"],
|
|
43
|
-
"peerDependencies": { "rolldown": ">=1.0.0-rc.9 <2.0.0" },
|
|
44
|
-
"peerDependenciesMeta": { "rolldown": { "optional": false } },
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"@powerlines/core": "^0.47.4",
|
|
47
|
-
"@powerlines/plugin-babel": "^0.13.1",
|
|
48
|
-
"@powerlines/plugin-rollup": "^0.7.460",
|
|
49
|
-
"@stryke/convert": "^0.7.3",
|
|
50
|
-
"@stryke/fs": "^0.33.70",
|
|
51
|
-
"@stryke/helpers": "^0.10.12",
|
|
52
|
-
"@stryke/path": "^0.28.2",
|
|
53
|
-
"@stryke/type-checks": "^0.6.5",
|
|
54
|
-
"@stryke/types": "^0.12.0",
|
|
55
|
-
"defu": "^6.1.7",
|
|
56
|
-
"glob": "^13.0.6",
|
|
57
|
-
"jiti": "^2.6.1",
|
|
58
|
-
"unplugin": "^3.0.0"
|
|
59
|
-
},
|
|
60
|
-
"devDependencies": { "@types/node": "^25.6.0", "rolldown": "1.0.0-rc.16" },
|
|
61
|
-
"publishConfig": { "access": "public" },
|
|
62
|
-
"main": "./dist/index.cjs",
|
|
63
|
-
"module": "./dist/index.mjs",
|
|
64
|
-
"types": "./dist/index.d.cts",
|
|
65
42
|
"exports": {
|
|
66
43
|
".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs" },
|
|
67
44
|
"./helpers": {
|
|
@@ -90,5 +67,27 @@
|
|
|
90
67
|
},
|
|
91
68
|
"./package.json": "./package.json"
|
|
92
69
|
},
|
|
93
|
-
"
|
|
70
|
+
"main": "./dist/index.cjs",
|
|
71
|
+
"module": "./dist/index.mjs",
|
|
72
|
+
"types": "./dist/index.d.cts",
|
|
73
|
+
"files": ["dist/**/*"],
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"@powerlines/core": "^0.9.3",
|
|
76
|
+
"@powerlines/unplugin": "^0.0.4",
|
|
77
|
+
"@stryke/convert": "^0.7.6",
|
|
78
|
+
"@stryke/fs": "^0.33.75",
|
|
79
|
+
"@stryke/helpers": "^0.10.15",
|
|
80
|
+
"@stryke/path": "^0.29.2",
|
|
81
|
+
"@stryke/type-checks": "^0.6.8",
|
|
82
|
+
"@stryke/types": "^0.12.3",
|
|
83
|
+
"defu": "^6.1.7",
|
|
84
|
+
"glob": "^13.0.6",
|
|
85
|
+
"jiti": "^2.7.0",
|
|
86
|
+
"unplugin": "^3.0.0"
|
|
87
|
+
},
|
|
88
|
+
"devDependencies": { "@types/node": "^25.7.0", "rolldown": "1.0.0-rc.16" },
|
|
89
|
+
"peerDependencies": { "rolldown": ">=1.0.0-rc.9 <2.0.0" },
|
|
90
|
+
"peerDependenciesMeta": { "rolldown": { "optional": false } },
|
|
91
|
+
"publishConfig": { "access": "public" },
|
|
92
|
+
"gitHead": "e5d8383bd361a99563985879776392fb679cbbe4"
|
|
94
93
|
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
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;
|
package/dist/helpers/index.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_helpers_resolve_options = require('./resolve-options.cjs');
|
|
3
|
-
const require_helpers_unplugin = require('./unplugin.cjs');
|
|
4
|
-
|
|
5
|
-
exports.createRolldownPlugin = require_helpers_unplugin.createRolldownPlugin;
|
|
6
|
-
exports.resolveOptions = require_helpers_resolve_options.resolveOptions;
|
package/dist/helpers/index.d.cts
DELETED
package/dist/helpers/index.d.mts
DELETED
package/dist/helpers/index.mjs
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
let _stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
4
|
-
let defu = require("defu");
|
|
5
|
-
defu = require_runtime.__toESM(defu, 1);
|
|
6
|
-
let _powerlines_plugin_rollup_helpers_resolve_options = require("@powerlines/plugin-rollup/helpers/resolve-options");
|
|
7
|
-
let _rollup_plugin_babel = require("@rollup/plugin-babel");
|
|
8
|
-
let _rollup_plugin_inject = require("@rollup/plugin-inject");
|
|
9
|
-
_rollup_plugin_inject = require_runtime.__toESM(_rollup_plugin_inject, 1);
|
|
10
|
-
let _rollup_plugin_node_resolve = require("@rollup/plugin-node-resolve");
|
|
11
|
-
_rollup_plugin_node_resolve = require_runtime.__toESM(_rollup_plugin_node_resolve, 1);
|
|
12
|
-
let _rollup_plugin_replace = require("@rollup/plugin-replace");
|
|
13
|
-
_rollup_plugin_replace = require_runtime.__toESM(_rollup_plugin_replace, 1);
|
|
14
|
-
let _stryke_path_append = require("@stryke/path/append");
|
|
15
|
-
let _stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
16
|
-
let _stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
17
|
-
let glob = require("glob");
|
|
18
|
-
let rolldown_experimental = require("rolldown/experimental");
|
|
19
|
-
let rollup_plugin_typescript2 = require("rollup-plugin-typescript2");
|
|
20
|
-
rollup_plugin_typescript2 = require_runtime.__toESM(rollup_plugin_typescript2, 1);
|
|
21
|
-
|
|
22
|
-
//#region src/helpers/resolve-options.ts
|
|
23
|
-
/**
|
|
24
|
-
* Resolves the options for [rolldown](https://rolldown.rs).
|
|
25
|
-
*
|
|
26
|
-
* @param context - The build context.
|
|
27
|
-
* @returns The resolved options.
|
|
28
|
-
*/
|
|
29
|
-
function resolveOptions(context) {
|
|
30
|
-
return (0, defu.default)({
|
|
31
|
-
input: (0, glob.globSync)((0, _stryke_convert_to_array.toArray)(context.entry).map((entry) => (0, _stryke_type_checks_is_string.isString)(entry) ? entry : entry.file)).flat(),
|
|
32
|
-
external: (source) => {
|
|
33
|
-
if (context.config.resolve.external && (0, _stryke_convert_to_array.toArray)(context.config.resolve.external).includes(source)) return true;
|
|
34
|
-
if (context.config.resolve.noExternal && (0, _stryke_convert_to_array.toArray)(context.config.resolve.noExternal).includes(source)) return false;
|
|
35
|
-
if (context.builtins.includes(source)) return context.config.projectType !== "application";
|
|
36
|
-
return !context.config.resolve.skipNodeModulesBundle;
|
|
37
|
-
},
|
|
38
|
-
plugins: [
|
|
39
|
-
(0, rollup_plugin_typescript2.default)({
|
|
40
|
-
check: false,
|
|
41
|
-
tsconfig: context.tsconfig.tsconfigFilePath
|
|
42
|
-
}),
|
|
43
|
-
context.config.define && Object.keys(context.config.define).length > 0 && (0, _rollup_plugin_replace.default)({
|
|
44
|
-
sourceMap: context.config.mode === "development",
|
|
45
|
-
preventAssignment: true,
|
|
46
|
-
...context.config.define ?? {}
|
|
47
|
-
}),
|
|
48
|
-
context.config.inject && Object.keys(context.config.inject).length > 0 && (0, _rollup_plugin_inject.default)({
|
|
49
|
-
sourceMap: context.config.mode === "development",
|
|
50
|
-
...context.config.inject
|
|
51
|
-
}),
|
|
52
|
-
(0, rolldown_experimental.viteAliasPlugin)({ entries: Object.entries(context.alias).reduce((ret, [id, path]) => {
|
|
53
|
-
if (!ret.find((e) => e.find === id)) ret.push({
|
|
54
|
-
find: id,
|
|
55
|
-
replacement: path
|
|
56
|
-
});
|
|
57
|
-
else context.warn(`Duplicate alias entry for '${id}' detected. The first entry will be used.`);
|
|
58
|
-
return ret;
|
|
59
|
-
}, []) }),
|
|
60
|
-
context.config.babel && (0, _rollup_plugin_babel.getBabelInputPlugin)((0, defu.default)(context.config.babel, {
|
|
61
|
-
caller: {
|
|
62
|
-
name: "powerlines",
|
|
63
|
-
supportsStaticESM: true
|
|
64
|
-
},
|
|
65
|
-
cwd: context.config.root,
|
|
66
|
-
babelrc: false,
|
|
67
|
-
extensions: [
|
|
68
|
-
".js",
|
|
69
|
-
".jsx",
|
|
70
|
-
".ts",
|
|
71
|
-
".tsx"
|
|
72
|
-
],
|
|
73
|
-
babelHelpers: "bundled",
|
|
74
|
-
skipPreflightCheck: true,
|
|
75
|
-
exclude: /node_modules/
|
|
76
|
-
})),
|
|
77
|
-
(0, _rollup_plugin_node_resolve.default)({
|
|
78
|
-
moduleDirectories: ["node_modules"],
|
|
79
|
-
preferBuiltins: true
|
|
80
|
-
}),
|
|
81
|
-
_powerlines_plugin_rollup_helpers_resolve_options.dtsBundlePlugin
|
|
82
|
-
]
|
|
83
|
-
}, context.config?.rolldown ? context.config?.rolldown : {}, context.config?.rollup ? context.config?.rollup : {}, {
|
|
84
|
-
resolve: {
|
|
85
|
-
alias: context.alias,
|
|
86
|
-
mainFields: context.config.resolve.mainFields,
|
|
87
|
-
conditions: context.config.resolve.conditions,
|
|
88
|
-
define: context.config.define,
|
|
89
|
-
extensions: context.config.resolve.extensions
|
|
90
|
-
},
|
|
91
|
-
transform: {
|
|
92
|
-
define: context.config.define,
|
|
93
|
-
inject: context.config.inject,
|
|
94
|
-
typescript: { target: context.tsconfig.tsconfigJson?.compilerOptions?.target }
|
|
95
|
-
},
|
|
96
|
-
platform: context.config.platform,
|
|
97
|
-
tsconfig: (0, _stryke_path_append.appendPath)(context.tsconfig.tsconfigFilePath, context.config.cwd),
|
|
98
|
-
cache: !context.config.skipCache ? (0, _stryke_path_join_paths.joinPaths)(context.cachePath, "rolldown") : false,
|
|
99
|
-
logLevel: context.config.logLevel.general === "trace" ? "debug" : context.config.logLevel.general === "debug" ? "warn" : "error",
|
|
100
|
-
onLog(level, log) {
|
|
101
|
-
if (log.message?.trim()) if (level === "info") context.logger.debug(log.message?.trim() ?? "");
|
|
102
|
-
else context.logger.log(level, log.message?.trim() ?? "");
|
|
103
|
-
},
|
|
104
|
-
minify: context.config.output.minify,
|
|
105
|
-
output: [{
|
|
106
|
-
dir: context.config.output.path,
|
|
107
|
-
format: "es",
|
|
108
|
-
preserveModules: true,
|
|
109
|
-
sourcemap: context.config.output.sourceMap
|
|
110
|
-
}, {
|
|
111
|
-
dir: context.config.output.path,
|
|
112
|
-
format: "cjs",
|
|
113
|
-
preserveModules: true,
|
|
114
|
-
sourcemap: context.config.output.sourceMap
|
|
115
|
-
}]
|
|
116
|
-
}, {
|
|
117
|
-
keepNames: true,
|
|
118
|
-
treeshake: true,
|
|
119
|
-
shimMissingExports: true,
|
|
120
|
-
transform: { target: "esnext" }
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
//#endregion
|
|
125
|
-
exports.resolveOptions = resolveOptions;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Context } from "@powerlines/core";
|
|
2
|
-
import { RolldownOptions } from "rolldown";
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/resolve-options.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* Resolves the options for [rolldown](https://rolldown.rs).
|
|
7
|
-
*
|
|
8
|
-
* @param context - The build context.
|
|
9
|
-
* @returns The resolved options.
|
|
10
|
-
*/
|
|
11
|
-
declare function resolveOptions(context: Context): RolldownOptions;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { resolveOptions };
|
|
14
|
-
//# sourceMappingURL=resolve-options.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-options.d.cts","names":[],"sources":["../../src/helpers/resolve-options.ts"],"mappings":";;;;;;AA8CA;;;;iBAAgB,cAAA,CAAe,OAAA,EAAS,OAAA,GAAU,eAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { RolldownOptions } from "rolldown";
|
|
2
|
-
import { Context } from "@powerlines/core";
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/resolve-options.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* Resolves the options for [rolldown](https://rolldown.rs).
|
|
7
|
-
*
|
|
8
|
-
* @param context - The build context.
|
|
9
|
-
* @returns The resolved options.
|
|
10
|
-
*/
|
|
11
|
-
declare function resolveOptions(context: Context): RolldownOptions;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { resolveOptions };
|
|
14
|
-
//# sourceMappingURL=resolve-options.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-options.d.mts","names":[],"sources":["../../src/helpers/resolve-options.ts"],"mappings":";;;;;;AA8CA;;;;iBAAgB,cAAA,CAAe,OAAA,EAAS,OAAA,GAAU,eAAA"}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { toArray } from "@stryke/convert/to-array";
|
|
2
|
-
import defu from "defu";
|
|
3
|
-
import { dtsBundlePlugin } from "@powerlines/plugin-rollup/helpers/resolve-options";
|
|
4
|
-
import { getBabelInputPlugin } from "@rollup/plugin-babel";
|
|
5
|
-
import inject from "@rollup/plugin-inject";
|
|
6
|
-
import resolve from "@rollup/plugin-node-resolve";
|
|
7
|
-
import replace from "@rollup/plugin-replace";
|
|
8
|
-
import { appendPath } from "@stryke/path/append";
|
|
9
|
-
import { joinPaths } from "@stryke/path/join-paths";
|
|
10
|
-
import { isString } from "@stryke/type-checks/is-string";
|
|
11
|
-
import { globSync } from "glob";
|
|
12
|
-
import { viteAliasPlugin } from "rolldown/experimental";
|
|
13
|
-
import typescriptPlugin from "rollup-plugin-typescript2";
|
|
14
|
-
|
|
15
|
-
//#region src/helpers/resolve-options.ts
|
|
16
|
-
/**
|
|
17
|
-
* Resolves the options for [rolldown](https://rolldown.rs).
|
|
18
|
-
*
|
|
19
|
-
* @param context - The build context.
|
|
20
|
-
* @returns The resolved options.
|
|
21
|
-
*/
|
|
22
|
-
function resolveOptions(context) {
|
|
23
|
-
return defu({
|
|
24
|
-
input: globSync(toArray(context.entry).map((entry) => isString(entry) ? entry : entry.file)).flat(),
|
|
25
|
-
external: (source) => {
|
|
26
|
-
if (context.config.resolve.external && toArray(context.config.resolve.external).includes(source)) return true;
|
|
27
|
-
if (context.config.resolve.noExternal && toArray(context.config.resolve.noExternal).includes(source)) return false;
|
|
28
|
-
if (context.builtins.includes(source)) return context.config.projectType !== "application";
|
|
29
|
-
return !context.config.resolve.skipNodeModulesBundle;
|
|
30
|
-
},
|
|
31
|
-
plugins: [
|
|
32
|
-
typescriptPlugin({
|
|
33
|
-
check: false,
|
|
34
|
-
tsconfig: context.tsconfig.tsconfigFilePath
|
|
35
|
-
}),
|
|
36
|
-
context.config.define && Object.keys(context.config.define).length > 0 && replace({
|
|
37
|
-
sourceMap: context.config.mode === "development",
|
|
38
|
-
preventAssignment: true,
|
|
39
|
-
...context.config.define ?? {}
|
|
40
|
-
}),
|
|
41
|
-
context.config.inject && Object.keys(context.config.inject).length > 0 && inject({
|
|
42
|
-
sourceMap: context.config.mode === "development",
|
|
43
|
-
...context.config.inject
|
|
44
|
-
}),
|
|
45
|
-
viteAliasPlugin({ entries: Object.entries(context.alias).reduce((ret, [id, path]) => {
|
|
46
|
-
if (!ret.find((e) => e.find === id)) ret.push({
|
|
47
|
-
find: id,
|
|
48
|
-
replacement: path
|
|
49
|
-
});
|
|
50
|
-
else context.warn(`Duplicate alias entry for '${id}' detected. The first entry will be used.`);
|
|
51
|
-
return ret;
|
|
52
|
-
}, []) }),
|
|
53
|
-
context.config.babel && getBabelInputPlugin(defu(context.config.babel, {
|
|
54
|
-
caller: {
|
|
55
|
-
name: "powerlines",
|
|
56
|
-
supportsStaticESM: true
|
|
57
|
-
},
|
|
58
|
-
cwd: context.config.root,
|
|
59
|
-
babelrc: false,
|
|
60
|
-
extensions: [
|
|
61
|
-
".js",
|
|
62
|
-
".jsx",
|
|
63
|
-
".ts",
|
|
64
|
-
".tsx"
|
|
65
|
-
],
|
|
66
|
-
babelHelpers: "bundled",
|
|
67
|
-
skipPreflightCheck: true,
|
|
68
|
-
exclude: /node_modules/
|
|
69
|
-
})),
|
|
70
|
-
resolve({
|
|
71
|
-
moduleDirectories: ["node_modules"],
|
|
72
|
-
preferBuiltins: true
|
|
73
|
-
}),
|
|
74
|
-
dtsBundlePlugin
|
|
75
|
-
]
|
|
76
|
-
}, context.config?.rolldown ? context.config?.rolldown : {}, context.config?.rollup ? context.config?.rollup : {}, {
|
|
77
|
-
resolve: {
|
|
78
|
-
alias: context.alias,
|
|
79
|
-
mainFields: context.config.resolve.mainFields,
|
|
80
|
-
conditions: context.config.resolve.conditions,
|
|
81
|
-
define: context.config.define,
|
|
82
|
-
extensions: context.config.resolve.extensions
|
|
83
|
-
},
|
|
84
|
-
transform: {
|
|
85
|
-
define: context.config.define,
|
|
86
|
-
inject: context.config.inject,
|
|
87
|
-
typescript: { target: context.tsconfig.tsconfigJson?.compilerOptions?.target }
|
|
88
|
-
},
|
|
89
|
-
platform: context.config.platform,
|
|
90
|
-
tsconfig: appendPath(context.tsconfig.tsconfigFilePath, context.config.cwd),
|
|
91
|
-
cache: !context.config.skipCache ? joinPaths(context.cachePath, "rolldown") : false,
|
|
92
|
-
logLevel: context.config.logLevel.general === "trace" ? "debug" : context.config.logLevel.general === "debug" ? "warn" : "error",
|
|
93
|
-
onLog(level, log) {
|
|
94
|
-
if (log.message?.trim()) if (level === "info") context.logger.debug(log.message?.trim() ?? "");
|
|
95
|
-
else context.logger.log(level, log.message?.trim() ?? "");
|
|
96
|
-
},
|
|
97
|
-
minify: context.config.output.minify,
|
|
98
|
-
output: [{
|
|
99
|
-
dir: context.config.output.path,
|
|
100
|
-
format: "es",
|
|
101
|
-
preserveModules: true,
|
|
102
|
-
sourcemap: context.config.output.sourceMap
|
|
103
|
-
}, {
|
|
104
|
-
dir: context.config.output.path,
|
|
105
|
-
format: "cjs",
|
|
106
|
-
preserveModules: true,
|
|
107
|
-
sourcemap: context.config.output.sourceMap
|
|
108
|
-
}]
|
|
109
|
-
}, {
|
|
110
|
-
keepNames: true,
|
|
111
|
-
treeshake: true,
|
|
112
|
-
shimMissingExports: true,
|
|
113
|
-
transform: { target: "esnext" }
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
//#endregion
|
|
118
|
-
export { resolveOptions };
|
|
119
|
-
//# sourceMappingURL=resolve-options.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-options.mjs","names":["alias"],"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 { dtsBundlePlugin } from \"@powerlines/plugin-rollup/helpers/resolve-options\";\nimport { RollupPluginResolvedConfig } from \"@powerlines/plugin-rollup/types/plugin\";\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 { appendPath } from \"@stryke/path/append\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport defu from \"defu\";\nimport { globSync } from \"glob\";\nimport { RolldownOptions, RollupLog } from \"rolldown\";\nimport { viteAliasPlugin as alias } from \"rolldown/experimental\";\nimport typescriptPlugin from \"rollup-plugin-typescript2\";\nimport { RolldownPluginResolvedConfig } from \"../types/plugin\";\n\n/**\n * Resolves the options for [rolldown](https://rolldown.rs).\n *\n * @param context - The build context.\n * @returns The resolved options.\n */\nexport function resolveOptions(context: Context): RolldownOptions {\n return defu<RolldownOptions, any>(\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 ]\n },\n (context.config as RolldownPluginResolvedConfig)?.rolldown\n ? (context.config as RolldownPluginResolvedConfig)?.rolldown\n : {},\n (context.config as RollupPluginResolvedConfig)?.rollup\n ? (context.config as RollupPluginResolvedConfig)?.rollup\n : {},\n {\n resolve: {\n alias: context.alias,\n mainFields: context.config.resolve.mainFields,\n conditions: context.config.resolve.conditions,\n define: context.config.define,\n extensions: context.config.resolve.extensions\n },\n transform: {\n define: context.config.define,\n inject: context.config.inject,\n typescript: {\n target: context.tsconfig.tsconfigJson?.compilerOptions?.target\n }\n },\n platform: context.config.platform,\n tsconfig: appendPath(\n context.tsconfig.tsconfigFilePath,\n context.config.cwd\n ),\n cache: !context.config.skipCache\n ? joinPaths(context.cachePath, \"rolldown\")\n : false,\n logLevel:\n context.config.logLevel.general === \"trace\"\n ? \"debug\"\n : context.config.logLevel.general === \"debug\"\n ? \"warn\"\n : \"error\",\n onLog(level: \"info\" | \"debug\" | \"warn\", log: RollupLog) {\n if (log.message?.trim()) {\n if (level === \"info\") {\n context.logger.debug(log.message?.trim() ?? \"\");\n } else {\n context.logger.log(level, log.message?.trim() ?? \"\");\n }\n }\n },\n minify: context.config.output.minify,\n output: [\n {\n dir: context.config.output.path,\n format: \"es\",\n preserveModules: true,\n sourcemap: context.config.output.sourceMap\n },\n {\n dir: context.config.output.path,\n format: \"cjs\",\n preserveModules: true,\n sourcemap: context.config.output.sourceMap\n }\n ]\n },\n {\n keepNames: true,\n treeshake: true,\n shimMissingExports: true,\n transform: {\n target: \"esnext\"\n }\n }\n );\n}\n"],"mappings":"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"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
let _powerlines_core_lib_unplugin = require("@powerlines/core/lib/unplugin");
|
|
4
|
-
let unplugin = require("unplugin");
|
|
5
|
-
|
|
6
|
-
//#region src/helpers/unplugin.ts
|
|
7
|
-
function createRolldownPlugin(context) {
|
|
8
|
-
return (0, unplugin.createEsbuildPlugin)((0, _powerlines_core_lib_unplugin.createUnplugin)(context, {
|
|
9
|
-
silenceHookLogging: true,
|
|
10
|
-
name: "rolldown"
|
|
11
|
-
}))({
|
|
12
|
-
...context.options,
|
|
13
|
-
...context.config.initialConfig
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
exports.createRolldownPlugin = createRolldownPlugin;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { RolldownPluginContext } from "../types/plugin.cjs";
|
|
2
|
-
import * as _$esbuild from "esbuild";
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/unplugin.d.ts
|
|
5
|
-
declare function createRolldownPlugin(context: RolldownPluginContext): _$esbuild.Plugin;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { createRolldownPlugin };
|
|
8
|
-
//# sourceMappingURL=unplugin.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unplugin.d.cts","names":[],"sources":["../../src/helpers/unplugin.ts"],"mappings":";;;;iBAsBgB,oBAAA,CAAqB,OAAA,EAAS,qBAAA,GAAqB,SAAA,CAAA,MAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { RolldownPluginContext } from "../types/plugin.mjs";
|
|
2
|
-
import * as _$esbuild from "esbuild";
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/unplugin.d.ts
|
|
5
|
-
declare function createRolldownPlugin(context: RolldownPluginContext): _$esbuild.Plugin;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { createRolldownPlugin };
|
|
8
|
-
//# sourceMappingURL=unplugin.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unplugin.d.mts","names":[],"sources":["../../src/helpers/unplugin.ts"],"mappings":";;;;iBAsBgB,oBAAA,CAAqB,OAAA,EAAS,qBAAA,GAAqB,SAAA,CAAA,MAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { createUnplugin } from "@powerlines/core/lib/unplugin";
|
|
2
|
-
import { createEsbuildPlugin } from "unplugin";
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/unplugin.ts
|
|
5
|
-
function createRolldownPlugin(context) {
|
|
6
|
-
return createEsbuildPlugin(createUnplugin(context, {
|
|
7
|
-
silenceHookLogging: true,
|
|
8
|
-
name: "rolldown"
|
|
9
|
-
}))({
|
|
10
|
-
...context.options,
|
|
11
|
-
...context.config.initialConfig
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
export { createRolldownPlugin };
|
|
17
|
-
//# sourceMappingURL=unplugin.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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/core/lib/unplugin\";\nimport { createEsbuildPlugin } from \"unplugin\";\nimport { RolldownPluginContext } from \"../types/plugin\";\n\nexport function createRolldownPlugin(context: RolldownPluginContext) {\n return createEsbuildPlugin(\n createUnplugin(context, { silenceHookLogging: true, name: \"rolldown\" })\n )({ ...context.options, ...context.config.initialConfig });\n}\n"],"mappings":";;;;AAsBA,SAAgB,qBAAqB,SAAgC;AACnE,QAAO,oBACL,eAAe,SAAS;EAAE,oBAAoB;EAAM,MAAM;EAAY,CAAC,CACxE,CAAC;EAAE,GAAG,QAAQ;EAAS,GAAG,QAAQ,OAAO;EAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.cts","names":[],"sources":["../../src/types/build.ts"],"mappings":";;;KAoBY,eAAA,GAAkB,IAAA,CAC5B,iBAAA;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.mts","names":[],"sources":["../../src/types/build.ts"],"mappings":";;;KAoBY,eAAA,GAAkB,IAAA,CAC5B,iBAAA;AAAA"}
|