@modern-js/tailwindcss-generator 3.7.23 → 3.7.24

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 +42 -182
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -3875,37 +3875,6 @@ var require_ensure = __commonJS({
3875
3875
  }
3876
3876
  });
3877
3877
 
3878
- // ../../../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js
3879
- var require_universalify2 = __commonJS({
3880
- "../../../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js"(exports) {
3881
- "use strict";
3882
- exports.fromCallback = function(fn) {
3883
- return Object.defineProperty(function(...args) {
3884
- if (typeof args[args.length - 1] === "function")
3885
- fn.apply(this, args);
3886
- else {
3887
- return new Promise((resolve, reject) => {
3888
- fn.call(
3889
- this,
3890
- ...args,
3891
- (err, res) => err != null ? reject(err) : resolve(res)
3892
- );
3893
- });
3894
- }
3895
- }, "name", { value: fn.name });
3896
- };
3897
- exports.fromPromise = function(fn) {
3898
- return Object.defineProperty(function(...args) {
3899
- const cb = args[args.length - 1];
3900
- if (typeof cb !== "function")
3901
- return fn.apply(this, args);
3902
- else
3903
- fn.apply(this, args.slice(0, -1)).then((r) => cb(null, r), cb);
3904
- }, "name", { value: fn.name });
3905
- };
3906
- }
3907
- });
3908
-
3909
3878
  // ../../../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js
3910
3879
  var require_utils2 = __commonJS({
3911
3880
  "../../../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js"(exports, module2) {
@@ -3934,7 +3903,7 @@ var require_jsonfile = __commonJS({
3934
3903
  } catch (_) {
3935
3904
  _fs = require("fs");
3936
3905
  }
3937
- var universalify = require_universalify2();
3906
+ var universalify = require_universalify();
3938
3907
  var { stringify: stringify4, stripBom } = require_utils2();
3939
3908
  function _readFile(_0) {
3940
3909
  return __async(this, arguments, function* (file, options = {}) {
@@ -4509,9 +4478,9 @@ var require_path_key = __commonJS({
4509
4478
  }
4510
4479
  });
4511
4480
 
4512
- // ../../../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js
4481
+ // ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
4513
4482
  var require_resolveCommand = __commonJS({
4514
- "../../../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module2) {
4483
+ "../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module2) {
4515
4484
  "use strict";
4516
4485
  var path7 = require("path");
4517
4486
  var which = require_which();
@@ -4551,9 +4520,9 @@ var require_resolveCommand = __commonJS({
4551
4520
  }
4552
4521
  });
4553
4522
 
4554
- // ../../../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js
4523
+ // ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
4555
4524
  var require_escape = __commonJS({
4556
- "../../../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js"(exports, module2) {
4525
+ "../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"(exports, module2) {
4557
4526
  "use strict";
4558
4527
  var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
4559
4528
  function escapeCommand(arg) {
@@ -4562,8 +4531,8 @@ var require_escape = __commonJS({
4562
4531
  }
4563
4532
  function escapeArgument(arg, doubleEscapeMetaChars) {
4564
4533
  arg = `${arg}`;
4565
- arg = arg.replace(/(\\*)"/g, '$1$1\\"');
4566
- arg = arg.replace(/(\\*)$/, "$1$1");
4534
+ arg = arg.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"');
4535
+ arg = arg.replace(/(?=(\\+?)?)\1$/, "$1$1");
4567
4536
  arg = `"${arg}"`;
4568
4537
  arg = arg.replace(metaCharsRegExp, "^$1");
4569
4538
  if (doubleEscapeMetaChars) {
@@ -4604,9 +4573,9 @@ var require_shebang_command = __commonJS({
4604
4573
  }
4605
4574
  });
4606
4575
 
4607
- // ../../../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js
4576
+ // ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
4608
4577
  var require_readShebang = __commonJS({
4609
- "../../../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module2) {
4578
+ "../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module2) {
4610
4579
  "use strict";
4611
4580
  var fs2 = require("fs");
4612
4581
  var shebangCommand = require_shebang_command();
@@ -4626,9 +4595,9 @@ var require_readShebang = __commonJS({
4626
4595
  }
4627
4596
  });
4628
4597
 
4629
- // ../../../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js
4598
+ // ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
4630
4599
  var require_parse = __commonJS({
4631
- "../../../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js"(exports, module2) {
4600
+ "../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(exports, module2) {
4632
4601
  "use strict";
4633
4602
  var path7 = require("path");
4634
4603
  var resolveCommand = require_resolveCommand();
@@ -4688,9 +4657,9 @@ var require_parse = __commonJS({
4688
4657
  }
4689
4658
  });
4690
4659
 
4691
- // ../../../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js
4660
+ // ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
4692
4661
  var require_enoent = __commonJS({
4693
- "../../../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js"(exports, module2) {
4662
+ "../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"(exports, module2) {
4694
4663
  "use strict";
4695
4664
  var isWin = process.platform === "win32";
4696
4665
  function notFoundError(original, syscall) {
@@ -4709,7 +4678,7 @@ var require_enoent = __commonJS({
4709
4678
  const originalEmit = cp.emit;
4710
4679
  cp.emit = function(name, arg1) {
4711
4680
  if (name === "exit") {
4712
- const err = verifyENOENT(arg1, parsed, "spawn");
4681
+ const err = verifyENOENT(arg1, parsed);
4713
4682
  if (err) {
4714
4683
  return originalEmit.call(cp, "error", err);
4715
4684
  }
@@ -4738,9 +4707,9 @@ var require_enoent = __commonJS({
4738
4707
  }
4739
4708
  });
4740
4709
 
4741
- // ../../../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js
4710
+ // ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
4742
4711
  var require_cross_spawn = __commonJS({
4743
- "../../../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js"(exports, module2) {
4712
+ "../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports, module2) {
4744
4713
  "use strict";
4745
4714
  var cp = require("child_process");
4746
4715
  var parse5 = require_parse();
@@ -63629,9 +63598,9 @@ var require_ms = __commonJS({
63629
63598
  }
63630
63599
  });
63631
63600
 
63632
- // ../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/common.js
63601
+ // ../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js
63633
63602
  var require_common2 = __commonJS({
63634
- "../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/common.js"(exports, module2) {
63603
+ "../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js"(exports, module2) {
63635
63604
  "use strict";
63636
63605
  function setup(env) {
63637
63606
  createDebug.debug = createDebug;
@@ -63807,9 +63776,9 @@ var require_common2 = __commonJS({
63807
63776
  }
63808
63777
  });
63809
63778
 
63810
- // ../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/browser.js
63779
+ // ../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js
63811
63780
  var require_browser = __commonJS({
63812
- "../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/browser.js"(exports, module2) {
63781
+ "../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js"(exports, module2) {
63813
63782
  "use strict";
63814
63783
  exports.formatArgs = formatArgs;
63815
63784
  exports.save = save;
@@ -63978,118 +63947,9 @@ var require_browser = __commonJS({
63978
63947
  }
63979
63948
  });
63980
63949
 
63981
- // ../../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js
63982
- var require_has_flag2 = __commonJS({
63983
- "../../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js"(exports, module2) {
63984
- "use strict";
63985
- module2.exports = (flag, argv) => {
63986
- argv = argv || process.argv;
63987
- const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
63988
- const pos2 = argv.indexOf(prefix + flag);
63989
- const terminatorPos = argv.indexOf("--");
63990
- return pos2 !== -1 && (terminatorPos === -1 ? true : pos2 < terminatorPos);
63991
- };
63992
- }
63993
- });
63994
-
63995
- // ../../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js
63996
- var require_supports_color2 = __commonJS({
63997
- "../../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js"(exports, module2) {
63998
- "use strict";
63999
- var os = require("os");
64000
- var hasFlag = require_has_flag2();
64001
- var env = process.env;
64002
- var forceColor;
64003
- if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
64004
- forceColor = false;
64005
- } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
64006
- forceColor = true;
64007
- }
64008
- if ("FORCE_COLOR" in env) {
64009
- forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
64010
- }
64011
- function translateLevel(level) {
64012
- if (level === 0) {
64013
- return false;
64014
- }
64015
- return {
64016
- level,
64017
- hasBasic: true,
64018
- has256: level >= 2,
64019
- has16m: level >= 3
64020
- };
64021
- }
64022
- function supportsColor(stream) {
64023
- if (forceColor === false) {
64024
- return 0;
64025
- }
64026
- if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
64027
- return 3;
64028
- }
64029
- if (hasFlag("color=256")) {
64030
- return 2;
64031
- }
64032
- if (stream && !stream.isTTY && forceColor !== true) {
64033
- return 0;
64034
- }
64035
- const min = forceColor ? 1 : 0;
64036
- if (process.platform === "win32") {
64037
- const osRelease = os.release().split(".");
64038
- if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
64039
- return Number(osRelease[2]) >= 14931 ? 3 : 2;
64040
- }
64041
- return 1;
64042
- }
64043
- if ("CI" in env) {
64044
- if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign2) => sign2 in env) || env.CI_NAME === "codeship") {
64045
- return 1;
64046
- }
64047
- return min;
64048
- }
64049
- if ("TEAMCITY_VERSION" in env) {
64050
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
64051
- }
64052
- if (env.COLORTERM === "truecolor") {
64053
- return 3;
64054
- }
64055
- if ("TERM_PROGRAM" in env) {
64056
- const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
64057
- switch (env.TERM_PROGRAM) {
64058
- case "iTerm.app":
64059
- return version >= 3 ? 3 : 2;
64060
- case "Apple_Terminal":
64061
- return 2;
64062
- }
64063
- }
64064
- if (/-256(color)?$/i.test(env.TERM)) {
64065
- return 2;
64066
- }
64067
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
64068
- return 1;
64069
- }
64070
- if ("COLORTERM" in env) {
64071
- return 1;
64072
- }
64073
- if (env.TERM === "dumb") {
64074
- return min;
64075
- }
64076
- return min;
64077
- }
64078
- function getSupportLevel(stream) {
64079
- const level = supportsColor(stream);
64080
- return translateLevel(level);
64081
- }
64082
- module2.exports = {
64083
- supportsColor: getSupportLevel,
64084
- stdout: getSupportLevel(process.stdout),
64085
- stderr: getSupportLevel(process.stderr)
64086
- };
64087
- }
64088
- });
64089
-
64090
- // ../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/node.js
63950
+ // ../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js
64091
63951
  var require_node2 = __commonJS({
64092
- "../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/node.js"(exports, module2) {
63952
+ "../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js"(exports, module2) {
64093
63953
  "use strict";
64094
63954
  var tty = require("tty");
64095
63955
  var util2 = require("util");
@@ -64106,7 +63966,7 @@ var require_node2 = __commonJS({
64106
63966
  );
64107
63967
  exports.colors = [6, 2, 3, 4, 5, 1];
64108
63968
  try {
64109
- const supportsColor = require_supports_color2();
63969
+ const supportsColor = require_supports_color();
64110
63970
  if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
64111
63971
  exports.colors = [
64112
63972
  20,
@@ -64262,9 +64122,9 @@ var require_node2 = __commonJS({
64262
64122
  }
64263
64123
  });
64264
64124
 
64265
- // ../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/index.js
64125
+ // ../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js
64266
64126
  var require_src3 = __commonJS({
64267
- "../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/index.js"(exports, module2) {
64127
+ "../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js"(exports, module2) {
64268
64128
  "use strict";
64269
64129
  if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
64270
64130
  module2.exports = require_browser();
@@ -69448,7 +69308,7 @@ autorun.effect = function(callback, dependencies) {
69448
69308
  }
69449
69309
  };
69450
69310
 
69451
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/shared.js
69311
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/shared.js
69452
69312
  var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
69453
69313
  var SchemaNestedMap = {
69454
69314
  parent: true,
@@ -69635,7 +69495,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
69635
69495
  });
69636
69496
  };
69637
69497
 
69638
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/compiler.js
69498
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/compiler.js
69639
69499
  var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
69640
69500
  var Registry = {
69641
69501
  silent: false,
@@ -70997,7 +70857,7 @@ function onFieldInit(pattern, callback) {
70997
70857
  }
70998
70858
  }
70999
70859
 
71000
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/transformer.js
70860
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/transformer.js
71001
70861
  var __read5 = function(o, n) {
71002
70862
  var m = typeof Symbol === "function" && o[Symbol.iterator];
71003
70863
  if (!m)
@@ -71222,7 +71082,7 @@ var transformFieldProps = function(schema, options) {
71222
71082
  };
71223
71083
  };
71224
71084
 
71225
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/patches.js
71085
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/patches.js
71226
71086
  var __assign5 = function() {
71227
71087
  __assign5 = Object.assign || function(t) {
71228
71088
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -71271,7 +71131,7 @@ var enablePolyfills = function(versions) {
71271
71131
  }
71272
71132
  };
71273
71133
 
71274
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
71134
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
71275
71135
  var __assign6 = function() {
71276
71136
  __assign6 = Object.assign || function(t) {
71277
71137
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -71428,7 +71288,7 @@ var registerTypeDefaultComponents = function(maps) {
71428
71288
  Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
71429
71289
  };
71430
71290
 
71431
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/schema.js
71291
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/schema.js
71432
71292
  var Schema = (
71433
71293
  /** @class */
71434
71294
  function() {
@@ -71664,10 +71524,10 @@ var Schema = (
71664
71524
  }()
71665
71525
  );
71666
71526
 
71667
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
71527
+ // ../../../../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
71668
71528
  var import_inquirer = __toESM(require_inquirer());
71669
71529
 
71670
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
71530
+ // ../../../../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
71671
71531
  function validateSchema(schema) {
71672
71532
  const { type, properties } = schema;
71673
71533
  if (type !== "object") {
@@ -71754,7 +71614,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
71754
71614
  return getQuestionFromSchema(schema, configValue, validateMap, initValue);
71755
71615
  }
71756
71616
 
71757
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
71617
+ // ../../../../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
71758
71618
  var compileRule = (rule, scope) => {
71759
71619
  const state = Schema.compile(rule, __spreadValues({
71760
71620
  $self: {},
@@ -71854,7 +71714,7 @@ function prompt(_0) {
71854
71714
  });
71855
71715
  }
71856
71716
 
71857
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
71717
+ // ../../../../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
71858
71718
  var CLIReader = class {
71859
71719
  getAnswers() {
71860
71720
  return this.answers;
@@ -71882,7 +71742,7 @@ var CLIReader = class {
71882
71742
  }
71883
71743
  };
71884
71744
 
71885
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
71745
+ // ../../../../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
71886
71746
  var import_comment_json = __toESM(require_src2());
71887
71747
  var import_inquirer2 = __toESM(require_inquirer2());
71888
71748
 
@@ -71949,7 +71809,7 @@ var I18n = class {
71949
71809
  }
71950
71810
  };
71951
71811
 
71952
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
71812
+ // ../../../../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
71953
71813
  var EN_LOCALE = {
71954
71814
  environment: {
71955
71815
  node_version: "The version of Node.js is too low. Please upgrade to the LTS version: https://nodejs.org/",
@@ -71976,7 +71836,7 @@ var EN_LOCALE = {
71976
71836
  }
71977
71837
  };
71978
71838
 
71979
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
71839
+ // ../../../../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
71980
71840
  var ZH_LOCALE = {
71981
71841
  environment: {
71982
71842
  node_version: "Node.js 版本太低,请升级至 LTS 版本: https://nodejs.org/",
@@ -72003,14 +71863,14 @@ var ZH_LOCALE = {
72003
71863
  }
72004
71864
  };
72005
71865
 
72006
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
71866
+ // ../../../../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
72007
71867
  var i18n = new I18n();
72008
71868
  var localeKeys = i18n.init("zh", {
72009
71869
  zh: ZH_LOCALE,
72010
71870
  en: EN_LOCALE
72011
71871
  });
72012
71872
 
72013
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
71873
+ // ../../../../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
72014
71874
  var import_path3 = __toESM(require("path"));
72015
71875
  var NODE_MAJOR_VERSION_MAP = {
72016
71876
  "lts/*": 18,
@@ -72061,7 +71921,7 @@ function checkUseNvm(cwd, logger) {
72061
71921
  });
72062
71922
  }
72063
71923
 
72064
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
71924
+ // ../../../../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
72065
71925
  function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
72066
71926
  for (const question of questions) {
72067
71927
  question.default = initValue[question.name] || question.default;
@@ -72088,7 +71948,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
72088
71948
  return questions;
72089
71949
  }
72090
71950
 
72091
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
71951
+ // ../../../../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
72092
71952
  var AppAPI = class {
72093
71953
  checkEnvironment(nodeVersion) {
72094
71954
  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.23",
18
+ "version": "3.7.24",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -31,11 +31,11 @@
31
31
  "@types/node": "^14",
32
32
  "jest": "^29",
33
33
  "typescript": "^5",
34
- "@modern-js/dependence-generator": "3.7.23",
35
- "@modern-js/generator-utils": "3.7.23",
36
- "@scripts/build": "2.65.5",
37
- "@modern-js/generator-common": "3.7.23",
38
- "@scripts/jest-config": "2.65.5"
34
+ "@modern-js/dependence-generator": "3.7.24",
35
+ "@modern-js/generator-common": "3.7.24",
36
+ "@modern-js/generator-utils": "3.7.24",
37
+ "@scripts/build": "2.66.0",
38
+ "@scripts/jest-config": "2.66.0"
39
39
  },
40
40
  "sideEffects": false,
41
41
  "publishConfig": {