@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.
package/dist/cli/index.js CHANGED
@@ -768,7 +768,7 @@ function scaffoldI18nRc(cwd, localesDir, defaultLocale, locales, logger) {
768
768
  const filePath = join3(cwd, ".i18nrc.js");
769
769
  if (existsSync3(filePath)) return;
770
770
  const outputLocales = locales.filter((l) => l !== defaultLocale).map((l) => `"${l}"`).join(", ");
771
- const content = `const { defineConfig } = require("@lobehub/i18n-cli");
771
+ const content = `const { defineConfig } = require("@4399ywkf/i18n");
772
772
 
773
773
  module.exports = defineConfig({
774
774
  entry: "${localesDir}/${defaultLocale}",
@@ -778,7 +778,7 @@ module.exports = defineConfig({
778
778
  });
779
779
  `;
780
780
  writeFileSync2(filePath, content, "utf-8");
781
- logger.info("\u5DF2\u751F\u6210\u7FFB\u8BD1\u914D\u7F6E: .i18nrc.js\uFF08@lobehub/i18n-cli\uFF09");
781
+ logger.info("\u5DF2\u751F\u6210\u7FFB\u8BD1\u914D\u7F6E: .i18nrc.js\uFF08\u9700\u5B89\u88C5 @4399ywkf/i18n\uFF09");
782
782
  }
783
783
  function scaffoldLocaleJsonDirs(cwd, localesDir, locales, defaultLocale, namespaces, logger) {
784
784
  const baseDir = join3(cwd, localesDir);