powerlines 0.8.0 → 0.9.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 +8 -8
- package/dist/astro.d.cts +2 -1
- package/dist/astro.d.ts +2 -1
- package/dist/astro.js +5 -5
- package/dist/{chunk-4NNZ4TGS.cjs → chunk-3L4KRPXQ.cjs} +8 -8
- package/dist/chunk-4JUWHOFJ.cjs +12 -0
- package/dist/{chunk-DPOSEAJF.js → chunk-65PSZQFC.js} +3 -3
- package/dist/{chunk-B5UJMXT7.cjs → chunk-APVMN2H7.cjs} +2 -2
- package/dist/chunk-ARHKVB3S.cjs +12 -0
- package/dist/{chunk-HR6NUGJW.js → chunk-BDTLKRKQ.js} +3 -3
- package/dist/{chunk-BSPWDBYR.cjs → chunk-BY4UTCHZ.cjs} +4 -4
- package/dist/{chunk-7I4XONWP.js → chunk-C3I5QEF5.js} +3 -3
- package/dist/{chunk-UXQMPRRF.js → chunk-EBMELFCF.js} +2 -2
- package/dist/{chunk-6WRBXKQ6.cjs → chunk-ETEQKM36.cjs} +2 -2
- package/dist/{chunk-GE36UM6Z.cjs → chunk-FOLQTZUP.cjs} +4 -4
- package/dist/{chunk-6RYTPMSB.js → chunk-GHW2FUF5.js} +3 -3
- package/dist/{chunk-K2KHN7RP.js → chunk-IOBFVFH2.js} +3 -3
- package/dist/chunk-JCXSBKRJ.js +31 -0
- package/dist/{chunk-666H4BIN.cjs → chunk-KC4VY5X4.cjs} +4 -4
- package/dist/{chunk-WCIWPTVM.js → chunk-MKZOY5EV.js} +3 -3
- package/dist/{chunk-YWEZ36T2.js → chunk-MMDBMHAW.js} +2 -2
- package/dist/chunk-NRMXL6VA.cjs +34 -0
- package/dist/{chunk-CJKO3F7U.js → chunk-OEL3BTQP.js} +48 -4
- package/dist/{chunk-XCGBRCTC.js → chunk-OKC6TA7P.js} +3 -3
- package/dist/{chunk-WKE3A62S.cjs → chunk-QK36ULYT.cjs} +4 -4
- package/dist/chunk-QKXJRYA5.cjs +12 -0
- package/dist/{chunk-N4W7FF7E.js → chunk-RGJMMCOR.js} +3 -3
- package/dist/chunk-STLRGAW6.cjs +24 -0
- package/dist/chunk-TJIHTRP5.cjs +12 -0
- package/dist/{chunk-OB5KXL5P.js → chunk-UYS3BU6I.js} +4 -4
- package/dist/{chunk-LYJN5KVV.js → chunk-V4TNA6HX.js} +3 -3
- package/dist/chunk-VES34CLG.cjs +12 -0
- package/dist/{chunk-LOOSGOY2.js → chunk-VQ5O5N7V.js} +3 -3
- package/dist/{chunk-2MHNLGSZ.js → chunk-W3NQCDUN.js} +3 -3
- package/dist/{chunk-S4DRABWH.cjs → chunk-WM76YQJH.cjs} +4 -4
- package/dist/{chunk-OX7DE4Q5.cjs → chunk-ZQZ5ZUGG.cjs} +48 -4
- package/dist/define-config.d.cts +2 -1
- package/dist/define-config.d.ts +2 -1
- package/dist/esbuild.cjs +7 -7
- package/dist/esbuild.d.cts +2 -1
- package/dist/esbuild.d.ts +2 -1
- package/dist/esbuild.js +4 -4
- package/dist/extend-plugin.d.cts +2 -1
- package/dist/extend-plugin.d.ts +2 -1
- package/dist/farm.cjs +4 -4
- package/dist/farm.d.cts +2 -1
- package/dist/farm.d.ts +2 -1
- package/dist/farm.js +3 -3
- package/dist/{hooks-CMd1xclE.d.ts → hooks-D0gf1nT3.d.ts} +1 -1
- package/dist/{hooks-BPUnPO-B.d.cts → hooks-fVJu9DCF.d.cts} +1 -1
- package/dist/index.cjs +21 -21
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +17 -17
- package/dist/internal/api.cjs +3 -3
- package/dist/internal/api.d.cts +3 -2
- package/dist/internal/api.d.ts +3 -2
- package/dist/internal/api.js +2 -2
- package/dist/lib/build/esbuild.d.cts +2 -1
- package/dist/lib/build/esbuild.d.ts +2 -1
- package/dist/lib/build/index.d.cts +3 -2
- package/dist/lib/build/index.d.ts +3 -2
- package/dist/lib/build/rolldown.d.cts +2 -1
- package/dist/lib/build/rolldown.d.ts +2 -1
- package/dist/lib/build/rollup.d.cts +2 -1
- package/dist/lib/build/rollup.d.ts +2 -1
- package/dist/lib/build/rspack.d.cts +2 -1
- package/dist/lib/build/rspack.d.ts +2 -1
- package/dist/lib/build/tsup.d.cts +2 -1
- package/dist/lib/build/tsup.d.ts +2 -1
- package/dist/lib/build/unbuild.d.cts +3 -2
- package/dist/lib/build/unbuild.d.ts +3 -2
- package/dist/lib/build/vite.d.cts +2 -1
- package/dist/lib/build/vite.d.ts +2 -1
- package/dist/lib/build/webpack.d.cts +2 -1
- package/dist/lib/build/webpack.d.ts +2 -1
- package/dist/lib/{chunk-4CUTFWDS.js → chunk-6IEUZ5DZ.js} +47 -3
- package/dist/lib/chunk-6IEUZ5DZ.js.map +1 -0
- package/dist/lib/{chunk-J2EF4GI3.cjs → chunk-M2TB43VG.cjs} +10 -7
- package/dist/lib/chunk-M2TB43VG.cjs.map +1 -0
- package/dist/lib/{chunk-VIHXPV7T.js → chunk-NFDRIBCM.js} +10 -7
- package/dist/lib/chunk-NFDRIBCM.js.map +1 -0
- package/dist/lib/{chunk-67VN5TZM.cjs → chunk-YQG6JE5R.cjs} +46 -2
- package/dist/lib/chunk-YQG6JE5R.cjs.map +1 -0
- package/dist/lib/{config-C14_DqG5.d.cts → config-BOPIY57U.d.cts} +7 -2
- package/dist/lib/{config-OkaWXDV_.d.ts → config-Chd_3Uh3.d.ts} +7 -2
- package/dist/lib/config-file.d.cts +2 -1
- package/dist/lib/config-file.d.ts +2 -1
- package/dist/lib/entry.d.cts +2 -1
- package/dist/lib/entry.d.ts +2 -1
- package/dist/lib/{hooks-THHkqKwd.d.ts → hooks-56fQP2HY.d.ts} +1 -1
- package/dist/lib/{hooks-Duhy49eb.d.cts → hooks-DkVRKYVN.d.cts} +1 -1
- package/dist/lib/index.cjs +4 -4
- package/dist/lib/index.d.cts +3 -2
- package/dist/lib/index.d.ts +3 -2
- package/dist/lib/index.js +2 -2
- package/dist/lib/logger.d.cts +2 -1
- package/dist/lib/logger.d.ts +2 -1
- package/dist/lib/typescript/compiler-host.d.cts +2 -1
- package/dist/lib/typescript/compiler-host.d.ts +2 -1
- package/dist/lib/typescript/import-transformer.d.cts +2 -1
- package/dist/lib/typescript/import-transformer.d.ts +2 -1
- package/dist/lib/typescript/index.d.cts +2 -1
- package/dist/lib/typescript/index.d.ts +2 -1
- package/dist/lib/typescript/program.d.cts +2 -1
- package/dist/lib/typescript/program.d.ts +2 -1
- package/dist/lib/unplugin/factory.cjs +2 -2
- package/dist/lib/unplugin/factory.d.cts +3 -2
- package/dist/lib/unplugin/factory.d.ts +3 -2
- package/dist/lib/unplugin/factory.js +1 -1
- package/dist/lib/unplugin/index.cjs +4 -4
- package/dist/lib/unplugin/index.d.cts +3 -2
- package/dist/lib/unplugin/index.d.ts +3 -2
- package/dist/lib/unplugin/index.js +2 -2
- package/dist/lib/unplugin/plugin.cjs +2 -2
- package/dist/lib/unplugin/plugin.d.cts +2 -1
- package/dist/lib/unplugin/plugin.d.ts +2 -1
- package/dist/lib/unplugin/plugin.js +1 -1
- package/dist/lib/unplugin/resolve-id.d.cts +2 -1
- package/dist/lib/unplugin/resolve-id.d.ts +2 -1
- package/dist/lib/utilities/file-header.d.cts +2 -1
- package/dist/lib/utilities/file-header.d.ts +2 -1
- package/dist/lib/utilities/index.d.cts +2 -1
- package/dist/lib/utilities/index.d.ts +2 -1
- package/dist/lib/utilities/meta.d.cts +2 -1
- package/dist/lib/utilities/meta.d.ts +2 -1
- package/dist/lib/utilities/plugin-helpers.d.cts +12 -11
- package/dist/lib/utilities/plugin-helpers.d.ts +12 -11
- package/dist/lib/utilities/resolve-path.d.cts +2 -1
- package/dist/lib/utilities/resolve-path.d.ts +2 -1
- package/dist/lib/utilities/worker.d.cts +2 -1
- package/dist/lib/utilities/worker.d.ts +2 -1
- package/dist/lib/utilities/write-file.d.cts +2 -1
- package/dist/lib/utilities/write-file.d.ts +2 -1
- package/dist/next.cjs +8 -8
- package/dist/next.js +5 -5
- package/dist/nuxt.cjs +9 -9
- package/dist/nuxt.js +6 -6
- package/dist/{resolved-DNhp48UP.d.ts → resolved-DhHHMnUD.d.ts} +7 -2
- package/dist/{resolved-CkY1IiKI.d.cts → resolved-NZTd64-O.d.cts} +7 -2
- package/dist/rolldown.cjs +7 -7
- package/dist/rolldown.d.cts +2 -1
- package/dist/rolldown.d.ts +2 -1
- package/dist/rolldown.js +4 -4
- package/dist/rollup.cjs +7 -7
- package/dist/rollup.d.cts +2 -1
- package/dist/rollup.d.ts +2 -1
- package/dist/rollup.js +4 -4
- package/dist/rspack.cjs +7 -7
- package/dist/rspack.d.cts +2 -1
- package/dist/rspack.d.ts +2 -1
- package/dist/rspack.js +4 -4
- package/dist/tsup.cjs +8 -8
- package/dist/tsup.js +5 -5
- package/dist/types/babel.d.cts +2 -1
- package/dist/types/babel.d.ts +2 -1
- package/dist/types/commands.d.cts +2 -1
- package/dist/types/commands.d.ts +2 -1
- package/dist/types/compiler.d.cts +2 -1
- package/dist/types/compiler.d.ts +2 -1
- package/dist/types/config.d.cts +2 -1
- package/dist/types/config.d.ts +2 -1
- package/dist/types/context.cjs +2 -2
- package/dist/types/context.d.cts +2 -1
- package/dist/types/context.d.ts +2 -1
- package/dist/types/context.js +1 -1
- package/dist/types/hooks.d.cts +2 -1
- package/dist/types/hooks.d.ts +2 -1
- package/dist/types/index.cjs +4 -4
- package/dist/types/index.d.cts +2 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.js +2 -2
- package/dist/types/internal.d.cts +3 -2
- package/dist/types/internal.d.ts +3 -2
- package/dist/types/plugin.cjs +2 -2
- package/dist/types/plugin.d.cts +2 -1
- package/dist/types/plugin.d.ts +2 -1
- package/dist/types/plugin.js +1 -1
- package/dist/types/resolved.d.cts +2 -1
- package/dist/types/resolved.d.ts +2 -1
- package/dist/types/unplugin.d.cts +2 -1
- package/dist/types/unplugin.d.ts +2 -1
- package/dist/unloader.cjs +7 -7
- package/dist/unloader.d.cts +2 -1
- package/dist/unloader.d.ts +2 -1
- package/dist/unloader.js +4 -4
- package/dist/unplugin.cjs +18 -18
- package/dist/unplugin.d.cts +3 -2
- package/dist/unplugin.d.ts +3 -2
- package/dist/unplugin.js +15 -15
- package/dist/vite.cjs +7 -7
- package/dist/vite.d.cts +2 -1
- package/dist/vite.d.ts +2 -1
- package/dist/vite.js +4 -4
- package/dist/webpack.cjs +7 -7
- package/dist/webpack.d.cts +2 -1
- package/dist/webpack.d.ts +2 -1
- package/dist/webpack.js +4 -4
- package/package.json +3 -2
- package/dist/chunk-2GEZY43U.cjs +0 -24
- package/dist/chunk-CQCSPWMR.js +0 -31
- package/dist/chunk-MAYP435L.cjs +0 -12
- package/dist/chunk-NEBRO2WO.cjs +0 -12
- package/dist/chunk-OTPFDVSY.cjs +0 -12
- package/dist/chunk-WQ4S7XPC.cjs +0 -12
- package/dist/chunk-YY5HQ62N.cjs +0 -12
- package/dist/chunk-ZYNJZRRJ.cjs +0 -34
- package/dist/lib/chunk-4CUTFWDS.js.map +0 -1
- package/dist/lib/chunk-67VN5TZM.cjs.map +0 -1
- package/dist/lib/chunk-J2EF4GI3.cjs.map +0 -1
- package/dist/lib/chunk-VIHXPV7T.js.map +0 -1
package/dist/astro.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunkFOLQTZUP_cjs = require('./chunk-FOLQTZUP.cjs');
|
|
6
|
+
require('./chunk-KC4VY5X4.cjs');
|
|
7
7
|
require('./chunk-QIKKQQF7.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-3L4KRPXQ.cjs');
|
|
9
|
+
require('./chunk-ZQZ5ZUGG.cjs');
|
|
10
|
+
require('./chunk-APVMN2H7.cjs');
|
|
11
11
|
require('./chunk-YE56I7CZ.cjs');
|
|
12
12
|
require('./chunk-5VPVJHJO.cjs');
|
|
13
13
|
require('./chunk-PK6SKIKE.cjs');
|
|
@@ -16,15 +16,15 @@ require('./chunk-PK6SKIKE.cjs');
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, "astro", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkFOLQTZUP_cjs.astro; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "default", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkFOLQTZUP_cjs.astro_default; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "module.exports", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkFOLQTZUP_cjs.astro; }
|
|
28
28
|
});
|
|
29
29
|
//# sourceMappingURL=astro.cjs.map
|
|
30
30
|
//# sourceMappingURL=astro.cjs.map
|
package/dist/astro.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import { co as ViteResolvedConfig } from './resolved-
|
|
2
|
+
import { co as ViteResolvedConfig } from './resolved-NZTd64-O.cjs';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
5
|
import '@stryke/types/configuration';
|
|
@@ -24,6 +24,7 @@ import '@stryke/types/package-json';
|
|
|
24
24
|
import 'jest-worker';
|
|
25
25
|
import 'jiti';
|
|
26
26
|
import 'memfs';
|
|
27
|
+
import 'oxc-parser';
|
|
27
28
|
import 'semver';
|
|
28
29
|
import 'unimport';
|
|
29
30
|
import 'unplugin';
|
package/dist/astro.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import { co as ViteResolvedConfig } from './resolved-
|
|
2
|
+
import { co as ViteResolvedConfig } from './resolved-DhHHMnUD.js';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
5
|
import '@stryke/types/configuration';
|
|
@@ -24,6 +24,7 @@ import '@stryke/types/package-json';
|
|
|
24
24
|
import 'jest-worker';
|
|
25
25
|
import 'jiti';
|
|
26
26
|
import 'memfs';
|
|
27
|
+
import 'oxc-parser';
|
|
27
28
|
import 'semver';
|
|
28
29
|
import 'unimport';
|
|
29
30
|
import 'unplugin';
|
package/dist/astro.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { astro, astro_default as default, astro as "module.exports" } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { astro, astro_default as default, astro as "module.exports" } from './chunk-IOBFVFH2.js';
|
|
2
|
+
import './chunk-C3I5QEF5.js';
|
|
3
3
|
import './chunk-VOB62ELC.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
4
|
+
import './chunk-MKZOY5EV.js';
|
|
5
|
+
import './chunk-OEL3BTQP.js';
|
|
6
|
+
import './chunk-EBMELFCF.js';
|
|
7
7
|
import './chunk-ILVCZATT.js';
|
|
8
8
|
import './chunk-LO77RPRV.js';
|
|
9
9
|
import './chunk-7QVYU63E.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZQZ5ZUGG_cjs = require('./chunk-ZQZ5ZUGG.cjs');
|
|
4
4
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
5
5
|
var types = require('@storm-software/config-tools/types');
|
|
6
6
|
var getWorkspaceRoot = require('@stryke/fs/get-workspace-root');
|
|
@@ -78,7 +78,7 @@ chunkPK6SKIKE_cjs.__name(handleResolveId, "handleResolveId");
|
|
|
78
78
|
// src/lib/unplugin/factory.ts
|
|
79
79
|
function createUnpluginFactory(variant, decorate) {
|
|
80
80
|
return (config, meta) => {
|
|
81
|
-
const log =
|
|
81
|
+
const log = chunkZQZ5ZUGG_cjs.createLog("unplugin", config);
|
|
82
82
|
log(types.LogLevelLabel.DEBUG, "Initializing Unplugin");
|
|
83
83
|
try {
|
|
84
84
|
const userConfig = {
|
|
@@ -91,7 +91,7 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
91
91
|
async function buildStart() {
|
|
92
92
|
log(types.LogLevelLabel.DEBUG, "Powerlines build plugin starting...");
|
|
93
93
|
const workspaceRoot = getWorkspaceRoot.getWorkspaceRoot(process.cwd());
|
|
94
|
-
api = await
|
|
94
|
+
api = await chunkZQZ5ZUGG_cjs.PowerlinesAPI.from(workspaceRoot, userConfig);
|
|
95
95
|
if (api.context.config.build.skipNodeModulesBundle) {
|
|
96
96
|
resolvePatterns = bundleRequire.tsconfigPathsToRegExp(api.context.tsconfig.options.paths ?? []);
|
|
97
97
|
}
|
|
@@ -140,15 +140,15 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
140
140
|
async function transform(code, id) {
|
|
141
141
|
const environment = await api.context.getEnvironment();
|
|
142
142
|
let transformed = code;
|
|
143
|
-
let result2 = await api.callPreHook(environment, "transform",
|
|
143
|
+
let result2 = await api.callPreHook(environment, "transform", chunkZQZ5ZUGG_cjs.getString(transformed), id);
|
|
144
144
|
if (result2) {
|
|
145
145
|
transformed = result2;
|
|
146
146
|
}
|
|
147
|
-
result2 = await api.callNormalHook(environment, "transform",
|
|
147
|
+
result2 = await api.callNormalHook(environment, "transform", chunkZQZ5ZUGG_cjs.getString(transformed), id);
|
|
148
148
|
if (result2) {
|
|
149
149
|
transformed = result2;
|
|
150
150
|
}
|
|
151
|
-
result2 = await api.callPostHook(environment, "transform",
|
|
151
|
+
result2 = await api.callPostHook(environment, "transform", chunkZQZ5ZUGG_cjs.getString(transformed), id);
|
|
152
152
|
if (result2) {
|
|
153
153
|
transformed = result2;
|
|
154
154
|
}
|
|
@@ -198,5 +198,5 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
198
198
|
chunkPK6SKIKE_cjs.__name(createUnpluginFactory, "createUnpluginFactory");
|
|
199
199
|
|
|
200
200
|
exports.createUnpluginFactory = createUnpluginFactory;
|
|
201
|
-
//# sourceMappingURL=chunk-
|
|
202
|
-
//# sourceMappingURL=chunk-
|
|
201
|
+
//# sourceMappingURL=chunk-3L4KRPXQ.cjs.map
|
|
202
|
+
//# sourceMappingURL=chunk-3L4KRPXQ.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk3L4KRPXQ_cjs = require('./chunk-3L4KRPXQ.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var unloader = unplugin.createUnloaderPlugin(chunk3L4KRPXQ_cjs.createUnpluginFactory("unloader"));
|
|
7
|
+
var unloader_default = unloader;
|
|
8
|
+
|
|
9
|
+
exports.unloader = unloader;
|
|
10
|
+
exports.unloader_default = unloader_default;
|
|
11
|
+
//# sourceMappingURL=chunk-4JUWHOFJ.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-4JUWHOFJ.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { esbuild_default } from './chunk-
|
|
1
|
+
import { esbuild_default } from './chunk-GHW2FUF5.js';
|
|
2
2
|
import { __name } from './chunk-7QVYU63E.js';
|
|
3
3
|
import { omit } from '@stryke/helpers/omit';
|
|
4
4
|
|
|
@@ -35,5 +35,5 @@ __name(tsup, "tsup");
|
|
|
35
35
|
var tsup_default = tsup;
|
|
36
36
|
|
|
37
37
|
export { tsup, tsup_default };
|
|
38
|
-
//# sourceMappingURL=chunk-
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
38
|
+
//# sourceMappingURL=chunk-65PSZQFC.js.map
|
|
39
|
+
//# sourceMappingURL=chunk-65PSZQFC.js.map
|
|
@@ -10,5 +10,5 @@ var PLUGIN_NON_HOOK_FIELDS = [
|
|
|
10
10
|
];
|
|
11
11
|
|
|
12
12
|
exports.PLUGIN_NON_HOOK_FIELDS = PLUGIN_NON_HOOK_FIELDS;
|
|
13
|
-
//# sourceMappingURL=chunk-
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
13
|
+
//# sourceMappingURL=chunk-APVMN2H7.cjs.map
|
|
14
|
+
//# sourceMappingURL=chunk-APVMN2H7.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk3L4KRPXQ_cjs = require('./chunk-3L4KRPXQ.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var rolldown = unplugin.createRolldownPlugin(chunk3L4KRPXQ_cjs.createUnpluginFactory("rolldown"));
|
|
7
|
+
var rolldown_default = rolldown;
|
|
8
|
+
|
|
9
|
+
exports.rolldown = rolldown;
|
|
10
|
+
exports.rolldown_default = rolldown_default;
|
|
11
|
+
//# sourceMappingURL=chunk-ARHKVB3S.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-ARHKVB3S.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-MKZOY5EV.js';
|
|
2
2
|
import { createWebpackPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var webpack = createWebpackPlugin(createUnpluginFactory("webpack"));
|
|
5
5
|
var webpack_default = webpack;
|
|
6
6
|
|
|
7
7
|
export { webpack, webpack_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-BDTLKRKQ.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-BDTLKRKQ.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkQIKKQQF7_cjs = require('./chunk-QIKKQQF7.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk3L4KRPXQ_cjs = require('./chunk-3L4KRPXQ.cjs');
|
|
5
5
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
6
6
|
var isUndefined = require('@stryke/type-checks/is-undefined');
|
|
7
7
|
var unplugin = require('unplugin');
|
|
8
8
|
|
|
9
|
-
var esbuild = unplugin.createEsbuildPlugin(
|
|
9
|
+
var esbuild = unplugin.createEsbuildPlugin(chunk3L4KRPXQ_cjs.createUnpluginFactory("esbuild", (api, plugin) => {
|
|
10
10
|
return {
|
|
11
11
|
...plugin,
|
|
12
12
|
esbuild: {
|
|
@@ -30,5 +30,5 @@ var esbuild_default = esbuild;
|
|
|
30
30
|
|
|
31
31
|
exports.esbuild = esbuild;
|
|
32
32
|
exports.esbuild_default = esbuild_default;
|
|
33
|
-
//# sourceMappingURL=chunk-
|
|
34
|
-
//# sourceMappingURL=chunk-
|
|
33
|
+
//# sourceMappingURL=chunk-BY4UTCHZ.cjs.map
|
|
34
|
+
//# sourceMappingURL=chunk-BY4UTCHZ.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-VOB62ELC.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-MKZOY5EV.js';
|
|
3
3
|
import { __name } from './chunk-7QVYU63E.js';
|
|
4
4
|
import { isDevelopmentMode, isTestMode } from '@stryke/env/environment-checks';
|
|
5
5
|
import defu from 'defu';
|
|
@@ -105,5 +105,5 @@ var vite = createVitePlugin(createUnpluginFactory("vite", (api, plugin) => {
|
|
|
105
105
|
var vite_default = vite;
|
|
106
106
|
|
|
107
107
|
export { vite, vite_default };
|
|
108
|
-
//# sourceMappingURL=chunk-
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
108
|
+
//# sourceMappingURL=chunk-C3I5QEF5.js.map
|
|
109
|
+
//# sourceMappingURL=chunk-C3I5QEF5.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKC4VY5X4_cjs = require('./chunk-KC4VY5X4.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
|
+
chunkKC4VY5X4_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-FOLQTZUP.cjs.map
|
|
19
|
+
//# sourceMappingURL=chunk-FOLQTZUP.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-VOB62ELC.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-MKZOY5EV.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-GHW2FUF5.js.map
|
|
31
|
+
//# sourceMappingURL=chunk-GHW2FUF5.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { vite_default } from './chunk-
|
|
1
|
+
import { vite_default } from './chunk-C3I5QEF5.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-IOBFVFH2.js.map
|
|
16
|
+
//# sourceMappingURL=chunk-IOBFVFH2.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { rolldown_default } from './chunk-RGJMMCOR.js';
|
|
2
|
+
import { rollup_default } from './chunk-W3NQCDUN.js';
|
|
3
|
+
import { rspack_default } from './chunk-OKC6TA7P.js';
|
|
4
|
+
import { tsup_default } from './chunk-65PSZQFC.js';
|
|
5
|
+
import { unloader_default } from './chunk-V4TNA6HX.js';
|
|
6
|
+
import { astro_default } from './chunk-IOBFVFH2.js';
|
|
7
|
+
import { esbuild_default } from './chunk-GHW2FUF5.js';
|
|
8
|
+
import { next_default } from './chunk-VQ5O5N7V.js';
|
|
9
|
+
import { nuxt_default } from './chunk-UYS3BU6I.js';
|
|
10
|
+
import { vite_default } from './chunk-C3I5QEF5.js';
|
|
11
|
+
import { webpack_default } from './chunk-BDTLKRKQ.js';
|
|
12
|
+
|
|
13
|
+
// src/unplugin.ts
|
|
14
|
+
var plugins = {
|
|
15
|
+
astro: astro_default,
|
|
16
|
+
esbuild: esbuild_default,
|
|
17
|
+
next: next_default,
|
|
18
|
+
nuxt: nuxt_default,
|
|
19
|
+
rolldown: rolldown_default,
|
|
20
|
+
rollup: rollup_default,
|
|
21
|
+
rspack: rspack_default,
|
|
22
|
+
tsup: tsup_default,
|
|
23
|
+
unloader: unloader_default,
|
|
24
|
+
vite: vite_default,
|
|
25
|
+
webpack: webpack_default
|
|
26
|
+
};
|
|
27
|
+
var unplugin_default = plugins;
|
|
28
|
+
|
|
29
|
+
export { plugins, unplugin_default };
|
|
30
|
+
//# sourceMappingURL=chunk-JCXSBKRJ.js.map
|
|
31
|
+
//# sourceMappingURL=chunk-JCXSBKRJ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkQIKKQQF7_cjs = require('./chunk-QIKKQQF7.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk3L4KRPXQ_cjs = require('./chunk-3L4KRPXQ.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(chunk3L4KRPXQ_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-KC4VY5X4.cjs.map
|
|
116
|
+
//# sourceMappingURL=chunk-KC4VY5X4.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLog, PowerlinesAPI, getString } from './chunk-
|
|
1
|
+
import { createLog, PowerlinesAPI, getString } from './chunk-OEL3BTQP.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-MKZOY5EV.js.map
|
|
200
|
+
//# sourceMappingURL=chunk-MKZOY5EV.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkARHKVB3S_cjs = require('./chunk-ARHKVB3S.cjs');
|
|
4
|
+
var chunkVES34CLG_cjs = require('./chunk-VES34CLG.cjs');
|
|
5
|
+
var chunkQKXJRYA5_cjs = require('./chunk-QKXJRYA5.cjs');
|
|
6
|
+
var chunkQK36ULYT_cjs = require('./chunk-QK36ULYT.cjs');
|
|
7
|
+
var chunk4JUWHOFJ_cjs = require('./chunk-4JUWHOFJ.cjs');
|
|
8
|
+
var chunkFOLQTZUP_cjs = require('./chunk-FOLQTZUP.cjs');
|
|
9
|
+
var chunkBY4UTCHZ_cjs = require('./chunk-BY4UTCHZ.cjs');
|
|
10
|
+
var chunkWM76YQJH_cjs = require('./chunk-WM76YQJH.cjs');
|
|
11
|
+
var chunkSTLRGAW6_cjs = require('./chunk-STLRGAW6.cjs');
|
|
12
|
+
var chunkKC4VY5X4_cjs = require('./chunk-KC4VY5X4.cjs');
|
|
13
|
+
var chunkTJIHTRP5_cjs = require('./chunk-TJIHTRP5.cjs');
|
|
14
|
+
|
|
15
|
+
// src/unplugin.ts
|
|
16
|
+
var plugins = {
|
|
17
|
+
astro: chunkFOLQTZUP_cjs.astro_default,
|
|
18
|
+
esbuild: chunkBY4UTCHZ_cjs.esbuild_default,
|
|
19
|
+
next: chunkWM76YQJH_cjs.next_default,
|
|
20
|
+
nuxt: chunkSTLRGAW6_cjs.nuxt_default,
|
|
21
|
+
rolldown: chunkARHKVB3S_cjs.rolldown_default,
|
|
22
|
+
rollup: chunkVES34CLG_cjs.rollup_default,
|
|
23
|
+
rspack: chunkQKXJRYA5_cjs.rspack_default,
|
|
24
|
+
tsup: chunkQK36ULYT_cjs.tsup_default,
|
|
25
|
+
unloader: chunk4JUWHOFJ_cjs.unloader_default,
|
|
26
|
+
vite: chunkKC4VY5X4_cjs.vite_default,
|
|
27
|
+
webpack: chunkTJIHTRP5_cjs.webpack_default
|
|
28
|
+
};
|
|
29
|
+
var unplugin_default = plugins;
|
|
30
|
+
|
|
31
|
+
exports.plugins = plugins;
|
|
32
|
+
exports.unplugin_default = unplugin_default;
|
|
33
|
+
//# sourceMappingURL=chunk-NRMXL6VA.cjs.map
|
|
34
|
+
//# sourceMappingURL=chunk-NRMXL6VA.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PLUGIN_NON_HOOK_FIELDS } from './chunk-
|
|
1
|
+
import { PLUGIN_NON_HOOK_FIELDS } from './chunk-EBMELFCF.js';
|
|
2
2
|
import { __VFS_CACHE__, __VFS_RESOLVER__, __VFS_VIRTUAL__, __VFS_UNIFIED__, __VFS_INIT__, __VFS_REVERT__ } from './chunk-ILVCZATT.js';
|
|
3
3
|
import { SUPPORTED_COMMANDS } from './chunk-LO77RPRV.js';
|
|
4
4
|
import { __name } from './chunk-7QVYU63E.js';
|
|
@@ -11,7 +11,7 @@ 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';
|
|
14
|
-
import { findFilePath, findFileExtensionSafe, relativePath, findFileName } from '@stryke/path/file-path-fns';
|
|
14
|
+
import { findFilePath, hasFileExtension, findFileExtensionSafe, relativePath, findFileName } from '@stryke/path/file-path-fns';
|
|
15
15
|
import { isParentPath } from '@stryke/path/is-parent-path';
|
|
16
16
|
import { joinPaths } from '@stryke/path/join-paths';
|
|
17
17
|
import { replacePath } from '@stryke/path/replace';
|
|
@@ -47,6 +47,7 @@ import { joinPaths as joinPaths$1 } from '@stryke/path/join';
|
|
|
47
47
|
import { isNull } from '@stryke/type-checks/is-null';
|
|
48
48
|
import { isString } from '@stryke/type-checks/is-string';
|
|
49
49
|
import { uuid } from '@stryke/unique-id/uuid';
|
|
50
|
+
import { parseAsync } from 'oxc-parser';
|
|
50
51
|
import { parseTypeDefinition } from '@stryke/convert/parse-type-definition';
|
|
51
52
|
import { getLogFn, getLogLevel } from '@storm-software/config-tools/logger';
|
|
52
53
|
import { getColor } from '@storm-software/config-tools/utilities/colors';
|
|
@@ -1634,11 +1635,29 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1634
1635
|
* An object containing the development dependencies that should be installed for the project
|
|
1635
1636
|
*/
|
|
1636
1637
|
devDependencies = {};
|
|
1638
|
+
/**
|
|
1639
|
+
* The persisted meta information about the current build
|
|
1640
|
+
*/
|
|
1637
1641
|
persistedMeta = void 0;
|
|
1642
|
+
/**
|
|
1643
|
+
* The path to the Powerlines package
|
|
1644
|
+
*/
|
|
1638
1645
|
powerlinesPath;
|
|
1646
|
+
/**
|
|
1647
|
+
* The parsed `package.json` file for the project
|
|
1648
|
+
*/
|
|
1639
1649
|
packageJson;
|
|
1650
|
+
/**
|
|
1651
|
+
* The parsed `project.json` file for the project
|
|
1652
|
+
*/
|
|
1640
1653
|
projectJson = void 0;
|
|
1654
|
+
/**
|
|
1655
|
+
* The module resolver for the project
|
|
1656
|
+
*/
|
|
1641
1657
|
resolver;
|
|
1658
|
+
/**
|
|
1659
|
+
* The resolved entry type definitions for the project
|
|
1660
|
+
*/
|
|
1642
1661
|
get entry() {
|
|
1643
1662
|
return resolveEntriesSync(this, toArray(this.config.entry));
|
|
1644
1663
|
}
|
|
@@ -1653,9 +1672,15 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1653
1672
|
}
|
|
1654
1673
|
return this.#tsconfig;
|
|
1655
1674
|
}
|
|
1675
|
+
/**
|
|
1676
|
+
* Sets the TypeScript configuration parsed from the tsconfig file
|
|
1677
|
+
*/
|
|
1656
1678
|
set tsconfig(value) {
|
|
1657
1679
|
this.#tsconfig = value;
|
|
1658
1680
|
}
|
|
1681
|
+
/**
|
|
1682
|
+
* The virtual file system interface for the project
|
|
1683
|
+
*/
|
|
1659
1684
|
get fs() {
|
|
1660
1685
|
if (!this.#fs) {
|
|
1661
1686
|
this.#fs = createVfs(this);
|
|
@@ -1711,6 +1736,9 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1711
1736
|
get workspaceConfig() {
|
|
1712
1737
|
return this.#workspaceConfig;
|
|
1713
1738
|
}
|
|
1739
|
+
/**
|
|
1740
|
+
* The environment paths for the project
|
|
1741
|
+
*/
|
|
1714
1742
|
get envPaths() {
|
|
1715
1743
|
if (!this.#envPaths) {
|
|
1716
1744
|
this.#envPaths = getEnvPaths({
|
|
@@ -1769,6 +1797,22 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1769
1797
|
return relativeToWorkspaceRoot(this.config.projectRoot);
|
|
1770
1798
|
}
|
|
1771
1799
|
/**
|
|
1800
|
+
* Parses the source code and returns a {@link ParseResult} object.
|
|
1801
|
+
*
|
|
1802
|
+
* @param code - The source code to parse.
|
|
1803
|
+
* @param id - The unique identifier for the source file.
|
|
1804
|
+
* @param options - Optional parser options.
|
|
1805
|
+
* @returns The parsed {@link ParseResult} object.
|
|
1806
|
+
*/
|
|
1807
|
+
async parse(code, id, options = {}) {
|
|
1808
|
+
return parseAsync(id, code, defu5(options ?? {}, {
|
|
1809
|
+
lang: hasFileExtension(id) ? void 0 : "ts",
|
|
1810
|
+
astType: hasFileExtension(id) ? void 0 : "ts",
|
|
1811
|
+
sourceType: "module",
|
|
1812
|
+
showSemanticErrors: false
|
|
1813
|
+
}));
|
|
1814
|
+
}
|
|
1815
|
+
/**
|
|
1772
1816
|
* Update the context using a new user configuration options
|
|
1773
1817
|
*
|
|
1774
1818
|
* @param userConfig - The new user configuration options.
|
|
@@ -3308,5 +3352,5 @@ Note: Please ensure the plugin package's default export is a class that extends
|
|
|
3308
3352
|
};
|
|
3309
3353
|
|
|
3310
3354
|
export { PowerlinesAPI, createLog, getString };
|
|
3311
|
-
//# sourceMappingURL=chunk-
|
|
3312
|
-
//# sourceMappingURL=chunk-
|
|
3355
|
+
//# sourceMappingURL=chunk-OEL3BTQP.js.map
|
|
3356
|
+
//# sourceMappingURL=chunk-OEL3BTQP.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-MKZOY5EV.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-OKC6TA7P.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-OKC6TA7P.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBY4UTCHZ_cjs = require('./chunk-BY4UTCHZ.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
|
+
chunkBY4UTCHZ_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-QK36ULYT.cjs.map
|
|
42
|
+
//# sourceMappingURL=chunk-QK36ULYT.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk3L4KRPXQ_cjs = require('./chunk-3L4KRPXQ.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var rspack = unplugin.createRspackPlugin(chunk3L4KRPXQ_cjs.createUnpluginFactory("rspack"));
|
|
7
|
+
var rspack_default = rspack;
|
|
8
|
+
|
|
9
|
+
exports.rspack = rspack;
|
|
10
|
+
exports.rspack_default = rspack_default;
|
|
11
|
+
//# sourceMappingURL=chunk-QKXJRYA5.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-QKXJRYA5.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-MKZOY5EV.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-RGJMMCOR.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-RGJMMCOR.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkKC4VY5X4_cjs = require('./chunk-KC4VY5X4.cjs');
|
|
4
|
+
var chunkTJIHTRP5_cjs = require('./chunk-TJIHTRP5.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(() => chunkKC4VY5X4_cjs.vite_default(options));
|
|
16
|
+
kit.addWebpackPlugin(() => chunkTJIHTRP5_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-STLRGAW6.cjs.map
|
|
24
|
+
//# sourceMappingURL=chunk-STLRGAW6.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk3L4KRPXQ_cjs = require('./chunk-3L4KRPXQ.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var webpack = unplugin.createWebpackPlugin(chunk3L4KRPXQ_cjs.createUnpluginFactory("webpack"));
|
|
7
|
+
var webpack_default = webpack;
|
|
8
|
+
|
|
9
|
+
exports.webpack = webpack;
|
|
10
|
+
exports.webpack_default = webpack_default;
|
|
11
|
+
//# sourceMappingURL=chunk-TJIHTRP5.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-TJIHTRP5.cjs.map
|