powerlines 0.23.2 → 0.23.4
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--9pVSIbm.d.cts +168 -0
- package/dist/api-DxPACGY4.d.ts +168 -0
- package/dist/api.cjs +3 -3
- package/dist/api.d.cts +16 -7
- package/dist/api.d.ts +16 -7
- package/dist/api.js +2 -2
- package/dist/astro.cjs +8 -8
- package/dist/astro.d.cts +3 -5
- package/dist/astro.d.ts +3 -5
- package/dist/astro.js +5 -5
- package/dist/{chunk-ZFO3FUM4.cjs → chunk-2FLICTDF.cjs} +2 -2
- package/dist/{chunk-JAJ4CI2F.cjs → chunk-3OQXZ5MM.cjs} +2 -2
- package/dist/{chunk-KFRKOIP3.js → chunk-5B6P2VUG.js} +1 -1
- package/dist/{chunk-GNNF5SG6.cjs → chunk-6ACGI52O.cjs} +2 -2
- package/dist/{chunk-JZAQW55G.cjs → chunk-AF5VNWZD.cjs} +2 -2
- package/dist/{chunk-J7MZRPLN.cjs → chunk-AIC2EHPW.cjs} +5 -4
- package/dist/{chunk-3WDMXRK6.cjs → chunk-AYKZK666.cjs} +1 -1
- package/dist/chunk-CHNKTBUA.cjs +32 -0
- package/dist/{chunk-M4QJ2474.cjs → chunk-CTSSNO5L.cjs} +4 -4
- package/dist/{chunk-5A7FM72H.cjs → chunk-GP6XGAJ4.cjs} +2 -2
- package/dist/{chunk-DUYZ3TCT.js → chunk-HLQGKQZY.js} +1 -1
- package/dist/{chunk-LKN52AAX.js → chunk-HNJC47JM.js} +1 -1
- package/dist/{chunk-IGWSCIES.js → chunk-ISLX4Z3L.js} +3 -2
- package/dist/{chunk-J5LKLH5Z.js → chunk-KFSVTJMR.js} +1 -1
- package/dist/{chunk-RWVNX2CP.js → chunk-MI3U2GAT.js} +1 -1
- package/dist/{chunk-4ODWTALP.js → chunk-N3F54RFW.js} +2 -2
- package/dist/{chunk-Q7HBETZW.js → chunk-O2WB6QZ6.js} +1 -1
- package/dist/{chunk-DWV5QAGZ.cjs → chunk-OEKSQ22R.cjs} +2997 -2710
- package/dist/{chunk-WSLPUUGZ.js → chunk-PTZB4LWS.js} +1 -1
- package/dist/{chunk-CPRXGMH2.js → chunk-QSNFMINQ.js} +1 -1
- package/dist/{chunk-YQ76DZYD.cjs → chunk-QUZ4T5AX.cjs} +2 -2
- package/dist/chunk-UTAJPBVT.js +29 -0
- package/dist/{chunk-WG55ZHJL.cjs → chunk-UW3MXOWV.cjs} +2 -2
- package/dist/{chunk-F6BDL4HD.js → chunk-VDBKZJV6.js} +1 -1
- package/dist/{chunk-J3LN5HOC.cjs → chunk-VFLCP3SA.cjs} +2 -2
- package/dist/{chunk-FM4ABZQ2.js → chunk-VT7NVLLU.js} +1 -1
- package/dist/{chunk-WDBPA4RQ.cjs → chunk-VXAKPZ3A.cjs} +2 -2
- package/dist/{chunk-WXU3KLBP.cjs → chunk-XOI5CY62.cjs} +2 -2
- package/dist/{chunk-NH7U3PTV.js → chunk-ZQ7PDXYO.js} +1 -1
- package/dist/{chunk-TNYZH6EG.js → chunk-ZYCPZLIG.js} +2982 -2700
- package/dist/config.d.cts +3 -5
- package/dist/config.d.ts +3 -5
- package/dist/esbuild.cjs +7 -7
- package/dist/esbuild.d.cts +3 -5
- package/dist/esbuild.d.ts +3 -5
- package/dist/esbuild.js +4 -4
- package/dist/farm.cjs +4 -4
- package/dist/farm.d.cts +3 -5
- package/dist/farm.d.ts +3 -5
- package/dist/farm.js +3 -3
- package/dist/index.cjs +54 -33
- package/dist/index.d.cts +191 -39
- package/dist/index.d.ts +191 -39
- package/dist/index.js +18 -17
- package/dist/lib/api-B6hfFxVS.d.ts +167 -0
- package/dist/lib/api-CD2QlMig.d.cts +167 -0
- package/dist/lib/build/esbuild.d.cts +2 -4
- package/dist/lib/build/esbuild.d.ts +2 -4
- package/dist/lib/build/index.d.cts +4 -5
- package/dist/lib/build/index.d.ts +4 -5
- package/dist/lib/build/rolldown.d.cts +2 -4
- package/dist/lib/build/rolldown.d.ts +2 -4
- package/dist/lib/build/rollup.d.cts +2 -4
- package/dist/lib/build/rollup.d.ts +2 -4
- package/dist/lib/build/rspack.d.cts +2 -4
- package/dist/lib/build/rspack.d.ts +2 -4
- package/dist/lib/build/tsup.d.cts +2 -4
- package/dist/lib/build/tsup.d.ts +2 -4
- package/dist/lib/build/unbuild.d.cts +4 -23
- package/dist/lib/build/unbuild.d.ts +4 -23
- package/dist/lib/build/vite.d.cts +2 -4
- package/dist/lib/build/vite.d.ts +2 -4
- package/dist/lib/build/webpack.d.cts +2 -4
- package/dist/lib/build/webpack.d.ts +2 -4
- package/dist/lib/chunk-32Q2PG5D.js +9 -0
- package/dist/lib/chunk-35FGUJFD.cjs +2 -0
- package/dist/lib/{chunk-LIN4KAV3.js → chunk-52VDUP5J.js} +5 -7
- package/dist/lib/chunk-B3EE3VHZ.cjs +127 -0
- package/dist/lib/{chunk-UWHGJ4JS.js → chunk-BLNW3ZQA.js} +483 -1776
- package/dist/lib/chunk-DX2VAXZB.cjs +11 -0
- package/dist/lib/{chunk-VGSV2BEL.cjs → chunk-EFYMNU53.cjs} +6 -12
- package/dist/lib/chunk-FBQIPNRV.cjs +146 -0
- package/dist/lib/chunk-FFT4PWRM.js +1 -0
- package/dist/lib/{chunk-L4NEN725.js → chunk-G7S5PIAC.js} +1 -1
- package/dist/lib/chunk-KFJCWNVG.js +120 -0
- package/dist/lib/chunk-M2U6XIQ2.js +144 -0
- package/dist/lib/chunk-MVIKYHBX.cjs +2 -0
- package/dist/lib/chunk-NYNHNTHT.js +1 -0
- package/dist/lib/{chunk-A5SB72VO.cjs → chunk-PYQADZVV.cjs} +493 -1779
- package/dist/lib/chunk-QP6WX3Q3.js +1190 -0
- package/dist/lib/chunk-S7LLEDQM.cjs +1218 -0
- package/dist/lib/chunk-UHGGYHSK.cjs +175 -0
- package/dist/lib/chunk-YNKFRPUY.js +168 -0
- package/dist/lib/{chunk-ULJVBW4L.cjs → chunk-ZBDVQVUK.cjs} +1 -1
- package/dist/lib/{config-BoGlIhnH.d.cts → config-DTSdCZsw.d.cts} +650 -633
- package/dist/lib/{config-CTej7RMP.d.ts → config-DeUaQYc_.d.ts} +650 -633
- package/dist/lib/config-file.d.cts +4 -5
- package/dist/lib/config-file.d.ts +4 -5
- package/dist/lib/contexts/api-context.cjs +18 -0
- package/dist/lib/contexts/api-context.d.cts +69 -0
- package/dist/lib/contexts/api-context.d.ts +69 -0
- package/dist/lib/contexts/api-context.js +9 -0
- package/dist/lib/contexts/context.cjs +15 -0
- package/dist/lib/contexts/context.d.cts +255 -0
- package/dist/lib/contexts/context.d.ts +255 -0
- package/dist/lib/contexts/context.js +6 -0
- package/dist/lib/contexts/environment-context.cjs +17 -0
- package/dist/lib/contexts/environment-context.d.cts +65 -0
- package/dist/lib/contexts/environment-context.d.ts +65 -0
- package/dist/lib/contexts/environment-context.js +8 -0
- package/dist/lib/contexts/index.cjs +31 -0
- package/dist/lib/contexts/index.d.cts +35 -0
- package/dist/lib/contexts/index.d.ts +35 -0
- package/dist/lib/contexts/index.js +10 -0
- package/dist/lib/contexts/plugin-context.cjs +11 -0
- package/dist/lib/contexts/plugin-context.d.cts +42 -0
- package/dist/lib/contexts/plugin-context.d.ts +42 -0
- package/dist/lib/contexts/plugin-context.js +2 -0
- package/dist/lib/entry.d.cts +2 -4
- package/dist/lib/entry.d.ts +2 -4
- package/dist/lib/index.cjs +96 -74
- package/dist/lib/index.d.cts +26 -23
- package/dist/lib/index.d.ts +26 -23
- package/dist/lib/index.js +18 -12
- package/dist/lib/internal-CpVMJCaU.d.ts +39 -0
- package/dist/lib/internal-ypnrUNZy.d.cts +39 -0
- package/dist/lib/logger.d.cts +4 -5
- package/dist/lib/logger.d.ts +4 -5
- package/dist/lib/typescript/compiler-host.cjs +1 -1
- package/dist/lib/typescript/compiler-host.d.cts +5 -5
- package/dist/lib/typescript/compiler-host.d.ts +5 -5
- package/dist/lib/typescript/compiler-host.js +1 -1
- package/dist/lib/typescript/import-transformer.d.cts +2 -4
- package/dist/lib/typescript/import-transformer.d.ts +2 -4
- package/dist/lib/typescript/index.cjs +29 -24
- package/dist/lib/typescript/index.d.cts +6 -6
- package/dist/lib/typescript/index.d.ts +6 -6
- package/dist/lib/typescript/index.js +3 -2
- package/dist/lib/typescript/isolated-decl.d.cts +2 -1
- package/dist/lib/typescript/isolated-decl.d.ts +2 -1
- package/dist/lib/typescript/program.d.cts +5 -5
- package/dist/lib/typescript/program.d.ts +5 -5
- package/dist/lib/typescript/ts-morph.cjs +11 -0
- package/dist/lib/{create-program.d.ts → typescript/ts-morph.d.cts} +3 -5
- package/dist/lib/{create-program.d.cts → typescript/ts-morph.d.ts} +3 -5
- package/dist/lib/typescript/ts-morph.js +2 -0
- package/dist/lib/unplugin/factory.cjs +8 -4
- package/dist/lib/unplugin/factory.d.cts +27 -10
- package/dist/lib/unplugin/factory.d.ts +27 -10
- package/dist/lib/unplugin/factory.js +7 -3
- package/dist/lib/unplugin/helpers.cjs +11 -0
- package/dist/lib/unplugin/helpers.d.cts +128 -0
- package/dist/lib/unplugin/helpers.d.ts +128 -0
- package/dist/lib/unplugin/helpers.js +2 -0
- package/dist/lib/unplugin/index.cjs +12 -7
- package/dist/lib/unplugin/index.d.cts +6 -8
- package/dist/lib/unplugin/index.d.ts +6 -8
- package/dist/lib/unplugin/index.js +9 -4
- package/dist/lib/unplugin/plugin.cjs +4 -3
- package/dist/lib/unplugin/plugin.d.cts +4 -5
- package/dist/lib/unplugin/plugin.d.ts +4 -5
- package/dist/lib/unplugin/plugin.js +3 -2
- package/dist/lib/unplugin/resolve-id.cjs +2 -2
- package/dist/lib/unplugin/resolve-id.d.cts +5 -5
- package/dist/lib/unplugin/resolve-id.d.ts +5 -5
- package/dist/lib/unplugin/resolve-id.js +1 -1
- package/dist/lib/utilities/bundle.d.cts +2 -4
- package/dist/lib/utilities/bundle.d.ts +2 -4
- package/dist/lib/utilities/cache.d.cts +2 -4
- package/dist/lib/utilities/cache.d.ts +2 -4
- package/dist/lib/utilities/file-header.d.cts +4 -5
- package/dist/lib/utilities/file-header.d.ts +4 -5
- package/dist/lib/utilities/index.cjs +18 -18
- package/dist/lib/utilities/index.d.cts +5 -7
- package/dist/lib/utilities/index.d.ts +5 -7
- package/dist/lib/utilities/index.js +4 -4
- package/dist/lib/utilities/meta.d.cts +4 -5
- package/dist/lib/utilities/meta.d.ts +4 -5
- package/dist/lib/utilities/resolve-path.d.cts +2 -4
- package/dist/lib/utilities/resolve-path.d.ts +2 -4
- package/dist/lib/utilities/resolve.d.cts +2 -4
- package/dist/lib/utilities/resolve.d.ts +2 -4
- package/dist/lib/utilities/source-file.d.cts +2 -4
- package/dist/lib/utilities/source-file.d.ts +2 -4
- package/dist/lib/utilities/source-map.d.cts +2 -4
- package/dist/lib/utilities/source-map.d.ts +2 -4
- package/dist/lib/utilities/worker.d.cts +4 -5
- package/dist/lib/utilities/worker.d.ts +4 -5
- package/dist/lib/utilities/write-file.d.cts +2 -4
- package/dist/lib/utilities/write-file.d.ts +2 -4
- 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/plugin-utils/{context-D1I2JQgs.d.cts → context-DRFZE3XI.d.cts} +535 -518
- package/dist/plugin-utils/{context-D1I2JQgs.d.ts → context-DRFZE3XI.d.ts} +535 -518
- package/dist/plugin-utils/context-helpers.d.cts +2 -4
- package/dist/plugin-utils/context-helpers.d.ts +2 -4
- package/dist/plugin-utils/enforce.d.cts +2 -4
- package/dist/plugin-utils/enforce.d.ts +2 -4
- package/dist/plugin-utils/extend.d.cts +2 -4
- package/dist/plugin-utils/extend.d.ts +2 -4
- package/dist/plugin-utils/get-config-path.d.cts +2 -4
- package/dist/plugin-utils/get-config-path.d.ts +2 -4
- package/dist/plugin-utils/helpers.d.cts +2 -4
- package/dist/plugin-utils/helpers.d.ts +2 -4
- package/dist/plugin-utils/index.d.cts +3 -5
- package/dist/plugin-utils/index.d.ts +3 -5
- package/dist/plugin-utils/merge.d.cts +4 -5
- package/dist/plugin-utils/merge.d.ts +4 -5
- package/dist/plugin-utils/paths.d.cts +2 -4
- package/dist/plugin-utils/paths.d.ts +2 -4
- package/dist/{resolved-DYLxPDut.d.cts → resolved-C00CJgsk.d.cts} +128 -9
- package/dist/{resolved-D1ySEdUv.d.ts → resolved-DKFZ11S7.d.ts} +128 -9
- package/dist/rolldown.cjs +7 -7
- package/dist/rolldown.d.cts +3 -5
- package/dist/rolldown.d.ts +3 -5
- package/dist/rolldown.js +4 -4
- package/dist/rollup.cjs +7 -7
- package/dist/rollup.d.cts +3 -5
- package/dist/rollup.d.ts +3 -5
- package/dist/rollup.js +4 -4
- package/dist/rspack.cjs +7 -7
- package/dist/rspack.d.cts +3 -5
- package/dist/rspack.d.ts +3 -5
- package/dist/rspack.js +4 -4
- package/dist/tsup.cjs +8 -8
- package/dist/tsup.js +5 -5
- package/dist/types/api.cjs +4 -0
- package/dist/types/api.d.cts +36 -0
- package/dist/types/api.d.ts +36 -0
- package/dist/types/api.js +1 -0
- package/dist/types/babel.d.cts +3 -5
- package/dist/types/babel.d.ts +3 -5
- package/dist/types/build.d.cts +26 -1
- package/dist/types/build.d.ts +26 -1
- package/dist/types/commands.d.cts +3 -5
- package/dist/types/commands.d.ts +3 -5
- package/dist/types/config.d.cts +3 -5
- package/dist/types/config.d.ts +3 -5
- package/dist/types/context.d.cts +3 -5
- package/dist/types/context.d.ts +3 -5
- package/dist/types/{vfs.cjs → fs.cjs} +3 -3
- package/dist/types/{vfs.d.cts → fs.d.cts} +54 -35
- package/dist/types/{vfs.d.ts → fs.d.ts} +54 -35
- package/dist/types/fs.js +2 -0
- package/dist/types/hooks.d.cts +3 -5
- package/dist/types/hooks.d.ts +3 -5
- package/dist/types/index.cjs +9 -8
- package/dist/types/index.d.cts +8 -9
- package/dist/types/index.d.ts +8 -9
- package/dist/types/index.js +3 -2
- package/dist/types/internal.d.cts +46 -9
- package/dist/types/internal.d.ts +46 -9
- package/dist/types/plugin.d.cts +3 -5
- package/dist/types/plugin.d.ts +3 -5
- package/dist/types/resolved.d.cts +3 -5
- package/dist/types/resolved.d.ts +3 -5
- package/dist/types/tsconfig.d.cts +8 -1
- package/dist/types/tsconfig.d.ts +8 -1
- package/dist/types/typedoc.d.cts +3 -1
- package/dist/types/typedoc.d.ts +3 -1
- package/dist/types/unplugin.d.cts +22 -11
- package/dist/types/unplugin.d.ts +22 -11
- package/dist/unloader.cjs +7 -7
- package/dist/unloader.d.cts +12 -14
- package/dist/unloader.d.ts +12 -14
- package/dist/unloader.js +4 -4
- package/dist/unplugin.cjs +18 -18
- package/dist/unplugin.d.cts +6 -9
- package/dist/unplugin.d.ts +6 -9
- package/dist/unplugin.js +15 -15
- package/dist/vite.cjs +7 -7
- package/dist/vite.d.cts +3 -5
- package/dist/vite.d.ts +3 -5
- package/dist/vite.js +4 -4
- package/dist/webpack.cjs +7 -7
- package/dist/webpack.d.cts +3 -5
- package/dist/webpack.d.ts +3 -5
- package/dist/webpack.js +4 -4
- package/package.json +39 -11
- package/schemas/fs.capnp +73 -15
- package/dist/chunk-RODEAGIJ.cjs +0 -32
- package/dist/chunk-SKLSRHBU.js +0 -29
- package/dist/hooks-D2UGCryi.d.ts +0 -28
- package/dist/hooks-DJG3B-Hw.d.cts +0 -28
- package/dist/lib/create-program.cjs +0 -11
- package/dist/lib/create-program.js +0 -2
- package/dist/lib/hooks-CDLPWf7j.d.cts +0 -28
- package/dist/lib/hooks-Cn-IqwYp.d.ts +0 -28
- package/dist/types/vfs.js +0 -2
- /package/dist/{chunk-KIKTWMI3.cjs → chunk-2NCILNCH.cjs} +0 -0
- /package/dist/{chunk-XVLT2RQ2.js → chunk-BLNT5INX.js} +0 -0
- /package/dist/{lib/chunk-RJ4277VZ.cjs → chunk-GRU7B3QM.cjs} +0 -0
- /package/dist/{lib/chunk-ZBLDAREE.js → chunk-T2P533I5.js} +0 -0
- /package/dist/lib/{chunk-CGYAL3S2.cjs → chunk-4EIXDLFP.cjs} +0 -0
- /package/dist/lib/{chunk-CXRSMYEX.js → chunk-RD5AUWXN.js} +0 -0
package/dist/vite.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vite$1 from 'vite';
|
|
2
|
-
import {
|
|
2
|
+
import { X as ViteUserConfig } from './resolved-DKFZ11S7.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
|
@@ -24,17 +24,15 @@ import 'jest-worker';
|
|
|
24
24
|
import 'jiti';
|
|
25
25
|
import 'magic-string';
|
|
26
26
|
import 'memfs';
|
|
27
|
-
import 'oxc-parser';
|
|
28
27
|
import 'semver';
|
|
29
28
|
import 'unimport';
|
|
30
29
|
import 'unplugin';
|
|
30
|
+
import './types/fs.js';
|
|
31
|
+
import 'node:fs';
|
|
31
32
|
import '@stryke/types/array';
|
|
32
33
|
import './types/tsconfig.js';
|
|
33
34
|
import '@stryke/types/tsconfig';
|
|
34
35
|
import 'typescript';
|
|
35
|
-
import './types/vfs.js';
|
|
36
|
-
import '@stryke/json/types';
|
|
37
|
-
import 'node:fs';
|
|
38
36
|
|
|
39
37
|
/**
|
|
40
38
|
* A Vite plugin that will invoke the Powerlines API hooks during the build process.
|
package/dist/vite.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { vite_default as default, vite as "module.exports", vite } from './chunk-
|
|
1
|
+
export { vite_default as default, vite as "module.exports", vite } from './chunk-HLQGKQZY.js';
|
|
2
2
|
import './chunk-VBR53KGY.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-ISLX4Z3L.js';
|
|
4
|
+
import './chunk-ZYCPZLIG.js';
|
|
5
5
|
import './chunk-JQCWV4DT.js';
|
|
6
|
-
import './chunk-FM4ABZQ2.js';
|
|
7
6
|
import './chunk-JKBJF3UI.js';
|
|
7
|
+
import './chunk-VT7NVLLU.js';
|
|
8
8
|
import './chunk-SHUYVCID.js';
|
package/dist/webpack.cjs
CHANGED
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
5
|
+
var chunk3OQXZ5MM_cjs = require('./chunk-3OQXZ5MM.cjs');
|
|
6
|
+
require('./chunk-AIC2EHPW.cjs');
|
|
7
|
+
require('./chunk-OEKSQ22R.cjs');
|
|
8
8
|
require('./chunk-ETKZMGLN.cjs');
|
|
9
|
-
require('./chunk-3WDMXRK6.cjs');
|
|
10
9
|
require('./chunk-PAMSESZV.cjs');
|
|
10
|
+
require('./chunk-AYKZK666.cjs');
|
|
11
11
|
require('./chunk-USNT2KNT.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "default", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk3OQXZ5MM_cjs.webpack_default; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "module.exports", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk3OQXZ5MM_cjs.webpack; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "webpack", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk3OQXZ5MM_cjs.webpack; }
|
|
26
26
|
});
|
package/dist/webpack.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as webpack$1 from 'webpack';
|
|
2
|
-
import {
|
|
2
|
+
import { M as WebpackUserConfig } from './resolved-C00CJgsk.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
|
@@ -24,17 +24,15 @@ import 'jest-worker';
|
|
|
24
24
|
import 'jiti';
|
|
25
25
|
import 'magic-string';
|
|
26
26
|
import 'memfs';
|
|
27
|
-
import 'oxc-parser';
|
|
28
27
|
import 'semver';
|
|
29
28
|
import 'unimport';
|
|
30
29
|
import 'unplugin';
|
|
30
|
+
import './types/fs.cjs';
|
|
31
|
+
import 'node:fs';
|
|
31
32
|
import '@stryke/types/array';
|
|
32
33
|
import './types/tsconfig.cjs';
|
|
33
34
|
import '@stryke/types/tsconfig';
|
|
34
35
|
import 'typescript';
|
|
35
|
-
import './types/vfs.cjs';
|
|
36
|
-
import '@stryke/json/types';
|
|
37
|
-
import 'node:fs';
|
|
38
36
|
|
|
39
37
|
/**
|
|
40
38
|
* An Webpack plugin that will invoke the Powerlines API hooks during the build process.
|
package/dist/webpack.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as webpack$1 from 'webpack';
|
|
2
|
-
import {
|
|
2
|
+
import { M as WebpackUserConfig } from './resolved-DKFZ11S7.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
|
@@ -24,17 +24,15 @@ import 'jest-worker';
|
|
|
24
24
|
import 'jiti';
|
|
25
25
|
import 'magic-string';
|
|
26
26
|
import 'memfs';
|
|
27
|
-
import 'oxc-parser';
|
|
28
27
|
import 'semver';
|
|
29
28
|
import 'unimport';
|
|
30
29
|
import 'unplugin';
|
|
30
|
+
import './types/fs.js';
|
|
31
|
+
import 'node:fs';
|
|
31
32
|
import '@stryke/types/array';
|
|
32
33
|
import './types/tsconfig.js';
|
|
33
34
|
import '@stryke/types/tsconfig';
|
|
34
35
|
import 'typescript';
|
|
35
|
-
import './types/vfs.js';
|
|
36
|
-
import '@stryke/json/types';
|
|
37
|
-
import 'node:fs';
|
|
38
36
|
|
|
39
37
|
/**
|
|
40
38
|
* An Webpack plugin that will invoke the Powerlines API hooks during the build process.
|
package/dist/webpack.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { webpack_default as default, webpack as "module.exports", webpack } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { webpack_default as default, webpack as "module.exports", webpack } from './chunk-O2WB6QZ6.js';
|
|
2
|
+
import './chunk-ISLX4Z3L.js';
|
|
3
|
+
import './chunk-ZYCPZLIG.js';
|
|
4
4
|
import './chunk-JQCWV4DT.js';
|
|
5
|
-
import './chunk-FM4ABZQ2.js';
|
|
6
5
|
import './chunk-JKBJF3UI.js';
|
|
6
|
+
import './chunk-VT7NVLLU.js';
|
|
7
7
|
import './chunk-SHUYVCID.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "powerlines",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The \"any framework\" framework that simplifies modern dev tool usage, generates virtual (or actual) code modules, and improves DX across the board.",
|
|
6
6
|
"repository": {
|
|
@@ -246,6 +246,34 @@
|
|
|
246
246
|
},
|
|
247
247
|
"default": { "types": "./dist/lib/*.d.ts", "default": "./dist/lib/*.js" }
|
|
248
248
|
},
|
|
249
|
+
"./lib/contexts": {
|
|
250
|
+
"import": {
|
|
251
|
+
"types": "./dist/lib/contexts/index.d.ts",
|
|
252
|
+
"default": "./dist/lib/contexts/index.js"
|
|
253
|
+
},
|
|
254
|
+
"require": {
|
|
255
|
+
"types": "./dist/lib/contexts/index.d.cts",
|
|
256
|
+
"default": "./dist/lib/contexts/index.cjs"
|
|
257
|
+
},
|
|
258
|
+
"default": {
|
|
259
|
+
"types": "./dist/lib/contexts/index.d.ts",
|
|
260
|
+
"default": "./dist/lib/contexts/index.js"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"./lib/contexts/*": {
|
|
264
|
+
"import": {
|
|
265
|
+
"types": "./dist/lib/contexts/*.d.ts",
|
|
266
|
+
"default": "./dist/lib/contexts/*.js"
|
|
267
|
+
},
|
|
268
|
+
"require": {
|
|
269
|
+
"types": "./dist/lib/contexts/*.d.cts",
|
|
270
|
+
"default": "./dist/lib/contexts/*.cjs"
|
|
271
|
+
},
|
|
272
|
+
"default": {
|
|
273
|
+
"types": "./dist/lib/contexts/*.d.ts",
|
|
274
|
+
"default": "./dist/lib/contexts/*.js"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
249
277
|
"./lib/build": {
|
|
250
278
|
"import": {
|
|
251
279
|
"types": "./dist/lib/build/index.d.ts",
|
|
@@ -479,12 +507,12 @@
|
|
|
479
507
|
"@rollup/plugin-replace": "^6.0.3",
|
|
480
508
|
"@rollup/plugin-babel": "^6.1.0",
|
|
481
509
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
482
|
-
"@storm-software/build-tools": "^0.158.
|
|
483
|
-
"@storm-software/config": "^1.134.
|
|
484
|
-
"@storm-software/config-tools": "^1.188.
|
|
485
|
-
"@storm-software/esbuild": "^0.53.
|
|
486
|
-
"@storm-software/tsup": "^0.2.
|
|
487
|
-
"@storm-software/unbuild": "^0.57.
|
|
510
|
+
"@storm-software/build-tools": "^0.158.47",
|
|
511
|
+
"@storm-software/config": "^1.134.47",
|
|
512
|
+
"@storm-software/config-tools": "^1.188.47",
|
|
513
|
+
"@storm-software/esbuild": "^0.53.47",
|
|
514
|
+
"@storm-software/tsup": "^0.2.45",
|
|
515
|
+
"@storm-software/unbuild": "^0.57.47",
|
|
488
516
|
"@stryke/capnp": "^0.12.21",
|
|
489
517
|
"@stryke/convert": "^0.6.2",
|
|
490
518
|
"@stryke/env": "^0.20.14",
|
|
@@ -519,11 +547,11 @@
|
|
|
519
547
|
"unionfs": "^4.6.0",
|
|
520
548
|
"unplugin": "^2.3.10",
|
|
521
549
|
"unstorage": "^1.17.2",
|
|
522
|
-
"vite": "^7.2.
|
|
550
|
+
"vite": "^7.2.4"
|
|
523
551
|
},
|
|
524
552
|
"devDependencies": {
|
|
525
553
|
"@microsoft/tsdoc": "^0.15.1",
|
|
526
|
-
"@storm-software/testing-tools": "^1.119.
|
|
554
|
+
"@storm-software/testing-tools": "^1.119.47",
|
|
527
555
|
"@stryke/types": "^0.10.2",
|
|
528
556
|
"@types/babel__core": "^7.20.5",
|
|
529
557
|
"@types/babel__helper-module-imports": "^7.18.3",
|
|
@@ -531,7 +559,7 @@
|
|
|
531
559
|
"@types/babel__template": "^7.4.4",
|
|
532
560
|
"@types/babel__traverse": "^7.28.0",
|
|
533
561
|
"@types/diff-match-patch": "^1.0.36",
|
|
534
|
-
"@types/node": "^
|
|
562
|
+
"@types/node": "^24.10.1",
|
|
535
563
|
"@types/semver": "^7.7.1",
|
|
536
564
|
"eslint": "^9.39.1",
|
|
537
565
|
"memfs": "^4.51.0",
|
|
@@ -540,5 +568,5 @@
|
|
|
540
568
|
"typescript": "^5.9.3"
|
|
541
569
|
},
|
|
542
570
|
"publishConfig": { "access": "public" },
|
|
543
|
-
"gitHead": "
|
|
571
|
+
"gitHead": "3075c08893a66a4e8d359e37f8d0344b0a80322b"
|
|
544
572
|
}
|
package/schemas/fs.capnp
CHANGED
|
@@ -1,15 +1,32 @@
|
|
|
1
1
|
@0xa56c61324b9d6e49;
|
|
2
2
|
|
|
3
|
+
enum FileType {
|
|
4
|
+
normal @0;
|
|
5
|
+
builtin @1;
|
|
6
|
+
entry @2;
|
|
7
|
+
chunk @3;
|
|
8
|
+
prebuilt @4;
|
|
9
|
+
asset @5;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
enum PreserveSignatureType {
|
|
13
|
+
strict @0;
|
|
14
|
+
allowExtension @1;
|
|
15
|
+
exportsOnly @2;
|
|
16
|
+
}
|
|
17
|
+
|
|
3
18
|
# Additional metadata associated with a file in the file system.
|
|
4
19
|
struct FileMetadata {
|
|
5
20
|
# The identifier for the file data.
|
|
6
21
|
id @0 :Text;
|
|
7
|
-
# The
|
|
8
|
-
|
|
22
|
+
# The type of the file.
|
|
23
|
+
type @1 :Text = "normal";
|
|
9
24
|
# The output mode of the file.
|
|
10
25
|
mode @2 :Text;
|
|
26
|
+
# The timestamp representing the file's creation date.
|
|
27
|
+
timestamp @3 :UInt32;
|
|
11
28
|
# Additional metadata associated with the file.
|
|
12
|
-
properties @
|
|
29
|
+
properties @4 :List(KeyValuePair);
|
|
13
30
|
|
|
14
31
|
struct KeyValuePair {
|
|
15
32
|
key @0 :Text;
|
|
@@ -17,26 +34,67 @@ struct FileMetadata {
|
|
|
17
34
|
}
|
|
18
35
|
}
|
|
19
36
|
|
|
37
|
+
# Additional metadata associated with a file in the file system.
|
|
38
|
+
struct ChunkData {
|
|
39
|
+
# The identifier for the file data.
|
|
40
|
+
id @0 :Text;
|
|
41
|
+
# An additional name for the file.
|
|
42
|
+
name @1 :Text;
|
|
43
|
+
# Files that are implicitly loaded after one of the specified files.
|
|
44
|
+
implicitlyLoadedAfterOneOf @2 :List(Text);
|
|
45
|
+
# The importer of the file.
|
|
46
|
+
importer @3 :Text;
|
|
47
|
+
# The signature preservation mode for the file.
|
|
48
|
+
preserveSignature @4 :PreserveSignatureType;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
# Additional metadata associated with a file in the file system.
|
|
52
|
+
struct PrebuiltData {
|
|
53
|
+
# The identifier for the file data.
|
|
54
|
+
id @0 :Text;
|
|
55
|
+
# An additional name for the file.
|
|
56
|
+
name @1 :Text;
|
|
57
|
+
# The file exports.
|
|
58
|
+
exports @2 :List(Text);
|
|
59
|
+
# The source map for the file.
|
|
60
|
+
map @3 :Text;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
# Additional metadata associated with a file in the file system.
|
|
64
|
+
struct AssetData {
|
|
65
|
+
# The identifier for the file data.
|
|
66
|
+
id @0 :Text;
|
|
67
|
+
# An additional name for the file.
|
|
68
|
+
name @1 :Text;
|
|
69
|
+
# Indicates whether the file needs a code reference.
|
|
70
|
+
needsCodeReference @2 :Bool;
|
|
71
|
+
# The original file name before any transformations.
|
|
72
|
+
originalFileName @3 :Text;
|
|
73
|
+
}
|
|
74
|
+
|
|
20
75
|
# A mapping between a file path and its unique identifier.
|
|
21
76
|
# Note: Multiple paths can map to the same identifier (e.g., symlinks).
|
|
22
|
-
struct
|
|
77
|
+
struct FileId {
|
|
78
|
+
# An identifier for the file.
|
|
79
|
+
id @0 :Text;
|
|
23
80
|
# A virtual (or actual) path to the file in the file system.
|
|
24
|
-
path @
|
|
25
|
-
# An additional identifier for the file.
|
|
26
|
-
id @1 :Text;
|
|
81
|
+
path @1 :Text;
|
|
27
82
|
}
|
|
28
83
|
|
|
29
|
-
#
|
|
84
|
+
# The content of a file in the file system.
|
|
30
85
|
struct FileData {
|
|
31
|
-
#
|
|
86
|
+
# An identifier for the file.
|
|
32
87
|
path @0 :Text;
|
|
33
|
-
#
|
|
34
|
-
|
|
88
|
+
# A virtual (or actual) path to the file in the file system.
|
|
89
|
+
code @1 :Text;
|
|
35
90
|
}
|
|
36
91
|
|
|
37
92
|
# A virtual representation of a file system containing multiple files.
|
|
38
|
-
struct
|
|
39
|
-
ids @0 :List(
|
|
40
|
-
|
|
41
|
-
|
|
93
|
+
struct FileSystem {
|
|
94
|
+
ids @0 :List(FileId);
|
|
95
|
+
files @1 :List(FileData);
|
|
96
|
+
metadata @2 :List(FileMetadata);
|
|
97
|
+
assets @3 :List(AssetData);
|
|
98
|
+
chunks @4 :List(ChunkData);
|
|
99
|
+
prebuilt @5 :List(PrebuiltData);
|
|
42
100
|
}
|
package/dist/chunk-RODEAGIJ.cjs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkWXU3KLBP_cjs = require('./chunk-WXU3KLBP.cjs');
|
|
4
|
-
var chunkGNNF5SG6_cjs = require('./chunk-GNNF5SG6.cjs');
|
|
5
|
-
var chunkYQ76DZYD_cjs = require('./chunk-YQ76DZYD.cjs');
|
|
6
|
-
var chunkZFO3FUM4_cjs = require('./chunk-ZFO3FUM4.cjs');
|
|
7
|
-
var chunk5A7FM72H_cjs = require('./chunk-5A7FM72H.cjs');
|
|
8
|
-
var chunkWDBPA4RQ_cjs = require('./chunk-WDBPA4RQ.cjs');
|
|
9
|
-
var chunkJZAQW55G_cjs = require('./chunk-JZAQW55G.cjs');
|
|
10
|
-
var chunkJ3LN5HOC_cjs = require('./chunk-J3LN5HOC.cjs');
|
|
11
|
-
var chunkM4QJ2474_cjs = require('./chunk-M4QJ2474.cjs');
|
|
12
|
-
var chunkWG55ZHJL_cjs = require('./chunk-WG55ZHJL.cjs');
|
|
13
|
-
var chunkJAJ4CI2F_cjs = require('./chunk-JAJ4CI2F.cjs');
|
|
14
|
-
|
|
15
|
-
// src/unplugin.ts
|
|
16
|
-
var plugins = {
|
|
17
|
-
astro: chunkWDBPA4RQ_cjs.astro_default,
|
|
18
|
-
esbuild: chunkJZAQW55G_cjs.esbuild_default,
|
|
19
|
-
next: chunkJ3LN5HOC_cjs.next_default,
|
|
20
|
-
nuxt: chunkM4QJ2474_cjs.nuxt_default,
|
|
21
|
-
rolldown: chunkWXU3KLBP_cjs.rolldown_default,
|
|
22
|
-
rollup: chunkGNNF5SG6_cjs.rollup_default,
|
|
23
|
-
rspack: chunkYQ76DZYD_cjs.rspack_default,
|
|
24
|
-
tsup: chunkZFO3FUM4_cjs.tsup_default,
|
|
25
|
-
unloader: chunk5A7FM72H_cjs.unloader_default,
|
|
26
|
-
vite: chunkWG55ZHJL_cjs.vite_default,
|
|
27
|
-
webpack: chunkJAJ4CI2F_cjs.webpack_default
|
|
28
|
-
};
|
|
29
|
-
var unplugin_default = plugins;
|
|
30
|
-
|
|
31
|
-
exports.plugins = plugins;
|
|
32
|
-
exports.unplugin_default = unplugin_default;
|
package/dist/chunk-SKLSRHBU.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { rolldown_default } from './chunk-KFRKOIP3.js';
|
|
2
|
-
import { rollup_default } from './chunk-RWVNX2CP.js';
|
|
3
|
-
import { rspack_default } from './chunk-NH7U3PTV.js';
|
|
4
|
-
import { tsup_default } from './chunk-CPRXGMH2.js';
|
|
5
|
-
import { unloader_default } from './chunk-WSLPUUGZ.js';
|
|
6
|
-
import { astro_default } from './chunk-F6BDL4HD.js';
|
|
7
|
-
import { esbuild_default } from './chunk-LKN52AAX.js';
|
|
8
|
-
import { next_default } from './chunk-J5LKLH5Z.js';
|
|
9
|
-
import { nuxt_default } from './chunk-4ODWTALP.js';
|
|
10
|
-
import { vite_default } from './chunk-DUYZ3TCT.js';
|
|
11
|
-
import { webpack_default } from './chunk-Q7HBETZW.js';
|
|
12
|
-
|
|
13
|
-
// src/unplugin.ts
|
|
14
|
-
var plugins = {
|
|
15
|
-
astro: astro_default,
|
|
16
|
-
esbuild: esbuild_default,
|
|
17
|
-
next: next_default,
|
|
18
|
-
nuxt: nuxt_default,
|
|
19
|
-
rolldown: rolldown_default,
|
|
20
|
-
rollup: rollup_default,
|
|
21
|
-
rspack: rspack_default,
|
|
22
|
-
tsup: tsup_default,
|
|
23
|
-
unloader: unloader_default,
|
|
24
|
-
vite: vite_default,
|
|
25
|
-
webpack: webpack_default
|
|
26
|
-
};
|
|
27
|
-
var unplugin_default = plugins;
|
|
28
|
-
|
|
29
|
-
export { plugins, unplugin_default };
|
package/dist/hooks-D2UGCryi.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ab as SelectHooksOptions } from './resolved-D1ySEdUv.js';
|
|
2
|
-
|
|
3
|
-
type CallHookOptions = SelectHooksOptions & ({
|
|
4
|
-
/**
|
|
5
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
6
|
-
*
|
|
7
|
-
* @defaultValue true
|
|
8
|
-
*/
|
|
9
|
-
sequential?: true;
|
|
10
|
-
/**
|
|
11
|
-
* How to handle multiple return values from hooks.
|
|
12
|
-
* - "merge": Merge all non-undefined return values (if they are objects).
|
|
13
|
-
* - "first": Return the first non-undefined value.
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* Merging only works if the return values are objects.
|
|
17
|
-
*
|
|
18
|
-
* @defaultValue "merge"
|
|
19
|
-
*/
|
|
20
|
-
result?: "merge" | "first";
|
|
21
|
-
} | {
|
|
22
|
-
/**
|
|
23
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
24
|
-
*/
|
|
25
|
-
sequential: false;
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
export type { CallHookOptions as C };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ab as SelectHooksOptions } from './resolved-DYLxPDut.cjs';
|
|
2
|
-
|
|
3
|
-
type CallHookOptions = SelectHooksOptions & ({
|
|
4
|
-
/**
|
|
5
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
6
|
-
*
|
|
7
|
-
* @defaultValue true
|
|
8
|
-
*/
|
|
9
|
-
sequential?: true;
|
|
10
|
-
/**
|
|
11
|
-
* How to handle multiple return values from hooks.
|
|
12
|
-
* - "merge": Merge all non-undefined return values (if they are objects).
|
|
13
|
-
* - "first": Return the first non-undefined value.
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* Merging only works if the return values are objects.
|
|
17
|
-
*
|
|
18
|
-
* @defaultValue "merge"
|
|
19
|
-
*/
|
|
20
|
-
result?: "merge" | "first";
|
|
21
|
-
} | {
|
|
22
|
-
/**
|
|
23
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
24
|
-
*/
|
|
25
|
-
sequential: false;
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
export type { CallHookOptions as C };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { S as SelectHooksOptions } from './config-BoGlIhnH.cjs';
|
|
2
|
-
|
|
3
|
-
type CallHookOptions = SelectHooksOptions & ({
|
|
4
|
-
/**
|
|
5
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
6
|
-
*
|
|
7
|
-
* @defaultValue true
|
|
8
|
-
*/
|
|
9
|
-
sequential?: true;
|
|
10
|
-
/**
|
|
11
|
-
* How to handle multiple return values from hooks.
|
|
12
|
-
* - "merge": Merge all non-undefined return values (if they are objects).
|
|
13
|
-
* - "first": Return the first non-undefined value.
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* Merging only works if the return values are objects.
|
|
17
|
-
*
|
|
18
|
-
* @defaultValue "merge"
|
|
19
|
-
*/
|
|
20
|
-
result?: "merge" | "first";
|
|
21
|
-
} | {
|
|
22
|
-
/**
|
|
23
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
24
|
-
*/
|
|
25
|
-
sequential: false;
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
export type { CallHookOptions as C };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { S as SelectHooksOptions } from './config-CTej7RMP.js';
|
|
2
|
-
|
|
3
|
-
type CallHookOptions = SelectHooksOptions & ({
|
|
4
|
-
/**
|
|
5
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
6
|
-
*
|
|
7
|
-
* @defaultValue true
|
|
8
|
-
*/
|
|
9
|
-
sequential?: true;
|
|
10
|
-
/**
|
|
11
|
-
* How to handle multiple return values from hooks.
|
|
12
|
-
* - "merge": Merge all non-undefined return values (if they are objects).
|
|
13
|
-
* - "first": Return the first non-undefined value.
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* Merging only works if the return values are objects.
|
|
17
|
-
*
|
|
18
|
-
* @defaultValue "merge"
|
|
19
|
-
*/
|
|
20
|
-
result?: "merge" | "first";
|
|
21
|
-
} | {
|
|
22
|
-
/**
|
|
23
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
24
|
-
*/
|
|
25
|
-
sequential: false;
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
export type { CallHookOptions as C };
|
package/dist/types/vfs.js
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|