@modern-js/repo-generator 0.0.0-next-1684723854685 → 0.0.0-next-1684764391465
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/index.js +20 -20
- package/package.json +13 -13
package/dist/index.js
CHANGED
|
@@ -125750,7 +125750,7 @@ var mime = Import.lazy("../compiled/mime-types", require);
|
|
|
125750
125750
|
var chokidar = Import.lazy("../compiled/chokidar", require);
|
|
125751
125751
|
var inquirer = Import.lazy("../compiled/inquirer", require);
|
|
125752
125752
|
|
|
125753
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
125753
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
125754
125754
|
var import_lodash7 = __toESM(require_lodash3());
|
|
125755
125755
|
var import_comment_json = __toESM(require_src2());
|
|
125756
125756
|
|
|
@@ -131566,7 +131566,7 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
|
131566
131566
|
return FsAPI2;
|
|
131567
131567
|
}();
|
|
131568
131568
|
|
|
131569
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
131569
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-formily/dist/esm/index.js
|
|
131570
131570
|
var import_lodash3 = __toESM(require_lodash3());
|
|
131571
131571
|
|
|
131572
131572
|
// ../../../../node_modules/.pnpm/@formily+shared@2.2.22/node_modules/@formily/shared/esm/checkers.js
|
|
@@ -135580,7 +135580,7 @@ var observe = function(target, observer, deep) {
|
|
|
135580
135580
|
return addListener(target);
|
|
135581
135581
|
};
|
|
135582
135582
|
|
|
135583
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@
|
|
135583
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@5.0.4/node_modules/@formily/json-schema/esm/shared.js
|
|
135584
135584
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
|
135585
135585
|
var SchemaNestedMap = {
|
|
135586
135586
|
parent: true,
|
|
@@ -135767,7 +135767,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
|
135767
135767
|
});
|
|
135768
135768
|
};
|
|
135769
135769
|
|
|
135770
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@
|
|
135770
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@5.0.4/node_modules/@formily/json-schema/esm/compiler.js
|
|
135771
135771
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
|
135772
135772
|
var Registry = {
|
|
135773
135773
|
silent: false,
|
|
@@ -140534,7 +140534,7 @@ function onFieldInit(pattern, callback) {
|
|
|
140534
140534
|
}
|
|
140535
140535
|
}
|
|
140536
140536
|
|
|
140537
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@
|
|
140537
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@5.0.4/node_modules/@formily/json-schema/esm/transformer.js
|
|
140538
140538
|
var __read7 = function(o, n) {
|
|
140539
140539
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
140540
140540
|
if (!m)
|
|
@@ -140759,7 +140759,7 @@ var transformFieldProps = function(schema, options) {
|
|
|
140759
140759
|
};
|
|
140760
140760
|
};
|
|
140761
140761
|
|
|
140762
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@
|
|
140762
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@5.0.4/node_modules/@formily/json-schema/esm/patches.js
|
|
140763
140763
|
var __assign9 = function() {
|
|
140764
140764
|
__assign9 = Object.assign || function(t) {
|
|
140765
140765
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -140808,7 +140808,7 @@ var enablePolyfills = function(versions) {
|
|
|
140808
140808
|
}
|
|
140809
140809
|
};
|
|
140810
140810
|
|
|
140811
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@
|
|
140811
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@5.0.4/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
|
140812
140812
|
var __assign10 = function() {
|
|
140813
140813
|
__assign10 = Object.assign || function(t) {
|
|
140814
140814
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -140965,7 +140965,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
|
140965
140965
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
|
140966
140966
|
};
|
|
140967
140967
|
|
|
140968
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@
|
|
140968
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@5.0.4/node_modules/@formily/json-schema/esm/schema.js
|
|
140969
140969
|
var Schema = (
|
|
140970
140970
|
/** @class */
|
|
140971
140971
|
function() {
|
|
@@ -141201,10 +141201,10 @@ var Schema = (
|
|
|
141201
141201
|
}()
|
|
141202
141202
|
);
|
|
141203
141203
|
|
|
141204
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
141204
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
141205
141205
|
var import_inquirer = __toESM(require_inquirer());
|
|
141206
141206
|
|
|
141207
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
141207
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-formily/dist/esm/transform.js
|
|
141208
141208
|
var import_lodash2 = __toESM(require_lodash3());
|
|
141209
141209
|
function asyncGeneratorStep20(gen, resolve, reject, _next, _throw, key, arg) {
|
|
141210
141210
|
try {
|
|
@@ -141551,7 +141551,7 @@ function transformForm(schema) {
|
|
|
141551
141551
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
141552
141552
|
}
|
|
141553
141553
|
|
|
141554
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
141554
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
141555
141555
|
function asyncGeneratorStep21(gen, resolve, reject, _next, _throw, key, arg) {
|
|
141556
141556
|
try {
|
|
141557
141557
|
var info = gen[key](arg);
|
|
@@ -142075,7 +142075,7 @@ function _prompt() {
|
|
|
142075
142075
|
return _prompt.apply(this, arguments);
|
|
142076
142076
|
}
|
|
142077
142077
|
|
|
142078
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
142078
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-formily/dist/esm/inquirer.js
|
|
142079
142079
|
function asyncGeneratorStep22(gen, resolve, reject, _next, _throw, key, arg) {
|
|
142080
142080
|
try {
|
|
142081
142081
|
var info = gen[key](arg);
|
|
@@ -142315,7 +142315,7 @@ var CLIReader = /* @__PURE__ */ function() {
|
|
|
142315
142315
|
return CLIReader2;
|
|
142316
142316
|
}();
|
|
142317
142317
|
|
|
142318
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
142318
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-formily/dist/esm/index.js
|
|
142319
142319
|
function asyncGeneratorStep23(gen, resolve, reject, _next, _throw, key, arg) {
|
|
142320
142320
|
try {
|
|
142321
142321
|
var info = gen[key](arg);
|
|
@@ -142533,7 +142533,7 @@ var FormilyAPI = /* @__PURE__ */ function() {
|
|
|
142533
142533
|
return FormilyAPI2;
|
|
142534
142534
|
}();
|
|
142535
142535
|
|
|
142536
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
142536
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
142537
142537
|
var import_inquirer3 = __toESM(require_inquirer2());
|
|
142538
142538
|
|
|
142539
142539
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.18.0/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
@@ -142612,7 +142612,7 @@ var I18n = class {
|
|
|
142612
142612
|
}
|
|
142613
142613
|
};
|
|
142614
142614
|
|
|
142615
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
142615
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/zh.js
|
|
142616
142616
|
var ZH_LOCALE = {
|
|
142617
142617
|
environment: {
|
|
142618
142618
|
node_version: "请升级 Node 版本至 LIS",
|
|
@@ -142639,7 +142639,7 @@ var ZH_LOCALE = {
|
|
|
142639
142639
|
}
|
|
142640
142640
|
};
|
|
142641
142641
|
|
|
142642
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
142642
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/en.js
|
|
142643
142643
|
var EN_LOCALE = {
|
|
142644
142644
|
environment: {
|
|
142645
142645
|
node_version: "please upgrade node to lts version",
|
|
@@ -142666,14 +142666,14 @@ var EN_LOCALE = {
|
|
|
142666
142666
|
}
|
|
142667
142667
|
};
|
|
142668
142668
|
|
|
142669
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
142669
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/index.js
|
|
142670
142670
|
var i18n = new I18n();
|
|
142671
142671
|
var localeKeys = i18n.init("zh", {
|
|
142672
142672
|
zh: ZH_LOCALE,
|
|
142673
142673
|
en: EN_LOCALE
|
|
142674
142674
|
});
|
|
142675
142675
|
|
|
142676
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
142676
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/transform.js
|
|
142677
142677
|
var import_lodash6 = __toESM(require_lodash3());
|
|
142678
142678
|
function asyncGeneratorStep24(gen, resolve, reject, _next, _throw, key, arg) {
|
|
142679
142679
|
try {
|
|
@@ -142882,7 +142882,7 @@ function transformInquirerSchema(questions) {
|
|
|
142882
142882
|
return questions;
|
|
142883
142883
|
}
|
|
142884
142884
|
|
|
142885
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
142885
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/checkUseNvm.js
|
|
142886
142886
|
var import_path10 = __toESM(require("path"));
|
|
142887
142887
|
function asyncGeneratorStep25(gen, resolve, reject, _next, _throw, key, arg) {
|
|
142888
142888
|
try {
|
|
@@ -143146,7 +143146,7 @@ function _checkUseNvm() {
|
|
|
143146
143146
|
return _checkUseNvm.apply(this, arguments);
|
|
143147
143147
|
}
|
|
143148
143148
|
|
|
143149
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
143149
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
143150
143150
|
function _array_like_to_array2(arr, len) {
|
|
143151
143151
|
if (len == null || len > arr.length)
|
|
143152
143152
|
len = arr.length;
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-next-
|
|
18
|
+
"version": "0.0.0-next-1684764391465",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
"@types/jest": "^29",
|
|
29
29
|
"@types/node": "^14",
|
|
30
30
|
"jest": "^29",
|
|
31
|
-
"typescript": "^
|
|
32
|
-
"@modern-js/base-generator": "0.0.0-next-
|
|
33
|
-
"@modern-js/generator-
|
|
34
|
-
"@modern-js/generator-
|
|
35
|
-
"@modern-js/
|
|
36
|
-
"@modern-js/
|
|
37
|
-
"@modern-js/generator
|
|
38
|
-
"@modern-js/
|
|
39
|
-
"@modern-js/
|
|
40
|
-
"@modern-js/utils": "0.0.0-next-
|
|
41
|
-
"@scripts/build": "0.0.0-next-
|
|
42
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
31
|
+
"typescript": "^5",
|
|
32
|
+
"@modern-js/base-generator": "0.0.0-next-1684764391465",
|
|
33
|
+
"@modern-js/generator-plugin": "0.0.0-next-1684764391465",
|
|
34
|
+
"@modern-js/generator-common": "0.0.0-next-1684764391465",
|
|
35
|
+
"@modern-js/generator-utils": "0.0.0-next-1684764391465",
|
|
36
|
+
"@modern-js/module-generator": "0.0.0-next-1684764391465",
|
|
37
|
+
"@modern-js/monorepo-generator": "0.0.0-next-1684764391465",
|
|
38
|
+
"@modern-js/mwa-generator": "0.0.0-next-1684764391465",
|
|
39
|
+
"@modern-js/doc-generator": "0.0.0-next-1684764391465",
|
|
40
|
+
"@modern-js/utils": "0.0.0-next-1684764391465",
|
|
41
|
+
"@scripts/build": "0.0.0-next-1684764391465",
|
|
42
|
+
"@scripts/jest-config": "0.0.0-next-1684764391465"
|
|
43
43
|
},
|
|
44
44
|
"sideEffects": false,
|
|
45
45
|
"publishConfig": {
|