@modern-js/bff-generator 3.7.31 → 3.7.32

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.
Files changed (2) hide show
  1. package/dist/index.js +51 -45
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -76029,16 +76029,16 @@ __export(src_exports, {
76029
76029
  module.exports = __toCommonJS(src_exports);
76030
76030
  var import_path6 = __toESM(require("path"));
76031
76031
 
76032
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/chalk.js
76032
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/chalk.js
76033
76033
  var import_chalk = __toESM(require_source());
76034
76034
 
76035
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/fs-extra.js
76035
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/fs-extra.js
76036
76036
  var import_fs_extra = __toESM(require_lib());
76037
76037
 
76038
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
76038
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
76039
76039
  var FS_RESOURCE = "_codesmith_core_fs_resource";
76040
76040
 
76041
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
76041
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
76042
76042
  function fsExists(path6) {
76043
76043
  return __async(this, null, function* () {
76044
76044
  try {
@@ -76050,10 +76050,10 @@ function fsExists(path6) {
76050
76050
  });
76051
76051
  }
76052
76052
 
76053
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/execa.js
76053
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/execa.js
76054
76054
  var import_execa = __toESM(require_execa());
76055
76055
 
76056
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/timeoutPromise.js
76056
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/timeoutPromise.js
76057
76057
  function timeoutPromise(promise, ms, reason = "Operation") {
76058
76058
  return __async(this, null, function* () {
76059
76059
  let timeoutId = null;
@@ -76077,11 +76077,11 @@ function timeoutPromise(promise, ms, reason = "Operation") {
76077
76077
  });
76078
76078
  }
76079
76079
 
76080
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/constants.js
76080
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/constants.js
76081
76081
  var NPM_API_TIMEOUT = 3e4;
76082
76082
  var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
76083
76083
 
76084
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
76084
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
76085
76085
  var import_semver = __toESM(require_semver2());
76086
76086
 
76087
76087
  // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
@@ -79423,19 +79423,24 @@ var {
79423
79423
  mergeConfig: mergeConfig2
79424
79424
  } = axios_default;
79425
79425
 
79426
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmRegistry.js
79426
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmRegistry.js
79427
79427
  function getNpmRegistry() {
79428
79428
  return __async(this, null, function* () {
79429
- const { stdout } = yield (0, import_execa.default)("npm", [
79430
- "config",
79431
- "get",
79432
- "registry"
79433
- ]);
79434
- return stdout.replace(/\/$/, "") || "https://registry.npmjs.org";
79429
+ try {
79430
+ const { stdout } = yield (0, import_execa.default)("npm", [
79431
+ "config",
79432
+ "get",
79433
+ "registry",
79434
+ "--no-workspaces"
79435
+ ]);
79436
+ return stdout.replace(/\/$/, "") || "https://registry.npmjs.org";
79437
+ } catch (error) {
79438
+ return "https://registry.npmjs.org";
79439
+ }
79435
79440
  });
79436
79441
  }
79437
79442
 
79438
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmPackageInfo.js
79443
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmPackageInfo.js
79439
79444
  var NpmPackageInfoCache = /* @__PURE__ */ new Map();
79440
79445
  function getNpmPackageInfoWithCommand(pkgName, pkgVersion, options) {
79441
79446
  return __async(this, null, function* () {
@@ -79486,7 +79491,7 @@ function getNpmPackageInfo(pkgName, pkgVersion, options) {
79486
79491
  });
79487
79492
  }
79488
79493
 
79489
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmVersion.js
79494
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmVersion.js
79490
79495
  function getNpmVersion(packageName, options) {
79491
79496
  return __async(this, null, function* () {
79492
79497
  const { version = "latest" } = options || {};
@@ -79495,7 +79500,7 @@ function getNpmVersion(packageName, options) {
79495
79500
  });
79496
79501
  }
79497
79502
 
79498
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getPackageInfo.js
79503
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/getPackageInfo.js
79499
79504
  function getPackageInfo(packageName) {
79500
79505
  if (!packageName) {
79501
79506
  throw new Error("package is not exisit");
@@ -79519,16 +79524,16 @@ function getPackageInfo(packageName) {
79519
79524
  };
79520
79525
  }
79521
79526
 
79522
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/ora.js
79527
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/ora.js
79523
79528
  var import_ora = __toESM(require_ora());
79524
79529
 
79525
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/utils/renderString.js
79530
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/utils/renderString.js
79526
79531
  var import_ejs = __toESM(require_ejs());
79527
79532
  function renderString(template, fullData) {
79528
79533
  return import_ejs.default.render(template, fullData) || "";
79529
79534
  }
79530
79535
 
79531
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/index.js
79536
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/index.js
79532
79537
  var EjsAPI = class {
79533
79538
  renderTemplate(_0, _1) {
79534
79539
  return __async(this, arguments, function* (templateResource, target, parameters = {}) {
@@ -79563,7 +79568,7 @@ var EjsAPI = class {
79563
79568
  }
79564
79569
  };
79565
79570
 
79566
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-fs/dist/esm-node/index.js
79571
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-fs/dist/esm-node/index.js
79567
79572
  var import_path = __toESM(require("path"));
79568
79573
  var FsAPI = class {
79569
79574
  renderFile(resource, target) {
@@ -79592,7 +79597,7 @@ var FsAPI = class {
79592
79597
  }
79593
79598
  };
79594
79599
 
79595
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-git/dist/esm-node/utils/index.js
79600
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-git/dist/esm-node/utils/index.js
79596
79601
  function canUseGit() {
79597
79602
  return __async(this, null, function* () {
79598
79603
  try {
@@ -79676,7 +79681,7 @@ function gitCommit(cwd, commitMessage) {
79676
79681
  });
79677
79682
  }
79678
79683
 
79679
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-git/dist/esm-node/index.js
79684
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-git/dist/esm-node/index.js
79680
79685
  var GitAPI = class {
79681
79686
  isInGitRepo() {
79682
79687
  return __async(this, arguments, function* (cwd = this.generatorCore.outputPath) {
@@ -79732,7 +79737,7 @@ var GitAPI = class {
79732
79737
  }
79733
79738
  };
79734
79739
 
79735
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/utils/renderString.js
79740
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/utils/renderString.js
79736
79741
  var import_handlebars = __toESM(require_lib2());
79737
79742
  function renderString2(template, fullData, registers) {
79738
79743
  const helpers = __spreadValues({}, registers === null || registers === void 0 ? void 0 : registers.helpers);
@@ -79742,7 +79747,7 @@ function renderString2(template, fullData, registers) {
79742
79747
  return import_handlebars.default.compile(template)(fullData) || "";
79743
79748
  }
79744
79749
 
79745
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/index.js
79750
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/index.js
79746
79751
  var HandlebarsAPI = class {
79747
79752
  registerHelp(helpers) {
79748
79753
  return __async(this, null, function* () {
@@ -79899,7 +79904,7 @@ function __generator(thisArg, body) {
79899
79904
  }
79900
79905
  }
79901
79906
 
79902
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/npm.js
79907
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/npm.js
79903
79908
  var import_execa5 = __toESM(require_execa());
79904
79909
  function canUseNvm() {
79905
79910
  return _canUseNvm.apply(this, arguments);
@@ -80120,7 +80125,7 @@ function _canUsePnpm() {
80120
80125
  return _canUsePnpm.apply(this, arguments);
80121
80126
  }
80122
80127
 
80123
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/install.js
80128
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/install.js
80124
80129
  function execaWithStreamLog(command, args, options) {
80125
80130
  const promise = (0, import_execa.default)(command, args, __spreadProps(__spreadValues({}, options), {
80126
80131
  stdin: "inherit",
@@ -80221,7 +80226,7 @@ function pnpmInstall(_0) {
80221
80226
  });
80222
80227
  }
80223
80228
 
80224
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/index.js
80229
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/index.js
80225
80230
  var NpmAPI = class {
80226
80231
  npmInstall({ cwd, registryUrl, ignoreScripts }) {
80227
80232
  return npmInstall({
@@ -80249,7 +80254,7 @@ var NpmAPI = class {
80249
80254
  }
80250
80255
  };
80251
80256
 
80252
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/lodash.js
80257
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/lodash.js
80253
80258
  var import_lodash = __toESM(require_lodash());
80254
80259
  var import_lodash2 = __toESM(require_lodash2());
80255
80260
  var import_lodash3 = __toESM(require_lodash3());
@@ -86016,10 +86021,10 @@ var Schema = (
86016
86021
  }()
86017
86022
  );
86018
86023
 
86019
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
86024
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
86020
86025
  var import_inquirer = __toESM(require_inquirer());
86021
86026
 
86022
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
86027
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
86023
86028
  function validateSchema(schema) {
86024
86029
  const { type, properties } = schema;
86025
86030
  if (type !== "object") {
@@ -86106,7 +86111,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
86106
86111
  return getQuestionFromSchema(schema, configValue, validateMap, initValue);
86107
86112
  }
86108
86113
 
86109
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
86114
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
86110
86115
  var compileRule = (rule, scope) => {
86111
86116
  const state = Schema.compile(rule, __spreadValues({
86112
86117
  $self: {},
@@ -86206,7 +86211,7 @@ function prompt(_0) {
86206
86211
  });
86207
86212
  }
86208
86213
 
86209
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
86214
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
86210
86215
  var CLIReader = class {
86211
86216
  getAnswers() {
86212
86217
  return this.answers;
@@ -86234,7 +86239,7 @@ var CLIReader = class {
86234
86239
  }
86235
86240
  };
86236
86241
 
86237
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
86242
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
86238
86243
  var import_comment_json = __toESM(require_src3());
86239
86244
  var import_inquirer2 = __toESM(require_inquirer2());
86240
86245
 
@@ -86301,7 +86306,7 @@ var I18n = class {
86301
86306
  }
86302
86307
  };
86303
86308
 
86304
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
86309
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
86305
86310
  var EN_LOCALE = {
86306
86311
  environment: {
86307
86312
  node_version: "The version of Node.js is too low. Please upgrade to the LTS version: https://nodejs.org/",
@@ -86328,7 +86333,7 @@ var EN_LOCALE = {
86328
86333
  }
86329
86334
  };
86330
86335
 
86331
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
86336
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
86332
86337
  var ZH_LOCALE = {
86333
86338
  environment: {
86334
86339
  node_version: "Node.js 版本太低,请升级至 LTS 版本: https://nodejs.org/",
@@ -86355,14 +86360,14 @@ var ZH_LOCALE = {
86355
86360
  }
86356
86361
  };
86357
86362
 
86358
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
86363
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
86359
86364
  var i18n = new I18n();
86360
86365
  var localeKeys = i18n.init("zh", {
86361
86366
  zh: ZH_LOCALE,
86362
86367
  en: EN_LOCALE
86363
86368
  });
86364
86369
 
86365
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
86370
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
86366
86371
  var import_path3 = __toESM(require("path"));
86367
86372
  var NODE_MAJOR_VERSION_MAP = {
86368
86373
  "lts/*": 18,
@@ -86373,7 +86378,8 @@ var NODE_MAJOR_VERSION_MAP = {
86373
86378
  "lts/erbium": 12,
86374
86379
  "lts/fermium": 14,
86375
86380
  "lts/gallium": 16,
86376
- "lts/hydrogen": 18
86381
+ "lts/hydrogen": 18,
86382
+ "lts/jod": 22
86377
86383
  };
86378
86384
  function getNoteVersion() {
86379
86385
  return __async(this, null, function* () {
@@ -86413,7 +86419,7 @@ function checkUseNvm(cwd, logger) {
86413
86419
  });
86414
86420
  }
86415
86421
 
86416
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
86422
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
86417
86423
  function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
86418
86424
  for (const question of questions) {
86419
86425
  question.default = initValue[question.name] || question.default;
@@ -86440,7 +86446,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
86440
86446
  return questions;
86441
86447
  }
86442
86448
 
86443
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
86449
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
86444
86450
  var AppAPI = class {
86445
86451
  checkEnvironment(nodeVersion) {
86446
86452
  return __async(this, null, function* () {
@@ -86683,11 +86689,11 @@ var AppAPI = class {
86683
86689
  }
86684
86690
  };
86685
86691
 
86686
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
86692
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.8/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
86687
86693
  var import_comment_json2 = __toESM(require_src3());
86688
86694
  var declarationUpdate = __toESM(require_dist());
86689
86695
 
86690
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/utils/index.js
86696
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.8/node_modules/@modern-js/codesmith-api-json/dist/esm-node/utils/index.js
86691
86697
  function editJson(generatorCore, resource, getNewJsonValue) {
86692
86698
  return __async(this, null, function* () {
86693
86699
  const originJsonValue = yield resource.value();
@@ -86702,7 +86708,7 @@ function editJson(generatorCore, resource, getNewJsonValue) {
86702
86708
  });
86703
86709
  }
86704
86710
 
86705
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
86711
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.8/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
86706
86712
  var JsonAPI = class {
86707
86713
  get(resource) {
86708
86714
  return __async(this, null, function* () {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.7.31",
18
+ "version": "3.7.32",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./src/index.ts",
21
21
  "main": "./dist/index.js",
@@ -24,17 +24,17 @@
24
24
  "/dist/index.js"
25
25
  ],
26
26
  "devDependencies": {
27
- "@modern-js/codesmith": "2.6.7",
28
- "@modern-js/codesmith-api-app": "2.6.7",
29
- "@modern-js/codesmith-api-json": "2.6.7",
30
- "@modern-js/codesmith-utils": "2.6.7",
27
+ "@modern-js/codesmith": "2.6.8",
28
+ "@modern-js/codesmith-api-app": "2.6.8",
29
+ "@modern-js/codesmith-api-json": "2.6.8",
30
+ "@modern-js/codesmith-utils": "2.6.8",
31
31
  "@types/jest": "^29",
32
32
  "@types/node": "^14",
33
33
  "jest": "^29",
34
34
  "typescript": "^5",
35
- "@modern-js/generator-common": "3.7.31",
36
- "@modern-js/generator-utils": "3.7.31",
37
- "@modern-js/plugin-i18n": "2.67.6",
35
+ "@modern-js/generator-common": "3.7.32",
36
+ "@modern-js/generator-utils": "3.7.32",
37
+ "@modern-js/plugin-i18n": "2.67.7",
38
38
  "@scripts/build": "2.66.0",
39
39
  "@scripts/jest-config": "2.66.0"
40
40
  },