powerlines 0.8.0 → 0.10.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-7I4XONWP.js → chunk-4R6CQNB2.js} +3 -3
- package/dist/{chunk-N4W7FF7E.js → chunk-54SOH6E5.js} +3 -3
- package/dist/{chunk-OX7DE4Q5.cjs → chunk-5ST7UKJF.cjs} +72 -8
- package/dist/chunk-6FRFYMLC.cjs +12 -0
- package/dist/chunk-6M3HIMSG.cjs +12 -0
- package/dist/chunk-6ODSQSQL.cjs +34 -0
- package/dist/{chunk-GE36UM6Z.cjs → chunk-6X6QQH33.cjs} +4 -4
- package/dist/{chunk-LOOSGOY2.js → chunk-75B5EPR4.js} +3 -3
- package/dist/{chunk-B5UJMXT7.cjs → chunk-APVMN2H7.cjs} +2 -2
- package/dist/{chunk-XCGBRCTC.js → chunk-BWZCYCIF.js} +3 -3
- package/dist/{chunk-CJKO3F7U.js → chunk-D55IOUF3.js} +72 -8
- package/dist/{chunk-BSPWDBYR.cjs → chunk-DOBCIS3U.cjs} +4 -4
- package/dist/{chunk-UXQMPRRF.js → chunk-EBMELFCF.js} +2 -2
- package/dist/{chunk-6WRBXKQ6.cjs → chunk-ETEQKM36.cjs} +2 -2
- package/dist/{chunk-WCIWPTVM.js → chunk-FBBWXUGK.js} +3 -3
- package/dist/{chunk-HR6NUGJW.js → chunk-GI35XXXH.js} +3 -3
- package/dist/{chunk-S4DRABWH.cjs → chunk-H2SX5ZYF.cjs} +4 -4
- package/dist/chunk-HPXUAQCU.cjs +12 -0
- package/dist/{chunk-666H4BIN.cjs → chunk-I5D3SVUH.cjs} +4 -4
- package/dist/{chunk-K2KHN7RP.js → chunk-KCDZ3LCF.js} +3 -3
- package/dist/chunk-KJHDE76P.cjs +24 -0
- package/dist/{chunk-YWEZ36T2.js → chunk-MMDBMHAW.js} +2 -2
- package/dist/{chunk-2MHNLGSZ.js → chunk-MXYZKFOD.js} +3 -3
- package/dist/{chunk-LYJN5KVV.js → chunk-PFCQFK7H.js} +3 -3
- package/dist/chunk-R5CZG7XN.js +31 -0
- package/dist/chunk-RGMGFYXY.cjs +12 -0
- package/dist/{chunk-WKE3A62S.cjs → chunk-RRGXS7GZ.cjs} +4 -4
- package/dist/chunk-TZ4Y7R4G.cjs +12 -0
- package/dist/{chunk-4NNZ4TGS.cjs → chunk-UESICHEO.cjs} +8 -8
- package/dist/{chunk-6RYTPMSB.js → chunk-V56DIXOO.js} +3 -3
- package/dist/{chunk-OB5KXL5P.js → chunk-WAWIGYB4.js} +4 -4
- package/dist/{chunk-DPOSEAJF.js → chunk-YOHDGH77.js} +3 -3
- 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-67VN5TZM.cjs → chunk-2D74QBNW.cjs} +70 -6
- package/dist/lib/chunk-2D74QBNW.cjs.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-4CUTFWDS.js → chunk-WDNYOFEH.js} +71 -7
- package/dist/lib/chunk-WDNYOFEH.js.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 chunk6X6QQH33_cjs = require('./chunk-6X6QQH33.cjs');
|
|
6
|
+
require('./chunk-I5D3SVUH.cjs');
|
|
7
7
|
require('./chunk-QIKKQQF7.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-UESICHEO.cjs');
|
|
9
|
+
require('./chunk-5ST7UKJF.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 chunk6X6QQH33_cjs.astro; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "default", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk6X6QQH33_cjs.astro_default; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "module.exports", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk6X6QQH33_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-KCDZ3LCF.js';
|
|
2
|
+
import './chunk-4R6CQNB2.js';
|
|
3
3
|
import './chunk-VOB62ELC.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
4
|
+
import './chunk-FBBWXUGK.js';
|
|
5
|
+
import './chunk-D55IOUF3.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,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-VOB62ELC.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-FBBWXUGK.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-4R6CQNB2.js.map
|
|
109
|
+
//# sourceMappingURL=chunk-4R6CQNB2.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-FBBWXUGK.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-54SOH6E5.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-54SOH6E5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAPVMN2H7_cjs = require('./chunk-APVMN2H7.cjs');
|
|
4
4
|
var chunkYE56I7CZ_cjs = require('./chunk-YE56I7CZ.cjs');
|
|
5
5
|
var chunk5VPVJHJO_cjs = require('./chunk-5VPVJHJO.cjs');
|
|
6
6
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
@@ -49,6 +49,7 @@ var join = require('@stryke/path/join');
|
|
|
49
49
|
var isNull = require('@stryke/type-checks/is-null');
|
|
50
50
|
var isString = require('@stryke/type-checks/is-string');
|
|
51
51
|
var uuid = require('@stryke/unique-id/uuid');
|
|
52
|
+
var oxcParser = require('oxc-parser');
|
|
52
53
|
var parseTypeDefinition = require('@stryke/convert/parse-type-definition');
|
|
53
54
|
var logger = require('@storm-software/config-tools/logger');
|
|
54
55
|
var colors = require('@storm-software/config-tools/utilities/colors');
|
|
@@ -1599,7 +1600,8 @@ function createVfs(context) {
|
|
|
1599
1600
|
chunkPK6SKIKE_cjs.__name(createVfs, "createVfs");
|
|
1600
1601
|
|
|
1601
1602
|
// src/internal/contexts/context.ts
|
|
1602
|
-
var
|
|
1603
|
+
var configCache = /* @__PURE__ */ new WeakMap();
|
|
1604
|
+
var parseCache = /* @__PURE__ */ new WeakMap();
|
|
1603
1605
|
var PowerlinesContext = class _PowerlinesContext {
|
|
1604
1606
|
static {
|
|
1605
1607
|
chunkPK6SKIKE_cjs.__name(this, "PowerlinesContext");
|
|
@@ -1664,11 +1666,29 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1664
1666
|
* An object containing the development dependencies that should be installed for the project
|
|
1665
1667
|
*/
|
|
1666
1668
|
devDependencies = {};
|
|
1669
|
+
/**
|
|
1670
|
+
* The persisted meta information about the current build
|
|
1671
|
+
*/
|
|
1667
1672
|
persistedMeta = void 0;
|
|
1673
|
+
/**
|
|
1674
|
+
* The path to the Powerlines package
|
|
1675
|
+
*/
|
|
1668
1676
|
powerlinesPath;
|
|
1677
|
+
/**
|
|
1678
|
+
* The parsed `package.json` file for the project
|
|
1679
|
+
*/
|
|
1669
1680
|
packageJson;
|
|
1681
|
+
/**
|
|
1682
|
+
* The parsed `project.json` file for the project
|
|
1683
|
+
*/
|
|
1670
1684
|
projectJson = void 0;
|
|
1685
|
+
/**
|
|
1686
|
+
* The module resolver for the project
|
|
1687
|
+
*/
|
|
1671
1688
|
resolver;
|
|
1689
|
+
/**
|
|
1690
|
+
* The resolved entry type definitions for the project
|
|
1691
|
+
*/
|
|
1672
1692
|
get entry() {
|
|
1673
1693
|
return resolveEntriesSync(this, toArray.toArray(this.config.entry));
|
|
1674
1694
|
}
|
|
@@ -1683,9 +1703,15 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1683
1703
|
}
|
|
1684
1704
|
return this.#tsconfig;
|
|
1685
1705
|
}
|
|
1706
|
+
/**
|
|
1707
|
+
* Sets the TypeScript configuration parsed from the tsconfig file
|
|
1708
|
+
*/
|
|
1686
1709
|
set tsconfig(value) {
|
|
1687
1710
|
this.#tsconfig = value;
|
|
1688
1711
|
}
|
|
1712
|
+
/**
|
|
1713
|
+
* The virtual file system interface for the project
|
|
1714
|
+
*/
|
|
1689
1715
|
get fs() {
|
|
1690
1716
|
if (!this.#fs) {
|
|
1691
1717
|
this.#fs = createVfs(this);
|
|
@@ -1741,6 +1767,9 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1741
1767
|
get workspaceConfig() {
|
|
1742
1768
|
return this.#workspaceConfig;
|
|
1743
1769
|
}
|
|
1770
|
+
/**
|
|
1771
|
+
* The environment paths for the project
|
|
1772
|
+
*/
|
|
1744
1773
|
get envPaths() {
|
|
1745
1774
|
if (!this.#envPaths) {
|
|
1746
1775
|
this.#envPaths = getEnvPaths.getEnvPaths({
|
|
@@ -1799,6 +1828,41 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1799
1828
|
return getWorkspaceRoot.relativeToWorkspaceRoot(this.config.projectRoot);
|
|
1800
1829
|
}
|
|
1801
1830
|
/**
|
|
1831
|
+
* Parses the source code and returns a {@link ParseResult} object.
|
|
1832
|
+
*
|
|
1833
|
+
* @param code - The source code to parse.
|
|
1834
|
+
* @param id - The unique identifier for the source file.
|
|
1835
|
+
* @param options - Optional parser options.
|
|
1836
|
+
* @returns The parsed {@link ParseResult} object.
|
|
1837
|
+
*/
|
|
1838
|
+
async parse(code, id, options = {}) {
|
|
1839
|
+
if (parseCache.has({
|
|
1840
|
+
code,
|
|
1841
|
+
options
|
|
1842
|
+
})) {
|
|
1843
|
+
return parseCache.get({
|
|
1844
|
+
code,
|
|
1845
|
+
options
|
|
1846
|
+
});
|
|
1847
|
+
}
|
|
1848
|
+
const result = await oxcParser.parseAsync(id, code, defu5__default.default(options ?? {}, {
|
|
1849
|
+
lang: filePathFns.hasFileExtension(id) ? void 0 : "ts",
|
|
1850
|
+
astType: filePathFns.hasFileExtension(id) ? void 0 : "ts",
|
|
1851
|
+
sourceType: "module",
|
|
1852
|
+
showSemanticErrors: false
|
|
1853
|
+
}));
|
|
1854
|
+
if (result.errors && result.errors.length > 0) {
|
|
1855
|
+
throw new Error(`Powerlines parsing errors in file: ${id}
|
|
1856
|
+
${result.errors.map((error) => ` [${error.severity}] ${error.message}${error.codeframe ? ` (${error.codeframe})` : ""}${error.helpMessage ? `
|
|
1857
|
+
Help: ${error.helpMessage}` : ""}`).join("\n")}`);
|
|
1858
|
+
}
|
|
1859
|
+
parseCache.set({
|
|
1860
|
+
code,
|
|
1861
|
+
options
|
|
1862
|
+
}, result);
|
|
1863
|
+
return result;
|
|
1864
|
+
}
|
|
1865
|
+
/**
|
|
1802
1866
|
* Update the context using a new user configuration options
|
|
1803
1867
|
*
|
|
1804
1868
|
* @param userConfig - The new user configuration options.
|
|
@@ -1885,8 +1949,8 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1885
1949
|
configFile: config.configFile ?? this.config.configFile,
|
|
1886
1950
|
command: this.config.inlineConfig?.command
|
|
1887
1951
|
};
|
|
1888
|
-
if (
|
|
1889
|
-
const result =
|
|
1952
|
+
if (configCache.has(cacheKey)) {
|
|
1953
|
+
const result = configCache.get(cacheKey);
|
|
1890
1954
|
this.projectJson = result.projectJson;
|
|
1891
1955
|
this.packageJson = result.packageJson;
|
|
1892
1956
|
this.#checksum = result.checksum;
|
|
@@ -1911,7 +1975,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1911
1975
|
});
|
|
1912
1976
|
const userConfig = await loadUserConfigFile(cacheKey.projectRoot, this.resolver, cacheKey.command, cacheKey.mode, cacheKey.configFile);
|
|
1913
1977
|
this.mergeUserConfig(userConfig.config);
|
|
1914
|
-
|
|
1978
|
+
configCache.set(cacheKey, {
|
|
1915
1979
|
projectJson: this.projectJson,
|
|
1916
1980
|
packageJson: this.packageJson,
|
|
1917
1981
|
checksum: this.#checksum,
|
|
@@ -2177,7 +2241,7 @@ var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends P
|
|
|
2177
2241
|
plugin: resolvedPlugin,
|
|
2178
2242
|
context
|
|
2179
2243
|
});
|
|
2180
|
-
this.#hooks = Object.keys(resolvedPlugin).filter((key) => !
|
|
2244
|
+
this.#hooks = Object.keys(resolvedPlugin).filter((key) => !chunkAPVMN2H7_cjs.PLUGIN_NON_HOOK_FIELDS.includes(key)).reduce((ret, key) => {
|
|
2181
2245
|
const hook = key;
|
|
2182
2246
|
const pluginHook = resolvedPlugin[hook];
|
|
2183
2247
|
if (!isPluginHook(pluginHook)) {
|
|
@@ -3340,5 +3404,5 @@ Note: Please ensure the plugin package's default export is a class that extends
|
|
|
3340
3404
|
exports.PowerlinesAPI = PowerlinesAPI;
|
|
3341
3405
|
exports.createLog = createLog;
|
|
3342
3406
|
exports.getString = getString;
|
|
3343
|
-
//# sourceMappingURL=chunk-
|
|
3344
|
-
//# sourceMappingURL=chunk-
|
|
3407
|
+
//# sourceMappingURL=chunk-5ST7UKJF.cjs.map
|
|
3408
|
+
//# sourceMappingURL=chunk-5ST7UKJF.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkUESICHEO_cjs = require('./chunk-UESICHEO.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var unloader = unplugin.createUnloaderPlugin(chunkUESICHEO_cjs.createUnpluginFactory("unloader"));
|
|
7
|
+
var unloader_default = unloader;
|
|
8
|
+
|
|
9
|
+
exports.unloader = unloader;
|
|
10
|
+
exports.unloader_default = unloader_default;
|
|
11
|
+
//# sourceMappingURL=chunk-6FRFYMLC.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-6FRFYMLC.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkUESICHEO_cjs = require('./chunk-UESICHEO.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var rollup = unplugin.createRollupPlugin(chunkUESICHEO_cjs.createUnpluginFactory("rollup"));
|
|
7
|
+
var rollup_default = rollup;
|
|
8
|
+
|
|
9
|
+
exports.rollup = rollup;
|
|
10
|
+
exports.rollup_default = rollup_default;
|
|
11
|
+
//# sourceMappingURL=chunk-6M3HIMSG.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-6M3HIMSG.cjs.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkTZ4Y7R4G_cjs = require('./chunk-TZ4Y7R4G.cjs');
|
|
4
|
+
var chunk6M3HIMSG_cjs = require('./chunk-6M3HIMSG.cjs');
|
|
5
|
+
var chunkHPXUAQCU_cjs = require('./chunk-HPXUAQCU.cjs');
|
|
6
|
+
var chunkRRGXS7GZ_cjs = require('./chunk-RRGXS7GZ.cjs');
|
|
7
|
+
var chunk6FRFYMLC_cjs = require('./chunk-6FRFYMLC.cjs');
|
|
8
|
+
var chunk6X6QQH33_cjs = require('./chunk-6X6QQH33.cjs');
|
|
9
|
+
var chunkDOBCIS3U_cjs = require('./chunk-DOBCIS3U.cjs');
|
|
10
|
+
var chunkH2SX5ZYF_cjs = require('./chunk-H2SX5ZYF.cjs');
|
|
11
|
+
var chunkKJHDE76P_cjs = require('./chunk-KJHDE76P.cjs');
|
|
12
|
+
var chunkI5D3SVUH_cjs = require('./chunk-I5D3SVUH.cjs');
|
|
13
|
+
var chunkRGMGFYXY_cjs = require('./chunk-RGMGFYXY.cjs');
|
|
14
|
+
|
|
15
|
+
// src/unplugin.ts
|
|
16
|
+
var plugins = {
|
|
17
|
+
astro: chunk6X6QQH33_cjs.astro_default,
|
|
18
|
+
esbuild: chunkDOBCIS3U_cjs.esbuild_default,
|
|
19
|
+
next: chunkH2SX5ZYF_cjs.next_default,
|
|
20
|
+
nuxt: chunkKJHDE76P_cjs.nuxt_default,
|
|
21
|
+
rolldown: chunkTZ4Y7R4G_cjs.rolldown_default,
|
|
22
|
+
rollup: chunk6M3HIMSG_cjs.rollup_default,
|
|
23
|
+
rspack: chunkHPXUAQCU_cjs.rspack_default,
|
|
24
|
+
tsup: chunkRRGXS7GZ_cjs.tsup_default,
|
|
25
|
+
unloader: chunk6FRFYMLC_cjs.unloader_default,
|
|
26
|
+
vite: chunkI5D3SVUH_cjs.vite_default,
|
|
27
|
+
webpack: chunkRGMGFYXY_cjs.webpack_default
|
|
28
|
+
};
|
|
29
|
+
var unplugin_default = plugins;
|
|
30
|
+
|
|
31
|
+
exports.plugins = plugins;
|
|
32
|
+
exports.unplugin_default = unplugin_default;
|
|
33
|
+
//# sourceMappingURL=chunk-6ODSQSQL.cjs.map
|
|
34
|
+
//# sourceMappingURL=chunk-6ODSQSQL.cjs.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkI5D3SVUH_cjs = require('./chunk-I5D3SVUH.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
|
+
chunkI5D3SVUH_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-6X6QQH33.cjs.map
|
|
19
|
+
//# sourceMappingURL=chunk-6X6QQH33.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { webpack_default } from './chunk-
|
|
1
|
+
import { webpack_default } from './chunk-GI35XXXH.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-75B5EPR4.js.map
|
|
21
|
+
//# sourceMappingURL=chunk-75B5EPR4.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
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-FBBWXUGK.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-BWZCYCIF.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-BWZCYCIF.js.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';
|
|
@@ -1569,7 +1570,8 @@ function createVfs(context) {
|
|
|
1569
1570
|
__name(createVfs, "createVfs");
|
|
1570
1571
|
|
|
1571
1572
|
// src/internal/contexts/context.ts
|
|
1572
|
-
var
|
|
1573
|
+
var configCache = /* @__PURE__ */ new WeakMap();
|
|
1574
|
+
var parseCache = /* @__PURE__ */ new WeakMap();
|
|
1573
1575
|
var PowerlinesContext = class _PowerlinesContext {
|
|
1574
1576
|
static {
|
|
1575
1577
|
__name(this, "PowerlinesContext");
|
|
@@ -1634,11 +1636,29 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1634
1636
|
* An object containing the development dependencies that should be installed for the project
|
|
1635
1637
|
*/
|
|
1636
1638
|
devDependencies = {};
|
|
1639
|
+
/**
|
|
1640
|
+
* The persisted meta information about the current build
|
|
1641
|
+
*/
|
|
1637
1642
|
persistedMeta = void 0;
|
|
1643
|
+
/**
|
|
1644
|
+
* The path to the Powerlines package
|
|
1645
|
+
*/
|
|
1638
1646
|
powerlinesPath;
|
|
1647
|
+
/**
|
|
1648
|
+
* The parsed `package.json` file for the project
|
|
1649
|
+
*/
|
|
1639
1650
|
packageJson;
|
|
1651
|
+
/**
|
|
1652
|
+
* The parsed `project.json` file for the project
|
|
1653
|
+
*/
|
|
1640
1654
|
projectJson = void 0;
|
|
1655
|
+
/**
|
|
1656
|
+
* The module resolver for the project
|
|
1657
|
+
*/
|
|
1641
1658
|
resolver;
|
|
1659
|
+
/**
|
|
1660
|
+
* The resolved entry type definitions for the project
|
|
1661
|
+
*/
|
|
1642
1662
|
get entry() {
|
|
1643
1663
|
return resolveEntriesSync(this, toArray(this.config.entry));
|
|
1644
1664
|
}
|
|
@@ -1653,9 +1673,15 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1653
1673
|
}
|
|
1654
1674
|
return this.#tsconfig;
|
|
1655
1675
|
}
|
|
1676
|
+
/**
|
|
1677
|
+
* Sets the TypeScript configuration parsed from the tsconfig file
|
|
1678
|
+
*/
|
|
1656
1679
|
set tsconfig(value) {
|
|
1657
1680
|
this.#tsconfig = value;
|
|
1658
1681
|
}
|
|
1682
|
+
/**
|
|
1683
|
+
* The virtual file system interface for the project
|
|
1684
|
+
*/
|
|
1659
1685
|
get fs() {
|
|
1660
1686
|
if (!this.#fs) {
|
|
1661
1687
|
this.#fs = createVfs(this);
|
|
@@ -1711,6 +1737,9 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1711
1737
|
get workspaceConfig() {
|
|
1712
1738
|
return this.#workspaceConfig;
|
|
1713
1739
|
}
|
|
1740
|
+
/**
|
|
1741
|
+
* The environment paths for the project
|
|
1742
|
+
*/
|
|
1714
1743
|
get envPaths() {
|
|
1715
1744
|
if (!this.#envPaths) {
|
|
1716
1745
|
this.#envPaths = getEnvPaths({
|
|
@@ -1769,6 +1798,41 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1769
1798
|
return relativeToWorkspaceRoot(this.config.projectRoot);
|
|
1770
1799
|
}
|
|
1771
1800
|
/**
|
|
1801
|
+
* Parses the source code and returns a {@link ParseResult} object.
|
|
1802
|
+
*
|
|
1803
|
+
* @param code - The source code to parse.
|
|
1804
|
+
* @param id - The unique identifier for the source file.
|
|
1805
|
+
* @param options - Optional parser options.
|
|
1806
|
+
* @returns The parsed {@link ParseResult} object.
|
|
1807
|
+
*/
|
|
1808
|
+
async parse(code, id, options = {}) {
|
|
1809
|
+
if (parseCache.has({
|
|
1810
|
+
code,
|
|
1811
|
+
options
|
|
1812
|
+
})) {
|
|
1813
|
+
return parseCache.get({
|
|
1814
|
+
code,
|
|
1815
|
+
options
|
|
1816
|
+
});
|
|
1817
|
+
}
|
|
1818
|
+
const result = await parseAsync(id, code, defu5(options ?? {}, {
|
|
1819
|
+
lang: hasFileExtension(id) ? void 0 : "ts",
|
|
1820
|
+
astType: hasFileExtension(id) ? void 0 : "ts",
|
|
1821
|
+
sourceType: "module",
|
|
1822
|
+
showSemanticErrors: false
|
|
1823
|
+
}));
|
|
1824
|
+
if (result.errors && result.errors.length > 0) {
|
|
1825
|
+
throw new Error(`Powerlines parsing errors in file: ${id}
|
|
1826
|
+
${result.errors.map((error) => ` [${error.severity}] ${error.message}${error.codeframe ? ` (${error.codeframe})` : ""}${error.helpMessage ? `
|
|
1827
|
+
Help: ${error.helpMessage}` : ""}`).join("\n")}`);
|
|
1828
|
+
}
|
|
1829
|
+
parseCache.set({
|
|
1830
|
+
code,
|
|
1831
|
+
options
|
|
1832
|
+
}, result);
|
|
1833
|
+
return result;
|
|
1834
|
+
}
|
|
1835
|
+
/**
|
|
1772
1836
|
* Update the context using a new user configuration options
|
|
1773
1837
|
*
|
|
1774
1838
|
* @param userConfig - The new user configuration options.
|
|
@@ -1855,8 +1919,8 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1855
1919
|
configFile: config.configFile ?? this.config.configFile,
|
|
1856
1920
|
command: this.config.inlineConfig?.command
|
|
1857
1921
|
};
|
|
1858
|
-
if (
|
|
1859
|
-
const result =
|
|
1922
|
+
if (configCache.has(cacheKey)) {
|
|
1923
|
+
const result = configCache.get(cacheKey);
|
|
1860
1924
|
this.projectJson = result.projectJson;
|
|
1861
1925
|
this.packageJson = result.packageJson;
|
|
1862
1926
|
this.#checksum = result.checksum;
|
|
@@ -1881,7 +1945,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1881
1945
|
});
|
|
1882
1946
|
const userConfig = await loadUserConfigFile(cacheKey.projectRoot, this.resolver, cacheKey.command, cacheKey.mode, cacheKey.configFile);
|
|
1883
1947
|
this.mergeUserConfig(userConfig.config);
|
|
1884
|
-
|
|
1948
|
+
configCache.set(cacheKey, {
|
|
1885
1949
|
projectJson: this.projectJson,
|
|
1886
1950
|
packageJson: this.packageJson,
|
|
1887
1951
|
checksum: this.#checksum,
|
|
@@ -3308,5 +3372,5 @@ Note: Please ensure the plugin package's default export is a class that extends
|
|
|
3308
3372
|
};
|
|
3309
3373
|
|
|
3310
3374
|
export { PowerlinesAPI, createLog, getString };
|
|
3311
|
-
//# sourceMappingURL=chunk-
|
|
3312
|
-
//# sourceMappingURL=chunk-
|
|
3375
|
+
//# sourceMappingURL=chunk-D55IOUF3.js.map
|
|
3376
|
+
//# sourceMappingURL=chunk-D55IOUF3.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 chunkUESICHEO_cjs = require('./chunk-UESICHEO.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(chunkUESICHEO_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-DOBCIS3U.cjs.map
|
|
34
|
+
//# sourceMappingURL=chunk-DOBCIS3U.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLog, PowerlinesAPI, getString } from './chunk-
|
|
1
|
+
import { createLog, PowerlinesAPI, getString } from './chunk-D55IOUF3.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-FBBWXUGK.js.map
|
|
200
|
+
//# sourceMappingURL=chunk-FBBWXUGK.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-FBBWXUGK.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-GI35XXXH.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-GI35XXXH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRGMGFYXY_cjs = require('./chunk-RGMGFYXY.cjs');
|
|
4
4
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
5
5
|
|
|
6
6
|
// src/next.ts
|
|
@@ -10,7 +10,7 @@ function next(config = {}) {
|
|
|
10
10
|
webpack(webpackConfig, context) {
|
|
11
11
|
const result = config.webpack?.(webpackConfig, context) || webpackConfig;
|
|
12
12
|
result.plugins ??= [];
|
|
13
|
-
result.plugins.push(
|
|
13
|
+
result.plugins.push(chunkRGMGFYXY_cjs.webpack_default(webpackConfig));
|
|
14
14
|
return result;
|
|
15
15
|
}
|
|
16
16
|
};
|
|
@@ -20,5 +20,5 @@ var next_default = next;
|
|
|
20
20
|
|
|
21
21
|
exports.next = next;
|
|
22
22
|
exports.next_default = next_default;
|
|
23
|
-
//# sourceMappingURL=chunk-
|
|
24
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-H2SX5ZYF.cjs.map
|
|
24
|
+
//# sourceMappingURL=chunk-H2SX5ZYF.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkUESICHEO_cjs = require('./chunk-UESICHEO.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var rspack = unplugin.createRspackPlugin(chunkUESICHEO_cjs.createUnpluginFactory("rspack"));
|
|
7
|
+
var rspack_default = rspack;
|
|
8
|
+
|
|
9
|
+
exports.rspack = rspack;
|
|
10
|
+
exports.rspack_default = rspack_default;
|
|
11
|
+
//# sourceMappingURL=chunk-HPXUAQCU.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-HPXUAQCU.cjs.map
|