powerlines 0.1.0 → 0.2.0
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/astro.cjs +7 -7
- package/dist/astro.d.cts +1 -1
- package/dist/astro.d.ts +1 -1
- package/dist/astro.js +4 -4
- package/dist/{chunk-PLDWM2ZP.cjs → chunk-36UI6MGH.cjs} +27 -161
- package/dist/{chunk-MR4NWMNG.js → chunk-4G5JM2U7.js} +3 -3
- package/dist/chunk-5MV45EKI.cjs +12 -0
- package/dist/chunk-6ELWESMS.cjs +12 -0
- package/dist/chunk-7BAZMY7X.js +31 -0
- package/dist/chunk-7DR4SM5Q.cjs +12 -0
- package/dist/{chunk-LDMZLIYU.js → chunk-7PPPAQVG.js} +3 -3
- package/dist/{chunk-LTUNZ7DZ.cjs → chunk-7WC6BZUB.cjs} +8 -8
- package/dist/{chunk-2PFQYMJA.js → chunk-AW2A2HBF.js} +3 -3
- package/dist/{chunk-PZIEMKMR.cjs → chunk-CP4GED73.cjs} +4 -4
- package/dist/{chunk-X7YAUPWT.js → chunk-DO777NNH.js} +3 -3
- package/dist/{chunk-AQ3OSJIC.js → chunk-DWOQUF4C.js} +3 -3
- package/dist/{chunk-PRQH6ES4.cjs → chunk-F7IAPUXH.cjs} +4 -4
- package/dist/{chunk-Y4RC2VTI.cjs → chunk-LCN3Q3ZL.cjs} +4 -4
- package/dist/{chunk-KMU74QDP.js → chunk-LSIDWATS.js} +3 -3
- package/dist/{chunk-EHDYKULX.js → chunk-NR3IOPF2.js} +3 -3
- package/dist/chunk-OXO5B3EZ.cjs +34 -0
- package/dist/{chunk-OBXNXCQZ.js → chunk-PUCXHPI3.js} +3 -3
- package/dist/chunk-SVQ5LTOR.cjs +24 -0
- package/dist/{chunk-ROK5VG4A.js → chunk-U6WZV6FF.js} +3 -3
- package/dist/{chunk-M57MJAYC.js → chunk-VH57PPTD.js} +3 -3
- package/dist/{chunk-ZPC4I3DN.js → chunk-WQELBYZJ.js} +27 -161
- package/dist/chunk-WXIHWZ6S.cjs +12 -0
- package/dist/{chunk-WXMIUOWM.cjs → chunk-YSK45CUS.cjs} +4 -4
- package/dist/{chunk-HV6KOSDO.cjs → chunk-YZPVSWJC.cjs} +4 -4
- package/dist/chunk-ZCYO3IQZ.cjs +12 -0
- package/dist/{chunk-CWOTITQ5.js → chunk-ZDRPM5J4.js} +4 -4
- package/dist/{chunk-YUN6BFQD.js → chunk-ZLZMLLHP.js} +3 -3
- package/dist/define-config.d.cts +1 -1
- package/dist/define-config.d.ts +1 -1
- package/dist/esbuild.cjs +6 -6
- package/dist/esbuild.d.cts +1 -1
- package/dist/esbuild.d.ts +1 -1
- package/dist/esbuild.js +3 -3
- package/dist/farm.cjs +3 -3
- package/dist/farm.d.cts +1 -1
- package/dist/farm.d.ts +1 -1
- package/dist/farm.js +2 -2
- package/dist/index.cjs +17 -17
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -15
- package/dist/internal/api.cjs +2 -2
- package/dist/internal/api.d.cts +1 -1
- package/dist/internal/api.d.ts +1 -1
- package/dist/internal/api.js +1 -1
- package/dist/lib/{chunk-LLNF24PR.cjs → chunk-FGKEOMUJ.cjs} +18 -32
- package/dist/lib/chunk-FGKEOMUJ.cjs.map +1 -0
- package/dist/lib/{chunk-BWYIFI3V.js → chunk-PEFHZMZD.js} +19 -33
- package/dist/lib/chunk-PEFHZMZD.js.map +1 -0
- package/dist/lib/{config-C3R3Xbo2.d.cts → config-BuOWpULa.d.cts} +25 -9
- package/dist/lib/{config-CtEiDMTQ.d.ts → config-Ckb93CH-.d.ts} +25 -9
- package/dist/lib/config-file.d.cts +1 -1
- package/dist/lib/config-file.d.ts +1 -1
- package/dist/lib/deepkit/index.d.cts +1 -1
- package/dist/lib/deepkit/index.d.ts +1 -1
- package/dist/lib/deepkit/reflect-type.d.cts +1 -1
- package/dist/lib/deepkit/reflect-type.d.ts +1 -1
- package/dist/lib/deepkit/resolve-reflections.d.cts +1 -1
- package/dist/lib/deepkit/resolve-reflections.d.ts +1 -1
- package/dist/lib/deepkit/transformer.d.cts +1 -1
- package/dist/lib/deepkit/transformer.d.ts +1 -1
- package/dist/lib/entry.d.cts +1 -1
- package/dist/lib/entry.d.ts +1 -1
- package/dist/lib/index.cjs +54 -76
- package/dist/lib/index.d.cts +1 -6
- package/dist/lib/index.d.ts +1 -6
- package/dist/lib/index.js +10 -16
- package/dist/lib/logger.d.cts +1 -1
- package/dist/lib/logger.d.ts +1 -1
- package/dist/lib/typescript/compiler-host.cjs +1 -1
- package/dist/lib/typescript/compiler-host.d.cts +1 -1
- package/dist/lib/typescript/compiler-host.d.ts +1 -1
- package/dist/lib/typescript/compiler-host.js +1 -1
- package/dist/lib/typescript/import-transformer.d.cts +1 -1
- package/dist/lib/typescript/import-transformer.d.ts +1 -1
- package/dist/lib/typescript/index.cjs +28 -28
- package/dist/lib/typescript/index.d.cts +1 -1
- package/dist/lib/typescript/index.d.ts +1 -1
- package/dist/lib/typescript/index.js +2 -2
- package/dist/lib/typescript/program.d.cts +1 -1
- package/dist/lib/typescript/program.d.ts +1 -1
- package/dist/lib/typescript/transpile.d.cts +1 -1
- package/dist/lib/typescript/transpile.d.ts +1 -1
- package/dist/lib/unplugin/factory.cjs +6 -7
- package/dist/lib/unplugin/factory.d.cts +1 -1
- package/dist/lib/unplugin/factory.d.ts +1 -1
- package/dist/lib/unplugin/factory.js +5 -6
- package/dist/lib/unplugin/index.cjs +7 -8
- package/dist/lib/unplugin/index.d.cts +1 -1
- package/dist/lib/unplugin/index.d.ts +1 -1
- package/dist/lib/unplugin/index.js +6 -7
- package/dist/lib/unplugin/plugin.d.cts +1 -1
- package/dist/lib/unplugin/plugin.d.ts +1 -1
- package/dist/lib/unplugin/resolve-id.d.cts +1 -1
- package/dist/lib/unplugin/resolve-id.d.ts +1 -1
- package/dist/lib/utilities/index.cjs +28 -28
- package/dist/lib/utilities/index.d.cts +1 -1
- package/dist/lib/utilities/index.d.ts +1 -1
- package/dist/lib/utilities/index.js +4 -4
- package/dist/lib/utilities/meta.d.cts +1 -1
- package/dist/lib/utilities/meta.d.ts +1 -1
- package/dist/lib/utilities/plugin-helpers.d.cts +1 -1
- package/dist/lib/utilities/plugin-helpers.d.ts +1 -1
- package/dist/lib/utilities/resolve-path.d.cts +1 -1
- package/dist/lib/utilities/resolve-path.d.ts +1 -1
- package/dist/lib/utilities/worker.d.cts +1 -1
- package/dist/lib/utilities/worker.d.ts +1 -1
- package/dist/lib/utilities/write-file.d.cts +1 -1
- package/dist/lib/utilities/write-file.d.ts +1 -1
- package/dist/next.cjs +7 -7
- package/dist/next.js +4 -4
- package/dist/nuxt.cjs +8 -8
- package/dist/nuxt.js +5 -5
- package/dist/{resolved-DzrwqBEk.d.cts → resolved-B9ZEtSlF.d.cts} +25 -9
- package/dist/{resolved-hmEJSBeO.d.ts → resolved-EWT3-VMR.d.ts} +25 -9
- package/dist/rolldown.cjs +6 -6
- package/dist/rolldown.d.cts +1 -1
- package/dist/rolldown.d.ts +1 -1
- package/dist/rolldown.js +3 -3
- package/dist/rollup.cjs +6 -6
- package/dist/rollup.d.cts +1 -1
- package/dist/rollup.d.ts +1 -1
- package/dist/rollup.js +3 -3
- package/dist/rspack.cjs +6 -6
- package/dist/rspack.d.cts +1 -1
- package/dist/rspack.d.ts +1 -1
- package/dist/rspack.js +3 -3
- package/dist/tsup.cjs +7 -7
- package/dist/tsup.js +4 -4
- package/dist/types/babel.d.cts +1 -1
- package/dist/types/babel.d.ts +1 -1
- package/dist/types/commands.d.cts +1 -1
- package/dist/types/commands.d.ts +1 -1
- package/dist/types/compiler.d.cts +1 -1
- package/dist/types/compiler.d.ts +1 -1
- package/dist/types/config.d.cts +1 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/context.d.cts +1 -1
- package/dist/types/context.d.ts +1 -1
- package/dist/types/hooks.d.cts +1 -1
- package/dist/types/hooks.d.ts +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/resolved.d.cts +1 -1
- package/dist/types/resolved.d.ts +1 -1
- package/dist/types/unplugin.d.cts +1 -1
- package/dist/types/unplugin.d.ts +1 -1
- package/dist/unloader.cjs +6 -6
- package/dist/unloader.d.cts +1 -1
- package/dist/unloader.d.ts +1 -1
- package/dist/unloader.js +3 -3
- package/dist/unplugin.cjs +17 -17
- package/dist/unplugin.d.cts +1 -1
- package/dist/unplugin.d.ts +1 -1
- package/dist/unplugin.js +14 -14
- package/dist/vite.cjs +6 -6
- package/dist/vite.d.cts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +3 -3
- package/dist/webpack.cjs +6 -6
- package/dist/webpack.d.cts +1 -1
- package/dist/webpack.d.ts +1 -1
- package/dist/webpack.js +3 -3
- package/package.json +4 -50
- package/dist/chunk-4PQ2IVJD.cjs +0 -12
- package/dist/chunk-GH7UDO5U.js +0 -31
- package/dist/chunk-I7NSMKRL.cjs +0 -12
- package/dist/chunk-JIQTIZIB.cjs +0 -12
- package/dist/chunk-L2YLZOLZ.cjs +0 -12
- package/dist/chunk-QNPN2TBM.cjs +0 -12
- package/dist/chunk-RBNB63XQ.cjs +0 -24
- package/dist/chunk-ZERYZ554.cjs +0 -34
- package/dist/lib/chunk-2POAFUYW.cjs +0 -4
- package/dist/lib/chunk-2POAFUYW.cjs.map +0 -1
- package/dist/lib/chunk-3QWPRNOJ.js +0 -3
- package/dist/lib/chunk-3QWPRNOJ.js.map +0 -1
- package/dist/lib/chunk-6YX3AIYU.js +0 -47
- package/dist/lib/chunk-6YX3AIYU.js.map +0 -1
- package/dist/lib/chunk-BWYIFI3V.js.map +0 -1
- package/dist/lib/chunk-D65TQIQK.cjs +0 -99
- package/dist/lib/chunk-D65TQIQK.cjs.map +0 -1
- package/dist/lib/chunk-GAOL534U.js +0 -43
- package/dist/lib/chunk-GAOL534U.js.map +0 -1
- package/dist/lib/chunk-K6OUCANN.js +0 -75
- package/dist/lib/chunk-K6OUCANN.js.map +0 -1
- package/dist/lib/chunk-LLNF24PR.cjs.map +0 -1
- package/dist/lib/chunk-NS4SXIWY.cjs +0 -49
- package/dist/lib/chunk-NS4SXIWY.cjs.map +0 -1
- package/dist/lib/chunk-P4G2H56N.cjs +0 -4
- package/dist/lib/chunk-P4G2H56N.cjs.map +0 -1
- package/dist/lib/chunk-PEARXSNM.js +0 -3
- package/dist/lib/chunk-PEARXSNM.js.map +0 -1
- package/dist/lib/chunk-W4KT67KR.cjs +0 -134
- package/dist/lib/chunk-W4KT67KR.cjs.map +0 -1
- package/dist/lib/chunk-WX4FTMAA.js +0 -131
- package/dist/lib/chunk-WX4FTMAA.js.map +0 -1
- package/dist/lib/chunk-XBWFWDNB.cjs +0 -69
- package/dist/lib/chunk-XBWFWDNB.cjs.map +0 -1
- package/dist/lib/typedoc/helpers/comment.cjs +0 -12
- package/dist/lib/typedoc/helpers/comment.cjs.map +0 -1
- package/dist/lib/typedoc/helpers/comment.d.cts +0 -3
- package/dist/lib/typedoc/helpers/comment.d.ts +0 -3
- package/dist/lib/typedoc/helpers/comment.js +0 -4
- package/dist/lib/typedoc/helpers/comment.js.map +0 -1
- package/dist/lib/typedoc/helpers/index.cjs +0 -24
- package/dist/lib/typedoc/helpers/index.cjs.map +0 -1
- package/dist/lib/typedoc/helpers/index.d.cts +0 -4
- package/dist/lib/typedoc/helpers/index.d.ts +0 -4
- package/dist/lib/typedoc/helpers/index.js +0 -7
- package/dist/lib/typedoc/helpers/index.js.map +0 -1
- package/dist/lib/typedoc/helpers/markdown-theme.cjs +0 -13
- package/dist/lib/typedoc/helpers/markdown-theme.cjs.map +0 -1
- package/dist/lib/typedoc/helpers/markdown-theme.d.cts +0 -21
- package/dist/lib/typedoc/helpers/markdown-theme.d.ts +0 -21
- package/dist/lib/typedoc/helpers/markdown-theme.js +0 -4
- package/dist/lib/typedoc/helpers/markdown-theme.js.map +0 -1
- package/dist/lib/typedoc/helpers/toc.cjs +0 -23
- package/dist/lib/typedoc/helpers/toc.cjs.map +0 -1
- package/dist/lib/typedoc/helpers/toc.d.cts +0 -9
- package/dist/lib/typedoc/helpers/toc.d.ts +0 -9
- package/dist/lib/typedoc/helpers/toc.js +0 -4
- package/dist/lib/typedoc/helpers/toc.js.map +0 -1
- package/dist/lib/typedoc/index.cjs +0 -30
- package/dist/lib/typedoc/index.cjs.map +0 -1
- package/dist/lib/typedoc/index.d.cts +0 -40
- package/dist/lib/typedoc/index.d.ts +0 -40
- package/dist/lib/typedoc/index.js +0 -9
- package/dist/lib/typedoc/index.js.map +0 -1
- package/dist/lib/typedoc/init.cjs +0 -19
- package/dist/lib/typedoc/init.cjs.map +0 -1
- package/dist/lib/typedoc/init.d.cts +0 -68
- package/dist/lib/typedoc/init.d.ts +0 -68
- package/dist/lib/typedoc/init.js +0 -4
- package/dist/lib/typedoc/init.js.map +0 -1
- package/dist/lib/typedoc/plugin.cjs +0 -14
- package/dist/lib/typedoc/plugin.cjs.map +0 -1
- package/dist/lib/typedoc/plugin.d.cts +0 -8
- package/dist/lib/typedoc/plugin.d.ts +0 -8
- package/dist/lib/typedoc/plugin.js +0 -12
- package/dist/lib/typedoc/plugin.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkQIKKQQF7_cjs = require('./chunk-QIKKQQF7.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk7WC6BZUB_cjs = require('./chunk-7WC6BZUB.cjs');
|
|
5
5
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
6
6
|
var environmentChecks = require('@stryke/env/environment-checks');
|
|
7
7
|
var defu = require('defu');
|
|
@@ -70,7 +70,7 @@ function extractViteConfig(context) {
|
|
|
70
70
|
chunkPK6SKIKE_cjs.__name(extractViteConfig, "extractViteConfig");
|
|
71
71
|
|
|
72
72
|
// src/vite.ts
|
|
73
|
-
var vite = unplugin.createVitePlugin(
|
|
73
|
+
var vite = unplugin.createVitePlugin(chunk7WC6BZUB_cjs.createUnpluginFactory("vite", (api, plugin) => {
|
|
74
74
|
return {
|
|
75
75
|
...plugin,
|
|
76
76
|
vite: {
|
|
@@ -112,5 +112,5 @@ var vite_default = vite;
|
|
|
112
112
|
|
|
113
113
|
exports.vite = vite;
|
|
114
114
|
exports.vite_default = vite_default;
|
|
115
|
-
//# sourceMappingURL=chunk-
|
|
116
|
-
//# sourceMappingURL=chunk-
|
|
115
|
+
//# sourceMappingURL=chunk-LCN3Q3ZL.cjs.map
|
|
116
|
+
//# sourceMappingURL=chunk-LCN3Q3ZL.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-VH57PPTD.js';
|
|
2
2
|
import { createRspackPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var rspack = createRspackPlugin(createUnpluginFactory("rspack"));
|
|
5
5
|
var rspack_default = rspack;
|
|
6
6
|
|
|
7
7
|
export { rspack, rspack_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-LSIDWATS.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-LSIDWATS.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-VOB62ELC.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-VH57PPTD.js';
|
|
3
3
|
import { __name } from './chunk-7QVYU63E.js';
|
|
4
4
|
import { isUndefined } from '@stryke/type-checks/is-undefined';
|
|
5
5
|
import { createEsbuildPlugin } from 'unplugin';
|
|
@@ -27,5 +27,5 @@ var esbuild = createEsbuildPlugin(createUnpluginFactory("esbuild", (api, plugin)
|
|
|
27
27
|
var esbuild_default = esbuild;
|
|
28
28
|
|
|
29
29
|
export { esbuild, esbuild_default };
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
31
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-NR3IOPF2.js.map
|
|
31
|
+
//# sourceMappingURL=chunk-NR3IOPF2.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk7DR4SM5Q_cjs = require('./chunk-7DR4SM5Q.cjs');
|
|
4
|
+
var chunkZCYO3IQZ_cjs = require('./chunk-ZCYO3IQZ.cjs');
|
|
5
|
+
var chunkYZPVSWJC_cjs = require('./chunk-YZPVSWJC.cjs');
|
|
6
|
+
var chunkWXIHWZ6S_cjs = require('./chunk-WXIHWZ6S.cjs');
|
|
7
|
+
var chunkYSK45CUS_cjs = require('./chunk-YSK45CUS.cjs');
|
|
8
|
+
var chunkCP4GED73_cjs = require('./chunk-CP4GED73.cjs');
|
|
9
|
+
var chunkF7IAPUXH_cjs = require('./chunk-F7IAPUXH.cjs');
|
|
10
|
+
var chunkSVQ5LTOR_cjs = require('./chunk-SVQ5LTOR.cjs');
|
|
11
|
+
var chunkLCN3Q3ZL_cjs = require('./chunk-LCN3Q3ZL.cjs');
|
|
12
|
+
var chunk5MV45EKI_cjs = require('./chunk-5MV45EKI.cjs');
|
|
13
|
+
var chunk6ELWESMS_cjs = require('./chunk-6ELWESMS.cjs');
|
|
14
|
+
|
|
15
|
+
// src/unplugin.ts
|
|
16
|
+
var plugins = {
|
|
17
|
+
astro: chunkYSK45CUS_cjs.astro_default,
|
|
18
|
+
esbuild: chunkCP4GED73_cjs.esbuild_default,
|
|
19
|
+
next: chunkF7IAPUXH_cjs.next_default,
|
|
20
|
+
nuxt: chunkSVQ5LTOR_cjs.nuxt_default,
|
|
21
|
+
rolldown: chunk6ELWESMS_cjs.rolldown_default,
|
|
22
|
+
rollup: chunk7DR4SM5Q_cjs.rollup_default,
|
|
23
|
+
rspack: chunkZCYO3IQZ_cjs.rspack_default,
|
|
24
|
+
tsup: chunkYZPVSWJC_cjs.tsup_default,
|
|
25
|
+
unloader: chunkWXIHWZ6S_cjs.unloader_default,
|
|
26
|
+
vite: chunkLCN3Q3ZL_cjs.vite_default,
|
|
27
|
+
webpack: chunk5MV45EKI_cjs.webpack_default
|
|
28
|
+
};
|
|
29
|
+
var unplugin_default = plugins;
|
|
30
|
+
|
|
31
|
+
exports.plugins = plugins;
|
|
32
|
+
exports.unplugin_default = unplugin_default;
|
|
33
|
+
//# sourceMappingURL=chunk-OXO5B3EZ.cjs.map
|
|
34
|
+
//# sourceMappingURL=chunk-OXO5B3EZ.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { webpack_default } from './chunk-
|
|
1
|
+
import { webpack_default } from './chunk-DO777NNH.js';
|
|
2
2
|
import { __name } from './chunk-7QVYU63E.js';
|
|
3
3
|
|
|
4
4
|
// src/next.ts
|
|
@@ -17,5 +17,5 @@ __name(next, "next");
|
|
|
17
17
|
var next_default = next;
|
|
18
18
|
|
|
19
19
|
export { next, next_default };
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
21
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-PUCXHPI3.js.map
|
|
21
|
+
//# sourceMappingURL=chunk-PUCXHPI3.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkLCN3Q3ZL_cjs = require('./chunk-LCN3Q3ZL.cjs');
|
|
4
|
+
var chunk5MV45EKI_cjs = require('./chunk-5MV45EKI.cjs');
|
|
5
|
+
var kit = require('@nuxt/kit');
|
|
6
|
+
require('@nuxt/schema');
|
|
7
|
+
|
|
8
|
+
var nuxt = kit.defineNuxtModule({
|
|
9
|
+
meta: {
|
|
10
|
+
name: "powerlines",
|
|
11
|
+
configKey: "storm"
|
|
12
|
+
},
|
|
13
|
+
defaults: {},
|
|
14
|
+
setup(options, _nuxt) {
|
|
15
|
+
kit.addVitePlugin(() => chunkLCN3Q3ZL_cjs.vite_default(options));
|
|
16
|
+
kit.addWebpackPlugin(() => chunk5MV45EKI_cjs.webpack_default(options));
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
var nuxt_default = nuxt;
|
|
20
|
+
|
|
21
|
+
exports.nuxt = nuxt;
|
|
22
|
+
exports.nuxt_default = nuxt_default;
|
|
23
|
+
//# sourceMappingURL=chunk-SVQ5LTOR.cjs.map
|
|
24
|
+
//# sourceMappingURL=chunk-SVQ5LTOR.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-VH57PPTD.js';
|
|
2
2
|
import { createRolldownPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var rolldown = createRolldownPlugin(createUnpluginFactory("rolldown"));
|
|
5
5
|
var rolldown_default = rolldown;
|
|
6
6
|
|
|
7
7
|
export { rolldown, rolldown_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-U6WZV6FF.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-U6WZV6FF.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLog, PowerlinesAPI, getString } from './chunk-
|
|
1
|
+
import { createLog, PowerlinesAPI, getString } from './chunk-WQELBYZJ.js';
|
|
2
2
|
import { __name } from './chunk-7QVYU63E.js';
|
|
3
3
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
4
4
|
import { getWorkspaceRoot } from '@stryke/fs/get-workspace-root';
|
|
@@ -196,5 +196,5 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
196
196
|
__name(createUnpluginFactory, "createUnpluginFactory");
|
|
197
197
|
|
|
198
198
|
export { createUnpluginFactory };
|
|
199
|
-
//# sourceMappingURL=chunk-
|
|
200
|
-
//# sourceMappingURL=chunk-
|
|
199
|
+
//# sourceMappingURL=chunk-VH57PPTD.js.map
|
|
200
|
+
//# sourceMappingURL=chunk-VH57PPTD.js.map
|
|
@@ -7,7 +7,7 @@ import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
|
7
7
|
import { toArray } from '@stryke/convert/to-array';
|
|
8
8
|
import { copyFiles } from '@stryke/fs/copy-file';
|
|
9
9
|
import { existsSync } from '@stryke/fs/exists';
|
|
10
|
-
import { createDirectory
|
|
10
|
+
import { createDirectory } from '@stryke/fs/helpers';
|
|
11
11
|
import { install } from '@stryke/fs/install';
|
|
12
12
|
import { listFiles, listFilesSync } from '@stryke/fs/list-files';
|
|
13
13
|
import { isPackageExists, isPackageListed, doesPackageMatch, getPackageListing } from '@stryke/fs/package-fns';
|
|
@@ -23,9 +23,6 @@ import { isSetObject } from '@stryke/type-checks/is-set-object';
|
|
|
23
23
|
import { isSetString } from '@stryke/type-checks/is-set-string';
|
|
24
24
|
import chalk5 from 'chalk';
|
|
25
25
|
import Handlebars from 'handlebars';
|
|
26
|
-
import { writeFile as writeFile$1 } from 'node:fs/promises';
|
|
27
|
-
import path, { sep } from 'node:path';
|
|
28
|
-
import { Application, TypeDocReader, PackageJsonReader, TSConfigReader, Converter, ReflectionKind, PageEvent } from 'typedoc';
|
|
29
26
|
import { readJsonFile, readJsonFileSync } from '@stryke/fs/json';
|
|
30
27
|
import { appendPath } from '@stryke/path/append';
|
|
31
28
|
import defu5, { defu } from 'defu';
|
|
@@ -35,7 +32,7 @@ import { hashDirectory } from '@stryke/hash/hash-files';
|
|
|
35
32
|
import { getUnique, getUniqueBy } from '@stryke/helpers/get-unique';
|
|
36
33
|
import { kebabCase } from '@stryke/string-format/kebab-case';
|
|
37
34
|
import { isUndefined } from '@stryke/type-checks/is-undefined';
|
|
38
|
-
import { writeFile } from '@stryke/fs/write-file';
|
|
35
|
+
import { writeFile as writeFile$1 } from '@stryke/fs/write-file';
|
|
39
36
|
import { format, resolveConfig } from 'prettier';
|
|
40
37
|
import { resolvePackage } from '@stryke/fs/resolve';
|
|
41
38
|
import { getWorkspaceConfig } from '@storm-software/config-tools/get-config';
|
|
@@ -67,6 +64,7 @@ import { isDirectory } from '@stryke/fs/is-file';
|
|
|
67
64
|
import { readFile, readFileIfExistingSync } from '@stryke/fs/read-file';
|
|
68
65
|
import { isValidRange, parseVersion } from '@stryke/fs/semver-fns';
|
|
69
66
|
import { getParentPath } from '@stryke/path/get-parent-path';
|
|
67
|
+
import path from 'node:path';
|
|
70
68
|
import { hasPackageVersion, getPackageName, getPackageVersion } from '@stryke/string-format/package';
|
|
71
69
|
import { transformAsync } from '@babel/core';
|
|
72
70
|
import MagicString from 'magic-string';
|
|
@@ -77,125 +75,6 @@ import { loadTsConfig } from '@stryke/fs/tsconfig';
|
|
|
77
75
|
import { StormJSON } from '@stryke/json/storm-json';
|
|
78
76
|
import { minimatch } from 'minimatch';
|
|
79
77
|
|
|
80
|
-
var objectToFrontmatter = /* @__PURE__ */ __name((object = {}) => Object.entries(object).filter(([, value]) => {
|
|
81
|
-
return value !== void 0 && value !== null && value !== "" && typeof value === "string" || Array.isArray(value) && value.length > 0;
|
|
82
|
-
}).map(([key, value]) => `${key}: ${value}`).join("\n"), "objectToFrontmatter");
|
|
83
|
-
var onRendererPageEnd = /* @__PURE__ */ __name((frontmatterObject) => (event) => {
|
|
84
|
-
if (!event.contents) {
|
|
85
|
-
return;
|
|
86
|
-
} else if (/README\.md$/.test(event.url)) {
|
|
87
|
-
event.preventDefault();
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
const frontmatter = `---
|
|
91
|
-
title: '${event.model.name}'
|
|
92
|
-
${objectToFrontmatter(frontmatterObject)}
|
|
93
|
-
---
|
|
94
|
-
|
|
95
|
-
`;
|
|
96
|
-
event.contents = frontmatter + event.contents;
|
|
97
|
-
}, "onRendererPageEnd");
|
|
98
|
-
var buildNavigationFromProjectReflection = /* @__PURE__ */ __name((baseUrl = "", project) => {
|
|
99
|
-
const baseUrlWithoutTrailingSlash = baseUrl.replace(/\/$/gm, "");
|
|
100
|
-
const result = {
|
|
101
|
-
type: "flat"
|
|
102
|
-
};
|
|
103
|
-
const isGroupOfModules = /* @__PURE__ */ __name((group) => group.title === "Modules", "isGroupOfModules");
|
|
104
|
-
const reflectionToNavItem = /* @__PURE__ */ __name((reflection) => {
|
|
105
|
-
return {
|
|
106
|
-
title: reflection.name,
|
|
107
|
-
url: `${baseUrlWithoutTrailingSlash}/${reflection.url}`.replace(/\.md$/, "")
|
|
108
|
-
};
|
|
109
|
-
}, "reflectionToNavItem");
|
|
110
|
-
const modulesGroupToNavigationGroup = /* @__PURE__ */ __name((module) => ({
|
|
111
|
-
items: (module.groups ?? []).flatMap((group) => group.children.map(reflectionToNavItem)),
|
|
112
|
-
name: module.name
|
|
113
|
-
}), "modulesGroupToNavigationGroup");
|
|
114
|
-
const navFromReflectionGroups = /* @__PURE__ */ __name((groups, nav = {
|
|
115
|
-
type: "flat"
|
|
116
|
-
}) => {
|
|
117
|
-
groups.forEach((group) => {
|
|
118
|
-
if (isGroupOfModules(group)) {
|
|
119
|
-
nav.type = "modular";
|
|
120
|
-
nav.modules = group.children.map(modulesGroupToNavigationGroup);
|
|
121
|
-
} else {
|
|
122
|
-
nav.items = nav?.items?.length ? nav.items : [];
|
|
123
|
-
nav.items = nav.items.concat(group.children.flatMap(reflectionToNavItem));
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
return nav;
|
|
127
|
-
}, "navFromReflectionGroups");
|
|
128
|
-
return navFromReflectionGroups(project.groups, result);
|
|
129
|
-
}, "buildNavigationFromProjectReflection");
|
|
130
|
-
var onDeclaration = /* @__PURE__ */ __name((entryPoints = []) => (context, reflection) => {
|
|
131
|
-
if (reflection.kind === ReflectionKind.Module) {
|
|
132
|
-
const matchingEntryPoint = entryPoints.find((entryPoint) => entryPoint.path === reflection.sources[0].fullFileName);
|
|
133
|
-
reflection.name = matchingEntryPoint?.name ?? reflection.name;
|
|
134
|
-
}
|
|
135
|
-
}, "onDeclaration");
|
|
136
|
-
var typedocConfig = {
|
|
137
|
-
excludeExternals: true,
|
|
138
|
-
excludeInternal: true,
|
|
139
|
-
excludePrivate: true,
|
|
140
|
-
excludeProtected: true,
|
|
141
|
-
githubPages: false
|
|
142
|
-
};
|
|
143
|
-
var markdownPluginConfig = {
|
|
144
|
-
hideBreadcrumbs: true,
|
|
145
|
-
hideInPageTOC: true,
|
|
146
|
-
hidePageHeader: true,
|
|
147
|
-
hidePageTitle: true
|
|
148
|
-
};
|
|
149
|
-
var removeTrailingSlash = /* @__PURE__ */ __name((pathString = "") => pathString.endsWith(sep) ? pathString.slice(0, pathString.length - 1) : pathString, "removeTrailingSlash");
|
|
150
|
-
var initTypedoc = /* @__PURE__ */ __name(async (context, options) => {
|
|
151
|
-
const { baseUrl = "/docs/", outputPath } = options;
|
|
152
|
-
const entryPoints = options.entryPoints ?? context.entry.map((entry) => ({
|
|
153
|
-
name: entry.name || entry.output || findFileName(entry.file, {
|
|
154
|
-
withExtension: false
|
|
155
|
-
}),
|
|
156
|
-
path: joinPaths(context.config.projectRoot, entry.file)
|
|
157
|
-
}));
|
|
158
|
-
const app = await Application.bootstrapWithPlugins({
|
|
159
|
-
...typedocConfig,
|
|
160
|
-
...markdownPluginConfig,
|
|
161
|
-
gitRevision: context.workspaceConfig.branch || "main",
|
|
162
|
-
tsconfig: context.tsconfig.tsconfigFilePath,
|
|
163
|
-
exclude: context.tsconfig.tsconfigJson.exclude?.filter(Boolean),
|
|
164
|
-
out: outputPath,
|
|
165
|
-
basePath: baseUrl,
|
|
166
|
-
entryPoints: entryPoints?.map((e) => e.path),
|
|
167
|
-
plugin: [
|
|
168
|
-
"typedoc-plugin-markdown",
|
|
169
|
-
"powerlines/lib/typedoc/plugin"
|
|
170
|
-
],
|
|
171
|
-
theme: "powerlines",
|
|
172
|
-
readme: "none",
|
|
173
|
-
excludePrivate: true,
|
|
174
|
-
hideGenerator: true
|
|
175
|
-
}, [
|
|
176
|
-
new TypeDocReader(),
|
|
177
|
-
new PackageJsonReader(),
|
|
178
|
-
new TSConfigReader()
|
|
179
|
-
]);
|
|
180
|
-
app.options.addReader(new TSConfigReader());
|
|
181
|
-
app.converter.on(Converter.EVENT_CREATE_DECLARATION, onDeclaration(entryPoints));
|
|
182
|
-
const getReflections = /* @__PURE__ */ __name(async () => app.convert(), "getReflections");
|
|
183
|
-
const generateDocs = /* @__PURE__ */ __name(async (opts) => {
|
|
184
|
-
const { outputPath: outputFolder, project, frontmatter } = opts;
|
|
185
|
-
app.renderer.on(PageEvent.END, onRendererPageEnd(frontmatter));
|
|
186
|
-
await app.generateDocs(project, outputFolder || outputPath);
|
|
187
|
-
}, "generateDocs");
|
|
188
|
-
const generateNavigationJSON = /* @__PURE__ */ __name(async (project, outputFolder = outputPath) => {
|
|
189
|
-
const navigation = buildNavigationFromProjectReflection(baseUrl, project);
|
|
190
|
-
await writeFile$1(`${removeTrailingSlash(outputFolder)}/nav.json`, JSON.stringify(navigation));
|
|
191
|
-
}, "generateNavigationJSON");
|
|
192
|
-
return {
|
|
193
|
-
app,
|
|
194
|
-
generateDocs,
|
|
195
|
-
generateNavigationJSON,
|
|
196
|
-
getReflections
|
|
197
|
-
};
|
|
198
|
-
}, "initTypedoc");
|
|
199
78
|
function getTsconfigFilePath(workspaceRoot, projectRoot, tsconfig = "tsconfig.json") {
|
|
200
79
|
let tsconfigFilePath = tsconfig;
|
|
201
80
|
if (!existsSync(tsconfigFilePath)) {
|
|
@@ -386,24 +265,24 @@ function addPluginHook(context, plugin, pluginHook, hooksList) {
|
|
|
386
265
|
}
|
|
387
266
|
}
|
|
388
267
|
__name(addPluginHook, "addPluginHook");
|
|
389
|
-
async function
|
|
268
|
+
async function writeFile(log, filepath, content, skipFormat = false) {
|
|
390
269
|
try {
|
|
391
270
|
if (skipFormat) {
|
|
392
|
-
await writeFile(filepath, content);
|
|
271
|
+
await writeFile$1(filepath, content);
|
|
393
272
|
} else {
|
|
394
273
|
const config = await resolveConfig(filepath);
|
|
395
274
|
const formatted = await format(content, {
|
|
396
275
|
...config ?? {},
|
|
397
276
|
filepath
|
|
398
277
|
});
|
|
399
|
-
await writeFile(filepath, formatted || "");
|
|
278
|
+
await writeFile$1(filepath, formatted || "");
|
|
400
279
|
}
|
|
401
280
|
} catch (error) {
|
|
402
281
|
log(LogLevelLabel.ERROR, `Failed to write file ${filepath} to disk
|
|
403
282
|
${error?.message ? error.message : ""}`);
|
|
404
283
|
}
|
|
405
284
|
}
|
|
406
|
-
__name(
|
|
285
|
+
__name(writeFile, "writeFile");
|
|
407
286
|
async function loadWorkspaceConfig(workspaceRoot, cwd) {
|
|
408
287
|
return defu5({
|
|
409
288
|
workspaceRoot
|
|
@@ -793,7 +672,7 @@ var VirtualFileSystem = class {
|
|
|
793
672
|
* @returns Whether the ID is a valid runtime ID.
|
|
794
673
|
*/
|
|
795
674
|
isValidBuiltinId(id) {
|
|
796
|
-
return id.startsWith(`${this.#context.config.builtinPrefix}:`);
|
|
675
|
+
return id.startsWith(`${this.#context.config.output.builtinPrefix}:`);
|
|
797
676
|
}
|
|
798
677
|
/**
|
|
799
678
|
* Check if a path or ID corresponds to a virtual file.
|
|
@@ -1373,7 +1252,7 @@ var VirtualFileSystem = class {
|
|
|
1373
1252
|
if (!isSetString(path2)) {
|
|
1374
1253
|
throw new Error(`Invalid path provided. Expected a string or a valid file path.`);
|
|
1375
1254
|
}
|
|
1376
|
-
return path2.replace(new RegExp(`^${this.#context.config.builtinPrefix}:`), "").replace(/^\\0/, "");
|
|
1255
|
+
return path2.replace(new RegExp(`^${this.#context.config.output.builtinPrefix}:`), "").replace(/^\\0/, "");
|
|
1377
1256
|
}
|
|
1378
1257
|
/**
|
|
1379
1258
|
* Converts a relative path to an absolute path based on the workspace and project root.
|
|
@@ -1397,7 +1276,7 @@ var VirtualFileSystem = class {
|
|
|
1397
1276
|
* @returns The formatted runtime ID.
|
|
1398
1277
|
*/
|
|
1399
1278
|
formatRuntimeId(id) {
|
|
1400
|
-
return `${this.#context.config.builtinPrefix}:${this.formatFilePath(id).replace(/\.[m|c]?[t|j]sx?$/, "")}`;
|
|
1279
|
+
return `${this.#context.config.output.builtinPrefix}:${this.formatFilePath(id).replace(/\.[m|c]?[t|j]sx?$/, "")}`;
|
|
1401
1280
|
}
|
|
1402
1281
|
/**
|
|
1403
1282
|
* Resolves a path or ID parameter to a corresponding virtual file path in the virtual file system (VFS).
|
|
@@ -1406,7 +1285,7 @@ var VirtualFileSystem = class {
|
|
|
1406
1285
|
* @returns The resolved file path if it exists, otherwise undefined.
|
|
1407
1286
|
*/
|
|
1408
1287
|
resolvePathName(pathOrId, options = {}) {
|
|
1409
|
-
if (pathOrId.startsWith(`${this.#context.config.builtinPrefix}:`)) {
|
|
1288
|
+
if (pathOrId.startsWith(`${this.#context.config.output.builtinPrefix}:`)) {
|
|
1410
1289
|
return false;
|
|
1411
1290
|
}
|
|
1412
1291
|
if (isAbsolutePath(pathOrId)) {
|
|
@@ -1724,7 +1603,6 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1724
1603
|
configFile: config.configFile,
|
|
1725
1604
|
customLogger: config.customLogger,
|
|
1726
1605
|
logLevel: config.logLevel,
|
|
1727
|
-
builtinPrefix: config.builtinPrefix,
|
|
1728
1606
|
tsconfig: config.tsconfig,
|
|
1729
1607
|
tsconfigRaw: config.tsconfigRaw,
|
|
1730
1608
|
skipCache: config.skipCache,
|
|
@@ -2032,7 +1910,9 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2032
1910
|
output: {
|
|
2033
1911
|
outputPath: joinPaths$1("dist", cacheKey.projectRoot),
|
|
2034
1912
|
mode: "virtual",
|
|
2035
|
-
dts: joinPaths$1(cacheKey.projectRoot, "
|
|
1913
|
+
dts: joinPaths$1(cacheKey.projectRoot, "powerlines.d.ts"),
|
|
1914
|
+
builtinPrefix: "powerlines",
|
|
1915
|
+
runtimeFolder: joinPaths$1(cacheKey.projectRoot, ".powerlines"),
|
|
2036
1916
|
assets: [
|
|
2037
1917
|
{
|
|
2038
1918
|
glob: "LICENSE"
|
|
@@ -2054,7 +1934,6 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2054
1934
|
mode: "production",
|
|
2055
1935
|
projectType: "application",
|
|
2056
1936
|
logLevel: "info",
|
|
2057
|
-
builtinPrefix: "storm",
|
|
2058
1937
|
preview: false,
|
|
2059
1938
|
environments: {},
|
|
2060
1939
|
transform: {
|
|
@@ -2567,7 +2446,7 @@ export default getConfig({
|
|
|
2567
2446
|
});
|
|
2568
2447
|
`;
|
|
2569
2448
|
log(LogLevelLabel.INFO, `Writing a default ESLint config file to ${eslintConfigFile}`);
|
|
2570
|
-
return
|
|
2449
|
+
return writeFile(log, eslintConfigFile, eslintConfig);
|
|
2571
2450
|
}
|
|
2572
2451
|
__name(writeDefaultEslintConfig, "writeDefaultEslintConfig");
|
|
2573
2452
|
var VALID_SEVERITY = [
|
|
@@ -2585,7 +2464,7 @@ async function writeOutputFile(log, outputFile, outputData) {
|
|
|
2585
2464
|
log(LogLevelLabel.ERROR, `Cannot write to output file path, it is a directory: ${filePath}`);
|
|
2586
2465
|
} else {
|
|
2587
2466
|
try {
|
|
2588
|
-
await
|
|
2467
|
+
await writeFile(log, filePath, outputData);
|
|
2589
2468
|
log(LogLevelLabel.INFO, `The output file has been created: ${filePath}`);
|
|
2590
2469
|
} catch (err) {
|
|
2591
2470
|
log(LogLevelLabel.ERROR, `There was a problem writing the output file: ${filePath}`);
|
|
@@ -3251,7 +3130,7 @@ async function resolveTsconfig(context) {
|
|
|
3251
3130
|
`).join("\n")}
|
|
3252
3131
|
`);
|
|
3253
3132
|
}
|
|
3254
|
-
await
|
|
3133
|
+
await writeFile(context.log, context.tsconfig.tsconfigFilePath, StormJSON.stringify(updateTsconfigJson));
|
|
3255
3134
|
context.tsconfig = getParsedTypeScriptConfig(context.workspaceConfig.workspaceRoot, context.config.projectRoot, context.config.tsconfig);
|
|
3256
3135
|
if (!context.tsconfig) {
|
|
3257
3136
|
throw new Error("Failed to parse the TypeScript configuration file.");
|
|
@@ -3498,7 +3377,7 @@ ${formatLogMessage(context.config)}`);
|
|
|
3498
3377
|
for (const file of files) {
|
|
3499
3378
|
context.log(LogLevelLabel.TRACE, `Adding template file: ${file}`);
|
|
3500
3379
|
const template = Handlebars.compile(file);
|
|
3501
|
-
await
|
|
3380
|
+
await writeFile(context.log, joinPaths(context.config.projectRoot, file.replace(".hbs", "")), template(context));
|
|
3502
3381
|
}
|
|
3503
3382
|
await this.callNormalHook(context, "new");
|
|
3504
3383
|
if (context.config.projectType === "application") {
|
|
@@ -3506,14 +3385,14 @@ ${formatLogMessage(context.config)}`);
|
|
|
3506
3385
|
for (const file of files2) {
|
|
3507
3386
|
context.log(LogLevelLabel.TRACE, `Adding application template file: ${file}`);
|
|
3508
3387
|
const template = Handlebars.compile(file);
|
|
3509
|
-
await
|
|
3388
|
+
await writeFile(context.log, joinPaths(context.config.projectRoot, file.replace(".hbs", "")), template(context));
|
|
3510
3389
|
}
|
|
3511
3390
|
} else {
|
|
3512
3391
|
const files2 = await listFiles(joinPaths(context.corePackagePath, "files/library/**/*.hbs"));
|
|
3513
3392
|
for (const file of files2) {
|
|
3514
3393
|
context.log(LogLevelLabel.TRACE, `Adding library template file: ${file}`);
|
|
3515
3394
|
const template = Handlebars.compile(file);
|
|
3516
|
-
await
|
|
3395
|
+
await writeFile(context.log, joinPaths(context.config.projectRoot, file.replace(".hbs", "")), template(context));
|
|
3517
3396
|
}
|
|
3518
3397
|
}
|
|
3519
3398
|
await this.callPostHook(context, "new");
|
|
@@ -3597,27 +3476,14 @@ ${formatLogMessage(context.config)}`);
|
|
|
3597
3476
|
async docs(inlineConfig = {
|
|
3598
3477
|
command: "docs"
|
|
3599
3478
|
}) {
|
|
3600
|
-
this.context.log(LogLevelLabel.INFO, "Generating documentation for the Powerlines project");
|
|
3479
|
+
this.context.log(LogLevelLabel.INFO, "\u{1F4D3} Generating documentation for the Powerlines project");
|
|
3601
3480
|
await this.prepare(inlineConfig);
|
|
3602
3481
|
await this.#executeEnvironments(async (context) => {
|
|
3603
|
-
context.log(LogLevelLabel.TRACE, "Writing
|
|
3604
|
-
await this.
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
await removeDirectory(outputPath);
|
|
3608
|
-
}
|
|
3609
|
-
await createDirectory(outputPath);
|
|
3610
|
-
await this.callNormalHook(context, "docs");
|
|
3611
|
-
const { generateDocs, getReflections } = await initTypedoc(context, {
|
|
3612
|
-
outputPath
|
|
3482
|
+
context.log(LogLevelLabel.TRACE, "Writing documentation for the Powerlines project artifacts.");
|
|
3483
|
+
await this.prepare(inlineConfig);
|
|
3484
|
+
await this.#executeEnvironments(async (context2) => {
|
|
3485
|
+
await this.callHook(context2, "docs");
|
|
3613
3486
|
});
|
|
3614
|
-
const project = await getReflections();
|
|
3615
|
-
if (project) {
|
|
3616
|
-
await generateDocs({
|
|
3617
|
-
project
|
|
3618
|
-
});
|
|
3619
|
-
}
|
|
3620
|
-
await this.callPostHook(context, "docs");
|
|
3621
3487
|
});
|
|
3622
3488
|
this.#context.log(LogLevelLabel.TRACE, "Powerlines documentation generation completed");
|
|
3623
3489
|
}
|
|
@@ -3907,5 +3773,5 @@ Note: Please ensure the plugin package's default export is a class that extends
|
|
|
3907
3773
|
};
|
|
3908
3774
|
|
|
3909
3775
|
export { PowerlinesAPI, createLog, getString };
|
|
3910
|
-
//# sourceMappingURL=chunk-
|
|
3911
|
-
//# sourceMappingURL=chunk-
|
|
3776
|
+
//# sourceMappingURL=chunk-WQELBYZJ.js.map
|
|
3777
|
+
//# sourceMappingURL=chunk-WQELBYZJ.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk7WC6BZUB_cjs = require('./chunk-7WC6BZUB.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var unloader = unplugin.createUnloaderPlugin(chunk7WC6BZUB_cjs.createUnpluginFactory("unloader"));
|
|
7
|
+
var unloader_default = unloader;
|
|
8
|
+
|
|
9
|
+
exports.unloader = unloader;
|
|
10
|
+
exports.unloader_default = unloader_default;
|
|
11
|
+
//# sourceMappingURL=chunk-WXIHWZ6S.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-WXIHWZ6S.cjs.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLCN3Q3ZL_cjs = require('./chunk-LCN3Q3ZL.cjs');
|
|
4
4
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
5
5
|
|
|
6
6
|
// src/astro.ts
|
|
7
7
|
var astro = /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((config) => ({
|
|
8
8
|
vite: {
|
|
9
9
|
plugins: [
|
|
10
|
-
|
|
10
|
+
chunkLCN3Q3ZL_cjs.vite_default(config)
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}), "astro");
|
|
@@ -15,5 +15,5 @@ var astro_default = astro;
|
|
|
15
15
|
|
|
16
16
|
exports.astro = astro;
|
|
17
17
|
exports.astro_default = astro_default;
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
19
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-YSK45CUS.cjs.map
|
|
19
|
+
//# sourceMappingURL=chunk-YSK45CUS.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCP4GED73_cjs = require('./chunk-CP4GED73.cjs');
|
|
4
4
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
5
5
|
var omit = require('@stryke/helpers/omit');
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ function tsup(options = {}) {
|
|
|
8
8
|
return {
|
|
9
9
|
...options,
|
|
10
10
|
esbuildPlugins: [
|
|
11
|
-
|
|
11
|
+
chunkCP4GED73_cjs.esbuild_default({
|
|
12
12
|
output: {
|
|
13
13
|
outputPath: options.outDir,
|
|
14
14
|
format: options.format
|
|
@@ -38,5 +38,5 @@ var tsup_default = tsup;
|
|
|
38
38
|
|
|
39
39
|
exports.tsup = tsup;
|
|
40
40
|
exports.tsup_default = tsup_default;
|
|
41
|
-
//# sourceMappingURL=chunk-
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
41
|
+
//# sourceMappingURL=chunk-YZPVSWJC.cjs.map
|
|
42
|
+
//# sourceMappingURL=chunk-YZPVSWJC.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk7WC6BZUB_cjs = require('./chunk-7WC6BZUB.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var rspack = unplugin.createRspackPlugin(chunk7WC6BZUB_cjs.createUnpluginFactory("rspack"));
|
|
7
|
+
var rspack_default = rspack;
|
|
8
|
+
|
|
9
|
+
exports.rspack = rspack;
|
|
10
|
+
exports.rspack_default = rspack_default;
|
|
11
|
+
//# sourceMappingURL=chunk-ZCYO3IQZ.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-ZCYO3IQZ.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { vite_default } from './chunk-
|
|
2
|
-
import { webpack_default } from './chunk-
|
|
1
|
+
import { vite_default } from './chunk-AW2A2HBF.js';
|
|
2
|
+
import { webpack_default } from './chunk-DO777NNH.js';
|
|
3
3
|
import { defineNuxtModule, addVitePlugin, addWebpackPlugin } from '@nuxt/kit';
|
|
4
4
|
import '@nuxt/schema';
|
|
5
5
|
|
|
@@ -17,5 +17,5 @@ var nuxt = defineNuxtModule({
|
|
|
17
17
|
var nuxt_default = nuxt;
|
|
18
18
|
|
|
19
19
|
export { nuxt, nuxt_default };
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
21
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-ZDRPM5J4.js.map
|
|
21
|
+
//# sourceMappingURL=chunk-ZDRPM5J4.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { vite_default } from './chunk-
|
|
1
|
+
import { vite_default } from './chunk-AW2A2HBF.js';
|
|
2
2
|
import { __name } from './chunk-7QVYU63E.js';
|
|
3
3
|
|
|
4
4
|
// src/astro.ts
|
|
@@ -12,5 +12,5 @@ var astro = /* @__PURE__ */ __name((config) => ({
|
|
|
12
12
|
var astro_default = astro;
|
|
13
13
|
|
|
14
14
|
export { astro, astro_default };
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
16
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-ZLZMLLHP.js.map
|
|
16
|
+
//# sourceMappingURL=chunk-ZLZMLLHP.js.map
|
package/dist/define-config.d.cts
CHANGED
package/dist/define-config.d.ts
CHANGED
package/dist/esbuild.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkCP4GED73_cjs = require('./chunk-CP4GED73.cjs');
|
|
6
6
|
require('./chunk-QIKKQQF7.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-7WC6BZUB.cjs');
|
|
8
|
+
require('./chunk-36UI6MGH.cjs');
|
|
9
9
|
require('./chunk-TNAS7QOH.cjs');
|
|
10
10
|
require('./chunk-YE56I7CZ.cjs');
|
|
11
11
|
require('./chunk-5VPVJHJO.cjs');
|
|
@@ -15,15 +15,15 @@ require('./chunk-PK6SKIKE.cjs');
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "default", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkCP4GED73_cjs.esbuild_default; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "esbuild", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkCP4GED73_cjs.esbuild; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "module.exports", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkCP4GED73_cjs.esbuild; }
|
|
27
27
|
});
|
|
28
28
|
//# sourceMappingURL=esbuild.cjs.map
|
|
29
29
|
//# sourceMappingURL=esbuild.cjs.map
|