@modern-js/create 2.20.0 → 2.21.0

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 +26 -26
  2. package/package.json +10 -10
package/dist/index.js CHANGED
@@ -36429,7 +36429,7 @@ function getLocaleLanguage() {
36429
36429
  // src/createAction.ts
36430
36430
  var import_path9 = __toESM(require("path"));
36431
36431
 
36432
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/logger/constants.js
36432
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/logger/constants.js
36433
36433
  var LoggerLevel;
36434
36434
  (function(LoggerLevel2) {
36435
36435
  LoggerLevel2["Error"] = "error";
@@ -36468,7 +36468,7 @@ var mime = Import.lazy("../compiled/mime-types", require);
36468
36468
  var chokidar = Import.lazy("../compiled/chokidar", require);
36469
36469
  var inquirer = Import.lazy("../compiled/inquirer", require);
36470
36470
 
36471
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/logger/index.js
36471
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/logger/index.js
36472
36472
  function _array_like_to_array(arr, len) {
36473
36473
  if (len == null || len > arr.length)
36474
36474
  len = arr.length;
@@ -36653,20 +36653,20 @@ var Logger = /* @__PURE__ */ function() {
36653
36653
  return Logger22;
36654
36654
  }();
36655
36655
 
36656
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/codesmith/index.js
36656
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/codesmith/index.js
36657
36657
  var import_path7 = __toESM(require("path"));
36658
36658
 
36659
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/generator/index.js
36659
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/generator/index.js
36660
36660
  var import_path4 = __toESM(require("path"));
36661
36661
  var import_events = require("events");
36662
36662
 
36663
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/FsMaterial.js
36663
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsMaterial.js
36664
36664
  var import_path2 = __toESM(require("path"));
36665
36665
 
36666
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
36666
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
36667
36667
  var import_path = __toESM(require("path"));
36668
36668
 
36669
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/constants.js
36669
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/constants.js
36670
36670
  var IMAGE_EXT_LIST = [
36671
36671
  ".jpg",
36672
36672
  ".jpeg",
@@ -36680,7 +36680,7 @@ var IMAGE_EXT_LIST = [
36680
36680
  ".wmf"
36681
36681
  ];
36682
36682
 
36683
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
36683
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
36684
36684
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
36685
36685
  try {
36686
36686
  var info = gen[key](arg);
@@ -36912,7 +36912,7 @@ var FsResource = /* @__PURE__ */ function() {
36912
36912
  return FsResource2;
36913
36913
  }();
36914
36914
 
36915
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/FsMaterial.js
36915
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsMaterial.js
36916
36916
  function asyncGeneratorStep2(gen, resolve, reject, _next, _throw, key, arg) {
36917
36917
  try {
36918
36918
  var info = gen[key](arg);
@@ -37136,7 +37136,7 @@ var FsMaterial = /* @__PURE__ */ function() {
37136
37136
  return FsMaterial2;
37137
37137
  }();
37138
37138
 
37139
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/nodeRequire.js
37139
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/nodeRequire.js
37140
37140
  var nodeRequire = function(path11) {
37141
37141
  try {
37142
37142
  var module2 = __non_webpack_require__(path11);
@@ -37153,10 +37153,10 @@ var nodeRequire = function(path11) {
37153
37153
  }
37154
37154
  };
37155
37155
 
37156
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/getGeneratorDir.js
37156
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/getGeneratorDir.js
37157
37157
  var import_path3 = __toESM(require("path"));
37158
37158
 
37159
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/fsExists.js
37159
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/fsExists.js
37160
37160
  function asyncGeneratorStep3(gen, resolve, reject, _next, _throw, key, arg) {
37161
37161
  try {
37162
37162
  var info = gen[key](arg);
@@ -37329,7 +37329,7 @@ function _fsExists() {
37329
37329
  return _fsExists.apply(this, arguments);
37330
37330
  }
37331
37331
 
37332
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/getGeneratorDir.js
37332
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/getGeneratorDir.js
37333
37333
  function asyncGeneratorStep4(gen, resolve, reject, _next, _throw, key, arg) {
37334
37334
  try {
37335
37335
  var info = gen[key](arg);
@@ -37523,7 +37523,7 @@ function _getGeneratorDir() {
37523
37523
  return _getGeneratorDir.apply(this, arguments);
37524
37524
  }
37525
37525
 
37526
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/generator/index.js
37526
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/generator/index.js
37527
37527
  function asyncGeneratorStep5(gen, resolve, reject, _next, _throw, key, arg) {
37528
37528
  try {
37529
37529
  var info = gen[key](arg);
@@ -38102,10 +38102,10 @@ var GeneratorCore = /* @__PURE__ */ function() {
38102
38102
  return GeneratorCore2;
38103
38103
  }();
38104
38104
 
38105
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/index.js
38105
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/index.js
38106
38106
  var import_path6 = __toESM(require("path"));
38107
38107
 
38108
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/packageManager.js
38108
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/packageManager.js
38109
38109
  var import_path5 = __toESM(require("path"));
38110
38110
  function asyncGeneratorStep6(gen, resolve, reject, _next, _throw, key, arg) {
38111
38111
  try {
@@ -38438,7 +38438,7 @@ function _runInstall() {
38438
38438
  return _runInstall.apply(this, arguments);
38439
38439
  }
38440
38440
 
38441
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/timeoutPromise.js
38441
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/timeoutPromise.js
38442
38442
  function asyncGeneratorStep7(gen, resolve, reject, _next, _throw, key, arg) {
38443
38443
  try {
38444
38444
  var info = gen[key](arg);
@@ -38628,16 +38628,16 @@ function _timeoutPromise() {
38628
38628
  return _timeoutPromise.apply(this, arguments);
38629
38629
  }
38630
38630
 
38631
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/downloadPackage.js
38631
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/downloadPackage.js
38632
38632
  var import_os = __toESM(require("os"));
38633
38633
  var import_axios = __toESM(require_axios2());
38634
38634
  var import_tar = __toESM(require_tar());
38635
38635
 
38636
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/constants.js
38636
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/constants.js
38637
38637
  var NPM_API_TIMEOUT = 3e4;
38638
38638
  var CATCHE_VALIDITY_PREIOD = 12 * 3600 * 1e3;
38639
38639
 
38640
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/getNpmTarballUrl.js
38640
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/getNpmTarballUrl.js
38641
38641
  function asyncGeneratorStep8(gen, resolve, reject, _next, _throw, key, arg) {
38642
38642
  try {
38643
38643
  var info = gen[key](arg);
@@ -38814,7 +38814,7 @@ function _getNpmTarballUrl() {
38814
38814
  return _getNpmTarballUrl.apply(this, arguments);
38815
38815
  }
38816
38816
 
38817
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/getNpmVersion.js
38817
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/getNpmVersion.js
38818
38818
  function asyncGeneratorStep9(gen, resolve, reject, _next, _throw, key, arg) {
38819
38819
  try {
38820
38820
  var info = gen[key](arg);
@@ -38986,7 +38986,7 @@ function _getNpmVersion() {
38986
38986
  return _getNpmVersion.apply(this, arguments);
38987
38987
  }
38988
38988
 
38989
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/downloadPackage.js
38989
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/downloadPackage.js
38990
38990
  function asyncGeneratorStep10(gen, resolve, reject, _next, _throw, key, arg) {
38991
38991
  try {
38992
38992
  var info = gen[key](arg);
@@ -39335,7 +39335,7 @@ function _downloadPackage() {
39335
39335
  return _downloadPackage.apply(this, arguments);
39336
39336
  }
39337
39337
 
39338
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/getPackageInfo.js
39338
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/getPackageInfo.js
39339
39339
  function getPackageInfo(packageName) {
39340
39340
  if (!packageName) {
39341
39341
  throw new Error("package is not exisit");
@@ -39359,7 +39359,7 @@ function getPackageInfo(packageName) {
39359
39359
  };
39360
39360
  }
39361
39361
 
39362
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/index.js
39362
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/index.js
39363
39363
  function asyncGeneratorStep11(gen, resolve, reject, _next, _throw, key, arg) {
39364
39364
  try {
39365
39365
  var info = gen[key](arg);
@@ -39584,7 +39584,7 @@ var MaterialsManager = /* @__PURE__ */ function() {
39584
39584
  return MaterialsManager2;
39585
39585
  }();
39586
39586
 
39587
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/codesmith/index.js
39587
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/codesmith/index.js
39588
39588
  function asyncGeneratorStep12(gen, resolve, reject, _next, _throw, key, arg) {
39589
39589
  try {
39590
39590
  var info = gen[key](arg);
@@ -39896,7 +39896,7 @@ var CodeSmith = /* @__PURE__ */ function() {
39896
39896
  }();
39897
39897
 
39898
39898
  // package.json
39899
- var version = "2.20.0";
39899
+ var version = "2.21.0";
39900
39900
 
39901
39901
  // ../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/esm/_define_property.js
39902
39902
  function _define_property7(obj, key, value) {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.20.0",
18
+ "version": "2.21.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/index.js",
@@ -37,18 +37,18 @@
37
37
  }
38
38
  },
39
39
  "devDependencies": {
40
- "@modern-js/codesmith": "2.2.0",
40
+ "@modern-js/codesmith": "2.2.3",
41
41
  "@types/jest": "^29",
42
42
  "@types/node": "^14",
43
43
  "jest": "^29",
44
- "ts-node": "^10.1.0",
45
- "typescript": "^4",
46
- "@modern-js/generator-plugin-plugin": "3.1.17",
47
- "@modern-js/plugin-i18n": "2.20.0",
48
- "@modern-js/repo-generator": "3.1.17",
49
- "@modern-js/utils": "2.20.0",
50
- "@scripts/build": "2.20.0",
51
- "@scripts/jest-config": "2.20.0"
44
+ "ts-node": "^10.9.1",
45
+ "typescript": "^5",
46
+ "@modern-js/generator-plugin-plugin": "3.1.18",
47
+ "@modern-js/repo-generator": "3.1.18",
48
+ "@modern-js/plugin-i18n": "2.21.0",
49
+ "@modern-js/utils": "2.21.0",
50
+ "@scripts/jest-config": "2.21.0",
51
+ "@scripts/build": "2.21.0"
52
52
  },
53
53
  "publishConfig": {
54
54
  "registry": "https://registry.npmjs.org/",