powerlines 0.23.0 → 0.23.1
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/api.cjs +2 -2
- package/dist/api.js +1 -1
- package/dist/astro.cjs +7 -7
- package/dist/astro.js +4 -4
- package/dist/{chunk-SXLFAQMD.cjs → chunk-3FNCYVTC.cjs} +2 -2
- package/dist/{chunk-SKESAE4K.cjs → chunk-3NWZ7U74.cjs} +3 -3
- package/dist/chunk-3ZYSJWDS.cjs +32 -0
- package/dist/{chunk-PYCO3XK3.js → chunk-4H6HIUTA.js} +1 -1
- package/dist/{chunk-F4KJNO7M.cjs → chunk-6MOT27K6.cjs} +2 -2
- package/dist/{chunk-TTOSSTZG.cjs → chunk-6ZR445UL.cjs} +2 -2
- package/dist/{chunk-WSFKH2Q2.js → chunk-AOVVQFI3.js} +1 -1
- package/dist/{chunk-GTFVNGIA.cjs → chunk-AUARPEPN.cjs} +4 -4
- package/dist/{chunk-5EOX7PUM.cjs → chunk-CVRUQZN7.cjs} +2 -2
- package/dist/{chunk-UCRJ442Y.js → chunk-DV5TMDLV.js} +1 -1
- package/dist/{chunk-GKNW56X7.cjs → chunk-F65TZZ57.cjs} +2 -2
- package/dist/{chunk-R474K3FM.js → chunk-FC46JGB5.js} +1 -1
- package/dist/{chunk-2BAJ6JQT.cjs → chunk-HBDBJSWL.cjs} +2 -2
- package/dist/{chunk-GMLFWSQS.cjs → chunk-HPQPBZGL.cjs} +2 -2
- package/dist/{chunk-FUSVGPWR.js → chunk-IQG3XK3P.js} +1 -1
- package/dist/{chunk-ZN4SCRM2.js → chunk-IQXGIDXL.js} +1 -1
- package/dist/{chunk-4TCCGSUX.js → chunk-K55N2SZU.js} +1 -1
- package/dist/{chunk-BPDVRROI.js → chunk-L57J2FXN.js} +1 -1
- package/dist/{chunk-FT6JWNLV.js → chunk-MOQZVSWO.js} +2 -2
- package/dist/{chunk-QVZ6T3KX.cjs → chunk-N4SUYIMO.cjs} +1 -1
- package/dist/{chunk-IZMLAJFU.cjs → chunk-NNCCUGXA.cjs} +2 -2
- package/dist/{chunk-S5AY4OLS.cjs → chunk-S432MQT4.cjs} +2 -2
- package/dist/{chunk-3Z2ARC3Q.js → chunk-S53KWDAO.js} +1 -1
- package/dist/{chunk-EYBI3LRF.js → chunk-TW2PHIE2.js} +1 -1
- package/dist/{chunk-LG6FLQGX.js → chunk-UBZHGFM5.js} +1 -1
- package/dist/chunk-UF2HNMZH.js +29 -0
- package/dist/{chunk-5UPJKYRN.js → chunk-WWB3FZJY.js} +1 -1
- package/dist/{chunk-2L5TNORF.cjs → chunk-YCHT4OYW.cjs} +2 -2
- package/dist/esbuild.cjs +6 -6
- package/dist/esbuild.js +3 -3
- package/dist/farm.cjs +3 -3
- package/dist/farm.js +2 -2
- package/dist/index.cjs +23 -23
- package/dist/index.js +15 -15
- package/dist/lib/build/esbuild.cjs +5 -5
- package/dist/lib/build/esbuild.js +2 -2
- package/dist/lib/build/index.cjs +14 -14
- package/dist/lib/build/index.js +5 -5
- package/dist/lib/build/rolldown.cjs +2 -2
- package/dist/lib/build/rolldown.js +1 -1
- package/dist/lib/build/tsup.cjs +6 -6
- package/dist/lib/build/tsup.js +3 -3
- package/dist/lib/build/vite.cjs +5 -5
- package/dist/lib/build/vite.js +3 -3
- package/dist/lib/{chunk-ANZZC3KI.js → chunk-AOHJEL2Q.js} +1 -1
- package/dist/lib/{chunk-VLODA6AM.js → chunk-EUDKQWSB.js} +1 -1
- package/dist/lib/{chunk-BLY4RHLL.js → chunk-HY6DNFCT.js} +1 -1
- package/dist/lib/{chunk-MPCVQK2D.cjs → chunk-ISBHXSDH.cjs} +1 -1
- package/dist/lib/{chunk-DC754347.js → chunk-KJIQ7JEY.js} +1 -1
- package/dist/lib/{chunk-IQH5BWAE.cjs → chunk-L3HESXYF.cjs} +1 -1
- package/dist/lib/{chunk-JADSLS64.cjs → chunk-LPRZ3HD4.cjs} +2 -2
- package/dist/lib/{chunk-AA74V5Y4.js → chunk-PZLO6FZW.js} +1 -1
- package/dist/lib/{chunk-PHFW55Q4.cjs → chunk-RMA2PMP7.cjs} +2 -2
- package/dist/lib/{chunk-XYOCTAWD.js → chunk-SEWUUTNA.js} +1 -1
- package/dist/lib/{chunk-XKMOJSWY.cjs → chunk-TOCNXURI.cjs} +2 -2
- package/dist/lib/{chunk-4WMJ7EKB.cjs → chunk-UPVFKXB7.cjs} +2 -2
- package/dist/lib/{chunk-RZFE3C3Q.cjs → chunk-VL63QEPF.cjs} +2 -2
- package/dist/lib/{chunk-YBL5MTHD.js → chunk-WTTBXYFQ.js} +2 -2
- package/dist/lib/{chunk-WLFJA6PY.cjs → chunk-XDRTIXW2.cjs} +4 -4
- package/dist/lib/{chunk-BHDQZ6YX.js → chunk-XZFEHPYE.js} +1 -1
- package/dist/lib/entry.cjs +9 -9
- package/dist/lib/entry.js +1 -1
- package/dist/lib/index.cjs +17 -17
- package/dist/lib/index.js +5 -5
- package/dist/lib/unplugin/factory.cjs +3 -3
- package/dist/lib/unplugin/factory.js +2 -2
- package/dist/lib/unplugin/index.cjs +3 -3
- package/dist/lib/unplugin/index.js +2 -2
- package/dist/lib/utilities/bundle.cjs +4 -4
- package/dist/lib/utilities/bundle.js +3 -3
- package/dist/lib/utilities/index.cjs +6 -6
- package/dist/lib/utilities/index.js +4 -4
- package/dist/lib/utilities/resolve.cjs +5 -5
- package/dist/lib/utilities/resolve.js +4 -4
- 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/plugin-utils/{chunk-QP6OJWFG.cjs → chunk-HSYQWNIH.cjs} +1 -1
- package/dist/plugin-utils/{chunk-J33TXWF6.js → chunk-JHTLGE4X.js} +1 -1
- package/dist/plugin-utils/index.cjs +2 -2
- package/dist/plugin-utils/index.js +1 -1
- package/dist/plugin-utils/paths.cjs +2 -2
- package/dist/plugin-utils/paths.d.cts +4 -2
- package/dist/plugin-utils/paths.d.ts +4 -2
- package/dist/plugin-utils/paths.js +1 -1
- package/dist/rolldown.cjs +6 -6
- package/dist/rolldown.js +3 -3
- package/dist/rollup.cjs +6 -6
- package/dist/rollup.js +3 -3
- package/dist/rspack.cjs +6 -6
- package/dist/rspack.js +3 -3
- package/dist/tsup.cjs +7 -7
- package/dist/tsup.js +4 -4
- package/dist/unloader.cjs +6 -6
- package/dist/unloader.js +3 -3
- package/dist/unplugin.cjs +17 -17
- package/dist/unplugin.js +14 -14
- package/dist/vite.cjs +6 -6
- package/dist/vite.js +3 -3
- package/dist/webpack.cjs +6 -6
- package/dist/webpack.js +3 -3
- package/package.json +3 -3
- package/dist/chunk-6YXYBQPZ.cjs +0 -32
- package/dist/chunk-BR4SVVJ7.js +0 -29
package/dist/index.js
CHANGED
|
@@ -8,23 +8,23 @@ import './chunk-FNZDWE4L.js';
|
|
|
8
8
|
import './chunk-DRXFQCNC.js';
|
|
9
9
|
export { LogLevel } from './chunk-W5X3ZEZ5.js';
|
|
10
10
|
import './chunk-JGB5YQ2U.js';
|
|
11
|
-
export { plugins } from './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
11
|
+
export { plugins } from './chunk-UF2HNMZH.js';
|
|
12
|
+
import './chunk-WWB3FZJY.js';
|
|
13
|
+
import './chunk-IQG3XK3P.js';
|
|
14
|
+
import './chunk-DV5TMDLV.js';
|
|
15
|
+
import './chunk-S53KWDAO.js';
|
|
16
|
+
import './chunk-IQXGIDXL.js';
|
|
17
|
+
import './chunk-K55N2SZU.js';
|
|
18
18
|
export { defineConfig } from './chunk-CJSGAITR.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
19
|
+
import './chunk-AOVVQFI3.js';
|
|
20
|
+
import './chunk-UBZHGFM5.js';
|
|
21
|
+
import './chunk-MOQZVSWO.js';
|
|
22
|
+
import './chunk-TW2PHIE2.js';
|
|
23
23
|
import './chunk-VBR53KGY.js';
|
|
24
|
-
import './chunk-
|
|
25
|
-
import './chunk-
|
|
26
|
-
import { PowerlinesAPI } from './chunk-
|
|
27
|
-
export { FileData, FileIdentifier, FileMetadata, FileMetadata_KeyValuePair, FileSystemData, PowerlinesAPI, _capnpFileId } from './chunk-
|
|
24
|
+
import './chunk-FC46JGB5.js';
|
|
25
|
+
import './chunk-L57J2FXN.js';
|
|
26
|
+
import { PowerlinesAPI } from './chunk-4H6HIUTA.js';
|
|
27
|
+
export { FileData, FileIdentifier, FileMetadata, FileMetadata_KeyValuePair, FileSystemData, PowerlinesAPI, _capnpFileId } from './chunk-4H6HIUTA.js';
|
|
28
28
|
export { PLUGIN_NON_HOOK_FIELDS } from './chunk-JQCWV4DT.js';
|
|
29
29
|
export { __VFS_PATCH__, __VFS_REVERT__ } from './chunk-FM4ABZQ2.js';
|
|
30
30
|
export { SUPPORTED_COMMANDS } from './chunk-JKBJF3UI.js';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkTOCNXURI_cjs = require('../chunk-TOCNXURI.cjs');
|
|
4
|
+
require('../chunk-ISBHXSDH.cjs');
|
|
5
5
|
require('../chunk-USNT2KNT.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "DEFAULT_ESBUILD_CONFIG", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkTOCNXURI_cjs.DEFAULT_ESBUILD_CONFIG; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "extractESBuildConfig", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkTOCNXURI_cjs.extractESBuildConfig; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "resolveESBuildEntry", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkTOCNXURI_cjs.resolveESBuildEntry; }
|
|
20
20
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DEFAULT_ESBUILD_CONFIG, extractESBuildConfig, resolveESBuildEntry } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { DEFAULT_ESBUILD_CONFIG, extractESBuildConfig, resolveESBuildEntry } from '../chunk-AOHJEL2Q.js';
|
|
2
|
+
import '../chunk-XZFEHPYE.js';
|
|
3
3
|
import '../chunk-SHUYVCID.js';
|
package/dist/lib/build/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkTDJNFAOV_cjs = require('../chunk-TDJNFAOV.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkLPRZ3HD4_cjs = require('../chunk-LPRZ3HD4.cjs');
|
|
5
5
|
var chunk2OV26JXJ_cjs = require('../chunk-2OV26JXJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkRMA2PMP7_cjs = require('../chunk-RMA2PMP7.cjs');
|
|
7
7
|
var chunkJYDGFQIV_cjs = require('../chunk-JYDGFQIV.cjs');
|
|
8
8
|
require('../chunk-3OCI4TH7.cjs');
|
|
9
|
-
var
|
|
10
|
-
require('../chunk-
|
|
11
|
-
var
|
|
9
|
+
var chunkTOCNXURI_cjs = require('../chunk-TOCNXURI.cjs');
|
|
10
|
+
require('../chunk-ISBHXSDH.cjs');
|
|
11
|
+
var chunkL3HESXYF_cjs = require('../chunk-L3HESXYF.cjs');
|
|
12
12
|
var chunkDALRRHB4_cjs = require('../chunk-DALRRHB4.cjs');
|
|
13
13
|
require('../chunk-USNT2KNT.cjs');
|
|
14
14
|
|
|
@@ -20,15 +20,15 @@ Object.defineProperty(exports, "extractRspackConfig", {
|
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "DEFAULT_TSUP_CONFIG", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkLPRZ3HD4_cjs.DEFAULT_TSUP_CONFIG; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "extractTsupConfig", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkLPRZ3HD4_cjs.extractTsupConfig; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "resolveTsupEntry", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkLPRZ3HD4_cjs.resolveTsupEntry; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "DEFAULT_UNBUILD_CONFIG", {
|
|
34
34
|
enumerable: true,
|
|
@@ -44,11 +44,11 @@ Object.defineProperty(exports, "unbuildLoader", {
|
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "DEFAULT_VITE_CONFIG", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkRMA2PMP7_cjs.DEFAULT_VITE_CONFIG; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "extractViteConfig", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkRMA2PMP7_cjs.extractViteConfig; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "extractWebpackConfig", {
|
|
54
54
|
enumerable: true,
|
|
@@ -56,19 +56,19 @@ Object.defineProperty(exports, "extractWebpackConfig", {
|
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "DEFAULT_ESBUILD_CONFIG", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkTOCNXURI_cjs.DEFAULT_ESBUILD_CONFIG; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "extractESBuildConfig", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkTOCNXURI_cjs.extractESBuildConfig; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "resolveESBuildEntry", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkTOCNXURI_cjs.resolveESBuildEntry; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "extractRolldownConfig", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkL3HESXYF_cjs.extractRolldownConfig; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "dtsBundlePlugin", {
|
|
74
74
|
enumerable: true,
|
package/dist/lib/build/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { extractRspackConfig } from '../chunk-TMZCGC5U.js';
|
|
2
|
-
export { DEFAULT_TSUP_CONFIG, extractTsupConfig, resolveTsupEntry } from '../chunk-
|
|
2
|
+
export { DEFAULT_TSUP_CONFIG, extractTsupConfig, resolveTsupEntry } from '../chunk-PZLO6FZW.js';
|
|
3
3
|
export { DEFAULT_UNBUILD_CONFIG, extractUnbuildConfig, unbuildLoader } from '../chunk-2X5DUDNT.js';
|
|
4
|
-
export { DEFAULT_VITE_CONFIG, extractViteConfig } from '../chunk-
|
|
4
|
+
export { DEFAULT_VITE_CONFIG, extractViteConfig } from '../chunk-HY6DNFCT.js';
|
|
5
5
|
export { extractWebpackConfig } from '../chunk-AKBAX4FH.js';
|
|
6
6
|
import '../chunk-M263EZ4F.js';
|
|
7
|
-
export { DEFAULT_ESBUILD_CONFIG, extractESBuildConfig, resolveESBuildEntry } from '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
export { extractRolldownConfig } from '../chunk-
|
|
7
|
+
export { DEFAULT_ESBUILD_CONFIG, extractESBuildConfig, resolveESBuildEntry } from '../chunk-AOHJEL2Q.js';
|
|
8
|
+
import '../chunk-XZFEHPYE.js';
|
|
9
|
+
export { extractRolldownConfig } from '../chunk-WTTBXYFQ.js';
|
|
10
10
|
export { dtsBundlePlugin, extractRollupConfig } from '../chunk-H6EOZSIZ.js';
|
|
11
11
|
import '../chunk-SHUYVCID.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkL3HESXYF_cjs = require('../chunk-L3HESXYF.cjs');
|
|
4
4
|
require('../chunk-DALRRHB4.cjs');
|
|
5
5
|
require('../chunk-USNT2KNT.cjs');
|
|
6
6
|
|
|
@@ -8,5 +8,5 @@ require('../chunk-USNT2KNT.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "extractRolldownConfig", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkL3HESXYF_cjs.extractRolldownConfig; }
|
|
12
12
|
});
|
package/dist/lib/build/tsup.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkLPRZ3HD4_cjs = require('../chunk-LPRZ3HD4.cjs');
|
|
4
|
+
require('../chunk-TOCNXURI.cjs');
|
|
5
|
+
require('../chunk-ISBHXSDH.cjs');
|
|
6
6
|
require('../chunk-USNT2KNT.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "DEFAULT_TSUP_CONFIG", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkLPRZ3HD4_cjs.DEFAULT_TSUP_CONFIG; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "extractTsupConfig", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkLPRZ3HD4_cjs.extractTsupConfig; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "resolveTsupEntry", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkLPRZ3HD4_cjs.resolveTsupEntry; }
|
|
21
21
|
});
|
package/dist/lib/build/tsup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DEFAULT_TSUP_CONFIG, extractTsupConfig, resolveTsupEntry } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { DEFAULT_TSUP_CONFIG, extractTsupConfig, resolveTsupEntry } from '../chunk-PZLO6FZW.js';
|
|
2
|
+
import '../chunk-AOHJEL2Q.js';
|
|
3
|
+
import '../chunk-XZFEHPYE.js';
|
|
4
4
|
import '../chunk-SHUYVCID.js';
|
package/dist/lib/build/vite.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkRMA2PMP7_cjs = require('../chunk-RMA2PMP7.cjs');
|
|
4
|
+
require('../chunk-TOCNXURI.cjs');
|
|
5
|
+
require('../chunk-ISBHXSDH.cjs');
|
|
6
6
|
require('../chunk-USNT2KNT.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "DEFAULT_VITE_CONFIG", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkRMA2PMP7_cjs.DEFAULT_VITE_CONFIG; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "extractViteConfig", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkRMA2PMP7_cjs.extractViteConfig; }
|
|
17
17
|
});
|
package/dist/lib/build/vite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DEFAULT_VITE_CONFIG, extractViteConfig } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { DEFAULT_VITE_CONFIG, extractViteConfig } from '../chunk-HY6DNFCT.js';
|
|
2
|
+
import '../chunk-AOHJEL2Q.js';
|
|
3
|
+
import '../chunk-XZFEHPYE.js';
|
|
4
4
|
import '../chunk-SHUYVCID.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveEntryInputFile, resolveEntryOutput } from './chunk-
|
|
1
|
+
import { resolveEntryInputFile, resolveEntryOutput } from './chunk-XZFEHPYE.js';
|
|
2
2
|
import { __name } from './chunk-SHUYVCID.js';
|
|
3
3
|
import { omit } from '@stryke/helpers/omit';
|
|
4
4
|
import { joinPaths } from '@stryke/path/join-paths';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolvePath } from './chunk-NWAD7K4D.js';
|
|
2
|
-
import { extractESBuildConfig } from './chunk-
|
|
2
|
+
import { extractESBuildConfig } from './chunk-AOHJEL2Q.js';
|
|
3
3
|
import { __name } from './chunk-SHUYVCID.js';
|
|
4
4
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
5
5
|
import { build } from 'esbuild';
|
|
@@ -17,7 +17,7 @@ function replacePathTokens(context, path) {
|
|
|
17
17
|
if (!path) {
|
|
18
18
|
return path;
|
|
19
19
|
}
|
|
20
|
-
return path.replaceAll("{workspaceRoot}", context.workspaceConfig.workspaceRoot).replaceAll("{root}", context.config.projectRoot).replaceAll("{projectRoot}", context.config.projectRoot).replaceAll("{powerlinesPath}", context.powerlinesPath).replaceAll("{cachePath}", context.cachePath).replaceAll("{dataPath}", context.dataPath).replaceAll("{logPath}", context.envPaths.log).replaceAll("{tempPath}", context.envPaths.temp).replaceAll("{configPath}", context.envPaths.config).replaceAll("{artifactsPath}", replace.replacePath(context.artifactsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{builtinPath}", replace.replacePath(context.builtinsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{entryPath}", replace.replacePath(context.entryPath, context.workspaceConfig.workspaceRoot));
|
|
20
|
+
return path.replaceAll("{workspaceRoot}", context.workspaceConfig.workspaceRoot).replaceAll("{root}", context.config.projectRoot).replaceAll("{projectRoot}", context.config.projectRoot).replaceAll("{powerlinesPath}", context.powerlinesPath).replaceAll("{cachePath}", context.cachePath).replaceAll("{dataPath}", context.dataPath).replaceAll("{logPath}", context.envPaths.log).replaceAll("{tempPath}", context.envPaths.temp).replaceAll("{configPath}", context.envPaths.config).replaceAll("{outputPath}", context.config.output.outputPath).replaceAll("{distPath}", context.config.output.distPath).replaceAll("{artifactsPath}", replace.replacePath(context.artifactsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{builtinPath}", replace.replacePath(context.builtinsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{entryPath}", replace.replacePath(context.entryPath, context.workspaceConfig.workspaceRoot));
|
|
21
21
|
}
|
|
22
22
|
chunkUSNT2KNT_cjs.__name(replacePathTokens, "replacePathTokens");
|
|
23
23
|
|
|
@@ -6,7 +6,7 @@ import { getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound } f
|
|
|
6
6
|
import { loadWorkspaceConfig, loadUserConfigFile } from './chunk-ZPIKFR7Z.js';
|
|
7
7
|
import { extendLog, createLog } from './chunk-ENRLU4UR.js';
|
|
8
8
|
import { getString } from './chunk-M263EZ4F.js';
|
|
9
|
-
import { resolveEntriesSync, getUniqueEntries, replacePathTokens } from './chunk-
|
|
9
|
+
import { resolveEntriesSync, getUniqueEntries, replacePathTokens } from './chunk-XZFEHPYE.js';
|
|
10
10
|
import { __name } from './chunk-SHUYVCID.js';
|
|
11
11
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
12
12
|
import { relativeToWorkspaceRoot, getWorkspaceRoot } from '@stryke/fs/get-workspace-root';
|
|
@@ -56,7 +56,7 @@ function extractRolldownConfig(context) {
|
|
|
56
56
|
sourceMap: context.config.mode === "development",
|
|
57
57
|
...context.config.build.inject
|
|
58
58
|
}),
|
|
59
|
-
experimental.
|
|
59
|
+
experimental.viteAliasPlugin({
|
|
60
60
|
entries: context.builtins.reduce((ret, id) => {
|
|
61
61
|
if (!ret.find((e) => e.find === id)) {
|
|
62
62
|
const path = context.fs.ids[id];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTOCNXURI_cjs = require('./chunk-TOCNXURI.cjs');
|
|
4
4
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
var constants = require('@storm-software/tsup/constants');
|
|
6
6
|
var defu = require('defu');
|
|
@@ -28,7 +28,7 @@ var DEFAULT_TSUP_CONFIG = {
|
|
|
28
28
|
banner: {}
|
|
29
29
|
};
|
|
30
30
|
function resolveTsupEntry(context, entryPoints) {
|
|
31
|
-
return
|
|
31
|
+
return chunkTOCNXURI_cjs.resolveESBuildEntry(context, entryPoints);
|
|
32
32
|
}
|
|
33
33
|
chunkUSNT2KNT_cjs.__name(resolveTsupEntry, "resolveTsupEntry");
|
|
34
34
|
function extractTsupConfig(context) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTOCNXURI_cjs = require('./chunk-TOCNXURI.cjs');
|
|
4
4
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
var joinPaths = require('@stryke/path/join-paths');
|
|
6
6
|
var defu = require('defu');
|
|
@@ -66,7 +66,7 @@ function extractViteConfig(context) {
|
|
|
66
66
|
tsconfig: context.tsconfig.tsconfigFilePath,
|
|
67
67
|
tsconfigRaw: context.tsconfig.tsconfigJson
|
|
68
68
|
},
|
|
69
|
-
esbuild:
|
|
69
|
+
esbuild: chunkTOCNXURI_cjs.extractESBuildConfig(context),
|
|
70
70
|
logLevel: context.config.logLevel ?? void 0,
|
|
71
71
|
envDir: context.config.projectRoot
|
|
72
72
|
}, context.config.build.variant === "vite" ? context.config.build : {}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bundle } from './chunk-
|
|
1
|
+
import { bundle } from './chunk-EUDKQWSB.js';
|
|
2
2
|
import { __name } from './chunk-SHUYVCID.js';
|
|
3
3
|
import { parseTypeDefinition } from '@stryke/convert/parse-type-definition';
|
|
4
4
|
import { isSetString } from '@stryke/type-checks/is-set-string';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkISBHXSDH_cjs = require('./chunk-ISBHXSDH.cjs');
|
|
4
4
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
var omit = require('@stryke/helpers/omit');
|
|
6
6
|
var joinPaths = require('@stryke/path/join-paths');
|
|
@@ -31,7 +31,7 @@ function resolveESBuildEntry(context, entryPoints = []) {
|
|
|
31
31
|
if (isString.isString(entry)) {
|
|
32
32
|
ret[replace.replaceExtension(replace.replacePath(entry, context.config.sourceRoot || context.config.projectRoot))] = replace.replacePath(entry, context.config.sourceRoot || context.config.projectRoot);
|
|
33
33
|
} else {
|
|
34
|
-
ret[entry.output ||
|
|
34
|
+
ret[entry.output || chunkISBHXSDH_cjs.resolveEntryOutput(context, entry.input || entry)] = chunkISBHXSDH_cjs.resolveEntryInputFile(context, entry.input || entry);
|
|
35
35
|
}
|
|
36
36
|
return ret;
|
|
37
37
|
}, {});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkMZJWK36Q_cjs = require('./chunk-MZJWK36Q.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkTOCNXURI_cjs = require('./chunk-TOCNXURI.cjs');
|
|
5
5
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
6
6
|
var types = require('@storm-software/config-tools/types');
|
|
7
7
|
var esbuild = require('esbuild');
|
|
@@ -12,7 +12,7 @@ async function bundle(context, file, overrides = {}) {
|
|
|
12
12
|
throw new Error(`Module not found: "${file}". Please check the path and try again.`);
|
|
13
13
|
}
|
|
14
14
|
const result = await esbuild.build({
|
|
15
|
-
...
|
|
15
|
+
...chunkTOCNXURI_cjs.extractESBuildConfig(context),
|
|
16
16
|
entry: [
|
|
17
17
|
path
|
|
18
18
|
],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUPVFKXB7_cjs = require('./chunk-UPVFKXB7.cjs');
|
|
4
4
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
var parseTypeDefinition = require('@stryke/convert/parse-type-definition');
|
|
6
6
|
var isSetString = require('@stryke/type-checks/is-set-string');
|
|
@@ -12,7 +12,7 @@ async function resolve(context, type, overrides = {}) {
|
|
|
12
12
|
} else {
|
|
13
13
|
typeDefinition = type;
|
|
14
14
|
}
|
|
15
|
-
const result = await
|
|
15
|
+
const result = await chunkUPVFKXB7_cjs.bundle(context, typeDefinition.file, overrides);
|
|
16
16
|
const resolved = await context.resolver.evalModule(result.text, {
|
|
17
17
|
filename: result.path,
|
|
18
18
|
forceTranspile: true
|
|
@@ -10,7 +10,7 @@ import { isFunction } from '@stryke/type-checks/is-function';
|
|
|
10
10
|
import { isString } from '@stryke/type-checks/is-string';
|
|
11
11
|
import defu from 'defu';
|
|
12
12
|
import { globSync } from 'node:fs';
|
|
13
|
-
import {
|
|
13
|
+
import { viteAliasPlugin } from 'rolldown/experimental';
|
|
14
14
|
import typescriptPlugin from 'rollup-plugin-typescript2';
|
|
15
15
|
|
|
16
16
|
function extractRolldownConfig(context) {
|
|
@@ -46,7 +46,7 @@ function extractRolldownConfig(context) {
|
|
|
46
46
|
sourceMap: context.config.mode === "development",
|
|
47
47
|
...context.config.build.inject
|
|
48
48
|
}),
|
|
49
|
-
|
|
49
|
+
viteAliasPlugin({
|
|
50
50
|
entries: context.builtins.reduce((ret, id) => {
|
|
51
51
|
if (!ret.find((e) => e.find === id)) {
|
|
52
52
|
const path = context.fs.ids[id];
|
|
@@ -8,7 +8,7 @@ var chunkBQU53ZNB_cjs = require('./chunk-BQU53ZNB.cjs');
|
|
|
8
8
|
var chunkXW5TELHB_cjs = require('./chunk-XW5TELHB.cjs');
|
|
9
9
|
var chunkJA4HSQRN_cjs = require('./chunk-JA4HSQRN.cjs');
|
|
10
10
|
var chunk3OCI4TH7_cjs = require('./chunk-3OCI4TH7.cjs');
|
|
11
|
-
var
|
|
11
|
+
var chunkISBHXSDH_cjs = require('./chunk-ISBHXSDH.cjs');
|
|
12
12
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
13
13
|
var types = require('@storm-software/config-tools/types');
|
|
14
14
|
var getWorkspaceRoot = require('@stryke/fs/get-workspace-root');
|
|
@@ -1956,7 +1956,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
1956
1956
|
* The resolved entry type definitions for the project
|
|
1957
1957
|
*/
|
|
1958
1958
|
get entry() {
|
|
1959
|
-
return
|
|
1959
|
+
return chunkISBHXSDH_cjs.resolveEntriesSync(this, toArray.toArray(this.config.entry));
|
|
1960
1960
|
}
|
|
1961
1961
|
/**
|
|
1962
1962
|
* The TypeScript configuration parsed from the tsconfig file
|
|
@@ -2409,7 +2409,7 @@ ${result.errors.map((error) => ` [${error.severity}] ${error.message}${error.co
|
|
|
2409
2409
|
}
|
|
2410
2410
|
});
|
|
2411
2411
|
}
|
|
2412
|
-
this.config.entry =
|
|
2412
|
+
this.config.entry = chunkISBHXSDH_cjs.getUniqueEntries(this.config.entry);
|
|
2413
2413
|
if (this.config.name?.startsWith("@") && this.config.name.split("/").filter(Boolean).length > 1) {
|
|
2414
2414
|
this.config.name = this.config.name.split("/").filter(Boolean)[1];
|
|
2415
2415
|
}
|
|
@@ -3136,7 +3136,7 @@ ${context.entry.map((entry) => `- ${entry.input.file || entry.file}${entry.outpu
|
|
|
3136
3136
|
await installDependencies(context);
|
|
3137
3137
|
await this.callPostHook(context, "configResolved");
|
|
3138
3138
|
if (context.config.build.polyfill) {
|
|
3139
|
-
context.config.build.polyfill = context.config.build.polyfill.map((polyfill) =>
|
|
3139
|
+
context.config.build.polyfill = context.config.build.polyfill.map((polyfill) => chunkISBHXSDH_cjs.replacePathTokens(context, polyfill));
|
|
3140
3140
|
}
|
|
3141
3141
|
context.log(types.LogLevelLabel.TRACE, `Powerlines configuration has been resolved:
|
|
3142
3142
|
|
|
@@ -15,7 +15,7 @@ function replacePathTokens(context, path) {
|
|
|
15
15
|
if (!path) {
|
|
16
16
|
return path;
|
|
17
17
|
}
|
|
18
|
-
return path.replaceAll("{workspaceRoot}", context.workspaceConfig.workspaceRoot).replaceAll("{root}", context.config.projectRoot).replaceAll("{projectRoot}", context.config.projectRoot).replaceAll("{powerlinesPath}", context.powerlinesPath).replaceAll("{cachePath}", context.cachePath).replaceAll("{dataPath}", context.dataPath).replaceAll("{logPath}", context.envPaths.log).replaceAll("{tempPath}", context.envPaths.temp).replaceAll("{configPath}", context.envPaths.config).replaceAll("{artifactsPath}", replacePath(context.artifactsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{builtinPath}", replacePath(context.builtinsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{entryPath}", replacePath(context.entryPath, context.workspaceConfig.workspaceRoot));
|
|
18
|
+
return path.replaceAll("{workspaceRoot}", context.workspaceConfig.workspaceRoot).replaceAll("{root}", context.config.projectRoot).replaceAll("{projectRoot}", context.config.projectRoot).replaceAll("{powerlinesPath}", context.powerlinesPath).replaceAll("{cachePath}", context.cachePath).replaceAll("{dataPath}", context.dataPath).replaceAll("{logPath}", context.envPaths.log).replaceAll("{tempPath}", context.envPaths.temp).replaceAll("{configPath}", context.envPaths.config).replaceAll("{outputPath}", context.config.output.outputPath).replaceAll("{distPath}", context.config.output.distPath).replaceAll("{artifactsPath}", replacePath(context.artifactsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{builtinPath}", replacePath(context.builtinsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{entryPath}", replacePath(context.entryPath, context.workspaceConfig.workspaceRoot));
|
|
19
19
|
}
|
|
20
20
|
__name(replacePathTokens, "replacePathTokens");
|
|
21
21
|
|
package/dist/lib/entry.cjs
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkISBHXSDH_cjs = require('./chunk-ISBHXSDH.cjs');
|
|
4
4
|
require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "getUniqueEntries", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkISBHXSDH_cjs.getUniqueEntries; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "resolveEntries", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkISBHXSDH_cjs.resolveEntries; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "resolveEntriesSync", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkISBHXSDH_cjs.resolveEntriesSync; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "resolveEntry", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkISBHXSDH_cjs.resolveEntry; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "resolveEntryInput", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkISBHXSDH_cjs.resolveEntryInput; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "resolveEntryInputFile", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkISBHXSDH_cjs.resolveEntryInputFile; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "resolveEntryOutput", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkISBHXSDH_cjs.resolveEntryOutput; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "resolveVirtualEntry", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkISBHXSDH_cjs.resolveVirtualEntry; }
|
|
39
39
|
});
|
package/dist/lib/entry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { getUniqueEntries, resolveEntries, resolveEntriesSync, resolveEntry, resolveEntryInput, resolveEntryInputFile, resolveEntryOutput, resolveVirtualEntry } from './chunk-
|
|
1
|
+
export { getUniqueEntries, resolveEntries, resolveEntriesSync, resolveEntry, resolveEntryInput, resolveEntryInputFile, resolveEntryOutput, resolveVirtualEntry } from './chunk-XZFEHPYE.js';
|
|
2
2
|
import './chunk-SHUYVCID.js';
|