powerlines 0.23.0 → 0.23.2
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-FT6JWNLV.js → chunk-4ODWTALP.js} +2 -2
- package/dist/{chunk-IZMLAJFU.cjs → chunk-5A7FM72H.cjs} +2 -2
- package/dist/{chunk-3Z2ARC3Q.js → chunk-CPRXGMH2.js} +1 -1
- package/dist/{chunk-EYBI3LRF.js → chunk-DUYZ3TCT.js} +1 -1
- package/dist/{chunk-QVZ6T3KX.cjs → chunk-DWV5QAGZ.cjs} +7 -7
- package/dist/{chunk-4TCCGSUX.js → chunk-F6BDL4HD.js} +1 -1
- package/dist/{chunk-TTOSSTZG.cjs → chunk-GNNF5SG6.cjs} +2 -2
- package/dist/{chunk-BPDVRROI.js → chunk-IGWSCIES.js} +1 -1
- package/dist/{chunk-2BAJ6JQT.cjs → chunk-J3LN5HOC.cjs} +2 -2
- package/dist/{chunk-LG6FLQGX.js → chunk-J5LKLH5Z.js} +1 -1
- package/dist/{chunk-SKESAE4K.cjs → chunk-J7MZRPLN.cjs} +3 -3
- package/dist/{chunk-5EOX7PUM.cjs → chunk-JAJ4CI2F.cjs} +2 -2
- package/dist/{chunk-GMLFWSQS.cjs → chunk-JZAQW55G.cjs} +2 -2
- package/dist/{chunk-5UPJKYRN.js → chunk-KFRKOIP3.js} +1 -1
- package/dist/{chunk-WSFKH2Q2.js → chunk-LKN52AAX.js} +1 -1
- package/dist/{chunk-GTFVNGIA.cjs → chunk-M4QJ2474.cjs} +4 -4
- package/dist/{chunk-UCRJ442Y.js → chunk-NH7U3PTV.js} +1 -1
- package/dist/{chunk-R474K3FM.js → chunk-Q7HBETZW.js} +1 -1
- package/dist/chunk-RODEAGIJ.cjs +32 -0
- package/dist/{chunk-FUSVGPWR.js → chunk-RWVNX2CP.js} +1 -1
- package/dist/chunk-SKLSRHBU.js +29 -0
- package/dist/{chunk-PYCO3XK3.js → chunk-TNYZH6EG.js} +7 -7
- package/dist/{chunk-GKNW56X7.cjs → chunk-WDBPA4RQ.cjs} +2 -2
- package/dist/{chunk-S5AY4OLS.cjs → chunk-WG55ZHJL.cjs} +2 -2
- package/dist/{chunk-ZN4SCRM2.js → chunk-WSLPUUGZ.js} +1 -1
- package/dist/{chunk-2L5TNORF.cjs → chunk-WXU3KLBP.cjs} +2 -2
- package/dist/{chunk-SXLFAQMD.cjs → chunk-YQ76DZYD.cjs} +2 -2
- package/dist/{chunk-F4KJNO7M.cjs → chunk-ZFO3FUM4.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-WLFJA6PY.cjs → chunk-A5SB72VO.cjs} +10 -10
- 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-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-DC754347.js → chunk-UWHGJ4JS.js} +7 -7
- 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-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.cjs
CHANGED
|
@@ -12,29 +12,29 @@ require('./chunk-2NO7N5OW.cjs');
|
|
|
12
12
|
require('./chunk-7GYTTM4M.cjs');
|
|
13
13
|
var chunkXP7OML7S_cjs = require('./chunk-XP7OML7S.cjs');
|
|
14
14
|
require('./chunk-HQFZ64VC.cjs');
|
|
15
|
-
var
|
|
16
|
-
require('./chunk-
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
20
|
-
require('./chunk-
|
|
21
|
-
require('./chunk-
|
|
15
|
+
var chunkRODEAGIJ_cjs = require('./chunk-RODEAGIJ.cjs');
|
|
16
|
+
require('./chunk-WXU3KLBP.cjs');
|
|
17
|
+
require('./chunk-GNNF5SG6.cjs');
|
|
18
|
+
require('./chunk-YQ76DZYD.cjs');
|
|
19
|
+
require('./chunk-ZFO3FUM4.cjs');
|
|
20
|
+
require('./chunk-5A7FM72H.cjs');
|
|
21
|
+
require('./chunk-WDBPA4RQ.cjs');
|
|
22
22
|
var chunkBUR2JQ6G_cjs = require('./chunk-BUR2JQ6G.cjs');
|
|
23
|
-
require('./chunk-
|
|
24
|
-
require('./chunk-
|
|
25
|
-
require('./chunk-
|
|
26
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-JZAQW55G.cjs');
|
|
24
|
+
require('./chunk-J3LN5HOC.cjs');
|
|
25
|
+
require('./chunk-M4QJ2474.cjs');
|
|
26
|
+
require('./chunk-WG55ZHJL.cjs');
|
|
27
27
|
require('./chunk-5IBA5HC2.cjs');
|
|
28
|
-
require('./chunk-
|
|
29
|
-
require('./chunk-
|
|
30
|
-
var
|
|
28
|
+
require('./chunk-JAJ4CI2F.cjs');
|
|
29
|
+
require('./chunk-J7MZRPLN.cjs');
|
|
30
|
+
var chunkDWV5QAGZ_cjs = require('./chunk-DWV5QAGZ.cjs');
|
|
31
31
|
var chunkETKZMGLN_cjs = require('./chunk-ETKZMGLN.cjs');
|
|
32
32
|
var chunk3WDMXRK6_cjs = require('./chunk-3WDMXRK6.cjs');
|
|
33
33
|
var chunkPAMSESZV_cjs = require('./chunk-PAMSESZV.cjs');
|
|
34
34
|
require('./chunk-USNT2KNT.cjs');
|
|
35
35
|
|
|
36
36
|
// src/index.ts
|
|
37
|
-
var index_default =
|
|
37
|
+
var index_default = chunkDWV5QAGZ_cjs.PowerlinesAPI;
|
|
38
38
|
|
|
39
39
|
Object.defineProperty(exports, "LogLevel", {
|
|
40
40
|
enumerable: true,
|
|
@@ -42,7 +42,7 @@ Object.defineProperty(exports, "LogLevel", {
|
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "plugins", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkRODEAGIJ_cjs.plugins; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "defineConfig", {
|
|
48
48
|
enumerable: true,
|
|
@@ -50,31 +50,31 @@ Object.defineProperty(exports, "defineConfig", {
|
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "FileData", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkDWV5QAGZ_cjs.FileData; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "FileIdentifier", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkDWV5QAGZ_cjs.FileIdentifier; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "FileMetadata", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkDWV5QAGZ_cjs.FileMetadata; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "FileMetadata_KeyValuePair", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkDWV5QAGZ_cjs.FileMetadata_KeyValuePair; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "FileSystemData", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkDWV5QAGZ_cjs.FileSystemData; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "PowerlinesAPI", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkDWV5QAGZ_cjs.PowerlinesAPI; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "_capnpFileId", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkDWV5QAGZ_cjs._capnpFileId; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "PLUGIN_NON_HOOK_FIELDS", {
|
|
80
80
|
enumerable: true,
|
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-SKLSRHBU.js';
|
|
12
|
+
import './chunk-KFRKOIP3.js';
|
|
13
|
+
import './chunk-RWVNX2CP.js';
|
|
14
|
+
import './chunk-NH7U3PTV.js';
|
|
15
|
+
import './chunk-CPRXGMH2.js';
|
|
16
|
+
import './chunk-WSLPUUGZ.js';
|
|
17
|
+
import './chunk-F6BDL4HD.js';
|
|
18
18
|
export { defineConfig } from './chunk-CJSGAITR.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
19
|
+
import './chunk-LKN52AAX.js';
|
|
20
|
+
import './chunk-J5LKLH5Z.js';
|
|
21
|
+
import './chunk-4ODWTALP.js';
|
|
22
|
+
import './chunk-DUYZ3TCT.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-Q7HBETZW.js';
|
|
25
|
+
import './chunk-IGWSCIES.js';
|
|
26
|
+
import { PowerlinesAPI } from './chunk-TNYZH6EG.js';
|
|
27
|
+
export { FileData, FileIdentifier, FileMetadata, FileMetadata_KeyValuePair, FileSystemData, PowerlinesAPI, _capnpFileId } from './chunk-TNYZH6EG.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';
|
|
@@ -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
|
}
|
|
@@ -2437,7 +2437,7 @@ ${result.errors.map((error) => ` [${error.severity}] ${error.message}${error.co
|
|
|
2437
2437
|
return {
|
|
2438
2438
|
glob: isSetObject.isSetObject(asset) ? asset.glob : asset,
|
|
2439
2439
|
input: isString.isString(asset) || !asset.input || asset.input === "." || asset.input === "/" || asset.input === "./" ? this.workspaceConfig.workspaceRoot : append.appendPath(asset.input, this.workspaceConfig.workspaceRoot),
|
|
2440
|
-
output: append.appendPath(isSetObject.isSetObject(asset) && asset.output ? join.joinPaths(this.config.output.
|
|
2440
|
+
output: append.appendPath(isSetObject.isSetObject(asset) && asset.output ? join.joinPaths(this.config.output.outputPath, replace.replacePath(asset.output, this.config.output.outputPath)) : this.config.output.outputPath, this.workspaceConfig.workspaceRoot),
|
|
2441
2441
|
ignore: isSetObject.isSetObject(asset) && asset.ignore ? toArray.toArray(asset.ignore) : void 0
|
|
2442
2442
|
};
|
|
2443
2443
|
}));
|
|
@@ -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
|
|
|
@@ -3377,21 +3377,21 @@ ${formatTypes(generatedTypes)}
|
|
|
3377
3377
|
await this.#executeEnvironments(async (context) => {
|
|
3378
3378
|
await this.callPreHook(context, "build");
|
|
3379
3379
|
await this.callNormalHook(context, "build");
|
|
3380
|
-
await Promise.all(context.config.output.assets.map(async (asset) => {
|
|
3381
|
-
context.log(types.LogLevelLabel.DEBUG, `Copying asset(s): ${chalk4__default.default.redBright(context.workspaceConfig.workspaceRoot === asset.input ? asset.glob : joinPaths.joinPaths(replace.replacePath(asset.input, context.workspaceConfig.workspaceRoot), asset.glob))} -> ${chalk4__default.default.greenBright(joinPaths.joinPaths(replace.replacePath(asset.output, context.workspaceConfig.workspaceRoot), asset.glob))} ${Array.isArray(asset.ignore) && asset.ignore.length > 0 ? ` (ignoring: ${asset.ignore.map((i) => chalk4__default.default.yellowBright(i)).join(", ")})` : ""}`);
|
|
3382
|
-
await copyFile.copyFiles(asset, asset.output);
|
|
3383
|
-
}));
|
|
3384
3380
|
if (context.config.output.distPath !== context.config.output.outputPath) {
|
|
3385
3381
|
const sourcePath = append.appendPath(context.config.output.distPath, context.workspaceConfig.workspaceRoot);
|
|
3386
3382
|
const destinationPath = joinPaths.joinPaths(append.appendPath(context.config.output.outputPath, context.workspaceConfig.workspaceRoot), "dist");
|
|
3387
3383
|
if (sourcePath !== destinationPath) {
|
|
3388
|
-
context.log(types.LogLevelLabel.INFO, `Copying build output files from project's
|
|
3384
|
+
context.log(types.LogLevelLabel.INFO, `Copying build output files from project's build directory (${context.config.output.distPath}) to the workspace's output directory (${context.config.output.outputPath}).`);
|
|
3389
3385
|
await copyFile.copyFiles({
|
|
3390
3386
|
input: sourcePath,
|
|
3391
3387
|
glob: "**/*"
|
|
3392
3388
|
}, destinationPath);
|
|
3393
3389
|
}
|
|
3394
3390
|
}
|
|
3391
|
+
await Promise.all(context.config.output.assets.map(async (asset) => {
|
|
3392
|
+
context.log(types.LogLevelLabel.DEBUG, `Copying asset(s): ${chalk4__default.default.redBright(context.workspaceConfig.workspaceRoot === asset.input ? asset.glob : joinPaths.joinPaths(replace.replacePath(asset.input, context.workspaceConfig.workspaceRoot), asset.glob))} -> ${chalk4__default.default.greenBright(joinPaths.joinPaths(replace.replacePath(asset.output, context.workspaceConfig.workspaceRoot), asset.glob))} ${Array.isArray(asset.ignore) && asset.ignore.length > 0 ? ` (ignoring: ${asset.ignore.map((i) => chalk4__default.default.yellowBright(i)).join(", ")})` : ""}`);
|
|
3393
|
+
await copyFile.copyFiles(asset, asset.output);
|
|
3394
|
+
}));
|
|
3395
3395
|
await this.callPostHook(context, "build");
|
|
3396
3396
|
});
|
|
3397
3397
|
this.context.log(types.LogLevelLabel.TRACE, "Powerlines build completed");
|
|
@@ -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
|
|
|
@@ -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
|
],
|
|
@@ -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';
|
|
@@ -2407,7 +2407,7 @@ ${result.errors.map((error) => ` [${error.severity}] ${error.message}${error.co
|
|
|
2407
2407
|
return {
|
|
2408
2408
|
glob: isSetObject(asset) ? asset.glob : asset,
|
|
2409
2409
|
input: isString(asset) || !asset.input || asset.input === "." || asset.input === "/" || asset.input === "./" ? this.workspaceConfig.workspaceRoot : appendPath(asset.input, this.workspaceConfig.workspaceRoot),
|
|
2410
|
-
output: appendPath(isSetObject(asset) && asset.output ? joinPaths(this.config.output.
|
|
2410
|
+
output: appendPath(isSetObject(asset) && asset.output ? joinPaths(this.config.output.outputPath, replacePath(asset.output, this.config.output.outputPath)) : this.config.output.outputPath, this.workspaceConfig.workspaceRoot),
|
|
2411
2411
|
ignore: isSetObject(asset) && asset.ignore ? toArray(asset.ignore) : void 0
|
|
2412
2412
|
};
|
|
2413
2413
|
}));
|
|
@@ -3347,21 +3347,21 @@ ${formatTypes(generatedTypes)}
|
|
|
3347
3347
|
await this.#executeEnvironments(async (context) => {
|
|
3348
3348
|
await this.callPreHook(context, "build");
|
|
3349
3349
|
await this.callNormalHook(context, "build");
|
|
3350
|
-
await Promise.all(context.config.output.assets.map(async (asset) => {
|
|
3351
|
-
context.log(LogLevelLabel.DEBUG, `Copying asset(s): ${chalk4.redBright(context.workspaceConfig.workspaceRoot === asset.input ? asset.glob : joinPaths$1(replacePath(asset.input, context.workspaceConfig.workspaceRoot), asset.glob))} -> ${chalk4.greenBright(joinPaths$1(replacePath(asset.output, context.workspaceConfig.workspaceRoot), asset.glob))} ${Array.isArray(asset.ignore) && asset.ignore.length > 0 ? ` (ignoring: ${asset.ignore.map((i) => chalk4.yellowBright(i)).join(", ")})` : ""}`);
|
|
3352
|
-
await copyFiles(asset, asset.output);
|
|
3353
|
-
}));
|
|
3354
3350
|
if (context.config.output.distPath !== context.config.output.outputPath) {
|
|
3355
3351
|
const sourcePath = appendPath(context.config.output.distPath, context.workspaceConfig.workspaceRoot);
|
|
3356
3352
|
const destinationPath = joinPaths$1(appendPath(context.config.output.outputPath, context.workspaceConfig.workspaceRoot), "dist");
|
|
3357
3353
|
if (sourcePath !== destinationPath) {
|
|
3358
|
-
context.log(LogLevelLabel.INFO, `Copying build output files from project's
|
|
3354
|
+
context.log(LogLevelLabel.INFO, `Copying build output files from project's build directory (${context.config.output.distPath}) to the workspace's output directory (${context.config.output.outputPath}).`);
|
|
3359
3355
|
await copyFiles({
|
|
3360
3356
|
input: sourcePath,
|
|
3361
3357
|
glob: "**/*"
|
|
3362
3358
|
}, destinationPath);
|
|
3363
3359
|
}
|
|
3364
3360
|
}
|
|
3361
|
+
await Promise.all(context.config.output.assets.map(async (asset) => {
|
|
3362
|
+
context.log(LogLevelLabel.DEBUG, `Copying asset(s): ${chalk4.redBright(context.workspaceConfig.workspaceRoot === asset.input ? asset.glob : joinPaths$1(replacePath(asset.input, context.workspaceConfig.workspaceRoot), asset.glob))} -> ${chalk4.greenBright(joinPaths$1(replacePath(asset.output, context.workspaceConfig.workspaceRoot), asset.glob))} ${Array.isArray(asset.ignore) && asset.ignore.length > 0 ? ` (ignoring: ${asset.ignore.map((i) => chalk4.yellowBright(i)).join(", ")})` : ""}`);
|
|
3363
|
+
await copyFiles(asset, asset.output);
|
|
3364
|
+
}));
|
|
3365
3365
|
await this.callPostHook(context, "build");
|
|
3366
3366
|
});
|
|
3367
3367
|
this.context.log(LogLevelLabel.TRACE, "Powerlines build completed");
|
|
@@ -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
|