powerlines 0.36.20 → 0.36.22
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-BpNyqnfS.d.ts → api-CKsoNfIi.d.cts} +1 -1
- package/dist/{api-DhwCWSTm.d.cts → api-DF6OX-CP.d.ts} +1 -1
- package/dist/api.cjs +2 -2
- package/dist/api.d.cts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/api.js +1 -1
- package/dist/astro.cjs +4 -4
- package/dist/astro.d.cts +1 -1
- package/dist/astro.d.ts +1 -1
- package/dist/astro.js +3 -3
- package/dist/{chunk-Q5QDT4Z6.cjs → chunk-2XBYBJR5.cjs} +4 -4
- package/dist/{chunk-UMU2MF3G.cjs → chunk-A7AUGAHH.cjs} +7 -2
- package/dist/{chunk-VFEMKXPW.cjs → chunk-BYE57MON.cjs} +127 -6
- package/dist/{chunk-SE2DSY7Q.cjs → chunk-CY2P2DU6.cjs} +5 -5
- package/dist/{chunk-5P33FZVE.js → chunk-GJ2LG4DD.js} +3 -3
- package/dist/chunk-KXRVVFNK.js +11 -0
- package/dist/{chunk-GIOACISS.js → chunk-L2PNHKJM.js} +2 -2
- package/dist/{chunk-VNR35OGA.cjs → chunk-NCEMQXI7.cjs} +4 -4
- package/dist/{chunk-YCEMHKQ6.js → chunk-NIWBFUD2.js} +3 -3
- package/dist/{chunk-NG66D5S2.js → chunk-O2ASVIMW.js} +3 -3
- package/dist/{chunk-IJXEMXLH.cjs → chunk-PGF6BCY7.cjs} +2 -2
- package/dist/{chunk-YEMNMZFO.js → chunk-PONG5D7V.js} +3 -3
- package/dist/{chunk-JHMNUYR4.js → chunk-POZHPFH4.js} +127 -6
- package/dist/{chunk-WJT3YP4S.js → chunk-V3433RRZ.js} +3 -3
- package/dist/chunk-WGXJ6LPR.cjs +12 -0
- package/dist/chunk-ZDOLHPJF.cjs +12 -0
- package/dist/{context-AF63GCTq.d.cts → context-BjkbWSEi.d.cts} +17 -0
- package/dist/{context-BTkUT4s7.d.ts → context-D3mOE_yR.d.ts} +17 -0
- package/dist/esbuild.cjs +6 -6
- package/dist/esbuild.d.cts +1 -1
- package/dist/esbuild.d.ts +1 -1
- package/dist/esbuild.js +3 -3
- package/dist/farm.cjs +3 -3
- package/dist/farm.d.cts +1 -1
- package/dist/farm.d.ts +1 -1
- package/dist/farm.js +2 -2
- package/dist/index.cjs +19 -15
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/lib/{api-DXCDkT5F.d.ts → api-U9jjf5ZI.d.ts} +1 -1
- package/dist/lib/{api-_Bfi7q0n.d.cts → api-tl-yvTre.d.cts} +1 -1
- package/dist/lib/build/esbuild.d.cts +2 -2
- package/dist/lib/build/esbuild.d.ts +2 -2
- package/dist/lib/build/index.d.cts +4 -4
- package/dist/lib/build/index.d.ts +4 -4
- package/dist/lib/build/rolldown.d.cts +2 -2
- package/dist/lib/build/rolldown.d.ts +2 -2
- package/dist/lib/build/rollup.d.cts +2 -2
- package/dist/lib/build/rollup.d.ts +2 -2
- package/dist/lib/build/rspack.d.cts +2 -2
- package/dist/lib/build/rspack.d.ts +2 -2
- package/dist/lib/build/tsdown.d.cts +2 -2
- package/dist/lib/build/tsdown.d.ts +2 -2
- package/dist/lib/build/tsup.d.cts +2 -2
- package/dist/lib/build/tsup.d.ts +2 -2
- package/dist/lib/build/unbuild.d.cts +4 -4
- package/dist/lib/build/unbuild.d.ts +4 -4
- package/dist/lib/build/vite.d.cts +2 -2
- package/dist/lib/build/vite.d.ts +2 -2
- package/dist/lib/build/webpack.d.cts +2 -2
- package/dist/lib/build/webpack.d.ts +2 -2
- package/dist/lib/{chunk-Y5KONJVR.cjs → chunk-4LHV7MWI.cjs} +9 -2
- package/dist/lib/chunk-4LHV7MWI.cjs.map +1 -0
- package/dist/lib/{chunk-LT2BKZXG.js → chunk-5UUCSS3L.js} +5 -6
- package/dist/lib/chunk-5UUCSS3L.js.map +1 -0
- package/dist/lib/{chunk-RLNO3YW6.js → chunk-7WJ27SD3.js} +3 -3
- package/dist/lib/{chunk-RLNO3YW6.js.map → chunk-7WJ27SD3.js.map} +1 -1
- package/dist/lib/{chunk-4U72WVKA.js → chunk-AD7VZMXQ.js} +4 -4
- package/dist/lib/{chunk-4U72WVKA.js.map → chunk-AD7VZMXQ.js.map} +1 -1
- package/dist/lib/{chunk-BEMSIGJW.cjs → chunk-E76ZBTKK.cjs} +50 -5
- package/dist/lib/chunk-E76ZBTKK.cjs.map +1 -0
- package/dist/lib/{chunk-QBE4SZN6.cjs → chunk-FO5AJ2PR.cjs} +11 -4
- package/dist/lib/chunk-FO5AJ2PR.cjs.map +1 -0
- package/dist/lib/{chunk-5QMQ5G73.js → chunk-I3GWGYDB.js} +10 -3
- package/dist/lib/chunk-I3GWGYDB.js.map +1 -0
- package/dist/lib/{chunk-LSHBFMOA.cjs → chunk-I4ZNMVU2.cjs} +67 -11
- package/dist/lib/chunk-I4ZNMVU2.cjs.map +1 -0
- package/dist/lib/{chunk-C3QHVUY2.cjs → chunk-I6JH6KU3.cjs} +17 -18
- package/dist/lib/chunk-I6JH6KU3.cjs.map +1 -0
- package/dist/lib/{chunk-ALSAZ7L6.js → chunk-INNJR7XT.js} +48 -3
- package/dist/lib/chunk-INNJR7XT.js.map +1 -0
- package/dist/lib/{chunk-YJEZASNU.js → chunk-NE26SC53.js} +10 -3
- package/dist/lib/chunk-NE26SC53.js.map +1 -0
- package/dist/lib/{chunk-CTMPQSK7.js → chunk-QHKZQZJG.js} +9 -2
- package/dist/lib/chunk-QHKZQZJG.js.map +1 -0
- package/dist/lib/{chunk-AQNUFK3L.cjs → chunk-RI3JLIUH.cjs} +11 -4
- package/dist/lib/chunk-RI3JLIUH.cjs.map +1 -0
- package/dist/lib/{chunk-PEUTCIA5.js → chunk-UOKSPMLS.js} +62 -6
- package/dist/lib/chunk-UOKSPMLS.js.map +1 -0
- package/dist/lib/{chunk-LWDVMU5O.cjs → chunk-X3KPKVM3.cjs} +6 -6
- package/dist/lib/{chunk-LWDVMU5O.cjs.map → chunk-X3KPKVM3.cjs.map} +1 -1
- package/dist/lib/{chunk-HUWPJJ3K.cjs → chunk-YQHAXICU.cjs} +14 -14
- package/dist/lib/{chunk-HUWPJJ3K.cjs.map → chunk-YQHAXICU.cjs.map} +1 -1
- package/dist/lib/{config-BIgwy55H.d.ts → config-BJy0qydr.d.ts} +18 -1
- package/dist/lib/{config-DWtYgc3i.d.cts → config-D2hB4lan.d.cts} +18 -1
- package/dist/lib/config-file.d.cts +2 -2
- package/dist/lib/config-file.d.ts +2 -2
- package/dist/lib/contexts/api-context.cjs +8 -8
- package/dist/lib/contexts/api-context.d.cts +4 -4
- package/dist/lib/contexts/api-context.d.ts +4 -4
- package/dist/lib/contexts/api-context.js +7 -7
- package/dist/lib/contexts/context.cjs +6 -6
- package/dist/lib/contexts/context.d.cts +21 -4
- package/dist/lib/contexts/context.d.ts +21 -4
- package/dist/lib/contexts/context.js +5 -5
- package/dist/lib/contexts/environment-context.cjs +7 -7
- package/dist/lib/contexts/environment-context.d.cts +4 -4
- package/dist/lib/contexts/environment-context.d.ts +4 -4
- package/dist/lib/contexts/environment-context.js +6 -6
- package/dist/lib/contexts/index.cjs +10 -10
- package/dist/lib/contexts/index.d.cts +4 -4
- package/dist/lib/contexts/index.d.ts +4 -4
- package/dist/lib/contexts/index.js +7 -7
- package/dist/lib/contexts/plugin-context.d.cts +4 -4
- package/dist/lib/contexts/plugin-context.d.ts +4 -4
- package/dist/lib/entry.d.cts +2 -2
- package/dist/lib/entry.d.ts +2 -2
- package/dist/lib/fs/index.cjs +5 -5
- package/dist/lib/fs/index.d.cts +2 -2
- package/dist/lib/fs/index.d.ts +2 -2
- package/dist/lib/fs/index.js +4 -4
- package/dist/lib/fs/storage/base.cjs +2 -2
- package/dist/lib/fs/storage/base.d.cts +8 -1
- package/dist/lib/fs/storage/base.d.ts +8 -1
- package/dist/lib/fs/storage/base.js +1 -1
- package/dist/lib/fs/storage/file-system.cjs +3 -3
- package/dist/lib/fs/storage/file-system.d.cts +8 -1
- package/dist/lib/fs/storage/file-system.d.ts +8 -1
- package/dist/lib/fs/storage/file-system.js +2 -2
- package/dist/lib/fs/storage/index.cjs +6 -6
- package/dist/lib/fs/storage/index.d.cts +1 -1
- package/dist/lib/fs/storage/index.d.ts +1 -1
- package/dist/lib/fs/storage/index.js +3 -3
- package/dist/lib/fs/storage/virtual.cjs +3 -3
- package/dist/lib/fs/storage/virtual.d.cts +8 -1
- package/dist/lib/fs/storage/virtual.d.ts +8 -1
- package/dist/lib/fs/storage/virtual.js +2 -2
- package/dist/lib/fs/vfs.cjs +5 -5
- package/dist/lib/fs/vfs.d.cts +12 -2
- package/dist/lib/fs/vfs.d.ts +12 -2
- package/dist/lib/fs/vfs.js +4 -4
- package/dist/lib/{fs-Mx46r7JY.d.cts → fs-DkLcPGg-.d.cts} +29 -1
- package/dist/lib/{fs-Mx46r7JY.d.ts → fs-DkLcPGg-.d.ts} +29 -1
- package/dist/lib/index.cjs +13 -13
- package/dist/lib/index.d.cts +5 -5
- package/dist/lib/index.d.ts +5 -5
- package/dist/lib/index.js +8 -8
- package/dist/lib/{internal-dgyhRXvh.d.ts → internal-CksJ16ez.d.ts} +2 -2
- package/dist/lib/{internal-D6xUbbF0.d.cts → internal-V6kgm5vH.d.cts} +2 -2
- package/dist/lib/logger.d.cts +2 -2
- package/dist/lib/logger.d.ts +2 -2
- package/dist/lib/typescript/import-transformer.d.cts +2 -2
- package/dist/lib/typescript/import-transformer.d.ts +2 -2
- package/dist/lib/typescript/index.d.cts +2 -2
- package/dist/lib/typescript/index.d.ts +2 -2
- package/dist/lib/typescript/ts-morph.d.cts +2 -2
- package/dist/lib/typescript/ts-morph.d.ts +2 -2
- package/dist/lib/unplugin/factory.cjs +9 -9
- package/dist/lib/unplugin/factory.d.cts +4 -4
- package/dist/lib/unplugin/factory.d.ts +4 -4
- package/dist/lib/unplugin/factory.js +8 -8
- package/dist/lib/unplugin/helpers.d.cts +2 -2
- package/dist/lib/unplugin/helpers.d.ts +2 -2
- package/dist/lib/unplugin/index.cjs +9 -9
- package/dist/lib/unplugin/index.d.cts +4 -4
- package/dist/lib/unplugin/index.d.ts +4 -4
- package/dist/lib/unplugin/index.js +8 -8
- package/dist/lib/unplugin/plugin.d.cts +4 -4
- package/dist/lib/unplugin/plugin.d.ts +4 -4
- package/dist/lib/{unplugin-CWYKuPd7.d.cts → unplugin-C4u6D9M3.d.cts} +2 -2
- package/dist/lib/{unplugin-BViawRr0.d.ts → unplugin-I8HmDBMG.d.ts} +2 -2
- package/dist/lib/utilities/bundle.d.cts +2 -2
- package/dist/lib/utilities/bundle.d.ts +2 -2
- package/dist/lib/utilities/cache.d.cts +2 -2
- package/dist/lib/utilities/cache.d.ts +2 -2
- package/dist/lib/utilities/file-header.d.cts +2 -2
- package/dist/lib/utilities/file-header.d.ts +2 -2
- package/dist/lib/utilities/index.d.cts +2 -2
- package/dist/lib/utilities/index.d.ts +2 -2
- package/dist/lib/utilities/meta.d.cts +2 -2
- package/dist/lib/utilities/meta.d.ts +2 -2
- package/dist/lib/utilities/resolve.d.cts +2 -2
- package/dist/lib/utilities/resolve.d.ts +2 -2
- package/dist/lib/utilities/source-file.d.cts +2 -2
- package/dist/lib/utilities/source-file.d.ts +2 -2
- package/dist/lib/utilities/source-map.d.cts +2 -2
- package/dist/lib/utilities/source-map.d.ts +2 -2
- package/dist/lib/utilities/worker.d.cts +2 -2
- package/dist/lib/utilities/worker.d.ts +2 -2
- package/dist/lib/utilities/write-file.d.cts +2 -2
- package/dist/lib/utilities/write-file.d.ts +2 -2
- package/dist/next.cjs +4 -4
- package/dist/next.js +3 -3
- package/dist/nuxt.cjs +7 -7
- package/dist/nuxt.d.cts +1 -1
- package/dist/nuxt.d.ts +1 -1
- package/dist/nuxt.js +5 -5
- package/dist/plugin-utils/{context-DdRcFGKU.d.cts → context-BLMhhC0A.d.cts} +45 -0
- package/dist/plugin-utils/{context-DdRcFGKU.d.ts → context-BLMhhC0A.d.ts} +45 -0
- package/dist/plugin-utils/context-helpers.d.cts +1 -1
- package/dist/plugin-utils/context-helpers.d.ts +1 -1
- package/dist/plugin-utils/enforce.d.cts +1 -1
- package/dist/plugin-utils/enforce.d.ts +1 -1
- package/dist/plugin-utils/extend.d.cts +1 -1
- package/dist/plugin-utils/extend.d.ts +1 -1
- package/dist/plugin-utils/get-config-path.d.cts +1 -1
- package/dist/plugin-utils/get-config-path.d.ts +1 -1
- package/dist/plugin-utils/helpers.d.cts +1 -1
- package/dist/plugin-utils/helpers.d.ts +1 -1
- package/dist/plugin-utils/index.d.cts +1 -1
- package/dist/plugin-utils/index.d.ts +1 -1
- package/dist/plugin-utils/merge.d.cts +1 -1
- package/dist/plugin-utils/merge.d.ts +1 -1
- package/dist/plugin-utils/paths.d.cts +1 -1
- package/dist/plugin-utils/paths.d.ts +1 -1
- package/dist/rolldown.cjs +6 -6
- package/dist/rolldown.d.cts +1 -1
- package/dist/rolldown.d.ts +1 -1
- package/dist/rolldown.js +3 -3
- package/dist/rollup.cjs +3 -3
- package/dist/rollup.d.cts +1 -1
- package/dist/rollup.d.ts +1 -1
- package/dist/rollup.js +2 -2
- package/dist/rspack.cjs +3 -3
- package/dist/rspack.d.cts +1 -1
- package/dist/rspack.d.ts +1 -1
- package/dist/rspack.js +2 -2
- package/dist/tsdown.cjs +4 -4
- package/dist/tsdown.js +3 -3
- package/dist/tsup.cjs +4 -4
- package/dist/tsup.js +3 -3
- package/dist/types/api.d.cts +2 -2
- package/dist/types/api.d.ts +2 -2
- package/dist/types/babel.d.cts +1 -1
- package/dist/types/babel.d.ts +1 -1
- package/dist/types/commands.d.cts +1 -1
- package/dist/types/commands.d.ts +1 -1
- package/dist/types/config.d.cts +1 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/context.cjs +2 -2
- package/dist/types/context.d.cts +1 -1
- package/dist/types/context.d.ts +1 -1
- package/dist/types/context.js +1 -1
- package/dist/types/fs.cjs +7 -3
- package/dist/types/fs.d.cts +30 -1
- package/dist/types/fs.d.ts +30 -1
- package/dist/types/fs.js +1 -1
- package/dist/types/hooks.d.cts +1 -1
- package/dist/types/hooks.d.ts +1 -1
- package/dist/types/index.cjs +9 -5
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +2 -2
- package/dist/types/internal.d.cts +2 -2
- package/dist/types/internal.d.ts +2 -2
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/resolved.d.cts +1 -1
- package/dist/types/resolved.d.ts +1 -1
- package/dist/types/unplugin.d.cts +2 -2
- package/dist/types/unplugin.d.ts +2 -2
- package/dist/unloader.cjs +3 -3
- package/dist/unloader.d.cts +1 -1
- package/dist/unloader.d.ts +1 -1
- package/dist/unloader.js +2 -2
- package/dist/unplugin.cjs +5 -5
- package/dist/unplugin.d.cts +2 -2
- package/dist/unplugin.d.ts +2 -2
- package/dist/unplugin.js +3 -3
- package/dist/vite.cjs +6 -6
- package/dist/vite.d.cts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +3 -3
- package/dist/webpack.cjs +6 -6
- package/dist/webpack.d.cts +1 -1
- package/dist/webpack.d.ts +1 -1
- package/dist/webpack.js +3 -3
- package/package.json +2 -2
- package/dist/chunk-EJZVAP3T.js +0 -7
- package/dist/chunk-LF52IIUG.cjs +0 -12
- package/dist/chunk-OAP26O5W.cjs +0 -12
- package/dist/lib/chunk-5QMQ5G73.js.map +0 -1
- package/dist/lib/chunk-ALSAZ7L6.js.map +0 -1
- package/dist/lib/chunk-AQNUFK3L.cjs.map +0 -1
- package/dist/lib/chunk-BEMSIGJW.cjs.map +0 -1
- package/dist/lib/chunk-C3QHVUY2.cjs.map +0 -1
- package/dist/lib/chunk-CTMPQSK7.js.map +0 -1
- package/dist/lib/chunk-LSHBFMOA.cjs.map +0 -1
- package/dist/lib/chunk-LT2BKZXG.js.map +0 -1
- package/dist/lib/chunk-PEUTCIA5.js.map +0 -1
- package/dist/lib/chunk-QBE4SZN6.cjs.map +0 -1
- package/dist/lib/chunk-Y5KONJVR.cjs.map +0 -1
- package/dist/lib/chunk-YJEZASNU.js.map +0 -1
|
@@ -61,6 +61,7 @@ import { isDirectory, isFile } from '@stryke/fs/is-file';
|
|
|
61
61
|
import * as $ from '@stryke/capnp';
|
|
62
62
|
import { readFileBuffer, readFileBufferSync, writeFileBuffer } from '@stryke/fs/buffer';
|
|
63
63
|
import { prettyBytes } from '@stryke/string-format/pretty-bytes';
|
|
64
|
+
import { isRegExp } from '@stryke/type-checks/is-regexp';
|
|
64
65
|
import { Blob } from 'node:buffer';
|
|
65
66
|
import { fileURLToPath } from 'node:url';
|
|
66
67
|
import { resolveConfig, format } from 'prettier';
|
|
@@ -81,8 +82,7 @@ function resolveModulePath(nodePath, state) {
|
|
|
81
82
|
if (!t.isStringLiteral(nodePath.node)) {
|
|
82
83
|
return;
|
|
83
84
|
}
|
|
84
|
-
const
|
|
85
|
-
const resolvedPath = state.context?.fs.resolveSync(sourcePath);
|
|
85
|
+
const resolvedPath = state.context?.fs.resolveSync(nodePath.node.value);
|
|
86
86
|
if (resolvedPath) {
|
|
87
87
|
nodePath.replaceWith(t.stringLiteral(
|
|
88
88
|
// Remove the file extension if it exists
|
|
@@ -1234,6 +1234,13 @@ var BaseStorageAdapter = class {
|
|
|
1234
1234
|
*/
|
|
1235
1235
|
options;
|
|
1236
1236
|
/**
|
|
1237
|
+
* The storage preset for the adapter.
|
|
1238
|
+
*
|
|
1239
|
+
* @remarks
|
|
1240
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
1241
|
+
*/
|
|
1242
|
+
preset = null;
|
|
1243
|
+
/**
|
|
1237
1244
|
* Constructor for the BaseStorageAdapter.
|
|
1238
1245
|
*
|
|
1239
1246
|
* @param options - Configuration options for the storage adapter.
|
|
@@ -1424,6 +1431,13 @@ var FileSystemStorageAdapter = class extends BaseStorageAdapter {
|
|
|
1424
1431
|
*/
|
|
1425
1432
|
name = "file-system";
|
|
1426
1433
|
/**
|
|
1434
|
+
* The storage preset for the adapter.
|
|
1435
|
+
*
|
|
1436
|
+
* @remarks
|
|
1437
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
1438
|
+
*/
|
|
1439
|
+
preset = "fs";
|
|
1440
|
+
/**
|
|
1427
1441
|
* Constructor for the FileSystemStorageAdapter.
|
|
1428
1442
|
*
|
|
1429
1443
|
* @param options - Configuration options for the storage adapter.
|
|
@@ -1583,6 +1597,13 @@ var VirtualStorageAdapter = class extends BaseStorageAdapter {
|
|
|
1583
1597
|
*/
|
|
1584
1598
|
name = "virtual";
|
|
1585
1599
|
/**
|
|
1600
|
+
* The storage preset for the adapter.
|
|
1601
|
+
*
|
|
1602
|
+
* @remarks
|
|
1603
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
1604
|
+
*/
|
|
1605
|
+
preset = "virtual";
|
|
1606
|
+
/**
|
|
1586
1607
|
* In-memory data storage.
|
|
1587
1608
|
*/
|
|
1588
1609
|
data = /* @__PURE__ */ new Map();
|
|
@@ -1731,10 +1752,21 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
1731
1752
|
/**
|
|
1732
1753
|
* Gets the storage adapter and relative key for a given key.
|
|
1733
1754
|
*
|
|
1755
|
+
* @remarks
|
|
1756
|
+
* The `key` can be either a path or a storage adapter name.
|
|
1757
|
+
*
|
|
1734
1758
|
* @param key - The key to get the storage adapter for.
|
|
1735
1759
|
* @returns The storage adapter and relative key for the given key.
|
|
1736
1760
|
*/
|
|
1737
1761
|
#getStorage(key) {
|
|
1762
|
+
const found = Object.entries(this.#storage).find(([, adapter]) => adapter.name === key || adapter.preset && adapter.preset.toLowerCase() === key?.toLowerCase());
|
|
1763
|
+
if (found) {
|
|
1764
|
+
return {
|
|
1765
|
+
base: found[0],
|
|
1766
|
+
relativeKey: "",
|
|
1767
|
+
adapter: found[1]
|
|
1768
|
+
};
|
|
1769
|
+
}
|
|
1738
1770
|
const path = this.resolveSync(this.#normalizePath(key)) || key;
|
|
1739
1771
|
for (const base of Object.keys(this.#storage).filter(Boolean).sort().reverse()) {
|
|
1740
1772
|
if (isParentPath(path, base)) {
|
|
@@ -2282,7 +2314,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2282
2314
|
});
|
|
2283
2315
|
}
|
|
2284
2316
|
}
|
|
2285
|
-
const { relativeKey, adapter } = this.#getStorage(path);
|
|
2317
|
+
const { relativeKey, adapter } = this.#getStorage(options.storage || path);
|
|
2286
2318
|
this.#log(LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes(new Blob(toArray(code)).size)})`);
|
|
2287
2319
|
const id = options?.meta?.id || this.#normalizeId(relativeKey);
|
|
2288
2320
|
this.#metadata[id] = {
|
|
@@ -2302,7 +2334,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2302
2334
|
* @param options - Optional parameters for writing the file.
|
|
2303
2335
|
*/
|
|
2304
2336
|
writeSync(path, data = "", options = {}) {
|
|
2305
|
-
const { relativeKey, adapter } = this.#getStorage(path);
|
|
2337
|
+
const { relativeKey, adapter } = this.#getStorage(options.storage || path);
|
|
2306
2338
|
this.#log(LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} file to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes(new Blob(toArray(data)).size)})`);
|
|
2307
2339
|
const id = options?.meta?.id || this.#normalizeId(relativeKey);
|
|
2308
2340
|
this.#metadata[id] = {
|
|
@@ -2344,6 +2376,44 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2344
2376
|
return void 0;
|
|
2345
2377
|
}
|
|
2346
2378
|
/**
|
|
2379
|
+
* Resolves a given module ID using the configured aliases.
|
|
2380
|
+
*
|
|
2381
|
+
* @remarks
|
|
2382
|
+
* This function can be used to map module IDs to different paths based on the alias configuration.
|
|
2383
|
+
*
|
|
2384
|
+
* @param id - The module ID to resolve.
|
|
2385
|
+
* @returns The resolved module ID - after applying any configured aliases (this will be the same as the input ID if no aliases match).
|
|
2386
|
+
*/
|
|
2387
|
+
resolveAlias(id) {
|
|
2388
|
+
let path = id;
|
|
2389
|
+
if (this.#context.config.build.alias) {
|
|
2390
|
+
if (Array.isArray(this.#context.config.build.alias) && this.#context.config.build.alias.length > 0) {
|
|
2391
|
+
const found = this.#context.config.build.alias.filter((alias) => isSetString(alias.find) && (alias.find === path || path.startsWith(`${alias.find}/`)) || isRegExp(alias.find) && alias.find.test(path));
|
|
2392
|
+
if (found.length > 0) {
|
|
2393
|
+
const alias = found.reduce((ret, current) => {
|
|
2394
|
+
const retLength = isSetString(ret.find) ? ret.find.length : isRegExp(ret.find) ? ret.find.source.length : 0;
|
|
2395
|
+
const currentLength = isSetString(current.find) ? current.find.length : isRegExp(current.find) ? current.find.source.length : 0;
|
|
2396
|
+
return retLength > currentLength ? ret : current;
|
|
2397
|
+
});
|
|
2398
|
+
if (isSetString(alias.find)) {
|
|
2399
|
+
path = path.replace(new RegExp(`^${alias.find}`), alias.replacement);
|
|
2400
|
+
} else if (isRegExp(alias.find)) {
|
|
2401
|
+
path = path.replace(alias.find, alias.replacement);
|
|
2402
|
+
}
|
|
2403
|
+
}
|
|
2404
|
+
} else if (isSetObject(this.#context.config.build.alias)) {
|
|
2405
|
+
const found = Object.keys(this.#context.config.build.alias).filter((key) => key === path || path.startsWith(`${key}/`));
|
|
2406
|
+
if (found.length > 0) {
|
|
2407
|
+
const alias = found.reduce((ret, current) => {
|
|
2408
|
+
return ret.length > current.length ? ret : current;
|
|
2409
|
+
});
|
|
2410
|
+
path = path.replace(new RegExp(`^${alias}`), this.#context.config.build.alias[alias]);
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
}
|
|
2414
|
+
return path;
|
|
2415
|
+
}
|
|
2416
|
+
/**
|
|
2347
2417
|
* A helper function to resolve modules in the virtual file system (VFS).
|
|
2348
2418
|
*
|
|
2349
2419
|
* @remarks
|
|
@@ -2364,6 +2434,9 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2364
2434
|
if (path.includes("{") || path.includes("}")) {
|
|
2365
2435
|
path = replacePathTokens(this.#context, path);
|
|
2366
2436
|
}
|
|
2437
|
+
if (options.skipAlias !== true) {
|
|
2438
|
+
path = this.resolveAlias(path);
|
|
2439
|
+
}
|
|
2367
2440
|
if (isAbsolutePath(path)) {
|
|
2368
2441
|
return path;
|
|
2369
2442
|
}
|
|
@@ -2434,6 +2507,9 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2434
2507
|
if (path.includes("{") || path.includes("}")) {
|
|
2435
2508
|
path = replacePathTokens(this.#context, path);
|
|
2436
2509
|
}
|
|
2510
|
+
if (options.skipAlias !== true) {
|
|
2511
|
+
path = this.resolveAlias(path);
|
|
2512
|
+
}
|
|
2437
2513
|
if (isAbsolutePath(path)) {
|
|
2438
2514
|
return path;
|
|
2439
2515
|
}
|
|
@@ -3157,6 +3233,36 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3157
3233
|
}));
|
|
3158
3234
|
}
|
|
3159
3235
|
/**
|
|
3236
|
+
* Synchronously resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
3237
|
+
*
|
|
3238
|
+
* @param code - The source code of the entry file
|
|
3239
|
+
* @param path - A path to write the entry file to
|
|
3240
|
+
* @param options - Optional write file options
|
|
3241
|
+
*/
|
|
3242
|
+
emitEntrySync(code, path, options = {}) {
|
|
3243
|
+
const entryPath = isAbsolute(path) ? path : appendPath(path, this.entryPath);
|
|
3244
|
+
this.entry ??= [];
|
|
3245
|
+
this.entry.push({
|
|
3246
|
+
name: options?.name,
|
|
3247
|
+
file: entryPath,
|
|
3248
|
+
input: options?.input,
|
|
3249
|
+
output: options?.output
|
|
3250
|
+
});
|
|
3251
|
+
return this.fs.writeSync(entryPath, code, defu7(omit(options, [
|
|
3252
|
+
"name"
|
|
3253
|
+
]), {
|
|
3254
|
+
meta: {
|
|
3255
|
+
type: "entry",
|
|
3256
|
+
properties: {
|
|
3257
|
+
name: options?.name,
|
|
3258
|
+
output: options?.output,
|
|
3259
|
+
"input.file": options?.input?.file,
|
|
3260
|
+
"input.name": options?.input?.name
|
|
3261
|
+
}
|
|
3262
|
+
}
|
|
3263
|
+
}));
|
|
3264
|
+
}
|
|
3265
|
+
/**
|
|
3160
3266
|
* Resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
3161
3267
|
*
|
|
3162
3268
|
* @param code - The source code of the builtin file
|
|
@@ -3172,6 +3278,21 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3172
3278
|
}));
|
|
3173
3279
|
}
|
|
3174
3280
|
/**
|
|
3281
|
+
* Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
3282
|
+
*
|
|
3283
|
+
* @param code - The source code of the builtin file
|
|
3284
|
+
* @param id - The unique identifier of the builtin file
|
|
3285
|
+
* @param path - An optional path to write the builtin file to
|
|
3286
|
+
* @param options - Optional write file options
|
|
3287
|
+
*/
|
|
3288
|
+
emitBuiltinSync(code, id, path, options) {
|
|
3289
|
+
return this.fs.writeSync(path ? isAbsolute(path) ? path : joinPaths(this.builtinsPath, path) : appendPath(id, this.builtinsPath), code, defu7(options, {
|
|
3290
|
+
meta: {
|
|
3291
|
+
type: "builtin"
|
|
3292
|
+
}
|
|
3293
|
+
}));
|
|
3294
|
+
}
|
|
3295
|
+
/**
|
|
3175
3296
|
* Update the context using a new user configuration options
|
|
3176
3297
|
*
|
|
3177
3298
|
* @param userConfig - The new user configuration options.
|
|
@@ -4656,5 +4777,5 @@ Note: Please ensure the plugin package's default export is a class that extends
|
|
|
4656
4777
|
};
|
|
4657
4778
|
|
|
4658
4779
|
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createLog, extendLog };
|
|
4659
|
-
//# sourceMappingURL=chunk-
|
|
4660
|
-
//# sourceMappingURL=chunk-
|
|
4780
|
+
//# sourceMappingURL=chunk-POZHPFH4.js.map
|
|
4781
|
+
//# sourceMappingURL=chunk-POZHPFH4.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-O2ASVIMW.js';
|
|
2
2
|
import { createRolldownPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var rolldown = createRolldownPlugin(createUnpluginFactory("rolldown"));
|
|
5
5
|
var rolldown_default = rolldown;
|
|
6
6
|
|
|
7
7
|
export { rolldown, rolldown_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-V3433RRZ.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-V3433RRZ.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkCY2P2DU6_cjs = require('./chunk-CY2P2DU6.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var webpack = unplugin.createWebpackPlugin(chunkCY2P2DU6_cjs.createUnpluginFactory("webpack"));
|
|
7
|
+
var webpack_default = webpack;
|
|
8
|
+
|
|
9
|
+
exports.webpack = webpack;
|
|
10
|
+
exports.webpack_default = webpack_default;
|
|
11
|
+
//# sourceMappingURL=chunk-WGXJ6LPR.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-WGXJ6LPR.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkCY2P2DU6_cjs = require('./chunk-CY2P2DU6.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var rolldown = unplugin.createRolldownPlugin(chunkCY2P2DU6_cjs.createUnpluginFactory("rolldown"));
|
|
7
|
+
var rolldown_default = rolldown;
|
|
8
|
+
|
|
9
|
+
exports.rolldown = rolldown;
|
|
10
|
+
exports.rolldown_default = rolldown_default;
|
|
11
|
+
//# sourceMappingURL=chunk-ZDOLHPJF.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-ZDOLHPJF.cjs.map
|
|
@@ -1323,6 +1323,15 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1323
1323
|
* @param options - Additional options for writing the builtin file
|
|
1324
1324
|
*/
|
|
1325
1325
|
emitBuiltin: (code: string, id: string, path?: string, options?: WriteOptions) => Promise<void>;
|
|
1326
|
+
/**
|
|
1327
|
+
* Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
1328
|
+
*
|
|
1329
|
+
* @param code - The source code of the builtin file
|
|
1330
|
+
* @param id - The unique identifier of the builtin file
|
|
1331
|
+
* @param path - An optional path to write the builtin file to
|
|
1332
|
+
* @param options - Additional options for writing the builtin file
|
|
1333
|
+
*/
|
|
1334
|
+
emitBuiltinSync: (code: string, id: string, path?: string, options?: WriteOptions) => void;
|
|
1326
1335
|
/**
|
|
1327
1336
|
* Resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
1328
1337
|
*
|
|
@@ -1331,6 +1340,14 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1331
1340
|
* @param options - Additional options for writing the entry file
|
|
1332
1341
|
*/
|
|
1333
1342
|
emitEntry: (code: string, path: string, options?: EmitEntryOptions) => Promise<void>;
|
|
1343
|
+
/**
|
|
1344
|
+
* Synchronously resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
1345
|
+
*
|
|
1346
|
+
* @param code - The source code of the entry file
|
|
1347
|
+
* @param path - An optional path to write the entry file to
|
|
1348
|
+
* @param options - Additional options for writing the entry file
|
|
1349
|
+
*/
|
|
1350
|
+
emitEntrySync: (code: string, path: string, options?: EmitEntryOptions) => void;
|
|
1334
1351
|
/**
|
|
1335
1352
|
* A function to update the context fields using a new user configuration options
|
|
1336
1353
|
*/
|
|
@@ -1323,6 +1323,15 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1323
1323
|
* @param options - Additional options for writing the builtin file
|
|
1324
1324
|
*/
|
|
1325
1325
|
emitBuiltin: (code: string, id: string, path?: string, options?: WriteOptions) => Promise<void>;
|
|
1326
|
+
/**
|
|
1327
|
+
* Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
1328
|
+
*
|
|
1329
|
+
* @param code - The source code of the builtin file
|
|
1330
|
+
* @param id - The unique identifier of the builtin file
|
|
1331
|
+
* @param path - An optional path to write the builtin file to
|
|
1332
|
+
* @param options - Additional options for writing the builtin file
|
|
1333
|
+
*/
|
|
1334
|
+
emitBuiltinSync: (code: string, id: string, path?: string, options?: WriteOptions) => void;
|
|
1326
1335
|
/**
|
|
1327
1336
|
* Resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
1328
1337
|
*
|
|
@@ -1331,6 +1340,14 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1331
1340
|
* @param options - Additional options for writing the entry file
|
|
1332
1341
|
*/
|
|
1333
1342
|
emitEntry: (code: string, path: string, options?: EmitEntryOptions) => Promise<void>;
|
|
1343
|
+
/**
|
|
1344
|
+
* Synchronously resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
1345
|
+
*
|
|
1346
|
+
* @param code - The source code of the entry file
|
|
1347
|
+
* @param path - An optional path to write the entry file to
|
|
1348
|
+
* @param options - Additional options for writing the entry file
|
|
1349
|
+
*/
|
|
1350
|
+
emitEntrySync: (code: string, path: string, options?: EmitEntryOptions) => void;
|
|
1334
1351
|
/**
|
|
1335
1352
|
* A function to update the context fields using a new user configuration options
|
|
1336
1353
|
*/
|
package/dist/esbuild.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunk2XBYBJR5_cjs = require('./chunk-2XBYBJR5.cjs');
|
|
6
6
|
require('./chunk-QHEKB7RW.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-CY2P2DU6.cjs');
|
|
8
|
+
require('./chunk-BYE57MON.cjs');
|
|
9
9
|
require('./chunk-ZCMOAOQN.cjs');
|
|
10
10
|
require('./chunk-XOMY3USD.cjs');
|
|
11
11
|
require('./chunk-Z6ARQDHR.cjs');
|
|
@@ -15,15 +15,15 @@ require('./chunk-PK6SKIKE.cjs');
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "default", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk2XBYBJR5_cjs.esbuild_default; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "esbuild", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk2XBYBJR5_cjs.esbuild; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "module.exports", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk2XBYBJR5_cjs.esbuild; }
|
|
27
27
|
});
|
|
28
28
|
//# sourceMappingURL=esbuild.cjs.map
|
|
29
29
|
//# sourceMappingURL=esbuild.cjs.map
|
package/dist/esbuild.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _esbuild from 'esbuild';
|
|
2
|
-
import { Z as ESBuildUserConfig } from './context-
|
|
2
|
+
import { Z as ESBuildUserConfig } from './context-BjkbWSEi.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
5
5
|
import '@stryke/types/base';
|
package/dist/esbuild.d.ts
CHANGED
package/dist/esbuild.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { esbuild_default as default, esbuild, esbuild as "module.exports" } from './chunk-
|
|
1
|
+
export { esbuild_default as default, esbuild, esbuild as "module.exports" } from './chunk-NIWBFUD2.js';
|
|
2
2
|
import './chunk-YJWTNJQF.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-O2ASVIMW.js';
|
|
4
|
+
import './chunk-POZHPFH4.js';
|
|
5
5
|
import './chunk-AJPO5EP7.js';
|
|
6
6
|
import './chunk-U2RJRKLT.js';
|
|
7
7
|
import './chunk-2MYPFASJ.js';
|
package/dist/farm.cjs
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunkCY2P2DU6_cjs = require('./chunk-CY2P2DU6.cjs');
|
|
6
|
+
require('./chunk-BYE57MON.cjs');
|
|
7
7
|
require('./chunk-ZCMOAOQN.cjs');
|
|
8
8
|
require('./chunk-XOMY3USD.cjs');
|
|
9
9
|
require('./chunk-Z6ARQDHR.cjs');
|
|
10
10
|
require('./chunk-PK6SKIKE.cjs');
|
|
11
11
|
var unplugin = require('unplugin');
|
|
12
12
|
|
|
13
|
-
var farm = unplugin.createFarmPlugin(
|
|
13
|
+
var farm = unplugin.createFarmPlugin(chunkCY2P2DU6_cjs.createUnpluginFactory("farm"));
|
|
14
14
|
var farm_default = farm;
|
|
15
15
|
|
|
16
16
|
exports.default = farm_default;
|
package/dist/farm.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _farmfe_core from '@farmfe/core';
|
|
2
|
-
import { a2 as FarmUserConfig } from './context-
|
|
2
|
+
import { a2 as FarmUserConfig } from './context-BjkbWSEi.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
5
5
|
import '@stryke/types/base';
|
package/dist/farm.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _farmfe_core from '@farmfe/core';
|
|
2
|
-
import { a2 as FarmUserConfig } from './context-
|
|
2
|
+
import { a2 as FarmUserConfig } from './context-D3mOE_yR.js';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
5
5
|
import '@stryke/types/base';
|
package/dist/farm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-O2ASVIMW.js';
|
|
2
|
+
import './chunk-POZHPFH4.js';
|
|
3
3
|
import './chunk-AJPO5EP7.js';
|
|
4
4
|
import './chunk-U2RJRKLT.js';
|
|
5
5
|
import './chunk-2MYPFASJ.js';
|
package/dist/index.cjs
CHANGED
|
@@ -10,10 +10,10 @@ require('./chunk-IHUNA3MO.cjs');
|
|
|
10
10
|
require('./chunk-YZZUOOPS.cjs');
|
|
11
11
|
require('./chunk-DFLNRC3B.cjs');
|
|
12
12
|
require('./chunk-4JCNAKOE.cjs');
|
|
13
|
-
var
|
|
14
|
-
var
|
|
13
|
+
var chunkPGF6BCY7_cjs = require('./chunk-PGF6BCY7.cjs');
|
|
14
|
+
var chunkA7AUGAHH_cjs = require('./chunk-A7AUGAHH.cjs');
|
|
15
15
|
require('./chunk-XZO6ZJQP.cjs');
|
|
16
|
-
var
|
|
16
|
+
var chunkBYE57MON_cjs = require('./chunk-BYE57MON.cjs');
|
|
17
17
|
var chunkZCMOAOQN_cjs = require('./chunk-ZCMOAOQN.cjs');
|
|
18
18
|
var chunkXOMY3USD_cjs = require('./chunk-XOMY3USD.cjs');
|
|
19
19
|
var chunkZ6ARQDHR_cjs = require('./chunk-Z6ARQDHR.cjs');
|
|
@@ -27,50 +27,54 @@ chunkPK6SKIKE_cjs.__name(defineConfig, "defineConfig");
|
|
|
27
27
|
async function createPowerlines(options = {}) {
|
|
28
28
|
options.root ??= process.cwd();
|
|
29
29
|
const workspaceRoot = getWorkspaceRoot.getWorkspaceRoot(options.root);
|
|
30
|
-
return
|
|
30
|
+
return chunkBYE57MON_cjs.PowerlinesAPI.from(workspaceRoot, options);
|
|
31
31
|
}
|
|
32
32
|
chunkPK6SKIKE_cjs.__name(createPowerlines, "createPowerlines");
|
|
33
|
-
var index_default =
|
|
33
|
+
var index_default = chunkBYE57MON_cjs.PowerlinesAPI;
|
|
34
34
|
|
|
35
35
|
Object.defineProperty(exports, "LogLevel", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkPGF6BCY7_cjs.LogLevel; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "STORAGE_PRESETS", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkA7AUGAHH_cjs.STORAGE_PRESETS; }
|
|
38
42
|
});
|
|
39
43
|
Object.defineProperty(exports, "__VFS_PATCH__", {
|
|
40
44
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkA7AUGAHH_cjs.__VFS_PATCH__; }
|
|
42
46
|
});
|
|
43
47
|
Object.defineProperty(exports, "__VFS_REVERT__", {
|
|
44
48
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkA7AUGAHH_cjs.__VFS_REVERT__; }
|
|
46
50
|
});
|
|
47
51
|
Object.defineProperty(exports, "FileId", {
|
|
48
52
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkBYE57MON_cjs.FileId; }
|
|
50
54
|
});
|
|
51
55
|
Object.defineProperty(exports, "FileMetadata", {
|
|
52
56
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkBYE57MON_cjs.FileMetadata; }
|
|
54
58
|
});
|
|
55
59
|
Object.defineProperty(exports, "FileMetadata_KeyValuePair", {
|
|
56
60
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkBYE57MON_cjs.FileMetadata_KeyValuePair; }
|
|
58
62
|
});
|
|
59
63
|
Object.defineProperty(exports, "FileStorage", {
|
|
60
64
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkBYE57MON_cjs.FileStorage; }
|
|
62
66
|
});
|
|
63
67
|
Object.defineProperty(exports, "FileSystem", {
|
|
64
68
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkBYE57MON_cjs.FileSystem; }
|
|
66
70
|
});
|
|
67
71
|
Object.defineProperty(exports, "PowerlinesAPI", {
|
|
68
72
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkBYE57MON_cjs.PowerlinesAPI; }
|
|
70
74
|
});
|
|
71
75
|
Object.defineProperty(exports, "_capnpFileId", {
|
|
72
76
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkBYE57MON_cjs._capnpFileId; }
|
|
74
78
|
});
|
|
75
79
|
Object.defineProperty(exports, "KNOWN_HOOKS", {
|
|
76
80
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PowerlinesAPI } from './api.cjs';
|
|
2
|
-
import { ag as AnyUserConfig, U as UserConfig } from './context-
|
|
3
|
-
export { b7 as APIContext, B as BabelPluginPass, cv as BabelResolvedConfig, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, G as BabelUserConfig, J as BaseConfig, by as BaseHookKeys, bx as BaseHooks, bE as BaseHooksList, bD as BaseHooksListItem, c1 as BasePluginHookFunctions, ab as BuildInlineConfig, c2 as BuildPlugin, bc as BuildPluginContext, a9 as CleanInlineConfig, C as CommandType, u as Commands, M as CommonUserConfig, af as ConfigEnv, c0 as ConfigResult, b6 as Context, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, H as DeployConfig, ae as DeployInlineConfig, ad as DocsInlineConfig, cD as ESBuildResolvedConfig, Z as ESBuildUserConfig, b4 as EmitEntryOptions, K as EnvironmentConfig, ba as EnvironmentContext, b8 as EnvironmentContextPlugin, cw as EnvironmentResolvedConfig, bA as ExternalHookKeys, bz as ExternalHooks, bF as ExternalHooksListItem, c4 as ExternalPluginHookFunctions, c3 as ExternalPluginHookFunctionsVariant, cJ as FarmResolvedConfig, a2 as FarmUserConfig, b2 as FetchOptions, bC as HookKeys, bB as Hooks, bG as HooksList, I as ImportDefinition, h as ImportSpecifier, bH as InferHookHandler, bJ as InferHookParameters, bI as InferHookReturnType, bK as InferHookThisType, cK as InferResolvedConfig, a3 as InferUserConfig, b1 as InitContextOptions, a4 as InitialUserConfig, a7 as InlineConfig, cb as KNOWN_HOOKS, cd as KNOWN_PLUGIN_FIELDS, cc as KnownHooks, ce as KnownPluginFields, ac as LintInlineConfig, L as LogFn, aV as LogLevel, aX as MetaInfo, N as NamedImportDefinition, a8 as NewInlineConfig, O as OutputConfig, cy as OutputResolvedConfig, c9 as PLUGIN_NON_HOOK_FIELDS, b3 as ParseOptions, a5 as ParsedUserConfig, A as PartialPlugin, E as PartialPluginFactory, c8 as Plugin, c7 as PluginBuildPlugins, z as PluginConfig, y as PluginConfigObject, x as PluginConfigTuple, bb as PluginContext, P as PluginFactory, b_ as PluginHook, c5 as PluginHookFunctions, bZ as PluginHookObject, c6 as PluginHooks, ca as PluginNonHookFields, a6 as PowerlinesCommand, aa as PrepareInlineConfig, F as ProjectType, cx as ResolvedAssetGlob, R as ResolvedBabelTransformPluginOptions, cz as ResolvedConfig, cu as ResolvedEntryTypeDefinition, aY as Resolver, cF as RolldownResolvedConfig, X as RolldownUserConfig, cE as RollupResolvedConfig, V as RollupUserConfig, cC as RspackResolvedConfig, T as RspackUserConfig, S as SUPPORTED_COMMANDS, b0 as SelectHooksOptions, b9 as SelectHooksResult, a_ as SourceFile, aZ as TransformResult, cH as TsdownResolvedConfig, a1 as TsdownUserConfig, cG as TsupResolvedConfig, a0 as TsupUserConfig, b$ as TypesResult, cI as UnbuildResolvedConfig, $ as UnbuildUserConfig, a$ as UnimportContext, b5 as UnresolvedContext, cA as ViteResolvedConfig, Y as ViteUserConfig, cB as WebpackResolvedConfig, Q as WebpackUserConfig, aW as WorkerProcess, W as WorkspaceConfig, br as __ΩAPIContext, aU as __ΩAnyUserConfig, k as __ΩBabelPluginPass, cM as __ΩBabelResolvedConfig, p as __ΩBabelTransformInput, m as __ΩBabelTransformPlugin, r as __ΩBabelTransformPluginBuilder, q as __ΩBabelTransformPluginBuilderParams, l as __ΩBabelTransformPluginFilter, n as __ΩBabelTransformPluginOptions, aq as __ΩBabelUserConfig, at as __ΩBaseConfig, bM as __ΩBaseHookKeys, bL as __ΩBaseHooks, bS as __ΩBaseHooksList, bR as __ΩBaseHooksListItem, cj as __ΩBasePluginHookFunctions, aP as __ΩBuildInlineConfig, ck as __ΩBuildPlugin, bw as __ΩBuildPluginContext, aN as __ΩCleanInlineConfig, v as __ΩCommandType, w as __ΩCommands, av as __ΩCommonUserConfig, aT as __ΩConfigEnv, ci as __ΩConfigResult, bq as __ΩContext, s as __ΩDeclareBabelTransformPluginReturn, i as __ΩDefaultImportDefinition, ar as __ΩDeployConfig, aS as __ΩDeployInlineConfig, aR as __ΩDocsInlineConfig, cU as __ΩESBuildResolvedConfig, aC as __ΩESBuildUserConfig, bo as __ΩEmitEntryOptions, au as __ΩEnvironmentConfig, bu as __ΩEnvironmentContext, bs as __ΩEnvironmentContextPlugin, cN as __ΩEnvironmentResolvedConfig, bO as __ΩExternalHookKeys, bN as __ΩExternalHooks, bT as __ΩExternalHooksListItem, cm as __ΩExternalPluginHookFunctions, cl as __ΩExternalPluginHookFunctionsVariant, c_ as __ΩFarmResolvedConfig, aG as __ΩFarmUserConfig, bm as __ΩFetchOptions, bQ as __ΩHookKeys, bP as __ΩHooks, bU as __ΩHooksList, j as __ΩImportDefinition, t as __ΩImportSpecifier, bV as __ΩInferHookHandler, bX as __ΩInferHookParameters, bW as __ΩInferHookReturnType, bY as __ΩInferHookThisType, c$ as __ΩInferResolvedConfig, aH as __ΩInferUserConfig, bl as __ΩInitContextOptions, aI as __ΩInitialUserConfig, aL as __ΩInlineConfig, cs as __ΩKnownHooks, ct as __ΩKnownPluginFields, aQ as __ΩLintInlineConfig, ah as __ΩLogFn, bd as __ΩLogLevel, bf as __ΩMetaInfo, _ as __ΩNamedImportDefinition, aM as __ΩNewInlineConfig, as as __ΩOutputConfig, cP as __ΩOutputResolvedConfig, bn as __ΩParseOptions, aJ as __ΩParsedUserConfig, an as __ΩPartialPlugin, ao as __ΩPartialPluginFactory, cq as __ΩPlugin, cp as __ΩPluginBuildPlugins, am as __ΩPluginConfig, al as __ΩPluginConfigObject, ak as __ΩPluginConfigTuple, bv as __ΩPluginContext, aj as __ΩPluginFactory, cg as __ΩPluginHook, cn as __ΩPluginHookFunctions, cf as __ΩPluginHookObject, co as __ΩPluginHooks, cr as __ΩPluginNonHookFields, aK as __ΩPowerlinesCommand, aO as __ΩPrepareInlineConfig, ap as __ΩProjectType, cO as __ΩResolvedAssetGlob, o as __ΩResolvedBabelTransformPluginOptions, cQ as __ΩResolvedConfig, cL as __ΩResolvedEntryTypeDefinition, bg as __ΩResolver, cW as __ΩRolldownResolvedConfig, aA as __ΩRolldownUserConfig, cV as __ΩRollupResolvedConfig, az as __ΩRollupUserConfig, cT as __ΩRspackResolvedConfig, ay as __ΩRspackUserConfig, bk as __ΩSelectHooksOptions, bt as __ΩSelectHooksResult, bi as __ΩSourceFile, bh as __ΩTransformResult, cY as __ΩTsdownResolvedConfig, aF as __ΩTsdownUserConfig, cX as __ΩTsupResolvedConfig, aE as __ΩTsupUserConfig, ch as __ΩTypesResult, cZ as __ΩUnbuildResolvedConfig, aD as __ΩUnbuildUserConfig, bj as __ΩUnimportContext, bp as __ΩUnresolvedContext, aw as __ΩUserConfig, cR as __ΩViteResolvedConfig, aB as __ΩViteUserConfig, cS as __ΩWebpackResolvedConfig, ax as __ΩWebpackUserConfig, be as __ΩWorkerProcess, ai as __ΩWorkspaceConfig } from './context-
|
|
2
|
+
import { ag as AnyUserConfig, U as UserConfig } from './context-BjkbWSEi.cjs';
|
|
3
|
+
export { b7 as APIContext, B as BabelPluginPass, cv as BabelResolvedConfig, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, G as BabelUserConfig, J as BaseConfig, by as BaseHookKeys, bx as BaseHooks, bE as BaseHooksList, bD as BaseHooksListItem, c1 as BasePluginHookFunctions, ab as BuildInlineConfig, c2 as BuildPlugin, bc as BuildPluginContext, a9 as CleanInlineConfig, C as CommandType, u as Commands, M as CommonUserConfig, af as ConfigEnv, c0 as ConfigResult, b6 as Context, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, H as DeployConfig, ae as DeployInlineConfig, ad as DocsInlineConfig, cD as ESBuildResolvedConfig, Z as ESBuildUserConfig, b4 as EmitEntryOptions, K as EnvironmentConfig, ba as EnvironmentContext, b8 as EnvironmentContextPlugin, cw as EnvironmentResolvedConfig, bA as ExternalHookKeys, bz as ExternalHooks, bF as ExternalHooksListItem, c4 as ExternalPluginHookFunctions, c3 as ExternalPluginHookFunctionsVariant, cJ as FarmResolvedConfig, a2 as FarmUserConfig, b2 as FetchOptions, bC as HookKeys, bB as Hooks, bG as HooksList, I as ImportDefinition, h as ImportSpecifier, bH as InferHookHandler, bJ as InferHookParameters, bI as InferHookReturnType, bK as InferHookThisType, cK as InferResolvedConfig, a3 as InferUserConfig, b1 as InitContextOptions, a4 as InitialUserConfig, a7 as InlineConfig, cb as KNOWN_HOOKS, cd as KNOWN_PLUGIN_FIELDS, cc as KnownHooks, ce as KnownPluginFields, ac as LintInlineConfig, L as LogFn, aV as LogLevel, aX as MetaInfo, N as NamedImportDefinition, a8 as NewInlineConfig, O as OutputConfig, cy as OutputResolvedConfig, c9 as PLUGIN_NON_HOOK_FIELDS, b3 as ParseOptions, a5 as ParsedUserConfig, A as PartialPlugin, E as PartialPluginFactory, c8 as Plugin, c7 as PluginBuildPlugins, z as PluginConfig, y as PluginConfigObject, x as PluginConfigTuple, bb as PluginContext, P as PluginFactory, b_ as PluginHook, c5 as PluginHookFunctions, bZ as PluginHookObject, c6 as PluginHooks, ca as PluginNonHookFields, a6 as PowerlinesCommand, aa as PrepareInlineConfig, F as ProjectType, cx as ResolvedAssetGlob, R as ResolvedBabelTransformPluginOptions, cz as ResolvedConfig, cu as ResolvedEntryTypeDefinition, aY as Resolver, cF as RolldownResolvedConfig, X as RolldownUserConfig, cE as RollupResolvedConfig, V as RollupUserConfig, cC as RspackResolvedConfig, T as RspackUserConfig, S as SUPPORTED_COMMANDS, b0 as SelectHooksOptions, b9 as SelectHooksResult, a_ as SourceFile, aZ as TransformResult, cH as TsdownResolvedConfig, a1 as TsdownUserConfig, cG as TsupResolvedConfig, a0 as TsupUserConfig, b$ as TypesResult, cI as UnbuildResolvedConfig, $ as UnbuildUserConfig, a$ as UnimportContext, b5 as UnresolvedContext, cA as ViteResolvedConfig, Y as ViteUserConfig, cB as WebpackResolvedConfig, Q as WebpackUserConfig, aW as WorkerProcess, W as WorkspaceConfig, br as __ΩAPIContext, aU as __ΩAnyUserConfig, k as __ΩBabelPluginPass, cM as __ΩBabelResolvedConfig, p as __ΩBabelTransformInput, m as __ΩBabelTransformPlugin, r as __ΩBabelTransformPluginBuilder, q as __ΩBabelTransformPluginBuilderParams, l as __ΩBabelTransformPluginFilter, n as __ΩBabelTransformPluginOptions, aq as __ΩBabelUserConfig, at as __ΩBaseConfig, bM as __ΩBaseHookKeys, bL as __ΩBaseHooks, bS as __ΩBaseHooksList, bR as __ΩBaseHooksListItem, cj as __ΩBasePluginHookFunctions, aP as __ΩBuildInlineConfig, ck as __ΩBuildPlugin, bw as __ΩBuildPluginContext, aN as __ΩCleanInlineConfig, v as __ΩCommandType, w as __ΩCommands, av as __ΩCommonUserConfig, aT as __ΩConfigEnv, ci as __ΩConfigResult, bq as __ΩContext, s as __ΩDeclareBabelTransformPluginReturn, i as __ΩDefaultImportDefinition, ar as __ΩDeployConfig, aS as __ΩDeployInlineConfig, aR as __ΩDocsInlineConfig, cU as __ΩESBuildResolvedConfig, aC as __ΩESBuildUserConfig, bo as __ΩEmitEntryOptions, au as __ΩEnvironmentConfig, bu as __ΩEnvironmentContext, bs as __ΩEnvironmentContextPlugin, cN as __ΩEnvironmentResolvedConfig, bO as __ΩExternalHookKeys, bN as __ΩExternalHooks, bT as __ΩExternalHooksListItem, cm as __ΩExternalPluginHookFunctions, cl as __ΩExternalPluginHookFunctionsVariant, c_ as __ΩFarmResolvedConfig, aG as __ΩFarmUserConfig, bm as __ΩFetchOptions, bQ as __ΩHookKeys, bP as __ΩHooks, bU as __ΩHooksList, j as __ΩImportDefinition, t as __ΩImportSpecifier, bV as __ΩInferHookHandler, bX as __ΩInferHookParameters, bW as __ΩInferHookReturnType, bY as __ΩInferHookThisType, c$ as __ΩInferResolvedConfig, aH as __ΩInferUserConfig, bl as __ΩInitContextOptions, aI as __ΩInitialUserConfig, aL as __ΩInlineConfig, cs as __ΩKnownHooks, ct as __ΩKnownPluginFields, aQ as __ΩLintInlineConfig, ah as __ΩLogFn, bd as __ΩLogLevel, bf as __ΩMetaInfo, _ as __ΩNamedImportDefinition, aM as __ΩNewInlineConfig, as as __ΩOutputConfig, cP as __ΩOutputResolvedConfig, bn as __ΩParseOptions, aJ as __ΩParsedUserConfig, an as __ΩPartialPlugin, ao as __ΩPartialPluginFactory, cq as __ΩPlugin, cp as __ΩPluginBuildPlugins, am as __ΩPluginConfig, al as __ΩPluginConfigObject, ak as __ΩPluginConfigTuple, bv as __ΩPluginContext, aj as __ΩPluginFactory, cg as __ΩPluginHook, cn as __ΩPluginHookFunctions, cf as __ΩPluginHookObject, co as __ΩPluginHooks, cr as __ΩPluginNonHookFields, aK as __ΩPowerlinesCommand, aO as __ΩPrepareInlineConfig, ap as __ΩProjectType, cO as __ΩResolvedAssetGlob, o as __ΩResolvedBabelTransformPluginOptions, cQ as __ΩResolvedConfig, cL as __ΩResolvedEntryTypeDefinition, bg as __ΩResolver, cW as __ΩRolldownResolvedConfig, aA as __ΩRolldownUserConfig, cV as __ΩRollupResolvedConfig, az as __ΩRollupUserConfig, cT as __ΩRspackResolvedConfig, ay as __ΩRspackUserConfig, bk as __ΩSelectHooksOptions, bt as __ΩSelectHooksResult, bi as __ΩSourceFile, bh as __ΩTransformResult, cY as __ΩTsdownResolvedConfig, aF as __ΩTsdownUserConfig, cX as __ΩTsupResolvedConfig, aE as __ΩTsupUserConfig, ch as __ΩTypesResult, cZ as __ΩUnbuildResolvedConfig, aD as __ΩUnbuildUserConfig, bj as __ΩUnimportContext, bp as __ΩUnresolvedContext, aw as __ΩUserConfig, cR as __ΩViteResolvedConfig, aB as __ΩViteUserConfig, cS as __ΩWebpackResolvedConfig, ax as __ΩWebpackUserConfig, be as __ΩWorkerProcess, ai as __ΩWorkspaceConfig } from './context-BjkbWSEi.cjs';
|
|
4
4
|
import * as $ from '@stryke/capnp';
|
|
5
|
-
export { A as API, _ as __ΩAPI } from './api-
|
|
5
|
+
export { A as API, _ as __ΩAPI } from './api-CKsoNfIi.cjs';
|
|
6
6
|
export { BuildConfig, BuildResolvedConfig, BuildVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupBuildOutputConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UNPLUGIN_BUILD_VARIANTS, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuildVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig, __ΩBuildConfig, __ΩBuildResolvedConfig, __ΩBuildVariant, __ΩESBuildBuildConfig, __ΩESBuildResolvedBuildConfig, __ΩFarmBuildConfig, __ΩFarmResolvedBuildConfig, __ΩInferUnpluginVariant, __ΩRolldownBuildConfig, __ΩRolldownResolvedBuildConfig, __ΩRollupBuildConfig, __ΩRollupBuildOutputConfig, __ΩRollupResolvedBuildConfig, __ΩRspackBuildConfig, __ΩRspackResolvedBuildConfig, __ΩTsdownBuildConfig, __ΩTsdownResolvedBuildConfig, __ΩTsupBuildConfig, __ΩTsupResolvedBuildConfig, __ΩUnbuildBuildConfig, __ΩUnbuildResolvedBuildConfig, __ΩUnpluginBuildVariant, __ΩViteBuildConfig, __ΩViteResolvedBuildConfig, __ΩWebpackBuildConfig, __ΩWebpackResolvedBuildConfig } from './types/build.cjs';
|
|
7
|
-
export { ResolveOptions, StorageAdapter, StoragePort, StoragePreset, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WriteData, WriteOptions, __VFS_PATCH__, __VFS_REVERT__, __ΩResolveOptions, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWriteData, __ΩWriteOptions } from './types/fs.cjs';
|
|
7
|
+
export { ResolveOptions, STORAGE_PRESETS, StorageAdapter, StoragePort, StoragePreset, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WriteData, WriteOptions, __VFS_PATCH__, __VFS_REVERT__, __ΩResolveOptions, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWriteData, __ΩWriteOptions } from './types/fs.cjs';
|
|
8
8
|
export { DeepkitOptions, ParsedTypeScriptConfig, RawReflectionMode, ReflectionLevel, ReflectionMode, TSCompilerOptions, TSConfig, __ΩDeepkitOptions, __ΩParsedTypeScriptConfig, __ΩRawReflectionMode, __ΩReflectionLevel, __ΩReflectionMode, __ΩTSCompilerOptions, __ΩTSConfig } from './types/tsconfig.cjs';
|
|
9
9
|
export { MarkdownPageEvent, MarkdownRendererEvent, __ΩMarkdownPageEvent, __ΩMarkdownRendererEvent } from './types/typedoc.cjs';
|
|
10
10
|
export { InferUnpluginOptions, PowerlinesUnpluginFactory, PowerlinesUnpluginOptions, UnpluginUserConfig, __ΩInferUnpluginOptions, __ΩPowerlinesUnpluginFactory, __ΩPowerlinesUnpluginOptions, __ΩUnpluginUserConfig } from './types/unplugin.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PowerlinesAPI } from './api.js';
|
|
2
|
-
import { ag as AnyUserConfig, U as UserConfig } from './context-
|
|
3
|
-
export { b7 as APIContext, B as BabelPluginPass, cv as BabelResolvedConfig, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, G as BabelUserConfig, J as BaseConfig, by as BaseHookKeys, bx as BaseHooks, bE as BaseHooksList, bD as BaseHooksListItem, c1 as BasePluginHookFunctions, ab as BuildInlineConfig, c2 as BuildPlugin, bc as BuildPluginContext, a9 as CleanInlineConfig, C as CommandType, u as Commands, M as CommonUserConfig, af as ConfigEnv, c0 as ConfigResult, b6 as Context, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, H as DeployConfig, ae as DeployInlineConfig, ad as DocsInlineConfig, cD as ESBuildResolvedConfig, Z as ESBuildUserConfig, b4 as EmitEntryOptions, K as EnvironmentConfig, ba as EnvironmentContext, b8 as EnvironmentContextPlugin, cw as EnvironmentResolvedConfig, bA as ExternalHookKeys, bz as ExternalHooks, bF as ExternalHooksListItem, c4 as ExternalPluginHookFunctions, c3 as ExternalPluginHookFunctionsVariant, cJ as FarmResolvedConfig, a2 as FarmUserConfig, b2 as FetchOptions, bC as HookKeys, bB as Hooks, bG as HooksList, I as ImportDefinition, h as ImportSpecifier, bH as InferHookHandler, bJ as InferHookParameters, bI as InferHookReturnType, bK as InferHookThisType, cK as InferResolvedConfig, a3 as InferUserConfig, b1 as InitContextOptions, a4 as InitialUserConfig, a7 as InlineConfig, cb as KNOWN_HOOKS, cd as KNOWN_PLUGIN_FIELDS, cc as KnownHooks, ce as KnownPluginFields, ac as LintInlineConfig, L as LogFn, aV as LogLevel, aX as MetaInfo, N as NamedImportDefinition, a8 as NewInlineConfig, O as OutputConfig, cy as OutputResolvedConfig, c9 as PLUGIN_NON_HOOK_FIELDS, b3 as ParseOptions, a5 as ParsedUserConfig, A as PartialPlugin, E as PartialPluginFactory, c8 as Plugin, c7 as PluginBuildPlugins, z as PluginConfig, y as PluginConfigObject, x as PluginConfigTuple, bb as PluginContext, P as PluginFactory, b_ as PluginHook, c5 as PluginHookFunctions, bZ as PluginHookObject, c6 as PluginHooks, ca as PluginNonHookFields, a6 as PowerlinesCommand, aa as PrepareInlineConfig, F as ProjectType, cx as ResolvedAssetGlob, R as ResolvedBabelTransformPluginOptions, cz as ResolvedConfig, cu as ResolvedEntryTypeDefinition, aY as Resolver, cF as RolldownResolvedConfig, X as RolldownUserConfig, cE as RollupResolvedConfig, V as RollupUserConfig, cC as RspackResolvedConfig, T as RspackUserConfig, S as SUPPORTED_COMMANDS, b0 as SelectHooksOptions, b9 as SelectHooksResult, a_ as SourceFile, aZ as TransformResult, cH as TsdownResolvedConfig, a1 as TsdownUserConfig, cG as TsupResolvedConfig, a0 as TsupUserConfig, b$ as TypesResult, cI as UnbuildResolvedConfig, $ as UnbuildUserConfig, a$ as UnimportContext, b5 as UnresolvedContext, cA as ViteResolvedConfig, Y as ViteUserConfig, cB as WebpackResolvedConfig, Q as WebpackUserConfig, aW as WorkerProcess, W as WorkspaceConfig, br as __ΩAPIContext, aU as __ΩAnyUserConfig, k as __ΩBabelPluginPass, cM as __ΩBabelResolvedConfig, p as __ΩBabelTransformInput, m as __ΩBabelTransformPlugin, r as __ΩBabelTransformPluginBuilder, q as __ΩBabelTransformPluginBuilderParams, l as __ΩBabelTransformPluginFilter, n as __ΩBabelTransformPluginOptions, aq as __ΩBabelUserConfig, at as __ΩBaseConfig, bM as __ΩBaseHookKeys, bL as __ΩBaseHooks, bS as __ΩBaseHooksList, bR as __ΩBaseHooksListItem, cj as __ΩBasePluginHookFunctions, aP as __ΩBuildInlineConfig, ck as __ΩBuildPlugin, bw as __ΩBuildPluginContext, aN as __ΩCleanInlineConfig, v as __ΩCommandType, w as __ΩCommands, av as __ΩCommonUserConfig, aT as __ΩConfigEnv, ci as __ΩConfigResult, bq as __ΩContext, s as __ΩDeclareBabelTransformPluginReturn, i as __ΩDefaultImportDefinition, ar as __ΩDeployConfig, aS as __ΩDeployInlineConfig, aR as __ΩDocsInlineConfig, cU as __ΩESBuildResolvedConfig, aC as __ΩESBuildUserConfig, bo as __ΩEmitEntryOptions, au as __ΩEnvironmentConfig, bu as __ΩEnvironmentContext, bs as __ΩEnvironmentContextPlugin, cN as __ΩEnvironmentResolvedConfig, bO as __ΩExternalHookKeys, bN as __ΩExternalHooks, bT as __ΩExternalHooksListItem, cm as __ΩExternalPluginHookFunctions, cl as __ΩExternalPluginHookFunctionsVariant, c_ as __ΩFarmResolvedConfig, aG as __ΩFarmUserConfig, bm as __ΩFetchOptions, bQ as __ΩHookKeys, bP as __ΩHooks, bU as __ΩHooksList, j as __ΩImportDefinition, t as __ΩImportSpecifier, bV as __ΩInferHookHandler, bX as __ΩInferHookParameters, bW as __ΩInferHookReturnType, bY as __ΩInferHookThisType, c$ as __ΩInferResolvedConfig, aH as __ΩInferUserConfig, bl as __ΩInitContextOptions, aI as __ΩInitialUserConfig, aL as __ΩInlineConfig, cs as __ΩKnownHooks, ct as __ΩKnownPluginFields, aQ as __ΩLintInlineConfig, ah as __ΩLogFn, bd as __ΩLogLevel, bf as __ΩMetaInfo, _ as __ΩNamedImportDefinition, aM as __ΩNewInlineConfig, as as __ΩOutputConfig, cP as __ΩOutputResolvedConfig, bn as __ΩParseOptions, aJ as __ΩParsedUserConfig, an as __ΩPartialPlugin, ao as __ΩPartialPluginFactory, cq as __ΩPlugin, cp as __ΩPluginBuildPlugins, am as __ΩPluginConfig, al as __ΩPluginConfigObject, ak as __ΩPluginConfigTuple, bv as __ΩPluginContext, aj as __ΩPluginFactory, cg as __ΩPluginHook, cn as __ΩPluginHookFunctions, cf as __ΩPluginHookObject, co as __ΩPluginHooks, cr as __ΩPluginNonHookFields, aK as __ΩPowerlinesCommand, aO as __ΩPrepareInlineConfig, ap as __ΩProjectType, cO as __ΩResolvedAssetGlob, o as __ΩResolvedBabelTransformPluginOptions, cQ as __ΩResolvedConfig, cL as __ΩResolvedEntryTypeDefinition, bg as __ΩResolver, cW as __ΩRolldownResolvedConfig, aA as __ΩRolldownUserConfig, cV as __ΩRollupResolvedConfig, az as __ΩRollupUserConfig, cT as __ΩRspackResolvedConfig, ay as __ΩRspackUserConfig, bk as __ΩSelectHooksOptions, bt as __ΩSelectHooksResult, bi as __ΩSourceFile, bh as __ΩTransformResult, cY as __ΩTsdownResolvedConfig, aF as __ΩTsdownUserConfig, cX as __ΩTsupResolvedConfig, aE as __ΩTsupUserConfig, ch as __ΩTypesResult, cZ as __ΩUnbuildResolvedConfig, aD as __ΩUnbuildUserConfig, bj as __ΩUnimportContext, bp as __ΩUnresolvedContext, aw as __ΩUserConfig, cR as __ΩViteResolvedConfig, aB as __ΩViteUserConfig, cS as __ΩWebpackResolvedConfig, ax as __ΩWebpackUserConfig, be as __ΩWorkerProcess, ai as __ΩWorkspaceConfig } from './context-
|
|
2
|
+
import { ag as AnyUserConfig, U as UserConfig } from './context-D3mOE_yR.js';
|
|
3
|
+
export { b7 as APIContext, B as BabelPluginPass, cv as BabelResolvedConfig, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, G as BabelUserConfig, J as BaseConfig, by as BaseHookKeys, bx as BaseHooks, bE as BaseHooksList, bD as BaseHooksListItem, c1 as BasePluginHookFunctions, ab as BuildInlineConfig, c2 as BuildPlugin, bc as BuildPluginContext, a9 as CleanInlineConfig, C as CommandType, u as Commands, M as CommonUserConfig, af as ConfigEnv, c0 as ConfigResult, b6 as Context, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, H as DeployConfig, ae as DeployInlineConfig, ad as DocsInlineConfig, cD as ESBuildResolvedConfig, Z as ESBuildUserConfig, b4 as EmitEntryOptions, K as EnvironmentConfig, ba as EnvironmentContext, b8 as EnvironmentContextPlugin, cw as EnvironmentResolvedConfig, bA as ExternalHookKeys, bz as ExternalHooks, bF as ExternalHooksListItem, c4 as ExternalPluginHookFunctions, c3 as ExternalPluginHookFunctionsVariant, cJ as FarmResolvedConfig, a2 as FarmUserConfig, b2 as FetchOptions, bC as HookKeys, bB as Hooks, bG as HooksList, I as ImportDefinition, h as ImportSpecifier, bH as InferHookHandler, bJ as InferHookParameters, bI as InferHookReturnType, bK as InferHookThisType, cK as InferResolvedConfig, a3 as InferUserConfig, b1 as InitContextOptions, a4 as InitialUserConfig, a7 as InlineConfig, cb as KNOWN_HOOKS, cd as KNOWN_PLUGIN_FIELDS, cc as KnownHooks, ce as KnownPluginFields, ac as LintInlineConfig, L as LogFn, aV as LogLevel, aX as MetaInfo, N as NamedImportDefinition, a8 as NewInlineConfig, O as OutputConfig, cy as OutputResolvedConfig, c9 as PLUGIN_NON_HOOK_FIELDS, b3 as ParseOptions, a5 as ParsedUserConfig, A as PartialPlugin, E as PartialPluginFactory, c8 as Plugin, c7 as PluginBuildPlugins, z as PluginConfig, y as PluginConfigObject, x as PluginConfigTuple, bb as PluginContext, P as PluginFactory, b_ as PluginHook, c5 as PluginHookFunctions, bZ as PluginHookObject, c6 as PluginHooks, ca as PluginNonHookFields, a6 as PowerlinesCommand, aa as PrepareInlineConfig, F as ProjectType, cx as ResolvedAssetGlob, R as ResolvedBabelTransformPluginOptions, cz as ResolvedConfig, cu as ResolvedEntryTypeDefinition, aY as Resolver, cF as RolldownResolvedConfig, X as RolldownUserConfig, cE as RollupResolvedConfig, V as RollupUserConfig, cC as RspackResolvedConfig, T as RspackUserConfig, S as SUPPORTED_COMMANDS, b0 as SelectHooksOptions, b9 as SelectHooksResult, a_ as SourceFile, aZ as TransformResult, cH as TsdownResolvedConfig, a1 as TsdownUserConfig, cG as TsupResolvedConfig, a0 as TsupUserConfig, b$ as TypesResult, cI as UnbuildResolvedConfig, $ as UnbuildUserConfig, a$ as UnimportContext, b5 as UnresolvedContext, cA as ViteResolvedConfig, Y as ViteUserConfig, cB as WebpackResolvedConfig, Q as WebpackUserConfig, aW as WorkerProcess, W as WorkspaceConfig, br as __ΩAPIContext, aU as __ΩAnyUserConfig, k as __ΩBabelPluginPass, cM as __ΩBabelResolvedConfig, p as __ΩBabelTransformInput, m as __ΩBabelTransformPlugin, r as __ΩBabelTransformPluginBuilder, q as __ΩBabelTransformPluginBuilderParams, l as __ΩBabelTransformPluginFilter, n as __ΩBabelTransformPluginOptions, aq as __ΩBabelUserConfig, at as __ΩBaseConfig, bM as __ΩBaseHookKeys, bL as __ΩBaseHooks, bS as __ΩBaseHooksList, bR as __ΩBaseHooksListItem, cj as __ΩBasePluginHookFunctions, aP as __ΩBuildInlineConfig, ck as __ΩBuildPlugin, bw as __ΩBuildPluginContext, aN as __ΩCleanInlineConfig, v as __ΩCommandType, w as __ΩCommands, av as __ΩCommonUserConfig, aT as __ΩConfigEnv, ci as __ΩConfigResult, bq as __ΩContext, s as __ΩDeclareBabelTransformPluginReturn, i as __ΩDefaultImportDefinition, ar as __ΩDeployConfig, aS as __ΩDeployInlineConfig, aR as __ΩDocsInlineConfig, cU as __ΩESBuildResolvedConfig, aC as __ΩESBuildUserConfig, bo as __ΩEmitEntryOptions, au as __ΩEnvironmentConfig, bu as __ΩEnvironmentContext, bs as __ΩEnvironmentContextPlugin, cN as __ΩEnvironmentResolvedConfig, bO as __ΩExternalHookKeys, bN as __ΩExternalHooks, bT as __ΩExternalHooksListItem, cm as __ΩExternalPluginHookFunctions, cl as __ΩExternalPluginHookFunctionsVariant, c_ as __ΩFarmResolvedConfig, aG as __ΩFarmUserConfig, bm as __ΩFetchOptions, bQ as __ΩHookKeys, bP as __ΩHooks, bU as __ΩHooksList, j as __ΩImportDefinition, t as __ΩImportSpecifier, bV as __ΩInferHookHandler, bX as __ΩInferHookParameters, bW as __ΩInferHookReturnType, bY as __ΩInferHookThisType, c$ as __ΩInferResolvedConfig, aH as __ΩInferUserConfig, bl as __ΩInitContextOptions, aI as __ΩInitialUserConfig, aL as __ΩInlineConfig, cs as __ΩKnownHooks, ct as __ΩKnownPluginFields, aQ as __ΩLintInlineConfig, ah as __ΩLogFn, bd as __ΩLogLevel, bf as __ΩMetaInfo, _ as __ΩNamedImportDefinition, aM as __ΩNewInlineConfig, as as __ΩOutputConfig, cP as __ΩOutputResolvedConfig, bn as __ΩParseOptions, aJ as __ΩParsedUserConfig, an as __ΩPartialPlugin, ao as __ΩPartialPluginFactory, cq as __ΩPlugin, cp as __ΩPluginBuildPlugins, am as __ΩPluginConfig, al as __ΩPluginConfigObject, ak as __ΩPluginConfigTuple, bv as __ΩPluginContext, aj as __ΩPluginFactory, cg as __ΩPluginHook, cn as __ΩPluginHookFunctions, cf as __ΩPluginHookObject, co as __ΩPluginHooks, cr as __ΩPluginNonHookFields, aK as __ΩPowerlinesCommand, aO as __ΩPrepareInlineConfig, ap as __ΩProjectType, cO as __ΩResolvedAssetGlob, o as __ΩResolvedBabelTransformPluginOptions, cQ as __ΩResolvedConfig, cL as __ΩResolvedEntryTypeDefinition, bg as __ΩResolver, cW as __ΩRolldownResolvedConfig, aA as __ΩRolldownUserConfig, cV as __ΩRollupResolvedConfig, az as __ΩRollupUserConfig, cT as __ΩRspackResolvedConfig, ay as __ΩRspackUserConfig, bk as __ΩSelectHooksOptions, bt as __ΩSelectHooksResult, bi as __ΩSourceFile, bh as __ΩTransformResult, cY as __ΩTsdownResolvedConfig, aF as __ΩTsdownUserConfig, cX as __ΩTsupResolvedConfig, aE as __ΩTsupUserConfig, ch as __ΩTypesResult, cZ as __ΩUnbuildResolvedConfig, aD as __ΩUnbuildUserConfig, bj as __ΩUnimportContext, bp as __ΩUnresolvedContext, aw as __ΩUserConfig, cR as __ΩViteResolvedConfig, aB as __ΩViteUserConfig, cS as __ΩWebpackResolvedConfig, ax as __ΩWebpackUserConfig, be as __ΩWorkerProcess, ai as __ΩWorkspaceConfig } from './context-D3mOE_yR.js';
|
|
4
4
|
import * as $ from '@stryke/capnp';
|
|
5
|
-
export { A as API, _ as __ΩAPI } from './api-
|
|
5
|
+
export { A as API, _ as __ΩAPI } from './api-DF6OX-CP.js';
|
|
6
6
|
export { BuildConfig, BuildResolvedConfig, BuildVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupBuildOutputConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UNPLUGIN_BUILD_VARIANTS, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuildVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig, __ΩBuildConfig, __ΩBuildResolvedConfig, __ΩBuildVariant, __ΩESBuildBuildConfig, __ΩESBuildResolvedBuildConfig, __ΩFarmBuildConfig, __ΩFarmResolvedBuildConfig, __ΩInferUnpluginVariant, __ΩRolldownBuildConfig, __ΩRolldownResolvedBuildConfig, __ΩRollupBuildConfig, __ΩRollupBuildOutputConfig, __ΩRollupResolvedBuildConfig, __ΩRspackBuildConfig, __ΩRspackResolvedBuildConfig, __ΩTsdownBuildConfig, __ΩTsdownResolvedBuildConfig, __ΩTsupBuildConfig, __ΩTsupResolvedBuildConfig, __ΩUnbuildBuildConfig, __ΩUnbuildResolvedBuildConfig, __ΩUnpluginBuildVariant, __ΩViteBuildConfig, __ΩViteResolvedBuildConfig, __ΩWebpackBuildConfig, __ΩWebpackResolvedBuildConfig } from './types/build.js';
|
|
7
|
-
export { ResolveOptions, StorageAdapter, StoragePort, StoragePreset, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WriteData, WriteOptions, __VFS_PATCH__, __VFS_REVERT__, __ΩResolveOptions, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWriteData, __ΩWriteOptions } from './types/fs.js';
|
|
7
|
+
export { ResolveOptions, STORAGE_PRESETS, StorageAdapter, StoragePort, StoragePreset, VirtualFile, VirtualFileData, VirtualFileExtension, VirtualFileMetadata, VirtualFileSystemInterface, WriteData, WriteOptions, __VFS_PATCH__, __VFS_REVERT__, __ΩResolveOptions, __ΩStorageAdapter, __ΩStoragePort, __ΩStoragePreset, __ΩVirtualFile, __ΩVirtualFileData, __ΩVirtualFileExtension, __ΩVirtualFileMetadata, __ΩVirtualFileSystemInterface, __ΩWriteData, __ΩWriteOptions } from './types/fs.js';
|
|
8
8
|
export { DeepkitOptions, ParsedTypeScriptConfig, RawReflectionMode, ReflectionLevel, ReflectionMode, TSCompilerOptions, TSConfig, __ΩDeepkitOptions, __ΩParsedTypeScriptConfig, __ΩRawReflectionMode, __ΩReflectionLevel, __ΩReflectionMode, __ΩTSCompilerOptions, __ΩTSConfig } from './types/tsconfig.js';
|
|
9
9
|
export { MarkdownPageEvent, MarkdownRendererEvent, __ΩMarkdownPageEvent, __ΩMarkdownRendererEvent } from './types/typedoc.js';
|
|
10
10
|
export { InferUnpluginOptions, PowerlinesUnpluginFactory, PowerlinesUnpluginOptions, UnpluginUserConfig, __ΩInferUnpluginOptions, __ΩPowerlinesUnpluginFactory, __ΩPowerlinesUnpluginOptions, __ΩUnpluginUserConfig } from './types/unplugin.js';
|
package/dist/index.js
CHANGED
|
@@ -6,11 +6,11 @@ import './chunk-AFJCY3R6.js';
|
|
|
6
6
|
import './chunk-PCCFAZML.js';
|
|
7
7
|
import './chunk-GIE6OE3X.js';
|
|
8
8
|
import './chunk-OYASPHNL.js';
|
|
9
|
-
export { LogLevel } from './chunk-
|
|
10
|
-
export { __VFS_PATCH__, __VFS_REVERT__ } from './chunk-
|
|
9
|
+
export { LogLevel } from './chunk-L2PNHKJM.js';
|
|
10
|
+
export { STORAGE_PRESETS, __VFS_PATCH__, __VFS_REVERT__ } from './chunk-KXRVVFNK.js';
|
|
11
11
|
import './chunk-HJW7OH6E.js';
|
|
12
|
-
import { PowerlinesAPI } from './chunk-
|
|
13
|
-
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId } from './chunk-
|
|
12
|
+
import { PowerlinesAPI } from './chunk-POZHPFH4.js';
|
|
13
|
+
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId } from './chunk-POZHPFH4.js';
|
|
14
14
|
export { KNOWN_HOOKS, KNOWN_PLUGIN_FIELDS, PLUGIN_NON_HOOK_FIELDS } from './chunk-AJPO5EP7.js';
|
|
15
15
|
export { UNPLUGIN_BUILD_VARIANTS } from './chunk-U2RJRKLT.js';
|
|
16
16
|
export { SUPPORTED_COMMANDS } from './chunk-2MYPFASJ.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MaybePromise } from '@stryke/types/base';
|
|
2
|
-
import { S as SelectHooksOptions, g as ResolvedConfig, A as APIContext, J as PrepareInlineConfig, N as NewInlineConfig, K as CleanInlineConfig, O as BuildInlineConfig, Q as LintInlineConfig, X as DocsInlineConfig, Y as DeployInlineConfig, n as HookKeys, i as PluginContext, l as EnvironmentContext, u as InferHookParameters, v as InferHookReturnType } from './config-
|
|
2
|
+
import { S as SelectHooksOptions, g as ResolvedConfig, A as APIContext, J as PrepareInlineConfig, N as NewInlineConfig, K as CleanInlineConfig, O as BuildInlineConfig, Q as LintInlineConfig, X as DocsInlineConfig, Y as DeployInlineConfig, n as HookKeys, i as PluginContext, l as EnvironmentContext, u as InferHookParameters, v as InferHookReturnType } from './config-BJy0qydr.js';
|
|
3
3
|
|
|
4
4
|
type CallHookOptions = SelectHooksOptions & (({
|
|
5
5
|
/**
|