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
|
@@ -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-D2hB4lan.cjs';
|
|
3
3
|
|
|
4
4
|
type CallHookOptions = SelectHooksOptions & (({
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BuildOptions } from 'esbuild';
|
|
2
|
-
import { E as ESBuildResolvedBuildConfig, C as Context, R as ResolvedEntryTypeDefinition } from '../config-
|
|
2
|
+
import { E as ESBuildResolvedBuildConfig, C as Context, R as ResolvedEntryTypeDefinition } from '../config-D2hB4lan.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.cjs';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BuildOptions } from 'esbuild';
|
|
2
|
-
import { E as ESBuildResolvedBuildConfig, C as Context, R as ResolvedEntryTypeDefinition } from '../config-
|
|
2
|
+
import { E as ESBuildResolvedBuildConfig, C as Context, R as ResolvedEntryTypeDefinition } from '../config-BJy0qydr.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.js';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.js';
|
|
@@ -8,7 +8,7 @@ export { DEFAULT_UNBUILD_CONFIG, extractUnbuildConfig, unbuildLoader } from './u
|
|
|
8
8
|
export { DEFAULT_VITE_CONFIG, extractViteConfig } from './vite.cjs';
|
|
9
9
|
export { extractWebpackConfig } from './webpack.cjs';
|
|
10
10
|
import 'esbuild';
|
|
11
|
-
import '../config-
|
|
11
|
+
import '../config-D2hB4lan.cjs';
|
|
12
12
|
import '@storm-software/build-tools/types';
|
|
13
13
|
import '@storm-software/config-tools/types';
|
|
14
14
|
import '@storm-software/config/types';
|
|
@@ -37,11 +37,11 @@ import 'semver';
|
|
|
37
37
|
import 'ts-morph';
|
|
38
38
|
import 'undici';
|
|
39
39
|
import 'unplugin';
|
|
40
|
-
import '../fs-
|
|
40
|
+
import '../fs-DkLcPGg-.cjs';
|
|
41
41
|
import '@stryke/fs/resolve';
|
|
42
42
|
import '@stryke/types/array';
|
|
43
43
|
import '../tsconfig-Bz-CiFqD.cjs';
|
|
44
44
|
import '@stryke/types/tsconfig';
|
|
45
45
|
import 'typescript';
|
|
46
|
-
import '../internal-
|
|
47
|
-
import '../api-
|
|
46
|
+
import '../internal-V6kgm5vH.cjs';
|
|
47
|
+
import '../api-tl-yvTre.cjs';
|
|
@@ -8,7 +8,7 @@ export { DEFAULT_UNBUILD_CONFIG, extractUnbuildConfig, unbuildLoader } from './u
|
|
|
8
8
|
export { DEFAULT_VITE_CONFIG, extractViteConfig } from './vite.js';
|
|
9
9
|
export { extractWebpackConfig } from './webpack.js';
|
|
10
10
|
import 'esbuild';
|
|
11
|
-
import '../config-
|
|
11
|
+
import '../config-BJy0qydr.js';
|
|
12
12
|
import '@storm-software/build-tools/types';
|
|
13
13
|
import '@storm-software/config-tools/types';
|
|
14
14
|
import '@storm-software/config/types';
|
|
@@ -37,11 +37,11 @@ import 'semver';
|
|
|
37
37
|
import 'ts-morph';
|
|
38
38
|
import 'undici';
|
|
39
39
|
import 'unplugin';
|
|
40
|
-
import '../fs-
|
|
40
|
+
import '../fs-DkLcPGg-.js';
|
|
41
41
|
import '@stryke/fs/resolve';
|
|
42
42
|
import '@stryke/types/array';
|
|
43
43
|
import '../tsconfig-Bz-CiFqD.js';
|
|
44
44
|
import '@stryke/types/tsconfig';
|
|
45
45
|
import 'typescript';
|
|
46
|
-
import '../internal-
|
|
47
|
-
import '../api-
|
|
46
|
+
import '../internal-CksJ16ez.js';
|
|
47
|
+
import '../api-U9jjf5ZI.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Context, b as RolldownResolvedBuildConfig } from '../config-
|
|
1
|
+
import { C as Context, b as RolldownResolvedBuildConfig } from '../config-D2hB4lan.cjs';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.cjs';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Context, b as RolldownResolvedBuildConfig } from '../config-
|
|
1
|
+
import { C as Context, b as RolldownResolvedBuildConfig } from '../config-BJy0qydr.js';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.js';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Plugin } from 'rollup';
|
|
2
|
-
import { C as Context, c as RollupResolvedBuildConfig } from '../config-
|
|
2
|
+
import { C as Context, c as RollupResolvedBuildConfig } from '../config-D2hB4lan.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.cjs';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Plugin } from 'rollup';
|
|
2
|
-
import { C as Context, c as RollupResolvedBuildConfig } from '../config-
|
|
2
|
+
import { C as Context, c as RollupResolvedBuildConfig } from '../config-BJy0qydr.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.js';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Configuration } from '@rspack/core';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } from '../config-D2hB4lan.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.cjs';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Configuration } from '@rspack/core';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } from '../config-BJy0qydr.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.js';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Format } from '@storm-software/build-tools/types';
|
|
2
2
|
import { Format as Format$1 } from 'tsdown';
|
|
3
|
-
import { T as TsdownResolvedBuildConfig, C as Context } from '../config-
|
|
3
|
+
import { T as TsdownResolvedBuildConfig, C as Context } from '../config-D2hB4lan.cjs';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
6
6
|
import '@stryke/types/base';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.cjs';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Format } from '@storm-software/build-tools/types';
|
|
2
2
|
import { Format as Format$1 } from 'tsdown';
|
|
3
|
-
import { T as TsdownResolvedBuildConfig, C as Context } from '../config-
|
|
3
|
+
import { T as TsdownResolvedBuildConfig, C as Context } from '../config-BJy0qydr.js';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
6
6
|
import '@stryke/types/base';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.js';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Entry } from '@storm-software/build-tools/types';
|
|
2
|
-
import { d as TsupBuildConfig, C as Context, R as ResolvedEntryTypeDefinition, e as TsupResolvedBuildConfig } from '../config-
|
|
2
|
+
import { d as TsupBuildConfig, C as Context, R as ResolvedEntryTypeDefinition, e as TsupResolvedBuildConfig } from '../config-D2hB4lan.cjs';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
5
5
|
import '@stryke/types/base';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.cjs';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.cjs';
|
package/dist/lib/build/tsup.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Entry } from '@storm-software/build-tools/types';
|
|
2
|
-
import { d as TsupBuildConfig, C as Context, R as ResolvedEntryTypeDefinition, e as TsupResolvedBuildConfig } from '../config-
|
|
2
|
+
import { d as TsupBuildConfig, C as Context, R as ResolvedEntryTypeDefinition, e as TsupResolvedBuildConfig } from '../config-BJy0qydr.js';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
5
5
|
import '@stryke/types/base';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.js';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Loader } from '@storm-software/unbuild/types';
|
|
2
|
-
import { U as UnbuildBuildConfig, C as Context, f as UnbuildResolvedBuildConfig } from '../config-
|
|
3
|
-
import { U as UNSAFE_PluginContext } from '../internal-
|
|
2
|
+
import { U as UnbuildBuildConfig, C as Context, f as UnbuildResolvedBuildConfig } from '../config-D2hB4lan.cjs';
|
|
3
|
+
import { U as UNSAFE_PluginContext } from '../internal-V6kgm5vH.cjs';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
6
6
|
import '@storm-software/config/types';
|
|
@@ -29,13 +29,13 @@ import 'semver';
|
|
|
29
29
|
import 'ts-morph';
|
|
30
30
|
import 'undici';
|
|
31
31
|
import 'unplugin';
|
|
32
|
-
import '../fs-
|
|
32
|
+
import '../fs-DkLcPGg-.cjs';
|
|
33
33
|
import '@stryke/fs/resolve';
|
|
34
34
|
import '@stryke/types/array';
|
|
35
35
|
import '../tsconfig-Bz-CiFqD.cjs';
|
|
36
36
|
import '@stryke/types/tsconfig';
|
|
37
37
|
import 'typescript';
|
|
38
|
-
import '../api-
|
|
38
|
+
import '../api-tl-yvTre.cjs';
|
|
39
39
|
|
|
40
40
|
declare const DEFAULT_UNBUILD_CONFIG: Partial<UnbuildBuildConfig>;
|
|
41
41
|
declare const unbuildLoader: (context: UNSAFE_PluginContext) => Loader;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Loader } from '@storm-software/unbuild/types';
|
|
2
|
-
import { U as UnbuildBuildConfig, C as Context, f as UnbuildResolvedBuildConfig } from '../config-
|
|
3
|
-
import { U as UNSAFE_PluginContext } from '../internal-
|
|
2
|
+
import { U as UnbuildBuildConfig, C as Context, f as UnbuildResolvedBuildConfig } from '../config-BJy0qydr.js';
|
|
3
|
+
import { U as UNSAFE_PluginContext } from '../internal-CksJ16ez.js';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
6
6
|
import '@storm-software/config/types';
|
|
@@ -29,13 +29,13 @@ import 'semver';
|
|
|
29
29
|
import 'ts-morph';
|
|
30
30
|
import 'undici';
|
|
31
31
|
import 'unplugin';
|
|
32
|
-
import '../fs-
|
|
32
|
+
import '../fs-DkLcPGg-.js';
|
|
33
33
|
import '@stryke/fs/resolve';
|
|
34
34
|
import '@stryke/types/array';
|
|
35
35
|
import '../tsconfig-Bz-CiFqD.js';
|
|
36
36
|
import '@stryke/types/tsconfig';
|
|
37
37
|
import 'typescript';
|
|
38
|
-
import '../api-
|
|
38
|
+
import '../api-U9jjf5ZI.js';
|
|
39
39
|
|
|
40
40
|
declare const DEFAULT_UNBUILD_CONFIG: Partial<UnbuildBuildConfig>;
|
|
41
41
|
declare const unbuildLoader: (context: UNSAFE_PluginContext) => Loader;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as ViteResolvedBuildConfig, C as Context } from '../config-
|
|
1
|
+
import { V as ViteResolvedBuildConfig, C as Context } from '../config-D2hB4lan.cjs';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.cjs';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.cjs';
|
package/dist/lib/build/vite.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as ViteResolvedBuildConfig, C as Context } from '../config-
|
|
1
|
+
import { V as ViteResolvedBuildConfig, C as Context } from '../config-BJy0qydr.js';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.js';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Configuration } from 'webpack';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } from '../config-D2hB4lan.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.cjs';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Configuration } from 'webpack';
|
|
2
|
-
import { C as Context } from '../config-
|
|
2
|
+
import { C as Context } from '../config-BJy0qydr.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -28,7 +28,7 @@ import 'semver';
|
|
|
28
28
|
import 'ts-morph';
|
|
29
29
|
import 'undici';
|
|
30
30
|
import 'unplugin';
|
|
31
|
-
import '../fs-
|
|
31
|
+
import '../fs-DkLcPGg-.js';
|
|
32
32
|
import '@stryke/fs/resolve';
|
|
33
33
|
import '@stryke/types/array';
|
|
34
34
|
import '../tsconfig-Bz-CiFqD.js';
|
|
@@ -19,6 +19,13 @@ var BaseStorageAdapter = class {
|
|
|
19
19
|
*/
|
|
20
20
|
options;
|
|
21
21
|
/**
|
|
22
|
+
* The storage preset for the adapter.
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
26
|
+
*/
|
|
27
|
+
preset = null;
|
|
28
|
+
/**
|
|
22
29
|
* Constructor for the BaseStorageAdapter.
|
|
23
30
|
*
|
|
24
31
|
* @param options - Configuration options for the storage adapter.
|
|
@@ -200,5 +207,5 @@ var BaseStorageAdapter = class {
|
|
|
200
207
|
};
|
|
201
208
|
|
|
202
209
|
exports.BaseStorageAdapter = BaseStorageAdapter;
|
|
203
|
-
//# sourceMappingURL=chunk-
|
|
204
|
-
//# sourceMappingURL=chunk-
|
|
210
|
+
//# sourceMappingURL=chunk-4LHV7MWI.cjs.map
|
|
211
|
+
//# sourceMappingURL=chunk-4LHV7MWI.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/lib/fs/storage/base.ts"],"names":["BaseStorageAdapter","options","preset","base","resolve","isReadOnly","exists","key","existsSync","get","getSync","set","value","setSync","mkdirSync","_","mkdir","dirPath","Promise","remove","removeSync","clearSync","keys","listSync","length","map","startsWith","joinPaths","clear","list","all","isDirectorySync","isDirectory","isFileSync","isFile","dispose","Symbol","asyncDispose","_dispose","test","Error","name","JSON","stringify","appendPath","correctPath","replace"],"mappings":"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","file":"chunk-4LHV7MWI.cjs","sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { appendPath } from \"@stryke/path/append\";\nimport { correctPath } from \"@stryke/path/correct-path\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport { MaybePromise } from \"@stryke/types/base\";\nimport { resolve } from \"node:path\";\nimport { StorageAdapter, StoragePreset } from \"../../../types/fs\";\n\nexport interface StorageAdapterOptions {\n base: string;\n isReadOnly?: boolean;\n ignore?: string | string[];\n}\n\n/**\n * Abstract base class for storage adapters, providing a template for storage operations.\n */\nexport abstract class BaseStorageAdapter<\n TOptions extends StorageAdapterOptions = StorageAdapterOptions\n> implements StorageAdapter {\n /**\n * Indicates whether the storage adapter has been disposed.\n */\n #isDisposed = false;\n\n /**\n * A name identifying the storage adapter type.\n */\n public abstract name: string;\n\n /**\n * Configuration options for the storage adapter.\n */\n public options: TOptions;\n\n /**\n * The storage preset for the adapter.\n *\n * @remarks\n * This can be used as an alternate way to identify the type of storage being used.\n */\n public readonly preset?: StoragePreset | null = null;\n\n /**\n * Constructor for the BaseStorageAdapter.\n *\n * @param options - Configuration options for the storage adapter.\n */\n public constructor(options: TOptions = { base: \"/\" } as TOptions) {\n this.options = options;\n this.options.base = resolve(options.base);\n this.options.isReadOnly = !!options.isReadOnly;\n }\n\n /**\n * Synchronously checks if a key exists in the storage.\n *\n * @param key - The key to check for existence.\n * @returns Returns `true` if the key exists, otherwise `false`.\n */\n public abstract existsSync(key: string): boolean;\n\n /**\n * Asynchronously checks if a key exists in the storage.\n *\n * @param key - The key to check for existence.\n * @returns A promise that resolves to `true` if the key exists, otherwise `false`.\n */\n public async exists(key: string): Promise<boolean> {\n return this.existsSync(key);\n }\n\n /**\n * Synchronously retrieves the value associated with a given key.\n *\n * @param key - The key whose value is to be retrieved.\n * @returns The value associated with the key, or `null` if the key does not exist.\n */\n public abstract getSync(key: string): string | null;\n\n /**\n * Asynchronously retrieves the value associated with a given key.\n *\n * @param key - The key whose value is to be retrieved.\n * @returns A promise that resolves to the value associated with the key, or `null` if the key does not exist.\n */\n public async get(key: string): Promise<string | null> {\n return this.getSync(key);\n }\n\n /**\n * Synchronously sets the value for a given key.\n *\n * @param key - The key to set the value for.\n * @param value - The value to set.\n */\n public abstract setSync(key: string, value: string): void;\n\n /**\n * Asynchronously sets the value for a given key.\n *\n * @param key - The key to set the value for.\n * @param value - The value to set.\n */\n public async set(key: string, value: string): Promise<void> {\n if (!this.options.isReadOnly) {\n this.setSync(key, value);\n }\n }\n\n /**\n * Synchronously creates a directory at the specified path.\n *\n * @param _ - The path of the directory to create.\n */\n public mkdirSync(_: string) {}\n\n /**\n * Creates a directory at the specified path.\n *\n * @param dirPath - The path of the directory to create.\n */\n public async mkdir(dirPath: string): Promise<void> {\n return Promise.resolve(this.mkdirSync(dirPath));\n }\n\n /**\n * Synchronously removes a key from the storage.\n *\n * @param key - The key to remove.\n */\n public abstract removeSync(key: string): void;\n\n /**\n * Asynchronously removes a key from the storage.\n *\n * @param key - The key to remove.\n */\n public async remove(key: string): Promise<void> {\n if (!this.options.isReadOnly) {\n this.removeSync(key);\n }\n }\n\n /**\n * Synchronously removes all entries from the storage that match the provided base path.\n *\n * @param base - The base path to clear keys from.\n */\n public clearSync(base?: string) {\n if (!this.options.isReadOnly) {\n const keys = this.listSync(base || this.options.base);\n if (!keys.length) {\n return;\n }\n\n keys.map(key =>\n this.removeSync(\n base && !key.startsWith(base) ? joinPaths(base, key) : key\n )\n );\n }\n }\n\n /**\n * Asynchronously removes all entries from the storage that match the provided base path.\n *\n * @param base - The base path to clear keys from.\n * @returns A promise that resolves when the operation is complete.\n */\n public async clear(base?: string): Promise<void> {\n if (!this.options.isReadOnly) {\n const keys = await this.list(base || this.options.base);\n if (!keys.length) {\n return;\n }\n\n await Promise.all(\n keys.map(async key =>\n this.remove(\n base && !key.startsWith(base) ? joinPaths(base, key) : key\n )\n )\n );\n }\n }\n\n /**\n * Lists all keys under a given base path synchronously.\n *\n * @param base - The base path to list keys from.\n * @returns An array of keys under the specified base path.\n */\n public abstract listSync(base?: string): string[];\n\n /**\n * Asynchronously lists all keys under a given base path.\n *\n * @param base - The base path to list keys from.\n * @returns A promise that resolves to an array of keys under the specified base path.\n */\n public async list(base?: string): Promise<string[]> {\n return this.listSync(base);\n }\n\n /**\n * Synchronously checks if the given key is a directory.\n *\n * @param _ - The key to check.\n * @returns `true` if the key is a directory, otherwise `false`.\n */\n public isDirectorySync(_: string): boolean {\n return false;\n }\n\n /**\n * Checks if the given key is a directory.\n *\n * @param key - The key to check.\n * @returns A promise that resolves to `true` if the key is a directory, otherwise `false`.\n */\n public async isDirectory(key: string) {\n return Promise.resolve(this.isDirectorySync(key));\n }\n\n /**\n * Synchronously checks if the given key is a file.\n *\n * @param key - The key to check.\n * @returns `true` if the key is a file, otherwise `false`.\n */\n public isFileSync(key: string): boolean {\n return this.existsSync(key) && !this.isDirectorySync(key);\n }\n\n /**\n * Checks if the given key is a file.\n *\n * @param key - The key to check.\n * @returns A promise that resolves to `true` if the key is a file, otherwise `false`.\n */\n public async isFile(key: string) {\n return Promise.resolve(this.isFileSync(key));\n }\n\n /**\n * Disposes of the storage adapter, releasing any held resources.\n *\n * @returns A promise that resolves when the disposal is complete.\n */\n public dispose(): MaybePromise<void> {\n return Promise.resolve();\n }\n\n /**\n * Async dispose method to clean up resources.\n *\n * @returns A promise that resolves when disposal is complete.\n */\n public async [Symbol.asyncDispose]() {\n return this._dispose();\n }\n\n /**\n * Resolves a given key to its full path within the storage adapter.\n *\n * @param key - The key to resolve.\n * @returns The resolved full path for the key.\n */\n protected resolve(key: string = this.options.base) {\n if (/\\.\\.:|\\.\\.$/.test(key)) {\n throw new Error(\n `[${this.name}]: Invalid key: ${JSON.stringify(key)} provided to storage adapter.`\n );\n }\n\n return appendPath(correctPath(key).replace(/:/g, \"/\"), this.options.base);\n }\n\n /**\n * Disposes of the storage adapter, releasing any held resources.\n *\n * @returns A promise that resolves when the disposal is complete.\n */\n protected async _dispose(): Promise<void> {\n if (!this.#isDisposed) {\n await Promise.resolve(this.dispose());\n this.#isDisposed = true;\n }\n }\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getFileHeader } from './chunk-7R23HVGQ.js';
|
|
2
|
-
import { PowerlinesAPIContext } from './chunk-
|
|
3
|
-
import { isPluginConfig, findInvalidPluginConfig, isPlugin, isPluginConfigTuple, isPluginConfigObject, checkDedupe } from './chunk-
|
|
2
|
+
import { PowerlinesAPIContext } from './chunk-AD7VZMXQ.js';
|
|
3
|
+
import { isPluginConfig, findInvalidPluginConfig, isPlugin, isPluginConfigTuple, isPluginConfigObject, checkDedupe } from './chunk-INNJR7XT.js';
|
|
4
4
|
import { writeMetaFile } from './chunk-45D4XIOK.js';
|
|
5
5
|
import { createProgram } from './chunk-ZLWW2MXD.js';
|
|
6
6
|
import { isIncludeMatchFound, getParsedTypeScriptConfig, getTsconfigFilePath } from './chunk-FPFPUYXS.js';
|
|
@@ -47,8 +47,7 @@ function resolveModulePath(nodePath, state) {
|
|
|
47
47
|
if (!t.isStringLiteral(nodePath.node)) {
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
|
-
const
|
|
51
|
-
const resolvedPath = state.context?.fs.resolveSync(sourcePath);
|
|
50
|
+
const resolvedPath = state.context?.fs.resolveSync(nodePath.node.value);
|
|
52
51
|
if (resolvedPath) {
|
|
53
52
|
nodePath.replaceWith(t.stringLiteral(
|
|
54
53
|
// Remove the file extension if it exists
|
|
@@ -1211,5 +1210,5 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
1211
1210
|
__name(createUnpluginFactory, "createUnpluginFactory");
|
|
1212
1211
|
|
|
1213
1212
|
export { createUnpluginFactory };
|
|
1214
|
-
//# sourceMappingURL=chunk-
|
|
1215
|
-
//# sourceMappingURL=chunk-
|
|
1213
|
+
//# sourceMappingURL=chunk-5UUCSS3L.js.map
|
|
1214
|
+
//# sourceMappingURL=chunk-5UUCSS3L.js.map
|