@modern-js/tailwindcss-generator 2.4.4 → 2.4.5

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 +120 -57
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -18879,7 +18879,7 @@ var require_lodash = __commonJSMin((exports, module2) => {
18879
18879
  }
18880
18880
  function baseFunctions(object, props) {
18881
18881
  return arrayFilter(props, function(key) {
18882
- return isFunction(object[key]);
18882
+ return isFunction2(object[key]);
18883
18883
  });
18884
18884
  }
18885
18885
  function baseGet(object, path2) {
@@ -19042,7 +19042,7 @@ var require_lodash = __commonJSMin((exports, module2) => {
19042
19042
  if (!isObject5(value) || isMasked(value)) {
19043
19043
  return false;
19044
19044
  }
19045
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
19045
+ var pattern = isFunction2(value) ? reIsNative : reIsHostCtor;
19046
19046
  return pattern.test(toSource(value));
19047
19047
  }
19048
19048
  function baseIsRegExp(value) {
@@ -19164,7 +19164,7 @@ var require_lodash = __commonJSMin((exports, module2) => {
19164
19164
  newValue = objValue;
19165
19165
  if (isArguments(objValue)) {
19166
19166
  newValue = toPlainObject(objValue);
19167
- } else if (!isObject5(objValue) || isFunction(objValue)) {
19167
+ } else if (!isObject5(objValue) || isFunction2(objValue)) {
19168
19168
  newValue = initCloneObject(srcValue);
19169
19169
  }
19170
19170
  } else {
@@ -20466,7 +20466,7 @@ var require_lodash = __commonJSMin((exports, module2) => {
20466
20466
  function isMasked(func) {
20467
20467
  return !!maskSrcKey && maskSrcKey in func;
20468
20468
  }
20469
- var isMaskable = coreJsData ? isFunction : stubFalse;
20469
+ var isMaskable = coreJsData ? isFunction2 : stubFalse;
20470
20470
  function isPrototype(value) {
20471
20471
  var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
20472
20472
  return value === proto;
@@ -21579,7 +21579,7 @@ var require_lodash = __commonJSMin((exports, module2) => {
21579
21579
  var isArray4 = Array2.isArray;
21580
21580
  var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;
21581
21581
  function isArrayLike(value) {
21582
- return value != null && isLength(value.length) && !isFunction(value);
21582
+ return value != null && isLength(value.length) && !isFunction2(value);
21583
21583
  }
21584
21584
  function isArrayLikeObject(value) {
21585
21585
  return isObjectLike(value) && isArrayLike(value);
@@ -21631,7 +21631,7 @@ var require_lodash = __commonJSMin((exports, module2) => {
21631
21631
  function isFinite2(value) {
21632
21632
  return typeof value == "number" && nativeIsFinite(value);
21633
21633
  }
21634
- function isFunction(value) {
21634
+ function isFunction2(value) {
21635
21635
  if (!isObject5(value)) {
21636
21636
  return false;
21637
21637
  }
@@ -21954,7 +21954,7 @@ var require_lodash = __commonJSMin((exports, module2) => {
21954
21954
  index = length;
21955
21955
  value = defaultValue;
21956
21956
  }
21957
- object = isFunction(value) ? value.call(object) : value;
21957
+ object = isFunction2(value) ? value.call(object) : value;
21958
21958
  }
21959
21959
  return object;
21960
21960
  }
@@ -21975,7 +21975,7 @@ var require_lodash = __commonJSMin((exports, module2) => {
21975
21975
  if (isArrLike) {
21976
21976
  accumulator = isArr4 ? new Ctor() : [];
21977
21977
  } else if (isObject5(object)) {
21978
- accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};
21978
+ accumulator = isFunction2(Ctor) ? baseCreate(getPrototype(object)) : {};
21979
21979
  } else {
21980
21980
  accumulator = {};
21981
21981
  }
@@ -22392,7 +22392,7 @@ var require_lodash = __commonJSMin((exports, module2) => {
22392
22392
  object = this;
22393
22393
  methodNames = baseFunctions(source, keys(source));
22394
22394
  }
22395
- var chain2 = !(isObject5(options2) && "chain" in options2) || !!options2.chain, isFunc = isFunction(object);
22395
+ var chain2 = !(isObject5(options2) && "chain" in options2) || !!options2.chain, isFunc = isFunction2(object);
22396
22396
  arrayEach(methodNames, function(methodName) {
22397
22397
  var func = source[methodName];
22398
22398
  object[methodName] = func;
@@ -22727,7 +22727,7 @@ var require_lodash = __commonJSMin((exports, module2) => {
22727
22727
  lodash.isEqualWith = isEqualWith;
22728
22728
  lodash.isError = isError;
22729
22729
  lodash.isFinite = isFinite2;
22730
- lodash.isFunction = isFunction;
22730
+ lodash.isFunction = isFunction2;
22731
22731
  lodash.isInteger = isInteger;
22732
22732
  lodash.isLength = isLength;
22733
22733
  lodash.isMap = isMap2;
@@ -34921,10 +34921,10 @@ var require_type = __commonJSMin((exports) => {
34921
34921
  return Array.isArray(obj);
34922
34922
  }
34923
34923
  exports.isArray = isArray4;
34924
- function isFunction(func) {
34924
+ function isFunction2(func) {
34925
34925
  return typeof func === "function";
34926
34926
  }
34927
- exports.isFunction = isFunction;
34927
+ exports.isFunction = isFunction2;
34928
34928
  function isObject5(obj) {
34929
34929
  return obj !== null && typeof obj === "object";
34930
34930
  }
@@ -42491,10 +42491,10 @@ var require_util = __commonJSMin((exports) => {
42491
42491
  return objectToString(e) === "[object Error]" || e instanceof Error;
42492
42492
  }
42493
42493
  exports.isError = isError;
42494
- function isFunction(arg) {
42494
+ function isFunction2(arg) {
42495
42495
  return typeof arg === "function";
42496
42496
  }
42497
- exports.isFunction = isFunction;
42497
+ exports.isFunction = isFunction2;
42498
42498
  function isPrimitive(arg) {
42499
42499
  return arg === null || typeof arg === "boolean" || typeof arg === "number" || typeof arg === "string" || typeof arg === "symbol" || typeof arg === "undefined";
42500
42500
  }
@@ -43772,7 +43772,7 @@ var require_stringify = __commonJSMin((exports, module2) => {
43772
43772
  var {
43773
43773
  isArray: isArray4,
43774
43774
  isObject: isObject5,
43775
- isFunction,
43775
+ isFunction: isFunction2,
43776
43776
  isNumber,
43777
43777
  isString: isString3
43778
43778
  } = require_util();
@@ -43899,10 +43899,10 @@ var require_stringify = __commonJSMin((exports, module2) => {
43899
43899
  };
43900
43900
  function stringify(key, holder, gap) {
43901
43901
  let value = holder[key];
43902
- if (isObject5(value) && isFunction(value.toJSON)) {
43902
+ if (isObject5(value) && isFunction2(value.toJSON)) {
43903
43903
  value = value.toJSON(key);
43904
43904
  }
43905
- if (isFunction(replacer)) {
43905
+ if (isFunction2(replacer)) {
43906
43906
  value = replacer.call(holder, key, value);
43907
43907
  }
43908
43908
  switch (typeof value) {
@@ -43937,7 +43937,7 @@ var require_stringify = __commonJSMin((exports, module2) => {
43937
43937
  if (!indent_) {
43938
43938
  return JSON.stringify(value, replacer_);
43939
43939
  }
43940
- if (!isFunction(replacer_) && !isArray4(replacer_)) {
43940
+ if (!isFunction2(replacer_) && !isArray4(replacer_)) {
43941
43941
  replacer_ = null;
43942
43942
  }
43943
43943
  replacer = replacer_;
@@ -44060,13 +44060,20 @@ var require_install = __commonJSMin((exports) => {
44060
44060
  }));
44061
44061
  return promise;
44062
44062
  }
44063
- async function npmInstall(cwd, registryUrl) {
44063
+ async function npmInstall({
44064
+ cwd,
44065
+ registryUrl,
44066
+ ignoreScripts
44067
+ }) {
44064
44068
  const canUse = await (0, _env.canUseNpm)();
44065
44069
  if (canUse) {
44066
44070
  const params = ["install"];
44067
44071
  if (registryUrl) {
44068
44072
  params.push(`--registry=${registryUrl}`);
44069
44073
  }
44074
+ if (ignoreScripts) {
44075
+ params.push("--ignore-scripts");
44076
+ }
44070
44077
  return execaWithStreamLog("npm", params, {
44071
44078
  cwd,
44072
44079
  env: process.env
@@ -44074,13 +44081,20 @@ var require_install = __commonJSMin((exports) => {
44074
44081
  }
44075
44082
  throw new Error("please install npm first");
44076
44083
  }
44077
- async function yarnInstall(cwd, registryUrl) {
44084
+ async function yarnInstall({
44085
+ cwd,
44086
+ registryUrl,
44087
+ ignoreScripts
44088
+ }) {
44078
44089
  const canUse = await (0, _env.canUseYarn)();
44079
44090
  if (canUse) {
44080
44091
  const params = ["install"];
44081
44092
  if (registryUrl) {
44082
44093
  params.push(`--registry=${registryUrl}`);
44083
44094
  }
44095
+ if (ignoreScripts) {
44096
+ params.push("--ignore-scripts");
44097
+ }
44084
44098
  return execaWithStreamLog("yarn", params, {
44085
44099
  cwd,
44086
44100
  env: process.env
@@ -44088,13 +44102,20 @@ var require_install = __commonJSMin((exports) => {
44088
44102
  }
44089
44103
  throw new Error("please install yarn first");
44090
44104
  }
44091
- async function pnpmInstall(cwd, registryUrl) {
44105
+ async function pnpmInstall({
44106
+ cwd,
44107
+ registryUrl,
44108
+ ignoreScripts
44109
+ }) {
44092
44110
  const canUse = await (0, _env.canUsePnpm)();
44093
44111
  if (canUse) {
44094
44112
  const params = ["install"];
44095
44113
  if (registryUrl) {
44096
44114
  params.push(`--registry=${registryUrl}`);
44097
44115
  }
44116
+ if (ignoreScripts) {
44117
+ params.push("--ignore-scripts");
44118
+ }
44098
44119
  return execaWithStreamLog("pnpm", params, {
44099
44120
  cwd,
44100
44121
  env: process.env
@@ -44190,14 +44211,38 @@ var require_node = __commonJSMin((exports) => {
44190
44211
  _defineProperty2(this, "generatorCore", void 0);
44191
44212
  this.generatorCore = generatorCore;
44192
44213
  }
44193
- npmInstall(cwd = this.generatorCore.outputPath) {
44194
- return (0, _utils.npmInstall)(cwd);
44214
+ npmInstall({
44215
+ cwd,
44216
+ registryUrl,
44217
+ ignoreScripts
44218
+ }) {
44219
+ return (0, _utils.npmInstall)({
44220
+ cwd: cwd || this.generatorCore.outputPath,
44221
+ registryUrl,
44222
+ ignoreScripts
44223
+ });
44195
44224
  }
44196
- yarnInstall(cwd = this.generatorCore.outputPath) {
44197
- return (0, _utils.yarnInstall)(cwd);
44225
+ yarnInstall({
44226
+ cwd,
44227
+ registryUrl,
44228
+ ignoreScripts
44229
+ }) {
44230
+ return (0, _utils.yarnInstall)({
44231
+ cwd: cwd || this.generatorCore.outputPath,
44232
+ registryUrl,
44233
+ ignoreScripts
44234
+ });
44198
44235
  }
44199
- pnpmInstall(cwd = this.generatorCore.outputPath) {
44200
- return (0, _utils.pnpmInstall)(cwd);
44236
+ pnpmInstall({
44237
+ cwd,
44238
+ registryUrl,
44239
+ ignoreScripts
44240
+ }) {
44241
+ return (0, _utils.pnpmInstall)({
44242
+ cwd: cwd || this.generatorCore.outputPath,
44243
+ registryUrl,
44244
+ ignoreScripts
44245
+ });
44201
44246
  }
44202
44247
  };
44203
44248
  exports.NpmAPI = NpmAPI;
@@ -44983,11 +45028,11 @@ var require_utils3 = __commonJSMin((exports, module2) => {
44983
45028
  function isBlob(val) {
44984
45029
  return toString5.call(val) === "[object Blob]";
44985
45030
  }
44986
- function isFunction(val) {
45031
+ function isFunction2(val) {
44987
45032
  return toString5.call(val) === "[object Function]";
44988
45033
  }
44989
45034
  function isStream(val) {
44990
- return isObject5(val) && isFunction(val.pipe);
45035
+ return isObject5(val) && isFunction2(val.pipe);
44991
45036
  }
44992
45037
  function isURLSearchParams(val) {
44993
45038
  return typeof URLSearchParams !== "undefined" && val instanceof URLSearchParams;
@@ -45068,7 +45113,7 @@ var require_utils3 = __commonJSMin((exports, module2) => {
45068
45113
  isDate,
45069
45114
  isFile,
45070
45115
  isBlob,
45071
- isFunction,
45116
+ isFunction: isFunction2,
45072
45117
  isStream,
45073
45118
  isURLSearchParams,
45074
45119
  isStandardBrowserEnv,
@@ -52784,15 +52829,15 @@ var require_utils5 = __commonJSMin((exports) => {
52784
52829
  }
52785
52830
  var toString5 = Object.prototype.toString;
52786
52831
  exports.toString = toString5;
52787
- var isFunction = function isFunction2(value) {
52832
+ var isFunction2 = function isFunction3(value) {
52788
52833
  return typeof value === "function";
52789
52834
  };
52790
- if (isFunction(/x/)) {
52791
- exports.isFunction = isFunction = function(value) {
52835
+ if (isFunction2(/x/)) {
52836
+ exports.isFunction = isFunction2 = function(value) {
52792
52837
  return typeof value === "function" && toString5.call(value) === "[object Function]";
52793
52838
  };
52794
52839
  }
52795
- exports.isFunction = isFunction;
52840
+ exports.isFunction = isFunction2;
52796
52841
  var isArray4 = Array.isArray || function(value) {
52797
52842
  return value && typeof value === "object" ? toString5.call(value) === "[object Array]" : false;
52798
52843
  };
@@ -60859,14 +60904,14 @@ var require_isFunction = __commonJSMin((exports, module2) => {
60859
60904
  var funcTag = "[object Function]";
60860
60905
  var genTag = "[object GeneratorFunction]";
60861
60906
  var proxyTag = "[object Proxy]";
60862
- function isFunction(value) {
60907
+ function isFunction2(value) {
60863
60908
  if (!isObject5(value)) {
60864
60909
  return false;
60865
60910
  }
60866
60911
  var tag = baseGetTag(value);
60867
60912
  return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
60868
60913
  }
60869
- module2.exports = isFunction;
60914
+ module2.exports = isFunction2;
60870
60915
  });
60871
60916
  var require_coreJsData = __commonJSMin((exports, module2) => {
60872
60917
  var root = require_root();
@@ -60903,7 +60948,7 @@ var require_toSource = __commonJSMin((exports, module2) => {
60903
60948
  module2.exports = toSource;
60904
60949
  });
60905
60950
  var require_baseIsNative = __commonJSMin((exports, module2) => {
60906
- var isFunction = require_isFunction();
60951
+ var isFunction2 = require_isFunction();
60907
60952
  var isMasked = require_isMasked();
60908
60953
  var isObject5 = require_isObject();
60909
60954
  var toSource = require_toSource();
@@ -60918,7 +60963,7 @@ var require_baseIsNative = __commonJSMin((exports, module2) => {
60918
60963
  if (!isObject5(value) || isMasked(value)) {
60919
60964
  return false;
60920
60965
  }
60921
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
60966
+ var pattern = isFunction2(value) ? reIsNative : reIsHostCtor;
60922
60967
  return pattern.test(toSource(value));
60923
60968
  }
60924
60969
  module2.exports = baseIsNative;
@@ -61117,10 +61162,10 @@ var require_isLength = __commonJSMin((exports, module2) => {
61117
61162
  module2.exports = isLength;
61118
61163
  });
61119
61164
  var require_isArrayLike = __commonJSMin((exports, module2) => {
61120
- var isFunction = require_isFunction();
61165
+ var isFunction2 = require_isFunction();
61121
61166
  var isLength = require_isLength();
61122
61167
  function isArrayLike(value) {
61123
- return value != null && isLength(value.length) && !isFunction(value);
61168
+ return value != null && isLength(value.length) && !isFunction2(value);
61124
61169
  }
61125
61170
  module2.exports = isArrayLike;
61126
61171
  });
@@ -63033,10 +63078,10 @@ var require_isFunction2 = __commonJSMin((exports) => {
63033
63078
  "use strict";
63034
63079
  Object.defineProperty(exports, "__esModule", { value: true });
63035
63080
  exports.isFunction = void 0;
63036
- function isFunction(value) {
63081
+ function isFunction2(value) {
63037
63082
  return typeof value === "function";
63038
63083
  }
63039
- exports.isFunction = isFunction;
63084
+ exports.isFunction = isFunction2;
63040
63085
  });
63041
63086
  var require_createErrorClass = __commonJSMin((exports) => {
63042
63087
  "use strict";
@@ -97265,7 +97310,7 @@ var require_baseMergeDeep = __commonJSMin((exports, module2) => {
97265
97310
  var isArray4 = require_isArray();
97266
97311
  var isArrayLikeObject = require_isArrayLikeObject();
97267
97312
  var isBuffer = require_isBuffer();
97268
- var isFunction = require_isFunction();
97313
+ var isFunction2 = require_isFunction();
97269
97314
  var isObject5 = require_isObject();
97270
97315
  var isPlainObject = require_isPlainObject();
97271
97316
  var isTypedArray = require_isTypedArray();
@@ -97300,7 +97345,7 @@ var require_baseMergeDeep = __commonJSMin((exports, module2) => {
97300
97345
  newValue = objValue;
97301
97346
  if (isArguments(objValue)) {
97302
97347
  newValue = toPlainObject(objValue);
97303
- } else if (!isObject5(objValue) || isFunction(objValue)) {
97348
+ } else if (!isObject5(objValue) || isFunction2(objValue)) {
97304
97349
  newValue = initCloneObject(srcValue);
97305
97350
  }
97306
97351
  } else {
@@ -111260,7 +111305,7 @@ function getQuestionFromSchema(schema) {
111260
111305
  }
111261
111306
  var questions = fields.map(function(field) {
111262
111307
  var _field = properties[field], type = _field.type, title = _field.title, defaultValue = _field["default"], items = _field["enum"], fieldValidate = _field["x-validate"], extra = _objectWithoutProperties(_field, _excluded2);
111263
- if (type === "void") {
111308
+ if (type === "void" || type === "object") {
111264
111309
  return getQuestionFromSchema(properties[field], configValue, validateMap, initValue);
111265
111310
  }
111266
111311
  if (type !== "string" && type !== "number") {
@@ -111278,7 +111323,9 @@ function getQuestionFromSchema(schema) {
111278
111323
  break;
111279
111324
  }
111280
111325
  _context.next = 3;
111281
- return validate(input, fieldValidate);
111326
+ return validate(input, (0, import_lodash.isFunction)(fieldValidate) ? {
111327
+ validator: fieldValidate
111328
+ } : fieldValidate);
111282
111329
  case 3:
111283
111330
  _result = _context.sent;
111284
111331
  if (!((_result$error = _result.error) !== null && _result$error !== void 0 && _result$error.length)) {
@@ -111701,10 +111748,12 @@ var init_inquirer = __esmMin(() => {
111701
111748
  });
111702
111749
  var treeshaking_exports2 = {};
111703
111750
  __export2(treeshaking_exports2, {
111704
- CLIReader: () => CLIReader
111751
+ CLIReader: () => CLIReader,
111752
+ validate: () => validate
111705
111753
  });
111706
111754
  var init_treeshaking2 = __esmMin(() => {
111707
111755
  init_inquirer();
111756
+ init_esm4();
111708
111757
  });
111709
111758
  function getObjKeyMap(obj) {
111710
111759
  var prefix = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
@@ -112388,7 +112437,7 @@ var require_node8 = __commonJSMin((exports) => {
112388
112437
  }
112389
112438
  return true;
112390
112439
  }
112391
- async runInstall(command) {
112440
+ async runInstall(command, options2) {
112392
112441
  const {
112393
112442
  config: {
112394
112443
  packageManager,
@@ -112402,11 +112451,11 @@ var require_node8 = __commonJSMin((exports) => {
112402
112451
  if (command) {
112403
112452
  intallPromise = (0, _utils.execa)(command);
112404
112453
  } else if (packageManager === "pnpm") {
112405
- intallPromise = this.npmApi.pnpmInstall();
112454
+ intallPromise = this.npmApi.pnpmInstall(options2 || {});
112406
112455
  } else if (packageManager === "yarn") {
112407
- intallPromise = this.npmApi.yarnInstall();
112456
+ intallPromise = this.npmApi.yarnInstall(options2 || {});
112408
112457
  } else {
112409
- intallPromise = this.npmApi.npmInstall();
112458
+ intallPromise = this.npmApi.npmInstall(options2 || {});
112410
112459
  }
112411
112460
  try {
112412
112461
  await intallPromise;
@@ -112499,6 +112548,21 @@ var require_node8 = __commonJSMin((exports) => {
112499
112548
  throw new Error("run sub generator failed");
112500
112549
  }
112501
112550
  }
112551
+ mergeAnswers(answers, configValue) {
112552
+ const inputData = (0, _lodash.merge)(answers, configValue);
112553
+ this.generatorContext.config = (0, _lodash.merge)(this.generatorContext.config, inputData);
112554
+ return inputData;
112555
+ }
112556
+ async getInputBySchemaFunc(schemaFunc, configValue = {}, validateMap = {}, initValue = {}) {
112557
+ const reader = new _codesmithFormily.CLIReader({
112558
+ schema: schemaFunc(configValue),
112559
+ validateMap,
112560
+ initValue
112561
+ });
112562
+ reader.setAnswers(configValue);
112563
+ const answers = await reader.start();
112564
+ return this.mergeAnswers(answers, configValue);
112565
+ }
112502
112566
  async getInputBySchema(schema, configValue = {}, validateMap = {}, initValue = {}, type = "easy-form") {
112503
112567
  if (type === "easy-form") {
112504
112568
  const reader = new _easyFormCli.CliReader({
@@ -112509,9 +112573,7 @@ var require_node8 = __commonJSMin((exports) => {
112509
112573
  return new Promise((resolve, reject) => {
112510
112574
  reader.startQuestion({
112511
112575
  onComplete: (answers) => {
112512
- const inputData = (0, _lodash.merge)(answers, configValue);
112513
- this.generatorContext.config = (0, _lodash.merge)(this.generatorContext.config, inputData);
112514
- resolve(inputData);
112576
+ resolve(this.mergeAnswers(answers, configValue));
112515
112577
  },
112516
112578
  onError: (error) => {
112517
112579
  reject(error);
@@ -112525,10 +112587,11 @@ var require_node8 = __commonJSMin((exports) => {
112525
112587
  initValue
112526
112588
  });
112527
112589
  reader.setAnswers(configValue);
112528
- return reader.start();
112590
+ const answers = await reader.start();
112591
+ return this.mergeAnswers(answers, configValue);
112529
112592
  } else {
112530
- const result = await _inquirer.default.prompt((0, _transform.transformInquirerSchema)(schema, configValue, validateMap, initValue));
112531
- return _objectSpread(_objectSpread({}, configValue), result);
112593
+ const answers = await _inquirer.default.prompt((0, _transform.transformInquirerSchema)(schema, configValue, validateMap, initValue));
112594
+ return this.mergeAnswers(answers, configValue);
112532
112595
  }
112533
112596
  }
112534
112597
  };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.4.4",
14
+ "version": "2.4.5",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "main": "./dist/index.js",
17
17
  "files": [
@@ -20,13 +20,13 @@
20
20
  ],
21
21
  "devDependencies": {
22
22
  "@babel/runtime": "^7.18.0",
23
- "@modern-js/codesmith": "1.6.1",
24
- "@modern-js/codesmith-api-app": "1.6.1",
25
- "@modern-js/dependence-generator": "2.4.4",
26
- "@modern-js/generator-common": "2.4.4",
27
- "@modern-js/generator-utils": "2.4.4",
28
- "@scripts/build": "1.20.1",
29
- "@scripts/jest-config": "1.20.1",
23
+ "@modern-js/codesmith": "1.6.3",
24
+ "@modern-js/codesmith-api-app": "1.6.3",
25
+ "@modern-js/dependence-generator": "2.4.5",
26
+ "@modern-js/generator-common": "2.4.5",
27
+ "@modern-js/generator-utils": "2.4.5",
28
+ "@scripts/build": "1.21.0",
29
+ "@scripts/jest-config": "1.21.0",
30
30
  "@types/jest": "^27",
31
31
  "@types/node": "^14",
32
32
  "jest": "^27",