powerlines 0.15.0 → 0.17.0
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.d.cts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/astro.d.cts +1 -1
- package/dist/astro.d.ts +1 -1
- package/dist/config.d.cts +3 -5
- package/dist/config.d.ts +3 -5
- package/dist/esbuild.d.cts +1 -1
- package/dist/esbuild.d.ts +1 -1
- package/dist/farm.d.cts +1 -1
- package/dist/farm.d.ts +1 -1
- package/dist/{hooks-DcH9z5L5.d.cts → hooks-BDXmrP9O.d.cts} +1 -1
- package/dist/{hooks-ByM-4_UN.d.ts → hooks-BMy1XRpA.d.ts} +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/plugin-utils/chunk-2HFS2OOG.cjs +14 -0
- package/dist/plugin-utils/chunk-CVZA2RT3.js +12 -0
- package/dist/plugin-utils/chunk-F57OBGVS.js +28 -0
- package/dist/plugin-utils/chunk-FWGYTED4.js +30 -0
- package/dist/plugin-utils/chunk-GRVUSUEO.cjs +30 -0
- package/dist/plugin-utils/chunk-HRDV3U4S.cjs +32 -0
- package/dist/plugin-utils/{config-ClPkPCYC.d.cts → config-BvVaLOty.d.cts} +4 -2
- package/dist/plugin-utils/{config-ClPkPCYC.d.ts → config-BvVaLOty.d.ts} +4 -2
- package/dist/plugin-utils/extend.cjs +5 -3
- package/dist/plugin-utils/extend.d.cts +6 -5
- package/dist/plugin-utils/extend.d.ts +6 -5
- package/dist/plugin-utils/extend.js +3 -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.cjs +13 -3
- package/dist/plugin-utils/index.d.cts +4 -2
- package/dist/plugin-utils/index.d.ts +4 -2
- package/dist/plugin-utils/index.js +3 -1
- package/dist/plugin-utils/merge.cjs +12 -0
- package/dist/plugin-utils/merge.d.cts +33 -0
- package/dist/plugin-utils/merge.d.ts +33 -0
- package/dist/plugin-utils/merge.js +3 -0
- package/dist/plugin-utils/paths.cjs +11 -0
- package/dist/plugin-utils/paths.d.cts +46 -0
- package/dist/plugin-utils/paths.d.ts +46 -0
- package/dist/plugin-utils/paths.js +2 -0
- package/dist/{resolved-CugLn_3B.d.cts → resolved-9OdFeVV0.d.cts} +5 -3
- package/dist/{resolved-DnI1mqEb.d.ts → resolved-Bgn0EfLS.d.ts} +5 -3
- package/dist/rolldown.d.cts +1 -1
- package/dist/rolldown.d.ts +1 -1
- package/dist/rollup.d.cts +1 -1
- package/dist/rollup.d.ts +1 -1
- package/dist/rspack.d.cts +1 -1
- package/dist/rspack.d.ts +1 -1
- package/dist/types/babel.d.cts +1 -1
- package/dist/types/babel.d.ts +1 -1
- package/dist/types/build.d.cts +6 -6
- package/dist/types/build.d.ts +6 -6
- 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.d.cts +1 -1
- package/dist/types/context.d.ts +1 -1
- package/dist/types/hooks.d.cts +1 -1
- package/dist/types/hooks.d.ts +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- 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 +1 -1
- package/dist/types/unplugin.d.ts +1 -1
- package/dist/unloader.d.cts +1 -1
- package/dist/unloader.d.ts +1 -1
- package/dist/unplugin.d.cts +2 -2
- package/dist/unplugin.d.ts +2 -2
- package/dist/vite.d.cts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/webpack.d.cts +1 -1
- package/dist/webpack.d.ts +1 -1
- package/package.json +3 -3
- package/dist/plugin-utils/chunk-3G5FJKN2.js +0 -12
- package/dist/plugin-utils/chunk-MIKPJJNG.cjs +0 -18
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './config-BvVaLOty.cjs';
|
|
2
|
+
import '@storm-software/build-tools/types';
|
|
3
|
+
import '@storm-software/config-tools/types';
|
|
4
|
+
import '@storm-software/config/types';
|
|
5
|
+
import '@stryke/types/base';
|
|
6
|
+
import '@stryke/types/configuration';
|
|
7
|
+
import '@stryke/types/file';
|
|
8
|
+
import 'vite';
|
|
9
|
+
import '@stryke/env/get-env-paths';
|
|
10
|
+
import '@stryke/types/package-json';
|
|
11
|
+
import 'jiti';
|
|
12
|
+
import 'oxc-parser';
|
|
13
|
+
import 'semver';
|
|
14
|
+
import 'unplugin';
|
|
15
|
+
import '@stryke/types/array';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'memfs';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import 'unionfs';
|
|
22
|
+
|
|
23
|
+
type MergeResult<TContext extends PluginContext, TPluginA extends Plugin<TContext> | PartialPlugin<TContext>, TPluginB extends Plugin<TContext> | PartialPlugin<TContext>> = TPluginA extends Plugin<TContext> ? Plugin<TContext> : TPluginB extends Plugin<TContext> ? Plugin<TContext> : PartialPlugin<TContext>;
|
|
24
|
+
/**
|
|
25
|
+
* Merges two {@link Plugin | plugins} or {@link PartialPlugin | partial plugins} together.
|
|
26
|
+
*
|
|
27
|
+
* @param pluginA - The first {@link Plugin | plugin} or {@link PartialPlugin | partial plugin} to merge.
|
|
28
|
+
* @param pluginB - The second {@link Plugin | plugin} or {@link PartialPlugin | partial plugin} to merge.
|
|
29
|
+
* @returns The merged {@link Plugin | plugin} or {@link PartialPlugin | partial plugin}.
|
|
30
|
+
*/
|
|
31
|
+
declare function merge<TContext extends PluginContext = PluginContext>(pluginA: Plugin<TContext> | PartialPlugin<TContext>, pluginB: Plugin<TContext> | PartialPlugin<TContext>): MergeResult<TContext, typeof pluginA, typeof pluginB>;
|
|
32
|
+
|
|
33
|
+
export { type MergeResult, merge };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './config-BvVaLOty.js';
|
|
2
|
+
import '@storm-software/build-tools/types';
|
|
3
|
+
import '@storm-software/config-tools/types';
|
|
4
|
+
import '@storm-software/config/types';
|
|
5
|
+
import '@stryke/types/base';
|
|
6
|
+
import '@stryke/types/configuration';
|
|
7
|
+
import '@stryke/types/file';
|
|
8
|
+
import 'vite';
|
|
9
|
+
import '@stryke/env/get-env-paths';
|
|
10
|
+
import '@stryke/types/package-json';
|
|
11
|
+
import 'jiti';
|
|
12
|
+
import 'oxc-parser';
|
|
13
|
+
import 'semver';
|
|
14
|
+
import 'unplugin';
|
|
15
|
+
import '@stryke/types/array';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'memfs';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import 'unionfs';
|
|
22
|
+
|
|
23
|
+
type MergeResult<TContext extends PluginContext, TPluginA extends Plugin<TContext> | PartialPlugin<TContext>, TPluginB extends Plugin<TContext> | PartialPlugin<TContext>> = TPluginA extends Plugin<TContext> ? Plugin<TContext> : TPluginB extends Plugin<TContext> ? Plugin<TContext> : PartialPlugin<TContext>;
|
|
24
|
+
/**
|
|
25
|
+
* Merges two {@link Plugin | plugins} or {@link PartialPlugin | partial plugins} together.
|
|
26
|
+
*
|
|
27
|
+
* @param pluginA - The first {@link Plugin | plugin} or {@link PartialPlugin | partial plugin} to merge.
|
|
28
|
+
* @param pluginB - The second {@link Plugin | plugin} or {@link PartialPlugin | partial plugin} to merge.
|
|
29
|
+
* @returns The merged {@link Plugin | plugin} or {@link PartialPlugin | partial plugin}.
|
|
30
|
+
*/
|
|
31
|
+
declare function merge<TContext extends PluginContext = PluginContext>(pluginA: Plugin<TContext> | PartialPlugin<TContext>, pluginB: Plugin<TContext> | PartialPlugin<TContext>): MergeResult<TContext, typeof pluginA, typeof pluginB>;
|
|
32
|
+
|
|
33
|
+
export { type MergeResult, merge };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk2HFS2OOG_cjs = require('./chunk-2HFS2OOG.cjs');
|
|
4
|
+
require('./chunk-USNT2KNT.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "replacePathTokens", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk2HFS2OOG_cjs.replacePathTokens; }
|
|
11
|
+
});
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IsUndefined } from '@stryke/types/base';
|
|
2
|
+
import { C as Context } from './config-BvVaLOty.cjs';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/configuration';
|
|
7
|
+
import '@stryke/types/file';
|
|
8
|
+
import 'vite';
|
|
9
|
+
import '@stryke/env/get-env-paths';
|
|
10
|
+
import '@stryke/types/package-json';
|
|
11
|
+
import 'jiti';
|
|
12
|
+
import 'oxc-parser';
|
|
13
|
+
import 'semver';
|
|
14
|
+
import 'unplugin';
|
|
15
|
+
import '@stryke/types/array';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'memfs';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import 'unionfs';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Replaces tokens in the given path string with their corresponding values from the context.
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* The following tokens are supported:
|
|
28
|
+
* - `{workspaceRoot}` - The root directory of the workspace.
|
|
29
|
+
* - `{projectRoot}` - The root directory of the project.
|
|
30
|
+
* - `{powerlinesPath}` - The directory where Powerlines is installed.
|
|
31
|
+
* - `{cachePath}` - The environment's directory for cached files.
|
|
32
|
+
* - `{dataPath}` - The environment's directory for data files.
|
|
33
|
+
* - `{logPath}` - The environment's directory for log files.
|
|
34
|
+
* - `{tempPath}` - The environment's directory for temporary files.
|
|
35
|
+
* - `{configPath}` - The environment's directory for configuration files.
|
|
36
|
+
* - `{artifactsPath}` - The configured directory for build artifacts.
|
|
37
|
+
* - `{builtinPath}` - The configured directory for built-in plugins.
|
|
38
|
+
* - `{entryPath}` - The configured directory for entry files.
|
|
39
|
+
*
|
|
40
|
+
* @param context - The context containing the values for the path tokens.
|
|
41
|
+
* @param path - The path string with tokens to replace.
|
|
42
|
+
* @returns The path string with tokens replaced by their corresponding values from the context.
|
|
43
|
+
*/
|
|
44
|
+
declare function replacePathTokens(context: Context, path?: string): IsUndefined<typeof path> extends true ? undefined : string;
|
|
45
|
+
|
|
46
|
+
export { replacePathTokens };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IsUndefined } from '@stryke/types/base';
|
|
2
|
+
import { C as Context } from './config-BvVaLOty.js';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/configuration';
|
|
7
|
+
import '@stryke/types/file';
|
|
8
|
+
import 'vite';
|
|
9
|
+
import '@stryke/env/get-env-paths';
|
|
10
|
+
import '@stryke/types/package-json';
|
|
11
|
+
import 'jiti';
|
|
12
|
+
import 'oxc-parser';
|
|
13
|
+
import 'semver';
|
|
14
|
+
import 'unplugin';
|
|
15
|
+
import '@stryke/types/array';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'memfs';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import 'unionfs';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Replaces tokens in the given path string with their corresponding values from the context.
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* The following tokens are supported:
|
|
28
|
+
* - `{workspaceRoot}` - The root directory of the workspace.
|
|
29
|
+
* - `{projectRoot}` - The root directory of the project.
|
|
30
|
+
* - `{powerlinesPath}` - The directory where Powerlines is installed.
|
|
31
|
+
* - `{cachePath}` - The environment's directory for cached files.
|
|
32
|
+
* - `{dataPath}` - The environment's directory for data files.
|
|
33
|
+
* - `{logPath}` - The environment's directory for log files.
|
|
34
|
+
* - `{tempPath}` - The environment's directory for temporary files.
|
|
35
|
+
* - `{configPath}` - The environment's directory for configuration files.
|
|
36
|
+
* - `{artifactsPath}` - The configured directory for build artifacts.
|
|
37
|
+
* - `{builtinPath}` - The configured directory for built-in plugins.
|
|
38
|
+
* - `{entryPath}` - The configured directory for entry files.
|
|
39
|
+
*
|
|
40
|
+
* @param context - The context containing the values for the path tokens.
|
|
41
|
+
* @param path - The path string with tokens to replace.
|
|
42
|
+
* @returns The path string with tokens replaced by their corresponding values from the context.
|
|
43
|
+
*/
|
|
44
|
+
declare function replacePathTokens(context: Context, path?: string): IsUndefined<typeof path> extends true ? undefined : string;
|
|
45
|
+
|
|
46
|
+
export { replacePathTokens };
|
|
@@ -2,7 +2,7 @@ import { MaybePromise, FunctionLike, DeepPartial, NonUndefined } from '@stryke/t
|
|
|
2
2
|
import { TypeDefinitionParameter, TypeDefinition } from '@stryke/types/configuration';
|
|
3
3
|
import { AssetGlob } from '@stryke/types/file';
|
|
4
4
|
import { PreviewOptions, ResolvedConfig as ResolvedConfig$2, ResolvedPreviewOptions } from 'vite';
|
|
5
|
-
import { UnpluginBuildVariant, BuildConfig, BuildResolvedConfig, ViteBuildConfig, ViteResolvedBuildConfig,
|
|
5
|
+
import { UnpluginBuildVariant, BuildConfig, BuildResolvedConfig, ViteBuildConfig, ViteResolvedBuildConfig, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, BuildVariant } from './types/build.cjs';
|
|
6
6
|
import { PluginPass, PluginObj, PluginItem, TransformOptions, transformAsync } from '@babel/core';
|
|
7
7
|
import { Format } from '@storm-software/build-tools/types';
|
|
8
8
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
@@ -719,6 +719,8 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
719
719
|
* A configuration tuple for a Powerlines plugin.
|
|
720
720
|
*/
|
|
721
721
|
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
|
|
722
|
+
type PartialPlugin<in out TContext extends PluginContext = PluginContext> = DeepPartial<Plugin<TContext>>;
|
|
723
|
+
type PartialPluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<PartialPlugin<TContext>>;
|
|
722
724
|
type ProjectType = "application" | "library";
|
|
723
725
|
type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
|
|
724
726
|
/**
|
|
@@ -1066,7 +1068,7 @@ type ReleaseInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineCo
|
|
|
1066
1068
|
command: "release";
|
|
1067
1069
|
};
|
|
1068
1070
|
type ConfigEnv = Pick<ResolvedConfig$2, "command" | "mode" | "environments" | "preview">;
|
|
1069
|
-
type AnyUserConfig = Partial<UserConfig> | Partial<WebpackUserConfig> | Partial<RspackUserConfig> | Partial<ViteUserConfig> | Partial<ESBuildUserConfig> | Partial<UnbuildUserConfig> | Partial<TsupUserConfig> | Partial<RolldownUserConfig> | Partial<RollupUserConfig> | Partial<FarmUserConfig
|
|
1071
|
+
type AnyUserConfig = Record<string, any> & (Partial<UserConfig> | Partial<WebpackUserConfig> | Partial<RspackUserConfig> | Partial<ViteUserConfig> | Partial<ESBuildUserConfig> | Partial<UnbuildUserConfig> | Partial<TsupUserConfig> | Partial<RolldownUserConfig> | Partial<RollupUserConfig> | Partial<FarmUserConfig>);
|
|
1070
1072
|
type UserConfigFnObject = (env: ConfigEnv) => DeepPartial<UserConfig>;
|
|
1071
1073
|
type UserConfigFnPromise = (env: ConfigEnv) => Promise<DeepPartial<UserConfig>>;
|
|
1072
1074
|
type UserConfigFn = (env: ConfigEnv) => UserConfig | Promise<DeepPartial<UserConfig>>;
|
|
@@ -1149,4 +1151,4 @@ type UnbuildResolvedConfig = ResolvedConfig<UnbuildUserConfig>;
|
|
|
1149
1151
|
type FarmResolvedConfig = ResolvedConfig<FarmUserConfig>;
|
|
1150
1152
|
type InferResolvedConfig<TBuildVariant extends BuildVariant | undefined> = TBuildVariant extends undefined ? ResolvedConfig : TBuildVariant extends "webpack" ? WebpackResolvedConfig : TBuildVariant extends "rspack" ? RspackResolvedConfig : TBuildVariant extends "vite" ? ViteResolvedConfig : TBuildVariant extends "esbuild" ? ESBuildResolvedConfig : TBuildVariant extends "unbuild" ? UnbuildResolvedConfig : TBuildVariant extends "tsup" ? TsupResolvedConfig : TBuildVariant extends "rolldown" ? RolldownResolvedConfig : TBuildVariant extends "rollup" ? RollupResolvedConfig : TBuildVariant extends "farm" ? FarmResolvedConfig : ResolvedConfig;
|
|
1151
1153
|
|
|
1152
|
-
export { type
|
|
1154
|
+
export { type AnyUserConfig as $, type ParsedUserConfig as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type EnvironmentConfig as E, type FarmUserConfig as F, type PowerlinesCommand as G, type InlineConfig as H, type ImportDefinition as I, type NewInlineConfig as J, type CleanInlineConfig as K, type LogFn as L, type PrepareInlineConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type BuildInlineConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type TsupUserConfig as T, type UserConfig as U, type ViteUserConfig as V, type WorkspaceConfig as W, type LintInlineConfig as X, type DocsInlineConfig as Y, type ReleaseInlineConfig as Z, type ConfigEnv as _, type BabelTransformPluginFilter as a, type UserConfigFnObject as a0, type UserConfigFnPromise as a1, type UserConfigFn as a2, type UserConfigExport as a3, LogLevel as a4, type WorkerProcess as a5, type MetaInfo as a6, type Resolver as a7, type TransformResult as a8, type SourceFile as a9, type GenerateTypesResult as aA, type BasePluginHookFunctions as aB, type BuildPlugin as aC, type ExternalPluginHookFunctionsVariant as aD, type ExternalPluginHookFunctions as aE, type PluginHookFunctions as aF, type PluginHooks as aG, type PluginBuildPlugins as aH, type Plugin as aI, PLUGIN_NON_HOOK_FIELDS as aJ, type PluginNonHookFields as aK, type ResolvedEntryTypeDefinition as aL, type BabelResolvedConfig as aM, type EnvironmentResolvedConfig as aN, type ResolvedAssetGlob as aO, type OutputResolvedConfig as aP, type ResolvedConfig as aQ, type ViteResolvedConfig as aR, type WebpackResolvedConfig as aS, type RspackResolvedConfig as aT, type ESBuildResolvedConfig as aU, type RollupResolvedConfig as aV, type RolldownResolvedConfig as aW, type TsupResolvedConfig as aX, type UnbuildResolvedConfig as aY, type FarmResolvedConfig as aZ, type InferResolvedConfig as a_, type UnimportContext as aa, type SelectHooksOptions as ab, type InitContextOptions as ac, type Context as ad, type APIContext as ae, type EnvironmentContextPlugin as af, type EnvironmentContext as ag, type PluginContext as ah, type BuildPluginContext as ai, type SerializedVirtualFileSystem as aj, type BaseHooks as ak, type BaseHookKeys as al, type ExternalHooks as am, type ExternalHookKeys as an, type Hooks as ao, type HookKeys as ap, type BaseHooksListItem as aq, type BaseHooksList as ar, type ExternalHooksListItem as as, type HooksList as at, type InferHookHandler as au, type InferHookReturnType as av, type InferHookParameters as aw, type InferHookThisType as ax, type PluginHookObject as ay, type PluginHook as az, type BabelTransformPlugin as b, type BabelTransformPluginOptions as c, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type Commands as i, type PluginConfigTuple as j, type PluginConfigObject as k, type PluginConfig as l, type PartialPlugin as m, type PartialPluginFactory as n, type ProjectType as o, type BabelUserConfig as p, type BaseConfig as q, type CommonUserConfig as r, type WebpackUserConfig as s, type RspackUserConfig as t, type RollupUserConfig as u, type RolldownUserConfig as v, type ESBuildUserConfig as w, type UnbuildUserConfig as x, type InferUserConfig as y, type InitialUserConfig as z };
|
|
@@ -2,7 +2,7 @@ import { MaybePromise, FunctionLike, DeepPartial, NonUndefined } from '@stryke/t
|
|
|
2
2
|
import { TypeDefinitionParameter, TypeDefinition } from '@stryke/types/configuration';
|
|
3
3
|
import { AssetGlob } from '@stryke/types/file';
|
|
4
4
|
import { PreviewOptions, ResolvedConfig as ResolvedConfig$2, ResolvedPreviewOptions } from 'vite';
|
|
5
|
-
import { UnpluginBuildVariant, BuildConfig, BuildResolvedConfig, ViteBuildConfig, ViteResolvedBuildConfig,
|
|
5
|
+
import { UnpluginBuildVariant, BuildConfig, BuildResolvedConfig, ViteBuildConfig, ViteResolvedBuildConfig, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, BuildVariant } from './types/build.js';
|
|
6
6
|
import { PluginPass, PluginObj, PluginItem, TransformOptions, transformAsync } from '@babel/core';
|
|
7
7
|
import { Format } from '@storm-software/build-tools/types';
|
|
8
8
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
@@ -719,6 +719,8 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
719
719
|
* A configuration tuple for a Powerlines plugin.
|
|
720
720
|
*/
|
|
721
721
|
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
|
|
722
|
+
type PartialPlugin<in out TContext extends PluginContext = PluginContext> = DeepPartial<Plugin<TContext>>;
|
|
723
|
+
type PartialPluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<PartialPlugin<TContext>>;
|
|
722
724
|
type ProjectType = "application" | "library";
|
|
723
725
|
type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
|
|
724
726
|
/**
|
|
@@ -1066,7 +1068,7 @@ type ReleaseInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineCo
|
|
|
1066
1068
|
command: "release";
|
|
1067
1069
|
};
|
|
1068
1070
|
type ConfigEnv = Pick<ResolvedConfig$2, "command" | "mode" | "environments" | "preview">;
|
|
1069
|
-
type AnyUserConfig = Partial<UserConfig> | Partial<WebpackUserConfig> | Partial<RspackUserConfig> | Partial<ViteUserConfig> | Partial<ESBuildUserConfig> | Partial<UnbuildUserConfig> | Partial<TsupUserConfig> | Partial<RolldownUserConfig> | Partial<RollupUserConfig> | Partial<FarmUserConfig
|
|
1071
|
+
type AnyUserConfig = Record<string, any> & (Partial<UserConfig> | Partial<WebpackUserConfig> | Partial<RspackUserConfig> | Partial<ViteUserConfig> | Partial<ESBuildUserConfig> | Partial<UnbuildUserConfig> | Partial<TsupUserConfig> | Partial<RolldownUserConfig> | Partial<RollupUserConfig> | Partial<FarmUserConfig>);
|
|
1070
1072
|
type UserConfigFnObject = (env: ConfigEnv) => DeepPartial<UserConfig>;
|
|
1071
1073
|
type UserConfigFnPromise = (env: ConfigEnv) => Promise<DeepPartial<UserConfig>>;
|
|
1072
1074
|
type UserConfigFn = (env: ConfigEnv) => UserConfig | Promise<DeepPartial<UserConfig>>;
|
|
@@ -1149,4 +1151,4 @@ type UnbuildResolvedConfig = ResolvedConfig<UnbuildUserConfig>;
|
|
|
1149
1151
|
type FarmResolvedConfig = ResolvedConfig<FarmUserConfig>;
|
|
1150
1152
|
type InferResolvedConfig<TBuildVariant extends BuildVariant | undefined> = TBuildVariant extends undefined ? ResolvedConfig : TBuildVariant extends "webpack" ? WebpackResolvedConfig : TBuildVariant extends "rspack" ? RspackResolvedConfig : TBuildVariant extends "vite" ? ViteResolvedConfig : TBuildVariant extends "esbuild" ? ESBuildResolvedConfig : TBuildVariant extends "unbuild" ? UnbuildResolvedConfig : TBuildVariant extends "tsup" ? TsupResolvedConfig : TBuildVariant extends "rolldown" ? RolldownResolvedConfig : TBuildVariant extends "rollup" ? RollupResolvedConfig : TBuildVariant extends "farm" ? FarmResolvedConfig : ResolvedConfig;
|
|
1151
1153
|
|
|
1152
|
-
export { type
|
|
1154
|
+
export { type AnyUserConfig as $, type ParsedUserConfig as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type EnvironmentConfig as E, type FarmUserConfig as F, type PowerlinesCommand as G, type InlineConfig as H, type ImportDefinition as I, type NewInlineConfig as J, type CleanInlineConfig as K, type LogFn as L, type PrepareInlineConfig as M, type NamedImportDefinition as N, type OutputConfig as O, type PluginFactory as P, type BuildInlineConfig as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type TsupUserConfig as T, type UserConfig as U, type ViteUserConfig as V, type WorkspaceConfig as W, type LintInlineConfig as X, type DocsInlineConfig as Y, type ReleaseInlineConfig as Z, type ConfigEnv as _, type BabelTransformPluginFilter as a, type UserConfigFnObject as a0, type UserConfigFnPromise as a1, type UserConfigFn as a2, type UserConfigExport as a3, LogLevel as a4, type WorkerProcess as a5, type MetaInfo as a6, type Resolver as a7, type TransformResult as a8, type SourceFile as a9, type GenerateTypesResult as aA, type BasePluginHookFunctions as aB, type BuildPlugin as aC, type ExternalPluginHookFunctionsVariant as aD, type ExternalPluginHookFunctions as aE, type PluginHookFunctions as aF, type PluginHooks as aG, type PluginBuildPlugins as aH, type Plugin as aI, PLUGIN_NON_HOOK_FIELDS as aJ, type PluginNonHookFields as aK, type ResolvedEntryTypeDefinition as aL, type BabelResolvedConfig as aM, type EnvironmentResolvedConfig as aN, type ResolvedAssetGlob as aO, type OutputResolvedConfig as aP, type ResolvedConfig as aQ, type ViteResolvedConfig as aR, type WebpackResolvedConfig as aS, type RspackResolvedConfig as aT, type ESBuildResolvedConfig as aU, type RollupResolvedConfig as aV, type RolldownResolvedConfig as aW, type TsupResolvedConfig as aX, type UnbuildResolvedConfig as aY, type FarmResolvedConfig as aZ, type InferResolvedConfig as a_, type UnimportContext as aa, type SelectHooksOptions as ab, type InitContextOptions as ac, type Context as ad, type APIContext as ae, type EnvironmentContextPlugin as af, type EnvironmentContext as ag, type PluginContext as ah, type BuildPluginContext as ai, type SerializedVirtualFileSystem as aj, type BaseHooks as ak, type BaseHookKeys as al, type ExternalHooks as am, type ExternalHookKeys as an, type Hooks as ao, type HookKeys as ap, type BaseHooksListItem as aq, type BaseHooksList as ar, type ExternalHooksListItem as as, type HooksList as at, type InferHookHandler as au, type InferHookReturnType as av, type InferHookParameters as aw, type InferHookThisType as ax, type PluginHookObject as ay, type PluginHook as az, type BabelTransformPlugin as b, type BabelTransformPluginOptions as c, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type Commands as i, type PluginConfigTuple as j, type PluginConfigObject as k, type PluginConfig as l, type PartialPlugin as m, type PartialPluginFactory as n, type ProjectType as o, type BabelUserConfig as p, type BaseConfig as q, type CommonUserConfig as r, type WebpackUserConfig as s, type RspackUserConfig as t, type RollupUserConfig as u, type RolldownUserConfig as v, type ESBuildUserConfig as w, type UnbuildUserConfig as x, type InferUserConfig as y, type InitialUserConfig as z };
|
package/dist/rolldown.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as rolldown$1 from 'rolldown';
|
|
2
|
-
import {
|
|
2
|
+
import { v as RolldownUserConfig } from './resolved-9OdFeVV0.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
package/dist/rolldown.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as rolldown$1 from 'rolldown';
|
|
2
|
-
import {
|
|
2
|
+
import { v as RolldownUserConfig } from './resolved-Bgn0EfLS.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
package/dist/rollup.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as rollup$1 from 'rollup';
|
|
2
|
-
import {
|
|
2
|
+
import { u as RollupUserConfig } from './resolved-9OdFeVV0.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
package/dist/rollup.d.ts
CHANGED
package/dist/rspack.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as unplugin from 'unplugin';
|
|
2
|
-
import {
|
|
2
|
+
import { t as RspackUserConfig } from './resolved-9OdFeVV0.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
package/dist/rspack.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as unplugin from 'unplugin';
|
|
2
|
-
import {
|
|
2
|
+
import { t as RspackUserConfig } from './resolved-Bgn0EfLS.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
package/dist/types/babel.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@babel/core';
|
|
2
2
|
import '@babel/helper-plugin-utils';
|
|
3
|
-
export { B as BabelPluginPass, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, I as ImportDefinition, h as ImportSpecifier, N as NamedImportDefinition, R as ResolvedBabelTransformPluginOptions } from '../resolved-
|
|
3
|
+
export { B as BabelPluginPass, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, I as ImportDefinition, h as ImportSpecifier, N as NamedImportDefinition, R as ResolvedBabelTransformPluginOptions } from '../resolved-9OdFeVV0.cjs';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
5
|
import '@stryke/types/configuration';
|
|
6
6
|
import '@stryke/types/file';
|
package/dist/types/babel.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@babel/core';
|
|
2
2
|
import '@babel/helper-plugin-utils';
|
|
3
|
-
export { B as BabelPluginPass, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, I as ImportDefinition, h as ImportSpecifier, N as NamedImportDefinition, R as ResolvedBabelTransformPluginOptions } from '../resolved-
|
|
3
|
+
export { B as BabelPluginPass, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, I as ImportDefinition, h as ImportSpecifier, N as NamedImportDefinition, R as ResolvedBabelTransformPluginOptions } from '../resolved-Bgn0EfLS.js';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
5
|
import '@stryke/types/configuration';
|
|
6
6
|
import '@stryke/types/file';
|
package/dist/types/build.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { UserConfig as UserConfig$1 } from '@farmfe/core';
|
|
2
|
-
import { Configuration
|
|
2
|
+
import { Configuration } from '@rspack/core';
|
|
3
3
|
import { BuildOptions as BuildOptions$1 } from '@storm-software/tsup/types';
|
|
4
4
|
import { UnbuildOptions } from '@storm-software/unbuild/types';
|
|
5
5
|
import { BuildOptions } from 'esbuild';
|
|
6
6
|
import { RolldownOptions, RolldownOutput } from 'rolldown';
|
|
7
7
|
import { RollupOptions, OutputOptions } from 'rollup';
|
|
8
8
|
import { UserConfig } from 'vite';
|
|
9
|
-
import { Configuration } from 'webpack';
|
|
9
|
+
import { Configuration as Configuration$1 } from 'webpack';
|
|
10
10
|
|
|
11
11
|
type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
|
|
12
12
|
type BuildVariant = UnpluginBuildVariant | "tsup" | "unbuild";
|
|
@@ -62,10 +62,10 @@ type ESBuildBuildConfig = Omit<BuildOptions, "entryPoints" | "sourceRoot" | "pla
|
|
|
62
62
|
type ESBuildResolvedBuildConfig = BuildOptions & BuildResolvedConfig;
|
|
63
63
|
type ViteBuildConfig = Omit<UserConfig, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig;
|
|
64
64
|
type ViteResolvedBuildConfig = UserConfig & BuildResolvedConfig;
|
|
65
|
-
type WebpackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
66
|
-
type WebpackResolvedBuildConfig = Configuration & BuildResolvedConfig;
|
|
67
|
-
type RspackBuildConfig = Omit<Configuration
|
|
68
|
-
type RspackResolvedBuildConfig = Configuration
|
|
65
|
+
type WebpackBuildConfig = Omit<Configuration$1, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
66
|
+
type WebpackResolvedBuildConfig = Configuration$1 & BuildResolvedConfig;
|
|
67
|
+
type RspackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
68
|
+
type RspackResolvedBuildConfig = Configuration & BuildResolvedConfig;
|
|
69
69
|
type RollupBuildOutputConfig = Omit<OutputOptions, "dir" | "format">;
|
|
70
70
|
type RollupBuildConfig = Omit<RollupOptions, "entry" | "external" | "input" | "output" | "logLevel"> & {
|
|
71
71
|
output: RollupBuildOutputConfig | RollupBuildOutputConfig[];
|
package/dist/types/build.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { UserConfig as UserConfig$1 } from '@farmfe/core';
|
|
2
|
-
import { Configuration
|
|
2
|
+
import { Configuration } from '@rspack/core';
|
|
3
3
|
import { BuildOptions as BuildOptions$1 } from '@storm-software/tsup/types';
|
|
4
4
|
import { UnbuildOptions } from '@storm-software/unbuild/types';
|
|
5
5
|
import { BuildOptions } from 'esbuild';
|
|
6
6
|
import { RolldownOptions, RolldownOutput } from 'rolldown';
|
|
7
7
|
import { RollupOptions, OutputOptions } from 'rollup';
|
|
8
8
|
import { UserConfig } from 'vite';
|
|
9
|
-
import { Configuration } from 'webpack';
|
|
9
|
+
import { Configuration as Configuration$1 } from 'webpack';
|
|
10
10
|
|
|
11
11
|
type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
|
|
12
12
|
type BuildVariant = UnpluginBuildVariant | "tsup" | "unbuild";
|
|
@@ -62,10 +62,10 @@ type ESBuildBuildConfig = Omit<BuildOptions, "entryPoints" | "sourceRoot" | "pla
|
|
|
62
62
|
type ESBuildResolvedBuildConfig = BuildOptions & BuildResolvedConfig;
|
|
63
63
|
type ViteBuildConfig = Omit<UserConfig, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig;
|
|
64
64
|
type ViteResolvedBuildConfig = UserConfig & BuildResolvedConfig;
|
|
65
|
-
type WebpackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
66
|
-
type WebpackResolvedBuildConfig = Configuration & BuildResolvedConfig;
|
|
67
|
-
type RspackBuildConfig = Omit<Configuration
|
|
68
|
-
type RspackResolvedBuildConfig = Configuration
|
|
65
|
+
type WebpackBuildConfig = Omit<Configuration$1, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
66
|
+
type WebpackResolvedBuildConfig = Configuration$1 & BuildResolvedConfig;
|
|
67
|
+
type RspackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
68
|
+
type RspackResolvedBuildConfig = Configuration & BuildResolvedConfig;
|
|
69
69
|
type RollupBuildOutputConfig = Omit<OutputOptions, "dir" | "format">;
|
|
70
70
|
type RollupBuildConfig = Omit<RollupOptions, "entry" | "external" | "input" | "output" | "logLevel"> & {
|
|
71
71
|
output: RollupBuildOutputConfig | RollupBuildOutputConfig[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@stryke/types/array';
|
|
2
2
|
import '@stryke/types/base';
|
|
3
|
-
export { C as CommandType, i as Commands, S as SUPPORTED_COMMANDS } from '../resolved-
|
|
3
|
+
export { C as CommandType, i as Commands, S as SUPPORTED_COMMANDS } from '../resolved-9OdFeVV0.cjs';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
|
6
6
|
import 'vite';
|
package/dist/types/commands.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@stryke/types/array';
|
|
2
2
|
import '@stryke/types/base';
|
|
3
|
-
export { C as CommandType, i as Commands, S as SUPPORTED_COMMANDS } from '../resolved-
|
|
3
|
+
export { C as CommandType, i as Commands, S as SUPPORTED_COMMANDS } from '../resolved-Bgn0EfLS.js';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
|
6
6
|
import 'vite';
|
package/dist/types/config.d.cts
CHANGED
|
@@ -7,7 +7,7 @@ import '@stryke/types/configuration';
|
|
|
7
7
|
import '@stryke/types/file';
|
|
8
8
|
import 'c12';
|
|
9
9
|
import 'vite';
|
|
10
|
-
export {
|
|
10
|
+
export { $ as AnyUserConfig, p as BabelUserConfig, q as BaseConfig, Q as BuildInlineConfig, K as CleanInlineConfig, r as CommonUserConfig, _ as ConfigEnv, Y as DocsInlineConfig, w as ESBuildUserConfig, E as EnvironmentConfig, F as FarmUserConfig, y as InferUserConfig, z as InitialUserConfig, H as InlineConfig, X as LintInlineConfig, L as LogFn, J as NewInlineConfig, O as OutputConfig, A as ParsedUserConfig, m as PartialPlugin, n as PartialPluginFactory, l as PluginConfig, k as PluginConfigObject, j as PluginConfigTuple, P as PluginFactory, G as PowerlinesCommand, M as PrepareInlineConfig, o as ProjectType, Z as ReleaseInlineConfig, v as RolldownUserConfig, u as RollupUserConfig, t as RspackUserConfig, T as TsupUserConfig, x as UnbuildUserConfig, U as UserConfig, a3 as UserConfigExport, a2 as UserConfigFn, a0 as UserConfigFnObject, a1 as UserConfigFnPromise, V as ViteUserConfig, s as WebpackUserConfig, W as WorkspaceConfig } from '../resolved-9OdFeVV0.cjs';
|
|
11
11
|
import './build.cjs';
|
|
12
12
|
import './tsconfig.cjs';
|
|
13
13
|
import './vfs.cjs';
|
package/dist/types/config.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import '@stryke/types/configuration';
|
|
|
7
7
|
import '@stryke/types/file';
|
|
8
8
|
import 'c12';
|
|
9
9
|
import 'vite';
|
|
10
|
-
export {
|
|
10
|
+
export { $ as AnyUserConfig, p as BabelUserConfig, q as BaseConfig, Q as BuildInlineConfig, K as CleanInlineConfig, r as CommonUserConfig, _ as ConfigEnv, Y as DocsInlineConfig, w as ESBuildUserConfig, E as EnvironmentConfig, F as FarmUserConfig, y as InferUserConfig, z as InitialUserConfig, H as InlineConfig, X as LintInlineConfig, L as LogFn, J as NewInlineConfig, O as OutputConfig, A as ParsedUserConfig, m as PartialPlugin, n as PartialPluginFactory, l as PluginConfig, k as PluginConfigObject, j as PluginConfigTuple, P as PluginFactory, G as PowerlinesCommand, M as PrepareInlineConfig, o as ProjectType, Z as ReleaseInlineConfig, v as RolldownUserConfig, u as RollupUserConfig, t as RspackUserConfig, T as TsupUserConfig, x as UnbuildUserConfig, U as UserConfig, a3 as UserConfigExport, a2 as UserConfigFn, a0 as UserConfigFnObject, a1 as UserConfigFnPromise, V as ViteUserConfig, s as WebpackUserConfig, W as WorkspaceConfig } from '../resolved-Bgn0EfLS.js';
|
|
11
11
|
import './build.js';
|
|
12
12
|
import './tsconfig.js';
|
|
13
13
|
import './vfs.js';
|
package/dist/types/context.d.cts
CHANGED
|
@@ -8,7 +8,7 @@ import 'oxc-parser';
|
|
|
8
8
|
import 'semver';
|
|
9
9
|
import 'unimport';
|
|
10
10
|
import 'unplugin';
|
|
11
|
-
export {
|
|
11
|
+
export { ae as APIContext, ai as BuildPluginContext, ad as Context, ag as EnvironmentContext, af as EnvironmentContextPlugin, ac as InitContextOptions, a4 as LogLevel, a6 as MetaInfo, ah as PluginContext, a7 as Resolver, ab as SelectHooksOptions, aj as SerializedVirtualFileSystem, a9 as SourceFile, a8 as TransformResult, aa as UnimportContext, a5 as WorkerProcess } from '../resolved-9OdFeVV0.cjs';
|
|
12
12
|
import './tsconfig.cjs';
|
|
13
13
|
import './vfs.cjs';
|
|
14
14
|
import '@stryke/types/base';
|
package/dist/types/context.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import 'oxc-parser';
|
|
|
8
8
|
import 'semver';
|
|
9
9
|
import 'unimport';
|
|
10
10
|
import 'unplugin';
|
|
11
|
-
export {
|
|
11
|
+
export { ae as APIContext, ai as BuildPluginContext, ad as Context, ag as EnvironmentContext, af as EnvironmentContextPlugin, ac as InitContextOptions, a4 as LogLevel, a6 as MetaInfo, ah as PluginContext, a7 as Resolver, ab as SelectHooksOptions, aj as SerializedVirtualFileSystem, a9 as SourceFile, a8 as TransformResult, aa as UnimportContext, a5 as WorkerProcess } from '../resolved-Bgn0EfLS.js';
|
|
12
12
|
import './tsconfig.js';
|
|
13
13
|
import './vfs.js';
|
|
14
14
|
import '@stryke/types/base';
|
package/dist/types/hooks.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { al as BaseHookKeys, ak as BaseHooks, ar as BaseHooksList, aq as BaseHooksListItem, an as ExternalHookKeys, am as ExternalHooks, as as ExternalHooksListItem, ap as HookKeys, ao as Hooks, at as HooksList, au as InferHookHandler, aw as InferHookParameters, av as InferHookReturnType, ax as InferHookThisType } from '../resolved-9OdFeVV0.cjs';
|
|
2
2
|
import '@stryke/types/base';
|
|
3
3
|
import '@stryke/types/configuration';
|
|
4
4
|
import '@stryke/types/file';
|
package/dist/types/hooks.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { al as BaseHookKeys, ak as BaseHooks, ar as BaseHooksList, aq as BaseHooksListItem, an as ExternalHookKeys, am as ExternalHooks, as as ExternalHooksListItem, ap as HookKeys, ao as Hooks, at as HooksList, au as InferHookHandler, aw as InferHookParameters, av as InferHookReturnType, ax as InferHookThisType } from '../resolved-Bgn0EfLS.js';
|
|
2
2
|
import '@stryke/types/base';
|
|
3
3
|
import '@stryke/types/configuration';
|
|
4
4
|
import '@stryke/types/file';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ae as APIContext, $ as AnyUserConfig, B as BabelPluginPass, aM as BabelResolvedConfig, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, p as BabelUserConfig, q as BaseConfig, al as BaseHookKeys, ak as BaseHooks, ar as BaseHooksList, aq as BaseHooksListItem, aB as BasePluginHookFunctions, Q as BuildInlineConfig, aC as BuildPlugin, ai as BuildPluginContext, K as CleanInlineConfig, C as CommandType, i as Commands, r as CommonUserConfig, _ as ConfigEnv, ad as Context, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, Y as DocsInlineConfig, aU as ESBuildResolvedConfig, w as ESBuildUserConfig, E as EnvironmentConfig, ag as EnvironmentContext, af as EnvironmentContextPlugin, aN as EnvironmentResolvedConfig, an as ExternalHookKeys, am as ExternalHooks, as as ExternalHooksListItem, aE as ExternalPluginHookFunctions, aD as ExternalPluginHookFunctionsVariant, aZ as FarmResolvedConfig, F as FarmUserConfig, aA as GenerateTypesResult, ap as HookKeys, ao as Hooks, at as HooksList, I as ImportDefinition, h as ImportSpecifier, au as InferHookHandler, aw as InferHookParameters, av as InferHookReturnType, ax as InferHookThisType, a_ as InferResolvedConfig, y as InferUserConfig, ac as InitContextOptions, z as InitialUserConfig, H as InlineConfig, X as LintInlineConfig, L as LogFn, a4 as LogLevel, a6 as MetaInfo, N as NamedImportDefinition, J as NewInlineConfig, O as OutputConfig, aP as OutputResolvedConfig, aJ as PLUGIN_NON_HOOK_FIELDS, A as ParsedUserConfig, m as PartialPlugin, n as PartialPluginFactory, aI as Plugin, aH as PluginBuildPlugins, l as PluginConfig, k as PluginConfigObject, j as PluginConfigTuple, ah as PluginContext, P as PluginFactory, az as PluginHook, aF as PluginHookFunctions, ay as PluginHookObject, aG as PluginHooks, aK as PluginNonHookFields, G as PowerlinesCommand, M as PrepareInlineConfig, o as ProjectType, Z as ReleaseInlineConfig, aO as ResolvedAssetGlob, R as ResolvedBabelTransformPluginOptions, aQ as ResolvedConfig, aL as ResolvedEntryTypeDefinition, a7 as Resolver, aW as RolldownResolvedConfig, v as RolldownUserConfig, aV as RollupResolvedConfig, u as RollupUserConfig, aT as RspackResolvedConfig, t as RspackUserConfig, S as SUPPORTED_COMMANDS, ab as SelectHooksOptions, aj as SerializedVirtualFileSystem, a9 as SourceFile, a8 as TransformResult, aX as TsupResolvedConfig, T as TsupUserConfig, aY as UnbuildResolvedConfig, x as UnbuildUserConfig, aa as UnimportContext, U as UserConfig, a3 as UserConfigExport, a2 as UserConfigFn, a0 as UserConfigFnObject, a1 as UserConfigFnPromise, aR as ViteResolvedConfig, V as ViteUserConfig, aS as WebpackResolvedConfig, s as WebpackUserConfig, a5 as WorkerProcess, W as WorkspaceConfig } from '../resolved-9OdFeVV0.cjs';
|
|
2
2
|
export { BuildConfig, BuildResolvedConfig, BuildVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownBuildOutputConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupBuildOutputConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuildVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig } from './build.cjs';
|
|
3
3
|
export { DeepkitOptions, ParsedTypeScriptConfig, RawReflectionMode, ReflectionLevel, ReflectionMode, TSCompilerOptions, TSConfig } from './tsconfig.cjs';
|
|
4
4
|
export { MarkdownPageEvent, MarkdownRendererEvent } from './typedoc.cjs';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ae as APIContext, $ as AnyUserConfig, B as BabelPluginPass, aM as BabelResolvedConfig, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, p as BabelUserConfig, q as BaseConfig, al as BaseHookKeys, ak as BaseHooks, ar as BaseHooksList, aq as BaseHooksListItem, aB as BasePluginHookFunctions, Q as BuildInlineConfig, aC as BuildPlugin, ai as BuildPluginContext, K as CleanInlineConfig, C as CommandType, i as Commands, r as CommonUserConfig, _ as ConfigEnv, ad as Context, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, Y as DocsInlineConfig, aU as ESBuildResolvedConfig, w as ESBuildUserConfig, E as EnvironmentConfig, ag as EnvironmentContext, af as EnvironmentContextPlugin, aN as EnvironmentResolvedConfig, an as ExternalHookKeys, am as ExternalHooks, as as ExternalHooksListItem, aE as ExternalPluginHookFunctions, aD as ExternalPluginHookFunctionsVariant, aZ as FarmResolvedConfig, F as FarmUserConfig, aA as GenerateTypesResult, ap as HookKeys, ao as Hooks, at as HooksList, I as ImportDefinition, h as ImportSpecifier, au as InferHookHandler, aw as InferHookParameters, av as InferHookReturnType, ax as InferHookThisType, a_ as InferResolvedConfig, y as InferUserConfig, ac as InitContextOptions, z as InitialUserConfig, H as InlineConfig, X as LintInlineConfig, L as LogFn, a4 as LogLevel, a6 as MetaInfo, N as NamedImportDefinition, J as NewInlineConfig, O as OutputConfig, aP as OutputResolvedConfig, aJ as PLUGIN_NON_HOOK_FIELDS, A as ParsedUserConfig, m as PartialPlugin, n as PartialPluginFactory, aI as Plugin, aH as PluginBuildPlugins, l as PluginConfig, k as PluginConfigObject, j as PluginConfigTuple, ah as PluginContext, P as PluginFactory, az as PluginHook, aF as PluginHookFunctions, ay as PluginHookObject, aG as PluginHooks, aK as PluginNonHookFields, G as PowerlinesCommand, M as PrepareInlineConfig, o as ProjectType, Z as ReleaseInlineConfig, aO as ResolvedAssetGlob, R as ResolvedBabelTransformPluginOptions, aQ as ResolvedConfig, aL as ResolvedEntryTypeDefinition, a7 as Resolver, aW as RolldownResolvedConfig, v as RolldownUserConfig, aV as RollupResolvedConfig, u as RollupUserConfig, aT as RspackResolvedConfig, t as RspackUserConfig, S as SUPPORTED_COMMANDS, ab as SelectHooksOptions, aj as SerializedVirtualFileSystem, a9 as SourceFile, a8 as TransformResult, aX as TsupResolvedConfig, T as TsupUserConfig, aY as UnbuildResolvedConfig, x as UnbuildUserConfig, aa as UnimportContext, U as UserConfig, a3 as UserConfigExport, a2 as UserConfigFn, a0 as UserConfigFnObject, a1 as UserConfigFnPromise, aR as ViteResolvedConfig, V as ViteUserConfig, aS as WebpackResolvedConfig, s as WebpackUserConfig, a5 as WorkerProcess, W as WorkspaceConfig } from '../resolved-Bgn0EfLS.js';
|
|
2
2
|
export { BuildConfig, BuildResolvedConfig, BuildVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownBuildOutputConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupBuildOutputConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuildVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig } from './build.js';
|
|
3
3
|
export { DeepkitOptions, ParsedTypeScriptConfig, RawReflectionMode, ReflectionLevel, ReflectionMode, TSCompilerOptions, TSConfig } from './tsconfig.js';
|
|
4
4
|
export { MarkdownPageEvent, MarkdownRendererEvent } from './typedoc.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CallHookOptions } from '../hooks-
|
|
2
|
-
import {
|
|
1
|
+
import { C as CallHookOptions } from '../hooks-BDXmrP9O.cjs';
|
|
2
|
+
import { aQ as ResolvedConfig, ag as EnvironmentContext, ap as HookKeys, ah as PluginContext, aw as InferHookParameters, av as InferHookReturnType } from '../resolved-9OdFeVV0.cjs';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
package/dist/types/internal.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CallHookOptions } from '../hooks-
|
|
2
|
-
import {
|
|
1
|
+
import { C as CallHookOptions } from '../hooks-BMy1XRpA.js';
|
|
2
|
+
import { aQ as ResolvedConfig, ag as EnvironmentContext, ap as HookKeys, ah as PluginContext, aw as InferHookParameters, av as InferHookReturnType } from '../resolved-Bgn0EfLS.js';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/configuration';
|
|
5
5
|
import '@stryke/types/file';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import '@stryke/types/array';
|
|
|
2
2
|
import '@stryke/types/base';
|
|
3
3
|
import 'unplugin';
|
|
4
4
|
import './build.cjs';
|
|
5
|
-
export {
|
|
5
|
+
export { aB as BasePluginHookFunctions, aC as BuildPlugin, aE as ExternalPluginHookFunctions, aD as ExternalPluginHookFunctionsVariant, aA as GenerateTypesResult, aJ as PLUGIN_NON_HOOK_FIELDS, aI as Plugin, aH as PluginBuildPlugins, az as PluginHook, aF as PluginHookFunctions, ay as PluginHookObject, aG as PluginHooks, aK as PluginNonHookFields } from '../resolved-9OdFeVV0.cjs';
|
|
6
6
|
import '@farmfe/core';
|
|
7
7
|
import '@rspack/core';
|
|
8
8
|
import '@storm-software/tsup/types';
|