powerlines 0.41.6 → 0.41.8
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/README.md +14 -16
- package/dist/{api-CY668wMZ.mjs → api-BYLuEyjx.mjs} +142 -333
- package/dist/api-BYLuEyjx.mjs.map +1 -0
- package/dist/{api-GPlMYw0d.cjs → api-Zx_hzL3g.cjs} +505 -722
- package/dist/astro.cjs +8 -18
- package/dist/astro.d.cts +1 -2
- package/dist/astro.d.cts.map +1 -1
- package/dist/astro.d.mts +1 -6
- package/dist/astro.d.mts.map +1 -1
- package/dist/astro.mjs +6 -16
- package/dist/astro.mjs.map +1 -1
- package/dist/{chunk-CbDLau6x.cjs → chunk-AIJqnxB6.cjs} +27 -1
- package/dist/chunk-CtajNgzt.mjs +36 -0
- package/dist/config.cjs +20 -4
- package/dist/config.d.cts +1 -2
- package/dist/config.d.mts +1 -3
- package/dist/config.mjs +11 -2
- package/dist/config.mjs.map +1 -0
- package/dist/constants.cjs +20 -20
- package/dist/constants.d.cts +1 -24
- package/dist/constants.d.mts +1 -24
- package/dist/constants.mjs +11 -3
- package/dist/constants.mjs.map +1 -0
- package/dist/context/index.cjs +4 -9
- package/dist/context/index.d.cts +56 -132
- package/dist/context/index.d.cts.map +1 -1
- package/dist/context/index.d.mts +55 -135
- package/dist/context/index.d.mts.map +1 -1
- package/dist/context/index.mjs +3 -9
- package/dist/esbuild.cjs +60 -17
- package/dist/esbuild.d.cts +5 -29
- package/dist/esbuild.d.cts.map +1 -1
- package/dist/esbuild.d.mts +5 -33
- package/dist/esbuild.d.mts.map +1 -1
- package/dist/esbuild.mjs +44 -12
- package/dist/esbuild.mjs.map +1 -0
- package/dist/farm.cjs +6 -13
- package/dist/farm.d.cts +2 -3
- package/dist/farm.d.cts.map +1 -1
- package/dist/farm.d.mts +2 -6
- package/dist/farm.d.mts.map +1 -1
- package/dist/farm.mjs +4 -11
- package/dist/farm.mjs.map +1 -1
- package/dist/index.cjs +7 -13
- package/dist/index.d.cts +263 -6
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +263 -7
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +3 -9
- package/dist/index.mjs.map +1 -1
- package/dist/next.cjs +7 -14
- package/dist/next.d.cts +0 -1
- package/dist/next.d.cts.map +1 -1
- package/dist/next.d.mts +0 -1
- package/dist/next.d.mts.map +1 -1
- package/dist/next.mjs +6 -13
- package/dist/next.mjs.map +1 -1
- package/dist/nuxt.cjs +12 -22
- package/dist/nuxt.d.cts +2 -3
- package/dist/nuxt.d.cts.map +1 -1
- package/dist/nuxt.d.mts +2 -7
- package/dist/nuxt.d.mts.map +1 -1
- package/dist/nuxt.mjs +8 -18
- package/dist/nuxt.mjs.map +1 -1
- package/dist/plugin-utils.cjs +20 -28
- package/dist/plugin-utils.d.cts +1 -267
- package/dist/plugin-utils.d.mts +1 -272
- package/dist/plugin-utils.mjs +11 -4
- package/dist/plugin-utils.mjs.map +1 -0
- package/dist/rolldown.cjs +52 -18
- package/dist/rolldown.d.cts +5 -29
- package/dist/rolldown.d.cts.map +1 -1
- package/dist/rolldown.d.mts +5 -32
- package/dist/rolldown.d.mts.map +1 -1
- package/dist/rolldown.mjs +36 -13
- package/dist/rolldown.mjs.map +1 -0
- package/dist/rollup.cjs +20 -48
- package/dist/rollup.d.cts +5 -29
- package/dist/rollup.d.cts.map +1 -1
- package/dist/rollup.d.mts +5 -32
- package/dist/rollup.d.mts.map +1 -1
- package/dist/rollup.mjs +6 -44
- package/dist/rollup.mjs.map +1 -1
- package/dist/rspack.cjs +20 -82
- package/dist/rspack.d.cts +4 -24
- package/dist/rspack.d.cts.map +1 -1
- package/dist/rspack.d.mts +4 -27
- package/dist/rspack.d.mts.map +1 -1
- package/dist/rspack.mjs +5 -77
- package/dist/rspack.mjs.map +1 -1
- package/dist/storage/index.cjs +2 -3
- package/dist/storage/index.d.cts +7 -7
- package/dist/storage/index.d.cts.map +1 -1
- package/dist/storage/index.d.mts +7 -11
- package/dist/storage/index.d.mts.map +1 -1
- package/dist/storage/index.mjs +1 -3
- package/dist/{tsconfig-C8M8X6U0.cjs → tsconfig-BJrUrPC_.cjs} +13 -13
- package/dist/{tsconfig-B92heKit.mjs → tsconfig-D9GCB2I9.mjs} +5 -5
- package/dist/tsconfig-D9GCB2I9.mjs.map +1 -0
- package/dist/tsdown.cjs +38 -187
- package/dist/tsdown.d.cts +2 -24
- package/dist/tsdown.d.cts.map +1 -1
- package/dist/tsdown.d.mts +4 -30
- package/dist/tsdown.d.mts.map +1 -1
- package/dist/tsdown.mjs +8 -167
- package/dist/tsdown.mjs.map +1 -1
- package/dist/tsup.cjs +29 -134
- package/dist/tsup.d.cts +2 -24
- package/dist/tsup.d.cts.map +1 -1
- package/dist/tsup.d.mts +2 -28
- package/dist/tsup.d.mts.map +1 -1
- package/dist/tsup.mjs +7 -122
- package/dist/tsup.mjs.map +1 -1
- package/dist/types-DerAvFjs.d.cts +4 -0
- package/dist/types-DerAvFjs.d.cts.map +1 -0
- package/dist/types-ro7jWCtL.d.mts +4 -0
- package/dist/types-ro7jWCtL.d.mts.map +1 -0
- package/dist/typescript/index.cjs +2 -1
- package/dist/typescript/index.d.cts +2 -2
- package/dist/typescript/index.d.cts.map +1 -1
- package/dist/typescript/index.d.mts +1 -4
- package/dist/typescript/index.d.mts.map +1 -1
- package/dist/typescript/index.mjs +1 -1
- package/dist/unloader.cjs +6 -13
- package/dist/unloader.d.cts +2 -4
- package/dist/unloader.d.cts.map +1 -1
- package/dist/unloader.d.mts +2 -7
- package/dist/unloader.d.mts.map +1 -1
- package/dist/unloader.mjs +4 -11
- package/dist/unloader.mjs.map +1 -1
- package/dist/unplugin.cjs +11 -14
- package/dist/unplugin.d.cts +5 -6
- package/dist/unplugin.d.cts.map +1 -1
- package/dist/unplugin.d.mts +3 -6
- package/dist/unplugin.d.mts.map +1 -1
- package/dist/unplugin.mjs +6 -10
- package/dist/utils.cjs +38 -22
- package/dist/utils.d.cts +3 -2
- package/dist/utils.d.mts +3 -3
- package/dist/utils.mjs +19 -3
- package/dist/utils.mjs.map +1 -0
- package/dist/{virtual-B1MLgqnQ.cjs → virtual-Cbvj12lU.cjs} +33 -33
- package/dist/{virtual-B9imjOqe.mjs → virtual-DvkJm7gK.mjs} +7 -7
- package/dist/virtual-DvkJm7gK.mjs.map +1 -0
- package/dist/vite.cjs +84 -19
- package/dist/vite.d.cts +5 -16
- package/dist/vite.d.cts.map +1 -1
- package/dist/vite.d.mts +5 -19
- package/dist/vite.d.mts.map +1 -1
- package/dist/vite.mjs +67 -14
- package/dist/vite.mjs.map +1 -0
- package/dist/webpack.cjs +42 -16
- package/dist/webpack.d.cts +5 -29
- package/dist/webpack.d.cts.map +1 -1
- package/dist/webpack.d.mts +5 -32
- package/dist/webpack.d.mts.map +1 -1
- package/dist/webpack.mjs +26 -11
- package/dist/webpack.mjs.map +1 -0
- package/package.json +17 -17
- package/dist/api-CY668wMZ.mjs.map +0 -1
- package/dist/commands-7TWNqTU1.d.cts +0 -12
- package/dist/commands-7TWNqTU1.d.cts.map +0 -1
- package/dist/commands-yacLkOi0.d.mts +0 -12
- package/dist/commands-yacLkOi0.d.mts.map +0 -1
- package/dist/config-CK756s0L.d.mts +0 -2232
- package/dist/config-CK756s0L.d.mts.map +0 -1
- package/dist/config-CiPXgwzt.d.mts +0 -39
- package/dist/config-CiPXgwzt.d.mts.map +0 -1
- package/dist/config-D4Fh2gQL.mjs +0 -87
- package/dist/config-D4Fh2gQL.mjs.map +0 -1
- package/dist/config-D86Vw7SC.cjs +0 -105
- package/dist/config-J74ORCFY.d.cts +0 -39
- package/dist/config-J74ORCFY.d.cts.map +0 -1
- package/dist/config-vnrrSxEB.d.cts +0 -2232
- package/dist/config-vnrrSxEB.d.cts.map +0 -1
- package/dist/constants-CZh5rsgh.cjs +0 -103
- package/dist/constants-cXxSHhNp.mjs +0 -32
- package/dist/constants-cXxSHhNp.mjs.map +0 -1
- package/dist/constants.d.cts.map +0 -1
- package/dist/constants.d.mts.map +0 -1
- package/dist/esbuild-B3NuCco0.cjs +0 -100
- package/dist/esbuild-DWiE0pYc.mjs +0 -82
- package/dist/esbuild-DWiE0pYc.mjs.map +0 -1
- package/dist/index-2JXW-b2-.d.mts +0 -82
- package/dist/index-2JXW-b2-.d.mts.map +0 -1
- package/dist/index-6BLROVtJ.d.mts +0 -261
- package/dist/index-6BLROVtJ.d.mts.map +0 -1
- package/dist/index-C7W0kmm7.d.mts +0 -171
- package/dist/index-C7W0kmm7.d.mts.map +0 -1
- package/dist/index-DJ-k0GOX.d.cts +0 -261
- package/dist/index-DJ-k0GOX.d.cts.map +0 -1
- package/dist/paths-CS8ecCnW.mjs +0 -81
- package/dist/paths-CS8ecCnW.mjs.map +0 -1
- package/dist/paths-YmyIGEVo.cjs +0 -98
- package/dist/plugin-B9TQt-p0.d.cts +0 -82
- package/dist/plugin-B9TQt-p0.d.cts.map +0 -1
- package/dist/plugin-BE3wmhoU.d.cts +0 -26
- package/dist/plugin-BE3wmhoU.d.cts.map +0 -1
- package/dist/plugin-CZ_PJPpQ.cjs +0 -96
- package/dist/plugin-C_8RhG5V.d.mts +0 -26
- package/dist/plugin-C_8RhG5V.d.mts.map +0 -1
- package/dist/plugin-E5foRD0k.mjs +0 -61
- package/dist/plugin-E5foRD0k.mjs.map +0 -1
- package/dist/plugin-utils-C3HnZJl1.mjs +0 -387
- package/dist/plugin-utils-C3HnZJl1.mjs.map +0 -1
- package/dist/plugin-utils-Ck3cx3w6.cjs +0 -531
- package/dist/plugin-utils.d.cts.map +0 -1
- package/dist/plugin-utils.d.mts.map +0 -1
- package/dist/resolve-options-6sXFqzEA.mjs +0 -116
- package/dist/resolve-options-6sXFqzEA.mjs.map +0 -1
- package/dist/resolve-options-BQnTgg3V.cjs +0 -105
- package/dist/resolve-options-D-RGs8j8.mjs +0 -117
- package/dist/resolve-options-D-RGs8j8.mjs.map +0 -1
- package/dist/resolve-options-DHL3RM8F.mjs +0 -87
- package/dist/resolve-options-DHL3RM8F.mjs.map +0 -1
- package/dist/resolve-options-lxQ2pm0W.cjs +0 -127
- package/dist/resolve-options-vyFhhkLp.cjs +0 -133
- package/dist/rolldown-CQI8ps6f.cjs +0 -83
- package/dist/rolldown-DsXEFXyP.mjs +0 -65
- package/dist/rolldown-DsXEFXyP.mjs.map +0 -1
- package/dist/tsconfig-B92heKit.mjs.map +0 -1
- package/dist/types-Bh_vLuQ0.d.mts +0 -1
- package/dist/utils-BbDma_5Y.cjs +0 -449
- package/dist/utils-DoQcX7Sk.mjs +0 -339
- package/dist/utils-DoQcX7Sk.mjs.map +0 -1
- package/dist/virtual-B9imjOqe.mjs.map +0 -1
- package/dist/vite-Bx1gbbj3.mjs +0 -171
- package/dist/vite-Bx1gbbj3.mjs.map +0 -1
- package/dist/vite-XV170zx6.cjs +0 -189
- package/dist/webpack-9G4xJBfz.cjs +0 -107
- package/dist/webpack-BkTkELre.mjs +0 -88
- package/dist/webpack-BkTkELre.mjs.map +0 -1
- package/dist/write-file-CpNWY8SV.d.cts +0 -171
- package/dist/write-file-CpNWY8SV.d.cts.map +0 -1
package/dist/tsup.mjs
CHANGED
|
@@ -1,125 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./tsconfig-
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./paths-CS8ecCnW.mjs";
|
|
6
|
-
import "./constants-cXxSHhNp.mjs";
|
|
7
|
-
import "./config-D4Fh2gQL.mjs";
|
|
8
|
-
import "./utils-DoQcX7Sk.mjs";
|
|
9
|
-
import "./virtual-B9imjOqe.mjs";
|
|
10
|
-
import { n as resolveEntry } from "./resolve-options-DHL3RM8F.mjs";
|
|
11
|
-
import { t as esbuild_default } from "./esbuild-DWiE0pYc.mjs";
|
|
12
|
-
import { toArray } from "@stryke/convert/to-array";
|
|
1
|
+
import "./api-BYLuEyjx.mjs";
|
|
2
|
+
import "./tsconfig-D9GCB2I9.mjs";
|
|
3
|
+
import "./virtual-DvkJm7gK.mjs";
|
|
4
|
+
import unplugin$1 from "./esbuild.mjs";
|
|
13
5
|
import { omit } from "@stryke/helpers/omit";
|
|
14
|
-
import { appendPath } from "@stryke/path/append";
|
|
15
6
|
import { isString } from "@stryke/type-checks/is-string";
|
|
16
|
-
import
|
|
17
|
-
import { getUnique } from "@stryke/helpers/get-unique";
|
|
18
|
-
import { createEsbuildPlugin } from "unplugin";
|
|
19
|
-
import { build, resolveOptions } from "@storm-software/tsup";
|
|
20
|
-
import { DEFAULT_BUILD_OPTIONS } from "@storm-software/tsup/constants";
|
|
7
|
+
import plugin, { default as tsup } from "@powerlines/plugin-tsup";
|
|
21
8
|
|
|
22
|
-
//#region ../plugin-tsup/src/helpers/resolve-options.ts
|
|
23
|
-
const DEFAULT_TSUP_CONFIG = {
|
|
24
|
-
...DEFAULT_BUILD_OPTIONS,
|
|
25
|
-
target: "esnext",
|
|
26
|
-
config: false,
|
|
27
|
-
minify: true,
|
|
28
|
-
sourcemap: false,
|
|
29
|
-
cjsInterop: true,
|
|
30
|
-
bundle: true,
|
|
31
|
-
dts: true,
|
|
32
|
-
shims: true,
|
|
33
|
-
silent: true,
|
|
34
|
-
treeshake: true,
|
|
35
|
-
keepNames: true,
|
|
36
|
-
splitting: true,
|
|
37
|
-
banner: {}
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Resolves the entry options for [tsup](https://github.com/egoist/tsup).
|
|
41
|
-
*
|
|
42
|
-
* @param context - The build context.
|
|
43
|
-
* @param entryPoints - The entry points to resolve.
|
|
44
|
-
* @returns The resolved entry options.
|
|
45
|
-
*/
|
|
46
|
-
function resolveEntry$1(context, entryPoints) {
|
|
47
|
-
return resolveEntry(context, entryPoints);
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Resolves the options for [tsup](https://github.com/egoist/tsup).
|
|
51
|
-
*
|
|
52
|
-
* @param context - The build context.
|
|
53
|
-
* @returns The resolved options.
|
|
54
|
-
*/
|
|
55
|
-
function resolveOptions$1(context) {
|
|
56
|
-
const result = defu({
|
|
57
|
-
entry: Object.fromEntries(Object.entries(resolveEntry$1(context, context.entry)).map(([key, value]) => [key, appendPath(value, context.config.root)])),
|
|
58
|
-
esbuildOptions: ((options, ctx) => {
|
|
59
|
-
if (context.config.tsup?.esbuildOptions) context.config.tsup?.esbuildOptions?.(options, ctx);
|
|
60
|
-
options.alias = {
|
|
61
|
-
...context.alias,
|
|
62
|
-
...context.builtins.reduce((ret, id) => {
|
|
63
|
-
const path = context.fs.paths[id];
|
|
64
|
-
if (path) ret[id] = path;
|
|
65
|
-
return ret;
|
|
66
|
-
}, {}),
|
|
67
|
-
...options.alias
|
|
68
|
-
};
|
|
69
|
-
}),
|
|
70
|
-
noExternal: context.builtins
|
|
71
|
-
}, context.config.tsup ? context.config.tsup : {}, {
|
|
72
|
-
name: context.config.name,
|
|
73
|
-
root: context.config.root,
|
|
74
|
-
projectRoot: context.config.root,
|
|
75
|
-
assets: context.config.output.assets,
|
|
76
|
-
resolveExtensions: context.config.resolve.extensions,
|
|
77
|
-
outputPath: context.config.output.buildPath,
|
|
78
|
-
tsconfig: context.tsconfig.tsconfigFilePath,
|
|
79
|
-
dts: context.config.tsup && !context.config.tsup?.experimentalDts ? { compilerOptions: context.tsconfig.tsconfigJson.compilerOptions } : void 0,
|
|
80
|
-
format: context.config.output.format,
|
|
81
|
-
mode: context.config.mode,
|
|
82
|
-
treeshake: context.config.tsup ? context.config.tsup?.treeshake : void 0,
|
|
83
|
-
minify: context.config.mode !== "development",
|
|
84
|
-
metafile: context.config.mode === "development",
|
|
85
|
-
sourcemap: context.config.mode === "development",
|
|
86
|
-
silent: context.config.logLevel === null || context.config.mode === "production",
|
|
87
|
-
verbose: context.config.logLevel === null || context.config.logLevel === "trace" || context.config.mode === "development",
|
|
88
|
-
workspaceConfig: { workspaceRoot: context.workspaceConfig.workspaceRoot }
|
|
89
|
-
}, DEFAULT_TSUP_CONFIG);
|
|
90
|
-
result.format = getUnique(toArray(result.format));
|
|
91
|
-
return result;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
//#endregion
|
|
95
|
-
//#region ../plugin-tsup/src/helpers/unplugin.ts
|
|
96
|
-
function createTsupPlugin(context) {
|
|
97
|
-
return createEsbuildPlugin(createUnplugin(context))({});
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
//#endregion
|
|
101
|
-
//#region ../plugin-tsup/src/index.ts
|
|
102
|
-
/**
|
|
103
|
-
* A Powerlines plugin to use Tsup to build the project.
|
|
104
|
-
*/
|
|
105
|
-
const plugin = (options = {}) => {
|
|
106
|
-
return {
|
|
107
|
-
name: "tsup",
|
|
108
|
-
config() {
|
|
109
|
-
this.debug("Providing default configuration for the Powerlines `tsup` build plugin.");
|
|
110
|
-
return {
|
|
111
|
-
output: { format: ["cjs", "esm"] },
|
|
112
|
-
tsup: { ...options }
|
|
113
|
-
};
|
|
114
|
-
},
|
|
115
|
-
async build() {
|
|
116
|
-
return build(await resolveOptions(defu(resolveOptions$1(this), { esbuildPlugins: [createTsupPlugin(this)] })));
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
var src_default = plugin;
|
|
121
|
-
|
|
122
|
-
//#endregion
|
|
123
9
|
//#region src/tsup.ts
|
|
124
10
|
/**
|
|
125
11
|
* A Tsup configuration function that integrates Powerlines into the build process.
|
|
@@ -147,7 +33,7 @@ var src_default = plugin;
|
|
|
147
33
|
function unplugin(options = {}) {
|
|
148
34
|
return {
|
|
149
35
|
...options,
|
|
150
|
-
esbuildPlugins: [
|
|
36
|
+
esbuildPlugins: [unplugin$1({
|
|
151
37
|
output: {
|
|
152
38
|
outputPath: options.outDir,
|
|
153
39
|
format: options.format
|
|
@@ -170,8 +56,7 @@ function unplugin(options = {}) {
|
|
|
170
56
|
})]
|
|
171
57
|
};
|
|
172
58
|
}
|
|
173
|
-
var tsup_default = unplugin;
|
|
174
59
|
|
|
175
60
|
//#endregion
|
|
176
|
-
export {
|
|
61
|
+
export { unplugin as default, unplugin as "module.exports", unplugin, plugin, tsup };
|
|
177
62
|
//# sourceMappingURL=tsup.mjs.map
|
package/dist/tsup.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tsup.mjs","names":["DEFAULT_TSUP_CONFIG: Partial<TsupOptions>","resolveEntry","resolveEsbuildEntry","resolveOptions","resolveOptionsBase","resolveOptions","esbuild"],"sources":["../../plugin-tsup/src/helpers/resolve-options.ts","../../plugin-tsup/src/helpers/unplugin.ts","../../plugin-tsup/src/index.ts","../src/tsup.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, ResolvedEntryTypeDefinition } from \"@powerlines/core\";\nimport { resolveEntry as resolveEsbuildEntry } from \"@powerlines/plugin-esbuild/helpers/resolve-options\";\nimport { AssetGlob, Entry } from \"@storm-software/build-tools/types\";\nimport { resolveOptions as resolveOptionsBase } from \"@storm-software/tsup\";\nimport { DEFAULT_BUILD_OPTIONS } from \"@storm-software/tsup/constants\";\nimport { toArray } from \"@stryke/convert/to-array\";\nimport { getUnique } from \"@stryke/helpers/get-unique\";\nimport { appendPath } from \"@stryke/path/append\";\nimport defu from \"defu\";\nimport { Options } from \"tsup\";\nimport { TsupOptions, TsupPluginResolvedConfig } from \"../types\";\n\nexport const DEFAULT_TSUP_CONFIG: Partial<TsupOptions> = {\n ...DEFAULT_BUILD_OPTIONS,\n target: \"esnext\",\n config: false,\n minify: true,\n sourcemap: false,\n cjsInterop: true,\n bundle: true,\n dts: true,\n shims: true,\n silent: true,\n treeshake: true,\n keepNames: true,\n splitting: true,\n banner: {}\n};\n\n/**\n * Resolves the entry options for [tsup](https://github.com/egoist/tsup).\n *\n * @param context - The build context.\n * @param entryPoints - The entry points to resolve.\n * @returns The resolved entry options.\n */\nexport function resolveEntry(\n context: Context,\n entryPoints: ResolvedEntryTypeDefinition[] | string[]\n): Entry {\n return resolveEsbuildEntry(context, entryPoints) as Entry;\n}\n\ntype TsupEsbuildOptionsHandler = NonNullable<Options[\"esbuildOptions\"]>;\ntype TsupEsbuildOptionsArgs = Parameters<TsupEsbuildOptionsHandler>;\ntype TsupEsbuildOptions = TsupEsbuildOptionsArgs[0];\ntype TsupEsbuildContext = TsupEsbuildOptionsArgs[1];\n\ninterface TsupResolvedBuildConfig extends Options {\n esbuildOptions?: TsupEsbuildOptionsHandler;\n workspaceConfig?: {\n workspaceRoot: string;\n };\n}\n\n/**\n * Resolves the options for [tsup](https://github.com/egoist/tsup).\n *\n * @param context - The build context.\n * @returns The resolved options.\n */\nexport function resolveOptions(\n context: Context\n): Parameters<typeof resolveOptionsBase>[0] {\n const result = defu(\n {\n entry: Object.fromEntries(\n Object.entries(resolveEntry(context, context.entry)).map(\n ([key, value]) => [key, appendPath(value, context.config.root)]\n )\n ),\n esbuildOptions: ((\n options: TsupEsbuildOptions,\n ctx: TsupEsbuildContext\n ) => {\n if ((context.config as TsupPluginResolvedConfig).tsup?.esbuildOptions) {\n (context.config as TsupPluginResolvedConfig).tsup?.esbuildOptions?.(\n options,\n ctx\n );\n }\n\n options.alias = {\n ...context.alias,\n ...context.builtins.reduce(\n (ret, id) => {\n const path = context.fs.paths[id];\n if (path) {\n ret[id] = path;\n }\n\n return ret;\n },\n {} as Record<string, string>\n ),\n ...options.alias\n };\n }) as TsupResolvedBuildConfig[\"esbuildOptions\"],\n noExternal: context.builtins\n },\n (context.config as TsupPluginResolvedConfig).tsup\n ? (context.config as TsupPluginResolvedConfig).tsup\n : {},\n {\n name: context.config.name,\n root: context.config.root,\n projectRoot: context.config.root,\n assets: context.config.output.assets as (string | AssetGlob)[],\n resolveExtensions: context.config.resolve.extensions,\n outputPath: context.config.output.buildPath,\n tsconfig: context.tsconfig.tsconfigFilePath,\n dts:\n (context.config as TsupPluginResolvedConfig).tsup &&\n !(context.config as TsupPluginResolvedConfig).tsup?.experimentalDts\n ? {\n compilerOptions: context.tsconfig.tsconfigJson.compilerOptions\n }\n : undefined,\n format: context.config.output.format,\n mode: context.config.mode,\n treeshake: (context.config as TsupPluginResolvedConfig).tsup\n ? (context.config as TsupPluginResolvedConfig).tsup?.treeshake\n : undefined,\n minify: context.config.mode !== \"development\",\n metafile: context.config.mode === \"development\",\n sourcemap: context.config.mode === \"development\",\n silent:\n context.config.logLevel === null ||\n context.config.mode === \"production\",\n verbose:\n context.config.logLevel === null ||\n context.config.logLevel === \"trace\" ||\n context.config.mode === \"development\",\n workspaceConfig: { workspaceRoot: context.workspaceConfig.workspaceRoot }\n },\n DEFAULT_TSUP_CONFIG\n );\n\n result.format = getUnique(toArray(result.format));\n return result;\n}\n","/* -------------------------------------------------------------------\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 { TsupPluginContext } from \"../types/plugin\";\n\nexport function createTsupPlugin(context: TsupPluginContext) {\n return createEsbuildPlugin(createUnplugin(context))({});\n}\n","/* -------------------------------------------------------------------\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 {\n build,\n resolveOptions as resolveOptionsBase\n} from \"@storm-software/tsup\";\nimport defu from \"defu\";\nimport { resolveOptions } from \"./helpers/resolve-options\";\nimport { createTsupPlugin } from \"./helpers/unplugin\";\nimport {\n TsupPluginContext,\n TsupPluginOptions,\n TsupPluginResolvedConfig\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\ndeclare module \"@powerlines/core\" {\n interface Config {\n tsup?: TsupPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to use Tsup to build the project.\n */\nexport const plugin = <TContext extends TsupPluginContext = TsupPluginContext>(\n options: TsupPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"tsup\",\n config() {\n this.debug(\n \"Providing default configuration for the Powerlines `tsup` build plugin.\"\n );\n\n return {\n output: {\n format: [\"cjs\", \"esm\"]\n },\n tsup: {\n ...options\n }\n } as Partial<TsupPluginResolvedConfig>;\n },\n async build() {\n return build(\n await resolveOptionsBase(\n defu(resolveOptions(this), {\n esbuildPlugins: [createTsupPlugin(this)]\n })\n )\n );\n }\n };\n};\n\nexport default plugin;\n","/* -------------------------------------------------------------------\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 { omit } from \"@stryke/helpers/omit\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport type { Options } from \"tsup\";\nimport esbuild from \"./esbuild\";\n\nexport { default as plugin, default as tsup } from \"@powerlines/plugin-tsup\";\n\n/**\n * A Tsup configuration function that integrates Powerlines into the build process.\n *\n * @see https://tsup.egoist.dev/#/config\n *\n * @example\n * ```ts\n * // tsup.config.ts\n * import withPowerlines from \"powerlines/tsup\";\n *\n * export default withPowerlines({\n * entry: [\"src/index.ts\"],\n * format: [\"cjs\", \"esm\"],\n * dts: true,\n * sourcemap: true,\n * clean: true,\n * });\n *\n * ```\n *\n * @param options - The Tsup options to merge with the Powerlines configuration.\n * @returns The merged Tsup configuration options.\n */\nexport function unplugin(options: Options = {}): Options {\n return {\n ...options,\n esbuildPlugins: [\n esbuild({\n output: {\n outputPath: options.outDir,\n format: options.format\n },\n esbuild: {\n ...omit(options, [\n \"plugins\",\n \"banner\",\n \"footer\",\n \"outExtension\",\n \"outDir\",\n \"format\",\n \"minify\",\n \"pure\",\n \"inject\"\n ]),\n minify: Boolean(options.minify),\n pure: Array.isArray(options.pure)\n ? options.pure\n : isString(options.pure)\n ? [options.pure]\n : []\n }\n })\n ]\n };\n}\n\nexport default unplugin;\n\nexport { unplugin as \"module.exports\" };\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"tsup.mjs","names":["esbuild"],"sources":["../src/tsup.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 { omit } from \"@stryke/helpers/omit\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport type { Options } from \"tsup\";\nimport esbuild from \"./esbuild\";\n\nexport { default as plugin, default as tsup } from \"@powerlines/plugin-tsup\";\n\n/**\n * A Tsup configuration function that integrates Powerlines into the build process.\n *\n * @see https://tsup.egoist.dev/#/config\n *\n * @example\n * ```ts\n * // tsup.config.ts\n * import withPowerlines from \"powerlines/tsup\";\n *\n * export default withPowerlines({\n * entry: [\"src/index.ts\"],\n * format: [\"cjs\", \"esm\"],\n * dts: true,\n * sourcemap: true,\n * clean: true,\n * });\n *\n * ```\n *\n * @param options - The Tsup options to merge with the Powerlines configuration.\n * @returns The merged Tsup configuration options.\n */\nexport function unplugin(options: Options = {}): Options {\n return {\n ...options,\n esbuildPlugins: [\n esbuild({\n output: {\n outputPath: options.outDir,\n format: options.format\n },\n esbuild: {\n ...omit(options, [\n \"plugins\",\n \"banner\",\n \"footer\",\n \"outExtension\",\n \"outDir\",\n \"format\",\n \"minify\",\n \"pure\",\n \"inject\"\n ]),\n minify: Boolean(options.minify),\n pure: Array.isArray(options.pure)\n ? options.pure\n : isString(options.pure)\n ? [options.pure]\n : []\n }\n })\n ]\n };\n}\n\nexport default unplugin;\n\nexport { unplugin as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDA,SAAgB,SAAS,UAAmB,EAAE,EAAW;AACvD,QAAO;EACL,GAAG;EACH,gBAAgB,CACdA,WAAQ;GACN,QAAQ;IACN,YAAY,QAAQ;IACpB,QAAQ,QAAQ;IACjB;GACD,SAAS;IACP,GAAG,KAAK,SAAS;KACf;KACA;KACA;KACA;KACA;KACA;KACA;KACA;KACA;KACD,CAAC;IACF,QAAQ,QAAQ,QAAQ,OAAO;IAC/B,MAAM,MAAM,QAAQ,QAAQ,KAAK,GAC7B,QAAQ,OACR,SAAS,QAAQ,KAAK,GACpB,CAAC,QAAQ,KAAK,GACd,EAAE;IACT;GACF,CAAC,CACH;EACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-DerAvFjs.d.cts","names":[],"sources":["../src/types.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-ro7jWCtL.d.mts","names":[],"sources":["../src/types.ts"],"mappings":""}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_tsconfig = require('../tsconfig-BJrUrPC_.cjs');
|
|
2
3
|
|
|
3
4
|
exports.VirtualFileSystemHost = require_tsconfig.VirtualFileSystemHost;
|
|
4
5
|
exports.createProgram = require_tsconfig.createProgram;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Context, ParsedTypeScriptConfig, TSConfig } from "@powerlines/core";
|
|
2
|
+
import { FileSystemHost, InMemoryFileSystemHost, Project, ProjectOptions, RuntimeDirEntry } from "ts-morph";
|
|
2
3
|
import { FilterPattern } from "@stryke/types/file";
|
|
3
4
|
import ts from "typescript";
|
|
4
|
-
import { FileSystemHost, InMemoryFileSystemHost, Project, ProjectOptions, RuntimeDirEntry } from "ts-morph";
|
|
5
5
|
|
|
6
6
|
//#region src/typescript/ts-morph.d.ts
|
|
7
7
|
declare class VirtualFileSystemHost extends InMemoryFileSystemHost implements FileSystemHost {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/typescript/ts-morph.ts","../../src/typescript/tsconfig.ts"],"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/typescript/ts-morph.ts","../../src/typescript/tsconfig.ts"],"mappings":";;;;;;cA6Ba,qBAAA,SACH,sBAAA,YACG,cAAA;EAAA;cAIQ,OAAA,EAAS,OAAA;EAMZ,UAAA,CAAW,IAAA;EAIX,WAAA,CAAY,OAAA,WAAkB,eAAA;EAoBxB,QAAA,CAAS,QAAA,WAAgB,OAAA;EAQ/B,YAAA,CAAa,QAAA;EAQP,SAAA,CAAU,QAAA,UAAkB,QAAA,WAAgB,OAAA;EAIlD,aAAA,CAAc,QAAA,UAAkB,QAAA;EAI1B,KAAA,CAAM,OAAA,WAAe,OAAA;EAI3B,SAAA,CAAU,OAAA;EAIJ,IAAA,CAAK,OAAA,UAAiB,QAAA,WAAgB,OAAA;EAI5C,QAAA,CAAS,OAAA,UAAiB,QAAA;EAIpB,IAAA,CAAK,OAAA,UAAiB,QAAA,WAAgB,OAAA;EAI5C,QAAA,CAAS,OAAA,UAAiB,QAAA;EAIpB,UAAA,CAAW,QAAA,WAAgB,OAAA;EAIjC,cAAA,CAAe,QAAA;EAIT,eAAA,CAAgB,OAAA,WAAe,OAAA;EAIrC,mBAAA,CAAoB,OAAA;EAIpB,YAAA,CAAa,IAAA;EAIb,mBAAA,CAAA;EAIM,IAAA,CACpB,QAAA,EAAU,aAAA,WACT,OAAA;EAIa,QAAA,CAAS,QAAA,EAAU,aAAA;AAAA;;;;;;;iBAWrB,aAAA,CACd,OAAA,EAAS,OAAA,EACT,QAAA,EAAU,OAAA,CAAQ,cAAA,IACjB,OAAA;;;;;;AAhIH;;;;;;iBCQgB,mBAAA,CACd,aAAA,UACA,WAAA,UACA,QAAA;;;;;;;;;;iBAmDc,mBAAA,CACd,aAAA,UACA,WAAA,UACA,QAAA;;;;;;;;iBA0Bc,SAAA,CACd,YAAA,WAAuB,MAAA,SACvB,KAAA,YAAiB,MAAA,YACjB,UAAA,uBACU,MAAA;;;;;;;;iBAkCI,gBAAA,CACd,YAAA,WAAuB,MAAA,SACvB,KAAA,YAAiB,MAAA,sBACP,MAAA;;;;;;;;iBAuCI,YAAA,CACd,YAAA,WAAuB,MAAA,SACvB,KAAA,YAAiB,MAAA;;;;;;;;iBAYH,mBAAA,CACd,YAAA,EAAc,aAAA,EACd,KAAA,EAAO,aAAA;;;;;;;;;;;;iBAqBO,yBAAA,CACd,aAAA,UACA,WAAA,UACA,QAAA,WACA,WAAA,GAAa,QAAA,EACb,oBAAA,GAAuB,QAAA,EACvB,IAAA,GAAM,EAAA,CAAG,eAAA,GACR,sBAAA"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { _t as Context, cn as ParsedTypeScriptConfig, pn as TSConfig } from "../config-CK756s0L.mjs";
|
|
2
|
-
import "../config-CiPXgwzt.mjs";
|
|
3
|
-
import "../index-C7W0kmm7.mjs";
|
|
4
|
-
import "../index-2JXW-b2-.mjs";
|
|
5
1
|
import { FileSystemHost, InMemoryFileSystemHost, Project, ProjectOptions, RuntimeDirEntry } from "ts-morph";
|
|
6
2
|
import ts from "typescript";
|
|
3
|
+
import { Context, ParsedTypeScriptConfig, TSConfig } from "@powerlines/core";
|
|
7
4
|
import { FilterPattern } from "@stryke/types/file";
|
|
8
5
|
|
|
9
6
|
//#region src/typescript/ts-morph.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/typescript/ts-morph.ts","../../src/typescript/tsconfig.ts"],"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/typescript/ts-morph.ts","../../src/typescript/tsconfig.ts"],"mappings":";;;;;;cA6Ba,qBAAA,SACH,sBAAA,YACG,cAAA;EAAA;cAIQ,OAAA,EAAS,OAAA;EAMZ,UAAA,CAAW,IAAA;EAIX,WAAA,CAAY,OAAA,WAAkB,eAAA;EAoBxB,QAAA,CAAS,QAAA,WAAgB,OAAA;EAQ/B,YAAA,CAAa,QAAA;EAQP,SAAA,CAAU,QAAA,UAAkB,QAAA,WAAgB,OAAA;EAIlD,aAAA,CAAc,QAAA,UAAkB,QAAA;EAI1B,KAAA,CAAM,OAAA,WAAe,OAAA;EAI3B,SAAA,CAAU,OAAA;EAIJ,IAAA,CAAK,OAAA,UAAiB,QAAA,WAAgB,OAAA;EAI5C,QAAA,CAAS,OAAA,UAAiB,QAAA;EAIpB,IAAA,CAAK,OAAA,UAAiB,QAAA,WAAgB,OAAA;EAI5C,QAAA,CAAS,OAAA,UAAiB,QAAA;EAIpB,UAAA,CAAW,QAAA,WAAgB,OAAA;EAIjC,cAAA,CAAe,QAAA;EAIT,eAAA,CAAgB,OAAA,WAAe,OAAA;EAIrC,mBAAA,CAAoB,OAAA;EAIpB,YAAA,CAAa,IAAA;EAIb,mBAAA,CAAA;EAIM,IAAA,CACpB,QAAA,EAAU,aAAA,WACT,OAAA;EAIa,QAAA,CAAS,QAAA,EAAU,aAAA;AAAA;;;;;;;iBAWrB,aAAA,CACd,OAAA,EAAS,OAAA,EACT,QAAA,EAAU,OAAA,CAAQ,cAAA,IACjB,OAAA;;;;;;AAhIH;;;;;;iBCQgB,mBAAA,CACd,aAAA,UACA,WAAA,UACA,QAAA;;;;;;;;;;iBAmDc,mBAAA,CACd,aAAA,UACA,WAAA,UACA,QAAA;;;;;;;;iBA0Bc,SAAA,CACd,YAAA,WAAuB,MAAA,SACvB,KAAA,YAAiB,MAAA,YACjB,UAAA,uBACU,MAAA;;;;;;;;iBAkCI,gBAAA,CACd,YAAA,WAAuB,MAAA,SACvB,KAAA,YAAiB,MAAA,sBACP,MAAA;;;;;;;;iBAuCI,YAAA,CACd,YAAA,WAAuB,MAAA,SACvB,KAAA,YAAiB,MAAA;;;;;;;;iBAYH,mBAAA,CACd,YAAA,EAAc,aAAA,EACd,KAAA,EAAO,aAAA;;;;;;;;;;;;iBAqBO,yBAAA,CACd,aAAA,UACA,WAAA,UACA,QAAA,WACA,WAAA,GAAa,QAAA,EACb,oBAAA,GAAuB,QAAA,EACvB,IAAA,GAAM,EAAA,CAAG,eAAA,GACR,sBAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as isIncludeMatchFound, c as VirtualFileSystemHost, i as getTsconfigFilePath, l as createProgram, n as findMatch, o as isMatchFound, r as getParsedTypeScriptConfig, s as tryTsconfigFilePath, t as findIncludeMatch } from "../tsconfig-
|
|
1
|
+
import { a as isIncludeMatchFound, c as VirtualFileSystemHost, i as getTsconfigFilePath, l as createProgram, n as findMatch, o as isMatchFound, r as getParsedTypeScriptConfig, s as tryTsconfigFilePath, t as findIncludeMatch } from "../tsconfig-D9GCB2I9.mjs";
|
|
2
2
|
|
|
3
3
|
export { VirtualFileSystemHost, createProgram, findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound, tryTsconfigFilePath };
|
package/dist/unloader.cjs
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
Object.
|
|
2
|
-
const require_chunk = require('./chunk-
|
|
3
|
-
const require_api = require('./api-
|
|
4
|
-
require('./tsconfig-
|
|
5
|
-
require('./
|
|
6
|
-
require('./plugin-CZ_PJPpQ.cjs');
|
|
7
|
-
require('./paths-YmyIGEVo.cjs');
|
|
8
|
-
require('./constants-CZh5rsgh.cjs');
|
|
9
|
-
require('./config-D86Vw7SC.cjs');
|
|
10
|
-
require('./utils-BbDma_5Y.cjs');
|
|
11
|
-
require('./virtual-B1MLgqnQ.cjs');
|
|
1
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
+
const require_chunk = require('./chunk-AIJqnxB6.cjs');
|
|
3
|
+
const require_api = require('./api-Zx_hzL3g.cjs');
|
|
4
|
+
require('./tsconfig-BJrUrPC_.cjs');
|
|
5
|
+
require('./virtual-Cbvj12lU.cjs');
|
|
12
6
|
let unplugin = require("unplugin");
|
|
13
7
|
|
|
14
8
|
//#region src/unloader.ts
|
|
@@ -27,9 +21,8 @@ let unplugin = require("unplugin");
|
|
|
27
21
|
* ```
|
|
28
22
|
*/
|
|
29
23
|
const unloader = (0, unplugin.createUnloaderPlugin)(require_api.createUnpluginFactory("unloader"));
|
|
30
|
-
var unloader_default = unloader;
|
|
31
24
|
|
|
32
25
|
//#endregion
|
|
33
|
-
exports.default =
|
|
26
|
+
exports.default = unloader;
|
|
34
27
|
exports["module.exports"] = unloader;
|
|
35
28
|
exports.unloader = unloader;
|
package/dist/unloader.d.cts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as unloader0 from "unloader";
|
|
1
|
+
import * as _powerlines_core0 from "@powerlines/core";
|
|
3
2
|
|
|
4
3
|
//#region src/unloader.d.ts
|
|
5
|
-
|
|
6
4
|
/**
|
|
7
5
|
* An Unloader plugin that will invoke the Powerlines API hooks during processing.
|
|
8
6
|
*
|
|
@@ -17,7 +15,7 @@ import * as unloader0 from "unloader";
|
|
|
17
15
|
*
|
|
18
16
|
* ```
|
|
19
17
|
*/
|
|
20
|
-
declare const unloader: (options: Partial<UserConfig>) =>
|
|
18
|
+
declare const unloader: (options: Partial<_powerlines_core0.UserConfig>) => unloader.Plugin<false> | unloader.Plugin<false>[];
|
|
21
19
|
//#endregion
|
|
22
20
|
export { unloader as default, unloader as "module.exports", unloader };
|
|
23
21
|
//# sourceMappingURL=unloader.d.cts.map
|
package/dist/unloader.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unloader.d.cts","names":[],"sources":["../src/unloader.ts"],"
|
|
1
|
+
{"version":3,"file":"unloader.d.cts","names":[],"sources":["../src/unloader.ts"],"mappings":";;;;;;AAmCA;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAA0D,iBAAA,CAA1D,UAAA,MAAA,QAAA,CAAA,MAAA,UAAA,QAAA,CAAA,MAAA"}
|
package/dist/unloader.d.mts
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./config-CiPXgwzt.mjs";
|
|
3
|
-
import "./index-C7W0kmm7.mjs";
|
|
4
|
-
import "./index-2JXW-b2-.mjs";
|
|
5
|
-
import * as unloader0 from "unloader";
|
|
1
|
+
import * as _powerlines_core0 from "@powerlines/core";
|
|
6
2
|
|
|
7
3
|
//#region src/unloader.d.ts
|
|
8
|
-
|
|
9
4
|
/**
|
|
10
5
|
* An Unloader plugin that will invoke the Powerlines API hooks during processing.
|
|
11
6
|
*
|
|
@@ -20,7 +15,7 @@ import * as unloader0 from "unloader";
|
|
|
20
15
|
*
|
|
21
16
|
* ```
|
|
22
17
|
*/
|
|
23
|
-
declare const unloader: (options: Partial<UserConfig>) =>
|
|
18
|
+
declare const unloader: (options: Partial<_powerlines_core0.UserConfig>) => unloader.Plugin<false> | unloader.Plugin<false>[];
|
|
24
19
|
//#endregion
|
|
25
20
|
export { unloader as default, unloader as "module.exports", unloader };
|
|
26
21
|
//# sourceMappingURL=unloader.d.mts.map
|
package/dist/unloader.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unloader.d.mts","names":[],"sources":["../src/unloader.ts"],"
|
|
1
|
+
{"version":3,"file":"unloader.d.mts","names":[],"sources":["../src/unloader.ts"],"mappings":";;;;;;AAmCA;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAA0D,iBAAA,CAA1D,UAAA,MAAA,QAAA,CAAA,MAAA,UAAA,QAAA,CAAA,MAAA"}
|
package/dist/unloader.mjs
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { a as createUnpluginFactory } from "./api-
|
|
2
|
-
import "./tsconfig-
|
|
3
|
-
import "./
|
|
4
|
-
import "./plugin-E5foRD0k.mjs";
|
|
5
|
-
import "./paths-CS8ecCnW.mjs";
|
|
6
|
-
import "./constants-cXxSHhNp.mjs";
|
|
7
|
-
import "./config-D4Fh2gQL.mjs";
|
|
8
|
-
import "./utils-DoQcX7Sk.mjs";
|
|
9
|
-
import "./virtual-B9imjOqe.mjs";
|
|
1
|
+
import { a as createUnpluginFactory } from "./api-BYLuEyjx.mjs";
|
|
2
|
+
import "./tsconfig-D9GCB2I9.mjs";
|
|
3
|
+
import "./virtual-DvkJm7gK.mjs";
|
|
10
4
|
import { createUnloaderPlugin } from "unplugin";
|
|
11
5
|
|
|
12
6
|
//#region src/unloader.ts
|
|
@@ -25,8 +19,7 @@ import { createUnloaderPlugin } from "unplugin";
|
|
|
25
19
|
* ```
|
|
26
20
|
*/
|
|
27
21
|
const unloader = createUnloaderPlugin(createUnpluginFactory("unloader"));
|
|
28
|
-
var unloader_default = unloader;
|
|
29
22
|
|
|
30
23
|
//#endregion
|
|
31
|
-
export {
|
|
24
|
+
export { unloader as default, unloader as "module.exports", unloader };
|
|
32
25
|
//# sourceMappingURL=unloader.mjs.map
|
package/dist/unloader.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unloader.mjs","names":[],"sources":["../src/unloader.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 { createUnloaderPlugin } from \"unplugin\";\nimport { createUnpluginFactory } from \"./unplugin\";\n\n/**\n * An Unloader plugin that will invoke the Powerlines API hooks during processing.\n *\n * @example\n * ```ts\n * // unloader.config.js\n * import powerlines from \"powerlines/unloader\";\n *\n * export default defineConfig({\n * plugins: [powerlines({ name: \"example-app\", ... })],\n * });\n *\n * ```\n */\nexport const unloader = createUnloaderPlugin(createUnpluginFactory(\"unloader\"));\n\nexport default unloader;\nexport { unloader as \"module.exports\" };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unloader.mjs","names":[],"sources":["../src/unloader.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 { createUnloaderPlugin } from \"unplugin\";\nimport { createUnpluginFactory } from \"./unplugin\";\n\n/**\n * An Unloader plugin that will invoke the Powerlines API hooks during processing.\n *\n * @example\n * ```ts\n * // unloader.config.js\n * import powerlines from \"powerlines/unloader\";\n *\n * export default defineConfig({\n * plugins: [powerlines({ name: \"example-app\", ... })],\n * });\n *\n * ```\n */\nexport const unloader = createUnloaderPlugin(createUnpluginFactory(\"unloader\"));\n\nexport default unloader;\nexport { unloader as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAmCA,MAAa,WAAW,qBAAqB,sBAAsB,WAAW,CAAC"}
|
package/dist/unplugin.cjs
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
require('./
|
|
3
|
-
require('./
|
|
4
|
-
require('./
|
|
5
|
-
require('./paths-YmyIGEVo.cjs');
|
|
6
|
-
require('./constants-CZh5rsgh.cjs');
|
|
7
|
-
require('./config-D86Vw7SC.cjs');
|
|
8
|
-
require('./utils-BbDma_5Y.cjs');
|
|
9
|
-
require('./virtual-B1MLgqnQ.cjs');
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_api = require('./api-Zx_hzL3g.cjs');
|
|
3
|
+
require('./tsconfig-BJrUrPC_.cjs');
|
|
4
|
+
require('./virtual-Cbvj12lU.cjs');
|
|
10
5
|
|
|
11
|
-
exports.combineContexts = require_api.combineContexts;
|
|
12
|
-
exports.createUnplugin = require_api.createUnplugin;
|
|
13
6
|
exports.createUnpluginFactory = require_api.createUnpluginFactory;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.
|
|
7
|
+
var _powerlines_core_lib_unplugin = require("@powerlines/core/lib/unplugin");
|
|
8
|
+
Object.keys(_powerlines_core_lib_unplugin).forEach(function (k) {
|
|
9
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return _powerlines_core_lib_unplugin[k]; }
|
|
12
|
+
});
|
|
13
|
+
});
|
package/dist/unplugin.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { API, Context, UnpluginBuilderVariant, UnpluginFactory, UnpluginOptions } from "@powerlines/core";
|
|
2
|
+
import { UnpluginOptions as UnpluginOptions$1 } from "unplugin";
|
|
3
|
+
export * from "@powerlines/core/lib/unplugin";
|
|
4
4
|
|
|
5
5
|
//#region src/unplugin.d.ts
|
|
6
|
-
|
|
7
6
|
/**
|
|
8
7
|
* Creates a Powerlines unplugin factory that generates a plugin instance.
|
|
9
8
|
*
|
|
@@ -11,7 +10,7 @@ import { UnpluginOptions } from "unplugin";
|
|
|
11
10
|
* @param decorate - An optional function to decorate the unplugin options.
|
|
12
11
|
* @returns The unplugin factory that generates a plugin instance.
|
|
13
12
|
*/
|
|
14
|
-
declare function createUnpluginFactory<TContext extends Context, TUnpluginBuilderVariant extends UnpluginBuilderVariant = UnpluginBuilderVariant>(variant: TUnpluginBuilderVariant, decorate?: (api: API<TContext["config"]>, plugin: UnpluginOptions
|
|
13
|
+
declare function createUnpluginFactory<TContext extends Context, TUnpluginBuilderVariant extends UnpluginBuilderVariant = UnpluginBuilderVariant>(variant: TUnpluginBuilderVariant, decorate?: (api: API<TContext["config"]>, plugin: UnpluginOptions<TContext>) => UnpluginOptions$1): UnpluginFactory<TContext>;
|
|
15
14
|
//#endregion
|
|
16
|
-
export {
|
|
15
|
+
export { createUnpluginFactory };
|
|
17
16
|
//# sourceMappingURL=unplugin.d.cts.map
|
package/dist/unplugin.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unplugin.d.cts","names":[],"sources":["../src/unplugin.ts"],"
|
|
1
|
+
{"version":3,"file":"unplugin.d.cts","names":[],"sources":["../src/unplugin.ts"],"mappings":";;;;;;;;AAkEA;;;;iBAAgB,qBAAA,kBACG,OAAA,kCACe,sBAAA,GAC9B,sBAAA,CAAA,CAEF,OAAA,EAAS,uBAAA,EACT,QAAA,IACE,GAAA,EAAK,GAAA,CAAI,QAAA,aACT,MAAA,EAAQ,eAAA,CAAgB,QAAA,MACrB,iBAAA,GACJ,eAAA,CAAgB,QAAA"}
|
package/dist/unplugin.d.mts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { Cr as UnpluginFactory, Nr as API, Sr as UnpluginBuilderVariant, _t as Context, wr as UnpluginOptions$1 } from "./config-CK756s0L.mjs";
|
|
2
|
-
import "./config-CiPXgwzt.mjs";
|
|
3
|
-
import "./index-C7W0kmm7.mjs";
|
|
4
|
-
import { a as createUnplugin, c as __ΩCreateUnpluginModuleResolutionFunctionsOptions, d as isUnpluginBuilderVariant, i as __ΩCreateUnpluginResolverOptions, l as createUnpluginModuleResolutionFunctions, n as CreateUnpluginResolverOptions, o as createUnpluginResolver, r as __ΩCreateUnpluginOptions, s as CreateUnpluginModuleResolutionFunctionsOptions, t as CreateUnpluginOptions, u as combineContexts } from "./index-2JXW-b2-.mjs";
|
|
5
1
|
import { UnpluginOptions } from "unplugin";
|
|
2
|
+
import { API, Context, UnpluginBuilderVariant, UnpluginFactory, UnpluginOptions as UnpluginOptions$1 } from "@powerlines/core";
|
|
3
|
+
export * from "@powerlines/core/lib/unplugin";
|
|
6
4
|
|
|
7
5
|
//#region src/unplugin.d.ts
|
|
8
|
-
|
|
9
6
|
/**
|
|
10
7
|
* Creates a Powerlines unplugin factory that generates a plugin instance.
|
|
11
8
|
*
|
|
@@ -15,5 +12,5 @@ import { UnpluginOptions } from "unplugin";
|
|
|
15
12
|
*/
|
|
16
13
|
declare function createUnpluginFactory<TContext extends Context, TUnpluginBuilderVariant extends UnpluginBuilderVariant = UnpluginBuilderVariant>(variant: TUnpluginBuilderVariant, decorate?: (api: API<TContext["config"]>, plugin: UnpluginOptions$1<TContext>) => UnpluginOptions): UnpluginFactory<TContext>;
|
|
17
14
|
//#endregion
|
|
18
|
-
export {
|
|
15
|
+
export { createUnpluginFactory };
|
|
19
16
|
//# sourceMappingURL=unplugin.d.mts.map
|
package/dist/unplugin.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unplugin.d.mts","names":[],"sources":["../src/unplugin.ts"],"
|
|
1
|
+
{"version":3,"file":"unplugin.d.mts","names":[],"sources":["../src/unplugin.ts"],"mappings":";;;;;;;;AAkEA;;;;iBAAgB,qBAAA,kBACG,OAAA,kCACe,sBAAA,GAC9B,sBAAA,CAAA,CAEF,OAAA,EAAS,uBAAA,EACT,QAAA,IACE,GAAA,EAAK,GAAA,CAAI,QAAA,aACT,MAAA,EAAQ,iBAAA,CAAgB,QAAA,MACrB,eAAA,GACJ,eAAA,CAAgB,QAAA"}
|
package/dist/unplugin.mjs
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { a as createUnpluginFactory
|
|
2
|
-
import "./tsconfig-
|
|
3
|
-
import "./
|
|
4
|
-
import "./plugin-E5foRD0k.mjs";
|
|
5
|
-
import "./paths-CS8ecCnW.mjs";
|
|
6
|
-
import "./constants-cXxSHhNp.mjs";
|
|
7
|
-
import "./config-D4Fh2gQL.mjs";
|
|
8
|
-
import "./utils-DoQcX7Sk.mjs";
|
|
9
|
-
import "./virtual-B9imjOqe.mjs";
|
|
1
|
+
import { a as createUnpluginFactory } from "./api-BYLuEyjx.mjs";
|
|
2
|
+
import "./tsconfig-D9GCB2I9.mjs";
|
|
3
|
+
import "./virtual-DvkJm7gK.mjs";
|
|
10
4
|
|
|
11
|
-
export
|
|
5
|
+
export * from "@powerlines/core/lib/unplugin"
|
|
6
|
+
|
|
7
|
+
export { createUnpluginFactory };
|
package/dist/utils.cjs
CHANGED
|
@@ -1,23 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_chunk = require('./chunk-AIJqnxB6.cjs');
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
exports
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
exports.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
4
|
+
//#region src/utils.ts
|
|
5
|
+
var utils_exports = /* @__PURE__ */ require_chunk.__exportAll({});
|
|
6
|
+
require_chunk.__reExport(utils_exports, require("@powerlines/core/lib/entry"));
|
|
7
|
+
require_chunk.__reExport(utils_exports, require("@powerlines/core/lib/logger"));
|
|
8
|
+
require_chunk.__reExport(utils_exports, require("@powerlines/core/lib/utilities"));
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
Object.defineProperty(exports, 'utils_exports', {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () {
|
|
14
|
+
return utils_exports;
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
var _powerlines_core_lib_entry = require("@powerlines/core/lib/entry");
|
|
18
|
+
Object.keys(_powerlines_core_lib_entry).forEach(function (k) {
|
|
19
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return _powerlines_core_lib_entry[k]; }
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
var _powerlines_core_lib_logger = require("@powerlines/core/lib/logger");
|
|
26
|
+
Object.keys(_powerlines_core_lib_logger).forEach(function (k) {
|
|
27
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return _powerlines_core_lib_logger[k]; }
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
var _powerlines_core_lib_utilities = require("@powerlines/core/lib/utilities");
|
|
34
|
+
Object.keys(_powerlines_core_lib_utilities).forEach(function (k) {
|
|
35
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return _powerlines_core_lib_utilities[k]; }
|
|
38
|
+
});
|
|
39
|
+
});
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from "@powerlines/core/lib/entry";
|
|
2
|
+
export * from "@powerlines/core/lib/logger";
|
|
3
|
+
export * from "@powerlines/core/lib/utilities";
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
export * from "@powerlines/core/lib/entry";
|
|
2
|
+
export * from "@powerlines/core/lib/logger";
|
|
3
|
+
export * from "@powerlines/core/lib/utilities";
|