@4399ywkf/core 5.3.1 → 5.4.1

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/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { G as GeneratorContext, e as PluginHooks, Y as YwkfConfig, f as PluginConfig } from './schema-Ade9gA3U.js';
2
- export { A as AnalyticsPluginOptions, h as BiomePluginOptions, j as BrowserCheckPluginOptions, k as BrowserMinVersions, y as BuildHooks, C as CodeInjection, D as DevServerConfig, E as EnvConfig, m as GarfishPluginOptions, F as GeneratedFile, J as GeneratorHooks, H as HtmlConfig, I as I18nPluginOptions, M as MicroFrontendConfig, q as MockPluginOptions, b as OutputConfig, P as PerformanceConfig, K as PluginContext, s as ReactQueryPluginOptions, R as RouterConfig, L as RouterHooks, N as RuntimeHooks, S as StyleConfig, u as TailwindPluginOptions, v as ThemePluginOptions, T as ToolsConfig, Q as YwkfPlugin, Z as ZustandPluginOptions, g as analyticsPlugin, i as biomePlugin, l as browserCheckPlugin, d as defaultConfig, a as defineConfig, n as garfishPlugin, o as getDefaultBiomeConfig, p as i18nPlugin, r as mockPlugin, t as reactQueryPlugin, w as tailwindPlugin, x as themePlugin, z as zustandPlugin } from './schema-Ade9gA3U.js';
1
+ import { G as GeneratorContext, e as PluginHooks, Y as YwkfConfig, f as PluginConfig } from './schema-BblOKuYl.js';
2
+ export { A as AnalyticsPluginOptions, i as BiomePluginOptions, k as BrowserCheckPluginOptions, l as BrowserMinVersions, y as BuildHooks, C as CodeInjection, D as DevServerConfig, E as EnvConfig, n as GarfishPluginOptions, F as GeneratedFile, J as GeneratorHooks, H as HtmlConfig, I as I18nPluginOptions, M as MicroFrontendConfig, r as MockPluginOptions, b as OutputConfig, P as PerformanceConfig, K as PluginContext, t as ReactQueryPluginOptions, R as RouterConfig, L as RouterHooks, N as RuntimeHooks, S as StyleConfig, v as TailwindPluginOptions, x as ThemePluginOptions, T as ToolsConfig, Q as YwkfPlugin, Z as ZustandPluginOptions, g as analyticsPlugin, h as biomePlugin, j as browserCheckPlugin, d as defaultConfig, a as defineConfig, m as garfishPlugin, o as getDefaultBiomeConfig, p as i18nPlugin, q as mockPlugin, s as reactQueryPlugin, u as tailwindPlugin, w as themePlugin, z as zustandPlugin } from './schema-BblOKuYl.js';
3
3
  import { Compiler } from '@rspack/core';
4
4
  export { PluginManager, createPlugin, definePlugin } from './plugin/index.js';
5
5
  export { ConventionalRouteGenerator, ConventionalRoutePlugin, ConventionalRoutePluginOptions, GeneratorOptions, RouteConfig, generateConventionalRoutes } from './router/index.js';
6
6
  export { createBaseConfig, createDevConfig, createProdConfig, createRspackConfig } from './rspack/index.js';
7
7
  export { AppContext, AppContextProvider, CHUNK_RECOVERY_ACTIVE_SYMBOL, CHUNK_RECOVERY_CACHE_BUST_PARAM, CHUNK_RECOVERY_STORAGE_KEY, ChunkRecoveryClaim, ChunkRecoveryPolicy, ChunkRecoveryPolicyContext, ChunkRecoveryStorage, ClaimChunkRecoveryAttemptOptions, DEFAULT_CHUNK_RECOVERY_COOLDOWN_MS, ErrorBoundary, GlobalChunkRecoveryHandlersOptions, HandleChunkRecoveryOptions, RootProvider, RouteErrorBoundary, RouteErrorBoundaryProps, bootstrap, claimChunkRecoveryAttempt, clearChunkRecoveryCacheBustParam, createMicroApp, createProvider, getMicroAppPublicPath, handleChunkLoadError, installGlobalChunkRecoveryHandlers, isChunkLoadError, isMicroAppEnv, isMicroAppRuntime, resolveChunkRecoveryPolicy, unmount, useApp, useAppName, useBasename, useEnv, useIsDev } from './runtime/index.js';
8
- export { A as AntdConfig, a as AppConfig, b as AppContextValue, C as ChunkRecoveryConfig, c as ChunkRecoveryEvent, d as ChunkRecoveryOutcome, e as ChunkRecoverySource, L as LifecycleHooks, M as MicroAppConfig, P as ProviderConfig } from './types-ZJhd87ue.js';
8
+ export { A as AntdConfig, a as AppConfig, b as AppContextValue, C as ChunkRecoveryConfig, c as ChunkRecoveryEvent, d as ChunkRecoveryOutcome, e as ChunkRecoverySource, L as LifecycleHooks, M as MicroAppConfig, P as ProviderConfig } from './types-DZ7Nz9bQ.js';
9
9
  import 'react/jsx-runtime';
10
10
  import 'react';
11
11
  import 'react-router';
@@ -46,7 +46,7 @@ declare class YwkfGenerator {
46
46
  private context;
47
47
  private pluginHooks;
48
48
  private lastGeneratedContent;
49
- constructor(context: Omit<GeneratorContext, "outputDir"> & {
49
+ constructor(context: Omit<GeneratorContext, 'outputDir'> & {
50
50
  outputDir?: string;
51
51
  }, pluginHooks?: PluginHooks[]);
52
52
  /**
@@ -96,14 +96,14 @@ declare class YwkfGenerator {
96
96
  }
97
97
 
98
98
  interface YwkfGeneratorPluginOptions {
99
- /** 项目根目录 */
100
- cwd: string;
101
99
  /** 解析后的配置 */
102
100
  config: Required<YwkfConfig>;
103
- /** 输出目录(.ywkf) */
104
- outputDir: string;
101
+ /** 项目根目录 */
102
+ cwd: string;
105
103
  /** 是否开发模式 */
106
104
  isDev: boolean;
105
+ /** 输出目录(.ywkf) */
106
+ outputDir: string;
107
107
  /** 用户配置的插件列表(PluginConfig 格式) */
108
108
  pluginConfigs?: PluginConfig[];
109
109
  }