@4399ywkf/core 5.3.0 → 5.3.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.
@@ -1,5 +1,5 @@
1
- import { Q as YwkfPlugin, e as PluginHooks, Y as YwkfConfig, f as PluginConfig, U as RouteItem } from '../schema-QzJlmn39.js';
2
- export { y as BuildHooks, C as CodeInjection, V as DefinePlugin, F as GeneratedFile, G as GeneratorContext, J as GeneratorHooks, W as PluginAPI, K as PluginContext, X as PluginLogger, L as RouterHooks, N as RuntimeHooks } from '../schema-QzJlmn39.js';
1
+ import { Q as YwkfPlugin, e as PluginHooks, Y as YwkfConfig, f as PluginConfig, U as RouteItem } from '../schema-Ade9gA3U.js';
2
+ export { y as BuildHooks, C as CodeInjection, V as DefinePlugin, F as GeneratedFile, G as GeneratorContext, J as GeneratorHooks, W as PluginAPI, K as PluginContext, X as PluginLogger, L as RouterHooks, N as RuntimeHooks } from '../schema-Ade9gA3U.js';
3
3
  import { Configuration } from '@rspack/core';
4
4
  import { a as AppConfig, P as ProviderConfig } from '../types-ZJhd87ue.js';
5
5
  import 'react';
@@ -1,5 +1,5 @@
1
1
  import { Configuration } from '@rspack/core';
2
- import { Y as YwkfConfig } from '../schema-QzJlmn39.js';
2
+ import { Y as YwkfConfig } from '../schema-Ade9gA3U.js';
3
3
  import '../types-ZJhd87ue.js';
4
4
  import 'react';
5
5
  import 'react-router';
@@ -763,7 +763,7 @@ function scaffoldI18nRc(cwd, localesDir, defaultLocale, locales, logger) {
763
763
  const filePath = join3(cwd, ".i18nrc.js");
764
764
  if (existsSync3(filePath)) return;
765
765
  const outputLocales = locales.filter((l) => l !== defaultLocale).map((l) => `"${l}"`).join(", ");
766
- const content = `const { defineConfig } = require("@lobehub/i18n-cli");
766
+ const content = `const { defineConfig } = require("@4399ywkf/i18n");
767
767
 
768
768
  module.exports = defineConfig({
769
769
  entry: "${localesDir}/${defaultLocale}",
@@ -773,7 +773,7 @@ module.exports = defineConfig({
773
773
  });
774
774
  `;
775
775
  writeFileSync2(filePath, content, "utf-8");
776
- logger.info("\u5DF2\u751F\u6210\u7FFB\u8BD1\u914D\u7F6E: .i18nrc.js\uFF08@lobehub/i18n-cli\uFF09");
776
+ logger.info("\u5DF2\u751F\u6210\u7FFB\u8BD1\u914D\u7F6E: .i18nrc.js\uFF08\u9700\u5B89\u88C5 @4399ywkf/i18n\uFF09");
777
777
  }
778
778
  function scaffoldLocaleJsonDirs(cwd, localesDir, locales, defaultLocale, namespaces, logger) {
779
779
  const baseDir = join3(cwd, localesDir);