powerlines 0.37.82 → 0.37.84
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-_4a_8i2y.d.ts → api-Clpz1e13.d.ts} +0 -10
- package/dist/{api-r5K-Tp5J.d.cts → api-CrU5zuH-.d.cts} +0 -10
- package/dist/api.cjs +2 -2
- package/dist/api.d.cts +1 -2
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -1
- package/dist/astro.cjs +4 -4
- package/dist/astro.d.cts +1 -2
- package/dist/astro.d.ts +1 -2
- package/dist/astro.js +3 -3
- package/dist/{chunk-EGXHWOU7.js → chunk-24LULSR6.js} +3 -3
- package/dist/{chunk-VVRPAVZ3.js → chunk-AYK5D77O.js} +3 -3
- package/dist/{chunk-GTHGARTU.js → chunk-GV4VSFXJ.js} +27 -34
- package/dist/{chunk-IJHFDVCH.js → chunk-J36FKXQ7.js} +3 -3
- package/dist/{chunk-5GA6SAAB.cjs → chunk-JD2KMGV2.cjs} +5 -5
- package/dist/{chunk-OXBESUXN.js → chunk-KFW3KAYS.js} +3 -3
- package/dist/{chunk-OXOK6ITS.cjs → chunk-MXBGUJ2Z.cjs} +4 -4
- package/dist/{chunk-YXG53QZU.js → chunk-NC7JBF4D.js} +3 -3
- package/dist/{chunk-EBYEDKXZ.cjs → chunk-PIIIBYL4.cjs} +26 -33
- package/dist/{chunk-WRLNYZWM.cjs → chunk-STK6R54Z.cjs} +4 -4
- package/dist/chunk-XBLEZU5T.cjs +12 -0
- package/dist/chunk-Z4YUZYOZ.cjs +12 -0
- package/dist/esbuild.cjs +6 -6
- package/dist/esbuild.d.cts +1 -2
- package/dist/esbuild.d.ts +1 -2
- package/dist/esbuild.js +3 -3
- package/dist/farm.cjs +3 -3
- package/dist/farm.d.cts +1 -2
- package/dist/farm.d.ts +1 -2
- package/dist/farm.js +2 -2
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -2
- package/dist/lib/build/esbuild.d.cts +1 -2
- package/dist/lib/build/esbuild.d.ts +1 -2
- package/dist/lib/build/index.cjs +23 -23
- package/dist/lib/build/index.d.cts +2 -3
- package/dist/lib/build/index.d.ts +2 -3
- package/dist/lib/build/index.js +4 -4
- package/dist/lib/build/rolldown.d.cts +1 -2
- package/dist/lib/build/rolldown.d.ts +1 -2
- package/dist/lib/build/rollup.d.cts +1 -2
- package/dist/lib/build/rollup.d.ts +1 -2
- package/dist/lib/build/rspack.d.cts +1 -2
- package/dist/lib/build/rspack.d.ts +1 -2
- package/dist/lib/build/tsdown.d.cts +1 -2
- package/dist/lib/build/tsdown.d.ts +1 -2
- package/dist/lib/build/tsup.d.cts +1 -2
- package/dist/lib/build/tsup.d.ts +1 -2
- package/dist/lib/build/unbuild.cjs +5 -5
- package/dist/lib/build/unbuild.d.cts +2 -3
- package/dist/lib/build/unbuild.d.ts +2 -3
- package/dist/lib/build/unbuild.js +2 -2
- package/dist/lib/build/vite.d.cts +1 -2
- package/dist/lib/build/vite.d.ts +1 -2
- package/dist/lib/build/webpack.d.cts +1 -2
- package/dist/lib/build/webpack.d.ts +1 -2
- package/dist/lib/{chunk-A5GGPSZN.cjs → chunk-2ZIVKAVD.cjs} +3 -3
- package/dist/lib/{chunk-A5GGPSZN.cjs.map → chunk-2ZIVKAVD.cjs.map} +1 -1
- package/dist/lib/{chunk-O4AP43V4.cjs → chunk-4BKCXQ2D.cjs} +22 -4
- package/dist/lib/chunk-4BKCXQ2D.cjs.map +1 -0
- package/dist/lib/{chunk-TB7QT2XK.cjs → chunk-5CIG6LKU.cjs} +7 -25
- package/dist/lib/chunk-5CIG6LKU.cjs.map +1 -0
- package/dist/lib/{chunk-7HK6R2RT.cjs → chunk-5KXYUAY6.cjs} +19 -19
- package/dist/lib/{chunk-7HK6R2RT.cjs.map → chunk-5KXYUAY6.cjs.map} +1 -1
- package/dist/lib/{chunk-YUOLWFTZ.js → chunk-6FBHHFOA.js} +3 -3
- package/dist/lib/{chunk-YUOLWFTZ.js.map → chunk-6FBHHFOA.js.map} +1 -1
- package/dist/lib/{chunk-HWDUPXOD.js → chunk-77RVPW3P.js} +3 -3
- package/dist/lib/{chunk-HWDUPXOD.js.map → chunk-77RVPW3P.js.map} +1 -1
- package/dist/lib/{chunk-GQS477VE.cjs → chunk-7LXSRT7X.cjs} +24 -32
- package/dist/lib/chunk-7LXSRT7X.cjs.map +1 -0
- package/dist/lib/{chunk-GFCKAZDK.cjs → chunk-D6L3RB7C.cjs} +6 -6
- package/dist/lib/{chunk-GFCKAZDK.cjs.map → chunk-D6L3RB7C.cjs.map} +1 -1
- package/dist/lib/{chunk-WVZB4DA6.cjs → chunk-DV3X3SRW.cjs} +4 -4
- package/dist/lib/{chunk-WVZB4DA6.cjs.map → chunk-DV3X3SRW.cjs.map} +1 -1
- package/dist/lib/{chunk-SQPAA6DI.js → chunk-EPV2TYC2.js} +23 -5
- package/dist/lib/chunk-EPV2TYC2.js.map +1 -0
- package/dist/lib/{chunk-CBHVU6IH.js → chunk-FA573JJB.js} +4 -4
- package/dist/lib/{chunk-CBHVU6IH.js.map → chunk-FA573JJB.js.map} +1 -1
- package/dist/lib/{chunk-P3TXTTKR.js → chunk-FGEQ33HD.js} +3 -3
- package/dist/lib/{chunk-P3TXTTKR.js.map → chunk-FGEQ33HD.js.map} +1 -1
- package/dist/lib/{chunk-U7NQ33EH.cjs → chunk-LEHNEPEZ.cjs} +3 -3
- package/dist/lib/{chunk-U7NQ33EH.cjs.map → chunk-LEHNEPEZ.cjs.map} +1 -1
- package/dist/lib/{chunk-HCUQDOIR.js → chunk-OTNB226Z.js} +3 -3
- package/dist/lib/{chunk-HCUQDOIR.js.map → chunk-OTNB226Z.js.map} +1 -1
- package/dist/lib/{chunk-QD2M3F45.js → chunk-S5KX26VU.js} +13 -21
- package/dist/lib/chunk-S5KX26VU.js.map +1 -0
- package/dist/lib/{chunk-I4R3GS72.cjs → chunk-TKX3HE56.cjs} +4 -4
- package/dist/lib/{chunk-I4R3GS72.cjs.map → chunk-TKX3HE56.cjs.map} +1 -1
- package/dist/lib/{chunk-R7KW232T.js → chunk-W6YUVDST.js} +5 -23
- package/dist/lib/chunk-W6YUVDST.js.map +1 -0
- package/dist/lib/{chunk-TTOGNM76.js → chunk-WEFFMHJA.js} +3 -3
- package/dist/lib/{chunk-TTOGNM76.js.map → chunk-WEFFMHJA.js.map} +1 -1
- package/dist/lib/{config--ekzFC3S.d.ts → config-Bo7eA5LV.d.ts} +1 -11
- package/dist/lib/{config-D92g0Fhx.d.cts → config-Dj-Q1-Yq.d.cts} +1 -11
- package/dist/lib/config-file.d.cts +1 -2
- package/dist/lib/config-file.d.ts +1 -2
- package/dist/lib/contexts/api-context.cjs +10 -11
- package/dist/lib/contexts/api-context.d.cts +2 -3
- package/dist/lib/contexts/api-context.d.ts +2 -3
- package/dist/lib/contexts/api-context.js +9 -10
- package/dist/lib/contexts/context.cjs +6 -7
- package/dist/lib/contexts/context.d.cts +2 -12
- package/dist/lib/contexts/context.d.ts +2 -12
- package/dist/lib/contexts/context.js +5 -6
- package/dist/lib/contexts/environment-context.cjs +8 -9
- package/dist/lib/contexts/environment-context.d.cts +2 -3
- package/dist/lib/contexts/environment-context.d.ts +2 -3
- package/dist/lib/contexts/environment-context.js +7 -8
- package/dist/lib/contexts/index.cjs +15 -16
- package/dist/lib/contexts/index.d.cts +2 -3
- package/dist/lib/contexts/index.d.ts +2 -3
- package/dist/lib/contexts/index.js +9 -10
- package/dist/lib/contexts/plugin-context.d.cts +2 -3
- package/dist/lib/contexts/plugin-context.d.ts +2 -3
- package/dist/lib/entry.d.cts +1 -2
- package/dist/lib/entry.d.ts +1 -2
- package/dist/lib/fs/index.cjs +3 -3
- package/dist/lib/fs/index.d.cts +1 -2
- package/dist/lib/fs/index.d.ts +1 -2
- package/dist/lib/fs/index.js +2 -2
- package/dist/lib/fs/vfs.cjs +3 -3
- package/dist/lib/fs/vfs.d.cts +1 -2
- package/dist/lib/fs/vfs.d.ts +1 -2
- package/dist/lib/fs/vfs.js +2 -2
- package/dist/lib/index.cjs +93 -93
- package/dist/lib/index.d.cts +3 -3
- package/dist/lib/index.d.ts +3 -3
- package/dist/lib/index.js +21 -21
- package/dist/lib/{internal-B3YQRdeF.d.cts → internal-Bfn5LoeG.d.cts} +2 -2
- package/dist/lib/{internal-B5C9mkvt.d.ts → internal-CUUe31Of.d.ts} +2 -2
- package/dist/lib/logger.d.cts +1 -2
- package/dist/lib/logger.d.ts +1 -2
- package/dist/lib/typescript/import-transformer.d.cts +1 -2
- package/dist/lib/typescript/import-transformer.d.ts +1 -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 +1 -1
- package/dist/lib/typescript/ts-morph.d.ts +1 -1
- package/dist/lib/unplugin/factory.cjs +13 -13
- package/dist/lib/unplugin/factory.d.cts +1 -2
- package/dist/lib/unplugin/factory.d.ts +1 -2
- package/dist/lib/unplugin/factory.js +12 -12
- package/dist/lib/unplugin/helpers.d.cts +1 -2
- package/dist/lib/unplugin/helpers.d.ts +1 -2
- package/dist/lib/unplugin/index.cjs +16 -16
- package/dist/lib/unplugin/index.d.cts +1 -2
- package/dist/lib/unplugin/index.d.ts +1 -2
- package/dist/lib/unplugin/index.js +13 -13
- package/dist/lib/unplugin/module-resolution.d.cts +1 -2
- package/dist/lib/unplugin/module-resolution.d.ts +1 -2
- package/dist/lib/unplugin/plugin.cjs +4 -4
- package/dist/lib/unplugin/plugin.d.cts +1 -2
- package/dist/lib/unplugin/plugin.d.ts +1 -2
- package/dist/lib/unplugin/plugin.js +2 -2
- package/dist/lib/utilities/bundle.cjs +6 -6
- package/dist/lib/utilities/bundle.d.cts +1 -2
- package/dist/lib/utilities/bundle.d.ts +1 -2
- package/dist/lib/utilities/bundle.js +5 -5
- package/dist/lib/utilities/cache.d.cts +1 -2
- package/dist/lib/utilities/cache.d.ts +1 -2
- package/dist/lib/utilities/file-header.d.cts +1 -2
- package/dist/lib/utilities/file-header.d.ts +1 -2
- package/dist/lib/utilities/format.d.cts +1 -2
- package/dist/lib/utilities/format.d.ts +1 -2
- package/dist/lib/utilities/index.cjs +20 -20
- package/dist/lib/utilities/index.d.cts +1 -2
- package/dist/lib/utilities/index.d.ts +1 -2
- package/dist/lib/utilities/index.js +6 -6
- package/dist/lib/utilities/meta.d.cts +1 -2
- package/dist/lib/utilities/meta.d.ts +1 -2
- package/dist/lib/utilities/resolve.cjs +7 -7
- package/dist/lib/utilities/resolve.d.cts +1 -2
- package/dist/lib/utilities/resolve.d.ts +1 -2
- package/dist/lib/utilities/resolve.js +6 -6
- package/dist/lib/utilities/source-file.d.cts +1 -2
- package/dist/lib/utilities/source-file.d.ts +1 -2
- package/dist/lib/utilities/source-map.d.cts +1 -2
- package/dist/lib/utilities/source-map.d.ts +1 -2
- package/dist/lib/utilities/worker.d.cts +1 -2
- package/dist/lib/utilities/worker.d.ts +1 -2
- package/dist/lib/utilities/write-file.d.cts +1 -2
- package/dist/lib/utilities/write-file.d.ts +1 -2
- package/dist/next.cjs +4 -4
- package/dist/next.js +3 -3
- package/dist/nuxt.cjs +8 -8
- package/dist/nuxt.d.cts +1 -2
- package/dist/nuxt.d.ts +1 -2
- package/dist/nuxt.js +4 -4
- package/dist/plugin-utils/{context-J8ksSpjo.d.ts → context-DjmXV_AJ.d.cts} +0 -10
- package/dist/plugin-utils/{context-J8ksSpjo.d.cts → context-DjmXV_AJ.d.ts} +0 -10
- package/dist/plugin-utils/context-helpers.d.cts +1 -2
- package/dist/plugin-utils/context-helpers.d.ts +1 -2
- package/dist/plugin-utils/enforce.d.cts +1 -2
- package/dist/plugin-utils/enforce.d.ts +1 -2
- package/dist/plugin-utils/extend.d.cts +1 -2
- package/dist/plugin-utils/extend.d.ts +1 -2
- package/dist/plugin-utils/get-config-path.d.cts +1 -2
- package/dist/plugin-utils/get-config-path.d.ts +1 -2
- package/dist/plugin-utils/helpers.d.cts +1 -2
- package/dist/plugin-utils/helpers.d.ts +1 -2
- package/dist/plugin-utils/index.d.cts +1 -2
- package/dist/plugin-utils/index.d.ts +1 -2
- package/dist/plugin-utils/merge.d.cts +1 -2
- package/dist/plugin-utils/merge.d.ts +1 -2
- package/dist/plugin-utils/modules.d.cts +1 -2
- package/dist/plugin-utils/modules.d.ts +1 -2
- package/dist/plugin-utils/paths.d.cts +1 -2
- package/dist/plugin-utils/paths.d.ts +1 -2
- package/dist/rolldown.cjs +6 -6
- package/dist/rolldown.d.cts +1 -2
- package/dist/rolldown.d.ts +1 -2
- package/dist/rolldown.js +3 -3
- package/dist/rollup.cjs +3 -3
- package/dist/rollup.d.cts +1 -2
- package/dist/rollup.d.ts +1 -2
- package/dist/rollup.js +2 -2
- package/dist/rspack.cjs +3 -3
- package/dist/rspack.d.cts +1 -2
- package/dist/rspack.d.ts +1 -2
- 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 +1 -2
- package/dist/types/api.d.ts +1 -2
- package/dist/types/babel.d.cts +1 -2
- package/dist/types/babel.d.ts +1 -2
- package/dist/types/commands.d.cts +1 -2
- package/dist/types/commands.d.ts +1 -2
- package/dist/types/config.d.cts +1 -2
- package/dist/types/config.d.ts +1 -2
- package/dist/types/context.d.cts +1 -2
- package/dist/types/context.d.ts +1 -2
- package/dist/types/hooks.d.cts +1 -2
- package/dist/types/hooks.d.ts +1 -2
- package/dist/types/index.d.cts +1 -2
- package/dist/types/index.d.ts +1 -2
- package/dist/types/internal.d.cts +1 -2
- package/dist/types/internal.d.ts +1 -2
- package/dist/types/plugin.d.cts +1 -2
- package/dist/types/plugin.d.ts +1 -2
- package/dist/types/resolved.d.cts +1 -2
- package/dist/types/resolved.d.ts +1 -2
- package/dist/types/unplugin.d.cts +1 -2
- package/dist/types/unplugin.d.ts +1 -2
- package/dist/unloader.cjs +3 -3
- package/dist/unloader.d.cts +1 -2
- package/dist/unloader.d.ts +1 -2
- package/dist/unloader.js +2 -2
- package/dist/unplugin.cjs +9 -9
- package/dist/unplugin.d.cts +1 -2
- package/dist/unplugin.d.ts +1 -2
- package/dist/unplugin.js +4 -4
- package/dist/vite.cjs +6 -6
- package/dist/vite.d.cts +1 -2
- package/dist/vite.d.ts +1 -2
- package/dist/vite.js +3 -3
- package/dist/webpack.cjs +6 -6
- package/dist/webpack.d.cts +1 -2
- package/dist/webpack.d.ts +1 -2
- package/dist/webpack.js +3 -3
- package/package.json +2 -2
- package/dist/chunk-BD7SND5O.cjs +0 -12
- package/dist/chunk-PA23LLHI.cjs +0 -12
- package/dist/lib/chunk-GQS477VE.cjs.map +0 -1
- package/dist/lib/chunk-O4AP43V4.cjs.map +0 -1
- package/dist/lib/chunk-QD2M3F45.js.map +0 -1
- package/dist/lib/chunk-R7KW232T.js.map +0 -1
- package/dist/lib/chunk-SQPAA6DI.js.map +0 -1
- package/dist/lib/chunk-TB7QT2XK.cjs.map +0 -1
|
@@ -7,7 +7,6 @@ import { Jiti } from 'jiti';
|
|
|
7
7
|
import MagicString, { SourceMap } from 'magic-string';
|
|
8
8
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
9
9
|
import { Range } from 'semver';
|
|
10
|
-
import { Project } from 'ts-morph';
|
|
11
10
|
import { RequestInfo, Response } from 'undici';
|
|
12
11
|
import { Unimport } from 'unimport';
|
|
13
12
|
import { UnpluginOptions as UnpluginOptions$1, HookFilter, UnpluginContextMeta, TransformResult as TransformResult$1, ExternalIdResult, UnpluginMessage, UnpluginBuildContext, UnpluginContext } from 'unplugin';
|
|
@@ -1233,15 +1232,6 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1233
1232
|
* This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
|
|
1234
1233
|
*/
|
|
1235
1234
|
alias: Record<string, string>;
|
|
1236
|
-
/**
|
|
1237
|
-
* The {@link Project} instance used for type reflection and module manipulation
|
|
1238
|
-
*
|
|
1239
|
-
* @see https://ts-morph.com/
|
|
1240
|
-
*
|
|
1241
|
-
* @remarks
|
|
1242
|
-
* This instance is created lazily on first access.
|
|
1243
|
-
*/
|
|
1244
|
-
program: Project;
|
|
1245
1235
|
/**
|
|
1246
1236
|
* A function to perform HTTP fetch requests
|
|
1247
1237
|
*
|
|
@@ -7,7 +7,6 @@ import { Jiti } from 'jiti';
|
|
|
7
7
|
import MagicString, { SourceMap } from 'magic-string';
|
|
8
8
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
9
9
|
import { Range } from 'semver';
|
|
10
|
-
import { Project } from 'ts-morph';
|
|
11
10
|
import { RequestInfo, Response } from 'undici';
|
|
12
11
|
import { Unimport } from 'unimport';
|
|
13
12
|
import { UnpluginOptions as UnpluginOptions$1, HookFilter, UnpluginContextMeta, TransformResult as TransformResult$1, ExternalIdResult, UnpluginMessage, UnpluginBuildContext, UnpluginContext } from 'unplugin';
|
|
@@ -1233,15 +1232,6 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1233
1232
|
* This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
|
|
1234
1233
|
*/
|
|
1235
1234
|
alias: Record<string, string>;
|
|
1236
|
-
/**
|
|
1237
|
-
* The {@link Project} instance used for type reflection and module manipulation
|
|
1238
|
-
*
|
|
1239
|
-
* @see https://ts-morph.com/
|
|
1240
|
-
*
|
|
1241
|
-
* @remarks
|
|
1242
|
-
* This instance is created lazily on first access.
|
|
1243
|
-
*/
|
|
1244
|
-
program: Project;
|
|
1245
1235
|
/**
|
|
1246
1236
|
* A function to perform HTTP fetch requests
|
|
1247
1237
|
*
|
package/dist/api.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPIIIBYL4_cjs = require('./chunk-PIIIBYL4.cjs');
|
|
4
4
|
require('./chunk-B6DVCLP5.cjs');
|
|
5
5
|
require('./chunk-V5WOGN7O.cjs');
|
|
6
6
|
require('./chunk-Z6ARQDHR.cjs');
|
|
@@ -10,7 +10,7 @@ require('./chunk-PK6SKIKE.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "PowerlinesAPI", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkPIIIBYL4_cjs.PowerlinesAPI; }
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=api.cjs.map
|
|
16
16
|
//# sourceMappingURL=api.cjs.map
|
package/dist/api.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { az as ResolvedConfig, A as API, a as APIContext, _ as InitialUserConfig, av as PrepareInlineConfig, a6 as NewInlineConfig, C as CleanInlineConfig, l as BuildInlineConfig, a1 as LintInlineConfig, v as DocsInlineConfig, u as DeployInlineConfig, d7 as CallHookOptions, F as EnvironmentContext, S as InferHookParameters, aj as PluginContext, R as InferHookFunction } from './api-
|
|
1
|
+
import { az as ResolvedConfig, A as API, a as APIContext, _ as InitialUserConfig, av as PrepareInlineConfig, a6 as NewInlineConfig, C as CleanInlineConfig, l as BuildInlineConfig, a1 as LintInlineConfig, v as DocsInlineConfig, u as DeployInlineConfig, d7 as CallHookOptions, F as EnvironmentContext, S as InferHookParameters, aj as PluginContext, R as InferHookFunction } from './api-CrU5zuH-.cjs';
|
|
2
2
|
import '@stryke/types/base';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
@@ -8,7 +8,6 @@ import 'jiti';
|
|
|
8
8
|
import 'magic-string';
|
|
9
9
|
import 'oxc-parser';
|
|
10
10
|
import 'semver';
|
|
11
|
-
import 'ts-morph';
|
|
12
11
|
import 'undici';
|
|
13
12
|
import 'unimport';
|
|
14
13
|
import 'unplugin';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { az as ResolvedConfig, A as API, a as APIContext, _ as InitialUserConfig, av as PrepareInlineConfig, a6 as NewInlineConfig, C as CleanInlineConfig, l as BuildInlineConfig, a1 as LintInlineConfig, v as DocsInlineConfig, u as DeployInlineConfig, d7 as CallHookOptions, F as EnvironmentContext, S as InferHookParameters, aj as PluginContext, R as InferHookFunction } from './api-
|
|
1
|
+
import { az as ResolvedConfig, A as API, a as APIContext, _ as InitialUserConfig, av as PrepareInlineConfig, a6 as NewInlineConfig, C as CleanInlineConfig, l as BuildInlineConfig, a1 as LintInlineConfig, v as DocsInlineConfig, u as DeployInlineConfig, d7 as CallHookOptions, F as EnvironmentContext, S as InferHookParameters, aj as PluginContext, R as InferHookFunction } from './api-Clpz1e13.js';
|
|
2
2
|
import '@stryke/types/base';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
@@ -8,7 +8,6 @@ import 'jiti';
|
|
|
8
8
|
import 'magic-string';
|
|
9
9
|
import 'oxc-parser';
|
|
10
10
|
import 'semver';
|
|
11
|
-
import 'ts-morph';
|
|
12
11
|
import 'undici';
|
|
13
12
|
import 'unimport';
|
|
14
13
|
import 'unplugin';
|
package/dist/api.js
CHANGED
package/dist/astro.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkMXBGUJ2Z_cjs = require('./chunk-MXBGUJ2Z.cjs');
|
|
6
6
|
require('./chunk-HDHABS4U.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-JD2KMGV2.cjs');
|
|
8
|
+
require('./chunk-PIIIBYL4.cjs');
|
|
9
9
|
require('./chunk-B6DVCLP5.cjs');
|
|
10
10
|
require('./chunk-V5WOGN7O.cjs');
|
|
11
11
|
require('./chunk-Z6ARQDHR.cjs');
|
|
@@ -15,7 +15,7 @@ var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
|
15
15
|
var astro = /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((config) => ({
|
|
16
16
|
vite: {
|
|
17
17
|
plugins: [
|
|
18
|
-
|
|
18
|
+
chunkMXBGUJ2Z_cjs.vite_default(config)
|
|
19
19
|
]
|
|
20
20
|
}
|
|
21
21
|
}), "astro");
|
package/dist/astro.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import { b4 as ViteResolvedConfig } from './api-
|
|
2
|
+
import { b4 as ViteResolvedConfig } from './api-CrU5zuH-.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/http/fetch';
|
|
@@ -9,7 +9,6 @@ import 'jiti';
|
|
|
9
9
|
import 'magic-string';
|
|
10
10
|
import 'oxc-parser';
|
|
11
11
|
import 'semver';
|
|
12
|
-
import 'ts-morph';
|
|
13
12
|
import 'undici';
|
|
14
13
|
import 'unimport';
|
|
15
14
|
import 'unplugin';
|
package/dist/astro.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import { b4 as ViteResolvedConfig } from './api-
|
|
2
|
+
import { b4 as ViteResolvedConfig } from './api-Clpz1e13.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/http/fetch';
|
|
@@ -9,7 +9,6 @@ import 'jiti';
|
|
|
9
9
|
import 'magic-string';
|
|
10
10
|
import 'oxc-parser';
|
|
11
11
|
import 'semver';
|
|
12
|
-
import 'ts-morph';
|
|
13
12
|
import 'undici';
|
|
14
13
|
import 'unimport';
|
|
15
14
|
import 'unplugin';
|
package/dist/astro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { vite_default } from './chunk-
|
|
1
|
+
import { vite_default } from './chunk-J36FKXQ7.js';
|
|
2
2
|
import './chunk-HLCQIZKK.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-NC7JBF4D.js';
|
|
4
|
+
import './chunk-GV4VSFXJ.js';
|
|
5
5
|
import './chunk-PQXP7XQK.js';
|
|
6
6
|
import './chunk-NITQ5IYP.js';
|
|
7
7
|
import './chunk-2MYPFASJ.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-HLCQIZKK.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-NC7JBF4D.js';
|
|
3
3
|
import { __name } from './chunk-7QVYU63E.js';
|
|
4
4
|
import { isUndefined } from '@stryke/type-checks/is-undefined';
|
|
5
5
|
import { createEsbuildPlugin } from 'unplugin';
|
|
@@ -29,5 +29,5 @@ var esbuild = createEsbuildPlugin(createUnpluginFactory("esbuild", (api, plugin)
|
|
|
29
29
|
var esbuild_default = esbuild;
|
|
30
30
|
|
|
31
31
|
export { esbuild, esbuild_default };
|
|
32
|
-
//# sourceMappingURL=chunk-
|
|
33
|
-
//# sourceMappingURL=chunk-
|
|
32
|
+
//# sourceMappingURL=chunk-24LULSR6.js.map
|
|
33
|
+
//# sourceMappingURL=chunk-24LULSR6.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-NC7JBF4D.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-AYK5D77O.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-AYK5D77O.js.map
|
|
@@ -27,7 +27,7 @@ import Handlebars from 'handlebars';
|
|
|
27
27
|
import { declare } from '@babel/helper-plugin-utils';
|
|
28
28
|
import * as t from '@babel/types';
|
|
29
29
|
import { hasFileExtension, findFilePath, findFileName, findFileExtensionSafe, findFileDotExtensionSafe, relativePath } from '@stryke/path/file-path-fns';
|
|
30
|
-
import { isAbsolutePath
|
|
30
|
+
import { isAbsolutePath } from '@stryke/path/is-type';
|
|
31
31
|
import { isParentPath } from '@stryke/path/is-parent-path';
|
|
32
32
|
import { prettyBytes } from '@stryke/string-format/pretty-bytes';
|
|
33
33
|
import { InMemoryFileSystemHost, Project, DiagnosticCategory } from 'ts-morph';
|
|
@@ -81,7 +81,7 @@ import '@stryke/fs/remove-file';
|
|
|
81
81
|
|
|
82
82
|
// package.json
|
|
83
83
|
var name = "powerlines";
|
|
84
|
-
var version = "0.37.
|
|
84
|
+
var version = "0.37.83";
|
|
85
85
|
var package_default = {
|
|
86
86
|
version};
|
|
87
87
|
|
|
@@ -304,19 +304,11 @@ __name(createProgram, "createProgram");
|
|
|
304
304
|
// src/internal/helpers/generate-types.ts
|
|
305
305
|
var getModuleCommentBlockRegex = /* @__PURE__ */ __name((moduleId) => new RegExp(`\\/\\*\\*(?s:.)*?@module\\s+${moduleId}(?s:.)*?\\*\\/\\s+`), "getModuleCommentBlockRegex");
|
|
306
306
|
function formatTypes(code) {
|
|
307
|
-
|
|
307
|
+
return code.replace(
|
|
308
308
|
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
309
|
-
/import\s*(?:type\s*)?\{?[\w,\s]*(?:\}\s*)?from\s*(?:'|")@?[a-zA-Z0-9-\\/.]*(?:'|");?/g
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
const importModule = importStatement.replace(/.*from\s*['"]/, "").replace(/['"];?$/, "");
|
|
313
|
-
if (!isRelativePath(importModule) && !ret.includes(importModule)) {
|
|
314
|
-
ret.push(importModule);
|
|
315
|
-
}
|
|
316
|
-
return ret;
|
|
317
|
-
}, []).map((directive) => `/// <reference types="${directive}" />`).join("\n")}
|
|
318
|
-
|
|
319
|
-
${imports.reduce((ret, importStatement) => ret.replace(importStatement, ""), code).replaceAll("#private;", "").replace(/__Ω/g, "").trim()}`;
|
|
309
|
+
/import\s*(?:type\s*)?\{?[\w,\s]*(?:\}\s*)?from\s*(?:'|")@?[a-zA-Z0-9-\\/.]*(?:'|");?/g,
|
|
310
|
+
""
|
|
311
|
+
).replaceAll("#private;", "").replace(/__Ω/g, "");
|
|
320
312
|
}
|
|
321
313
|
__name(formatTypes, "formatTypes");
|
|
322
314
|
async function emitBuiltinTypes(context, files) {
|
|
@@ -2473,7 +2465,25 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2473
2465
|
code = await format(this.#normalizePath(path), data);
|
|
2474
2466
|
}
|
|
2475
2467
|
} catch (err) {
|
|
2476
|
-
|
|
2468
|
+
if ([
|
|
2469
|
+
"js",
|
|
2470
|
+
"ts",
|
|
2471
|
+
"cjs",
|
|
2472
|
+
"cts",
|
|
2473
|
+
"mjs",
|
|
2474
|
+
"mts",
|
|
2475
|
+
"tsx",
|
|
2476
|
+
"jsx",
|
|
2477
|
+
"json",
|
|
2478
|
+
"json5",
|
|
2479
|
+
"jsonc",
|
|
2480
|
+
"md",
|
|
2481
|
+
"mdx"
|
|
2482
|
+
].includes(findFileExtensionSafe(path, {
|
|
2483
|
+
fullExtension: true
|
|
2484
|
+
}))) {
|
|
2485
|
+
this.#log(LogLevelLabel.WARN, `Failed to format file ${this.#normalizePath(path)} before writing: ${err.message}`);
|
|
2486
|
+
}
|
|
2477
2487
|
code = data;
|
|
2478
2488
|
}
|
|
2479
2489
|
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$1(toArray(code)).size)})`);
|
|
@@ -2838,7 +2848,6 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2838
2848
|
#timestamp = Date.now();
|
|
2839
2849
|
#fs;
|
|
2840
2850
|
#tsconfig;
|
|
2841
|
-
#program;
|
|
2842
2851
|
#parserCache;
|
|
2843
2852
|
#requestCache;
|
|
2844
2853
|
#getConfigProps(config = {}) {
|
|
@@ -3128,22 +3137,6 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3128
3137
|
}, {}) : this.config.build.alias : {});
|
|
3129
3138
|
}
|
|
3130
3139
|
/**
|
|
3131
|
-
* The {@link Project} instance used for type reflection and module manipulation
|
|
3132
|
-
*
|
|
3133
|
-
* @see https://ts-morph.com/
|
|
3134
|
-
*
|
|
3135
|
-
* @remarks
|
|
3136
|
-
* This instance is created lazily on first access.
|
|
3137
|
-
*/
|
|
3138
|
-
get program() {
|
|
3139
|
-
if (!this.#program) {
|
|
3140
|
-
this.#program = createProgram(this, {
|
|
3141
|
-
skipAddingFilesFromTsConfig: true
|
|
3142
|
-
});
|
|
3143
|
-
}
|
|
3144
|
-
return this.#program;
|
|
3145
|
-
}
|
|
3146
|
-
/**
|
|
3147
3140
|
* Gets the parser cache.
|
|
3148
3141
|
*/
|
|
3149
3142
|
get parserCache() {
|
|
@@ -5108,5 +5101,5 @@ Note: Please ensure the plugin package's default export is a class that extends
|
|
|
5108
5101
|
};
|
|
5109
5102
|
|
|
5110
5103
|
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, combineContexts, createLog, extendLog, isUnpluginBuilderVariant, name, version };
|
|
5111
|
-
//# sourceMappingURL=chunk-
|
|
5112
|
-
//# sourceMappingURL=chunk-
|
|
5104
|
+
//# sourceMappingURL=chunk-GV4VSFXJ.js.map
|
|
5105
|
+
//# sourceMappingURL=chunk-GV4VSFXJ.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-HLCQIZKK.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-NC7JBF4D.js';
|
|
3
3
|
import { __name } from './chunk-7QVYU63E.js';
|
|
4
4
|
import { isDevelopmentMode, isTestMode } from '@stryke/env/environment-checks';
|
|
5
5
|
import defu from 'defu';
|
|
@@ -142,5 +142,5 @@ var vite = createVitePlugin(createUnpluginFactory("vite", (api, plugin) => {
|
|
|
142
142
|
var vite_default = vite;
|
|
143
143
|
|
|
144
144
|
export { vite, vite_default };
|
|
145
|
-
//# sourceMappingURL=chunk-
|
|
146
|
-
//# sourceMappingURL=chunk-
|
|
145
|
+
//# sourceMappingURL=chunk-J36FKXQ7.js.map
|
|
146
|
+
//# sourceMappingURL=chunk-J36FKXQ7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPIIIBYL4_cjs = require('./chunk-PIIIBYL4.cjs');
|
|
4
4
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
5
5
|
var types = require('@storm-software/config-tools/types');
|
|
6
6
|
var getWorkspaceRoot = require('@stryke/fs/get-workspace-root');
|
|
@@ -27,7 +27,7 @@ chunkPK6SKIKE_cjs.__name(getString, "getString");
|
|
|
27
27
|
// src/lib/unplugin/factory.ts
|
|
28
28
|
function createUnpluginFactory(variant, decorate) {
|
|
29
29
|
return (config, meta) => {
|
|
30
|
-
const log =
|
|
30
|
+
const log = chunkPIIIBYL4_cjs.createLog("unplugin", config);
|
|
31
31
|
log(types.LogLevelLabel.DEBUG, "Initializing Unplugin");
|
|
32
32
|
try {
|
|
33
33
|
const userConfig = {
|
|
@@ -38,7 +38,7 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
38
38
|
let api;
|
|
39
39
|
async function buildStart() {
|
|
40
40
|
log(types.LogLevelLabel.DEBUG, "Powerlines build plugin starting...");
|
|
41
|
-
api = await
|
|
41
|
+
api = await chunkPIIIBYL4_cjs.PowerlinesAPI.from(getWorkspaceRoot.getWorkspaceRoot(process.cwd()), userConfig);
|
|
42
42
|
unplugin.setParseImpl(api.context.parse);
|
|
43
43
|
log(types.LogLevelLabel.DEBUG, "Preparing build artifacts for the Powerlines project...");
|
|
44
44
|
await api.prepare({
|
|
@@ -137,5 +137,5 @@ chunkPK6SKIKE_cjs.__name(createUnpluginFactory, "createUnpluginFactory");
|
|
|
137
137
|
|
|
138
138
|
exports.createUnpluginFactory = createUnpluginFactory;
|
|
139
139
|
exports.getString = getString;
|
|
140
|
-
//# sourceMappingURL=chunk-
|
|
141
|
-
//# sourceMappingURL=chunk-
|
|
140
|
+
//# sourceMappingURL=chunk-JD2KMGV2.cjs.map
|
|
141
|
+
//# sourceMappingURL=chunk-JD2KMGV2.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-NC7JBF4D.js';
|
|
2
2
|
import { createWebpackPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var webpack = createWebpackPlugin(createUnpluginFactory("webpack"));
|
|
5
5
|
var webpack_default = webpack;
|
|
6
6
|
|
|
7
7
|
export { webpack, webpack_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-KFW3KAYS.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-KFW3KAYS.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkHDHABS4U_cjs = require('./chunk-HDHABS4U.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkJD2KMGV2_cjs = require('./chunk-JD2KMGV2.cjs');
|
|
5
5
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
6
6
|
var environmentChecks = require('@stryke/env/environment-checks');
|
|
7
7
|
var defu = require('defu');
|
|
@@ -88,7 +88,7 @@ function extractViteConfig(context) {
|
|
|
88
88
|
chunkPK6SKIKE_cjs.__name(extractViteConfig, "extractViteConfig");
|
|
89
89
|
|
|
90
90
|
// src/vite.ts
|
|
91
|
-
var vite = unplugin.createVitePlugin(
|
|
91
|
+
var vite = unplugin.createVitePlugin(chunkJD2KMGV2_cjs.createUnpluginFactory("vite", (api, plugin) => {
|
|
92
92
|
return {
|
|
93
93
|
...plugin,
|
|
94
94
|
vite: {
|
|
@@ -149,5 +149,5 @@ var vite_default = vite;
|
|
|
149
149
|
|
|
150
150
|
exports.vite = vite;
|
|
151
151
|
exports.vite_default = vite_default;
|
|
152
|
-
//# sourceMappingURL=chunk-
|
|
153
|
-
//# sourceMappingURL=chunk-
|
|
152
|
+
//# sourceMappingURL=chunk-MXBGUJ2Z.cjs.map
|
|
153
|
+
//# sourceMappingURL=chunk-MXBGUJ2Z.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLog, PowerlinesAPI } from './chunk-
|
|
1
|
+
import { createLog, PowerlinesAPI } from './chunk-GV4VSFXJ.js';
|
|
2
2
|
import { __name } from './chunk-7QVYU63E.js';
|
|
3
3
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
4
4
|
import { getWorkspaceRoot } from '@stryke/fs/get-workspace-root';
|
|
@@ -134,5 +134,5 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
134
134
|
__name(createUnpluginFactory, "createUnpluginFactory");
|
|
135
135
|
|
|
136
136
|
export { createUnpluginFactory, getString };
|
|
137
|
-
//# sourceMappingURL=chunk-
|
|
138
|
-
//# sourceMappingURL=chunk-
|
|
137
|
+
//# sourceMappingURL=chunk-NC7JBF4D.js.map
|
|
138
|
+
//# sourceMappingURL=chunk-NC7JBF4D.js.map
|
|
@@ -110,7 +110,7 @@ var $__namespace = /*#__PURE__*/_interopNamespace($);
|
|
|
110
110
|
|
|
111
111
|
// package.json
|
|
112
112
|
var name = "powerlines";
|
|
113
|
-
var version = "0.37.
|
|
113
|
+
var version = "0.37.83";
|
|
114
114
|
var package_default = {
|
|
115
115
|
version};
|
|
116
116
|
|
|
@@ -333,19 +333,11 @@ chunkPK6SKIKE_cjs.__name(createProgram, "createProgram");
|
|
|
333
333
|
// src/internal/helpers/generate-types.ts
|
|
334
334
|
var getModuleCommentBlockRegex = /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((moduleId) => new RegExp(`\\/\\*\\*(?s:.)*?@module\\s+${moduleId}(?s:.)*?\\*\\/\\s+`), "getModuleCommentBlockRegex");
|
|
335
335
|
function formatTypes(code) {
|
|
336
|
-
|
|
336
|
+
return code.replace(
|
|
337
337
|
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
338
|
-
/import\s*(?:type\s*)?\{?[\w,\s]*(?:\}\s*)?from\s*(?:'|")@?[a-zA-Z0-9-\\/.]*(?:'|");?/g
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
const importModule = importStatement.replace(/.*from\s*['"]/, "").replace(/['"];?$/, "");
|
|
342
|
-
if (!isType.isRelativePath(importModule) && !ret.includes(importModule)) {
|
|
343
|
-
ret.push(importModule);
|
|
344
|
-
}
|
|
345
|
-
return ret;
|
|
346
|
-
}, []).map((directive) => `/// <reference types="${directive}" />`).join("\n")}
|
|
347
|
-
|
|
348
|
-
${imports.reduce((ret, importStatement) => ret.replace(importStatement, ""), code).replaceAll("#private;", "").replace(/__Ω/g, "").trim()}`;
|
|
338
|
+
/import\s*(?:type\s*)?\{?[\w,\s]*(?:\}\s*)?from\s*(?:'|")@?[a-zA-Z0-9-\\/.]*(?:'|");?/g,
|
|
339
|
+
""
|
|
340
|
+
).replaceAll("#private;", "").replace(/__Ω/g, "");
|
|
349
341
|
}
|
|
350
342
|
chunkPK6SKIKE_cjs.__name(formatTypes, "formatTypes");
|
|
351
343
|
async function emitBuiltinTypes(context, files) {
|
|
@@ -2502,7 +2494,25 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2502
2494
|
code = await format(this.#normalizePath(path), data);
|
|
2503
2495
|
}
|
|
2504
2496
|
} catch (err) {
|
|
2505
|
-
|
|
2497
|
+
if ([
|
|
2498
|
+
"js",
|
|
2499
|
+
"ts",
|
|
2500
|
+
"cjs",
|
|
2501
|
+
"cts",
|
|
2502
|
+
"mjs",
|
|
2503
|
+
"mts",
|
|
2504
|
+
"tsx",
|
|
2505
|
+
"jsx",
|
|
2506
|
+
"json",
|
|
2507
|
+
"json5",
|
|
2508
|
+
"jsonc",
|
|
2509
|
+
"md",
|
|
2510
|
+
"mdx"
|
|
2511
|
+
].includes(filePathFns.findFileExtensionSafe(path, {
|
|
2512
|
+
fullExtension: true
|
|
2513
|
+
}))) {
|
|
2514
|
+
this.#log(types.LogLevelLabel.WARN, `Failed to format file ${this.#normalizePath(path)} before writing: ${err.message}`);
|
|
2515
|
+
}
|
|
2506
2516
|
code = data;
|
|
2507
2517
|
}
|
|
2508
2518
|
this.#log(types.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.prettyBytes(new buffer$1.Blob(toArray.toArray(code)).size)})`);
|
|
@@ -2867,7 +2877,6 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2867
2877
|
#timestamp = Date.now();
|
|
2868
2878
|
#fs;
|
|
2869
2879
|
#tsconfig;
|
|
2870
|
-
#program;
|
|
2871
2880
|
#parserCache;
|
|
2872
2881
|
#requestCache;
|
|
2873
2882
|
#getConfigProps(config = {}) {
|
|
@@ -3157,22 +3166,6 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3157
3166
|
}, {}) : this.config.build.alias : {});
|
|
3158
3167
|
}
|
|
3159
3168
|
/**
|
|
3160
|
-
* The {@link Project} instance used for type reflection and module manipulation
|
|
3161
|
-
*
|
|
3162
|
-
* @see https://ts-morph.com/
|
|
3163
|
-
*
|
|
3164
|
-
* @remarks
|
|
3165
|
-
* This instance is created lazily on first access.
|
|
3166
|
-
*/
|
|
3167
|
-
get program() {
|
|
3168
|
-
if (!this.#program) {
|
|
3169
|
-
this.#program = createProgram(this, {
|
|
3170
|
-
skipAddingFilesFromTsConfig: true
|
|
3171
|
-
});
|
|
3172
|
-
}
|
|
3173
|
-
return this.#program;
|
|
3174
|
-
}
|
|
3175
|
-
/**
|
|
3176
3169
|
* Gets the parser cache.
|
|
3177
3170
|
*/
|
|
3178
3171
|
get parserCache() {
|
|
@@ -5149,5 +5142,5 @@ exports.extendLog = extendLog;
|
|
|
5149
5142
|
exports.isUnpluginBuilderVariant = isUnpluginBuilderVariant;
|
|
5150
5143
|
exports.name = name;
|
|
5151
5144
|
exports.version = version;
|
|
5152
|
-
//# sourceMappingURL=chunk-
|
|
5153
|
-
//# sourceMappingURL=chunk-
|
|
5145
|
+
//# sourceMappingURL=chunk-PIIIBYL4.cjs.map
|
|
5146
|
+
//# sourceMappingURL=chunk-PIIIBYL4.cjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkHDHABS4U_cjs = require('./chunk-HDHABS4U.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkJD2KMGV2_cjs = require('./chunk-JD2KMGV2.cjs');
|
|
5
5
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
6
6
|
var isUndefined = require('@stryke/type-checks/is-undefined');
|
|
7
7
|
var unplugin = require('unplugin');
|
|
8
8
|
|
|
9
|
-
var esbuild = unplugin.createEsbuildPlugin(
|
|
9
|
+
var esbuild = unplugin.createEsbuildPlugin(chunkJD2KMGV2_cjs.createUnpluginFactory("esbuild", (api, plugin) => {
|
|
10
10
|
return {
|
|
11
11
|
...plugin,
|
|
12
12
|
esbuild: {
|
|
@@ -32,5 +32,5 @@ var esbuild_default = esbuild;
|
|
|
32
32
|
|
|
33
33
|
exports.esbuild = esbuild;
|
|
34
34
|
exports.esbuild_default = esbuild_default;
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-STK6R54Z.cjs.map
|
|
36
|
+
//# sourceMappingURL=chunk-STK6R54Z.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkJD2KMGV2_cjs = require('./chunk-JD2KMGV2.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var rolldown = unplugin.createRolldownPlugin(chunkJD2KMGV2_cjs.createUnpluginFactory("rolldown"));
|
|
7
|
+
var rolldown_default = rolldown;
|
|
8
|
+
|
|
9
|
+
exports.rolldown = rolldown;
|
|
10
|
+
exports.rolldown_default = rolldown_default;
|
|
11
|
+
//# sourceMappingURL=chunk-XBLEZU5T.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-XBLEZU5T.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkJD2KMGV2_cjs = require('./chunk-JD2KMGV2.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var webpack = unplugin.createWebpackPlugin(chunkJD2KMGV2_cjs.createUnpluginFactory("webpack"));
|
|
7
|
+
var webpack_default = webpack;
|
|
8
|
+
|
|
9
|
+
exports.webpack = webpack;
|
|
10
|
+
exports.webpack_default = webpack_default;
|
|
11
|
+
//# sourceMappingURL=chunk-Z4YUZYOZ.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-Z4YUZYOZ.cjs.map
|
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 chunkSTK6R54Z_cjs = require('./chunk-STK6R54Z.cjs');
|
|
6
6
|
require('./chunk-HDHABS4U.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-JD2KMGV2.cjs');
|
|
8
|
+
require('./chunk-PIIIBYL4.cjs');
|
|
9
9
|
require('./chunk-B6DVCLP5.cjs');
|
|
10
10
|
require('./chunk-V5WOGN7O.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 chunkSTK6R54Z_cjs.esbuild_default; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "esbuild", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkSTK6R54Z_cjs.esbuild; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "module.exports", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkSTK6R54Z_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 { w as ESBuildUserConfig } from './api-
|
|
2
|
+
import { w as ESBuildUserConfig } from './api-CrU5zuH-.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/http/fetch';
|
|
@@ -9,7 +9,6 @@ import 'jiti';
|
|
|
9
9
|
import 'magic-string';
|
|
10
10
|
import 'oxc-parser';
|
|
11
11
|
import 'semver';
|
|
12
|
-
import 'ts-morph';
|
|
13
12
|
import 'undici';
|
|
14
13
|
import 'unimport';
|
|
15
14
|
import 'unplugin';
|
package/dist/esbuild.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _esbuild from 'esbuild';
|
|
2
|
-
import { w as ESBuildUserConfig } from './api-
|
|
2
|
+
import { w as ESBuildUserConfig } from './api-Clpz1e13.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/http/fetch';
|
|
@@ -9,7 +9,6 @@ import 'jiti';
|
|
|
9
9
|
import 'magic-string';
|
|
10
10
|
import 'oxc-parser';
|
|
11
11
|
import 'semver';
|
|
12
|
-
import 'ts-morph';
|
|
13
12
|
import 'undici';
|
|
14
13
|
import 'unimport';
|
|
15
14
|
import 'unplugin';
|
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-24LULSR6.js';
|
|
2
2
|
import './chunk-HLCQIZKK.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-NC7JBF4D.js';
|
|
4
|
+
import './chunk-GV4VSFXJ.js';
|
|
5
5
|
import './chunk-PQXP7XQK.js';
|
|
6
6
|
import './chunk-NITQ5IYP.js';
|
|
7
7
|
import './chunk-2MYPFASJ.js';
|