@modern-js/repo-generator 3.3.3 → 3.3.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +22 -22
- package/package.json +11 -11
package/dist/index.js
CHANGED
@@ -60919,7 +60919,7 @@ function _define_property(obj, key, value) {
|
|
60919
60919
|
return obj;
|
60920
60920
|
}
|
60921
60921
|
|
60922
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
60922
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
|
60923
60923
|
var import_utils23 = require("@modern-js/utils");
|
60924
60924
|
var import_lodash6 = require("@modern-js/utils/lodash");
|
60925
60925
|
var import_comment_json = __toESM(require_src2());
|
@@ -62123,7 +62123,7 @@ var FsAPI = class {
|
|
62123
62123
|
}
|
62124
62124
|
};
|
62125
62125
|
|
62126
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
62126
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/index.js
|
62127
62127
|
var import_lodash2 = require("@modern-js/utils/lodash");
|
62128
62128
|
|
62129
62129
|
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/checkers.js
|
@@ -62447,7 +62447,7 @@ function isEmpty(val, strict) {
|
|
62447
62447
|
return false;
|
62448
62448
|
}
|
62449
62449
|
|
62450
|
-
// ../../../../node_modules/.pnpm/tslib@2.
|
62450
|
+
// ../../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs
|
62451
62451
|
var __assign = function() {
|
62452
62452
|
__assign = Object.assign || function __assign11(t) {
|
62453
62453
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -62477,7 +62477,7 @@ function __generator(thisArg, body) {
|
|
62477
62477
|
function step(op) {
|
62478
62478
|
if (f)
|
62479
62479
|
throw new TypeError("Generator is already executing.");
|
62480
|
-
while (_)
|
62480
|
+
while (g && (g = 0, op[0] && (_ = 0)), _)
|
62481
62481
|
try {
|
62482
62482
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
62483
62483
|
return t;
|
@@ -66137,7 +66137,7 @@ var observe = function(target, observer, deep) {
|
|
66137
66137
|
return addListener(target);
|
66138
66138
|
};
|
66139
66139
|
|
66140
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
66140
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/shared.js
|
66141
66141
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
66142
66142
|
var SchemaNestedMap = {
|
66143
66143
|
parent: true,
|
@@ -66324,7 +66324,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
66324
66324
|
});
|
66325
66325
|
};
|
66326
66326
|
|
66327
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
66327
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/compiler.js
|
66328
66328
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
66329
66329
|
var Registry = {
|
66330
66330
|
silent: false,
|
@@ -71091,7 +71091,7 @@ function onFieldInit(pattern, callback) {
|
|
71091
71091
|
}
|
71092
71092
|
}
|
71093
71093
|
|
71094
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
71094
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/transformer.js
|
71095
71095
|
var __read7 = function(o, n) {
|
71096
71096
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
71097
71097
|
if (!m)
|
@@ -71316,7 +71316,7 @@ var transformFieldProps = function(schema, options) {
|
|
71316
71316
|
};
|
71317
71317
|
};
|
71318
71318
|
|
71319
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
71319
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/patches.js
|
71320
71320
|
var __assign9 = function() {
|
71321
71321
|
__assign9 = Object.assign || function(t) {
|
71322
71322
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -71365,7 +71365,7 @@ var enablePolyfills = function(versions) {
|
|
71365
71365
|
}
|
71366
71366
|
};
|
71367
71367
|
|
71368
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
71368
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
71369
71369
|
var __assign10 = function() {
|
71370
71370
|
__assign10 = Object.assign || function(t) {
|
71371
71371
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -71522,7 +71522,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
71522
71522
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
71523
71523
|
};
|
71524
71524
|
|
71525
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
71525
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/schema.js
|
71526
71526
|
var Schema = (
|
71527
71527
|
/** @class */
|
71528
71528
|
function() {
|
@@ -71758,10 +71758,10 @@ var Schema = (
|
|
71758
71758
|
}()
|
71759
71759
|
);
|
71760
71760
|
|
71761
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
71761
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
|
71762
71762
|
var import_inquirer = __toESM(require_inquirer());
|
71763
71763
|
|
71764
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
71764
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
|
71765
71765
|
var import_lodash = require("@modern-js/utils/lodash");
|
71766
71766
|
function validateSchema(schema) {
|
71767
71767
|
const { type, properties } = schema;
|
@@ -71853,7 +71853,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
71853
71853
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
71854
71854
|
}
|
71855
71855
|
|
71856
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
71856
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
|
71857
71857
|
var compileRule = (rule, scope) => {
|
71858
71858
|
const state = Schema.compile(rule, {
|
71859
71859
|
$self: {},
|
@@ -71957,7 +71957,7 @@ async function prompt(schema, configValue = {}, validateMap, initValue) {
|
|
71957
71957
|
return answers;
|
71958
71958
|
}
|
71959
71959
|
|
71960
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
71960
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
|
71961
71961
|
var CLIReader = class {
|
71962
71962
|
getAnswers() {
|
71963
71963
|
return this.answers;
|
@@ -71988,7 +71988,7 @@ var CLIReader = class {
|
|
71988
71988
|
}
|
71989
71989
|
};
|
71990
71990
|
|
71991
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
71991
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/index.js
|
71992
71992
|
var FormilyAPI = class {
|
71993
71993
|
mergeAnswers(answers, configValue) {
|
71994
71994
|
const inputData = (0, import_lodash2.merge)(answers, configValue);
|
@@ -72011,7 +72011,7 @@ var FormilyAPI = class {
|
|
72011
72011
|
}
|
72012
72012
|
};
|
72013
72013
|
|
72014
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
72014
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
|
72015
72015
|
var import_inquirer3 = __toESM(require_inquirer2());
|
72016
72016
|
|
72017
72017
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.37.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
@@ -72077,7 +72077,7 @@ var I18n = class {
|
|
72077
72077
|
}
|
72078
72078
|
};
|
72079
72079
|
|
72080
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
72080
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
|
72081
72081
|
var ZH_LOCALE = {
|
72082
72082
|
environment: {
|
72083
72083
|
node_version: "请升级 Node 版本至 LIS",
|
@@ -72104,7 +72104,7 @@ var ZH_LOCALE = {
|
|
72104
72104
|
}
|
72105
72105
|
};
|
72106
72106
|
|
72107
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
72107
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
|
72108
72108
|
var EN_LOCALE = {
|
72109
72109
|
environment: {
|
72110
72110
|
node_version: "please upgrade node to lts version",
|
@@ -72131,14 +72131,14 @@ var EN_LOCALE = {
|
|
72131
72131
|
}
|
72132
72132
|
};
|
72133
72133
|
|
72134
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
72134
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
|
72135
72135
|
var i18n = new I18n();
|
72136
72136
|
var localeKeys = i18n.init("zh", {
|
72137
72137
|
zh: ZH_LOCALE,
|
72138
72138
|
en: EN_LOCALE
|
72139
72139
|
});
|
72140
72140
|
|
72141
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
72141
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
|
72142
72142
|
var import_lodash5 = require("@modern-js/utils/lodash");
|
72143
72143
|
function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
|
72144
72144
|
for (const question of questions) {
|
@@ -72166,7 +72166,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
|
|
72166
72166
|
return questions;
|
72167
72167
|
}
|
72168
72168
|
|
72169
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
72169
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
|
72170
72170
|
var import_path10 = __toESM(require("path"));
|
72171
72171
|
var import_utils22 = require("@modern-js/utils");
|
72172
72172
|
var NODE_MAJOR_VERSION_MAP = {
|
@@ -72214,7 +72214,7 @@ async function checkUseNvm(cwd, logger2) {
|
|
72214
72214
|
}
|
72215
72215
|
}
|
72216
72216
|
|
72217
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
72217
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
|
72218
72218
|
var AppAPI = class {
|
72219
72219
|
async checkEnvironment(nodeVersion) {
|
72220
72220
|
if (import_utils23.semver.lt(process.versions.node, nodeVersion || "12.22.12")) {
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "3.3.
|
18
|
+
"version": "3.3.4",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"main": "./dist/index.js",
|
21
21
|
"files": [
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"/dist/index.js"
|
24
24
|
],
|
25
25
|
"dependencies": {
|
26
|
-
"@modern-js/utils": "2.
|
26
|
+
"@modern-js/utils": "2.43.0"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
29
|
"@modern-js/codesmith": "2.3.2",
|
@@ -32,15 +32,15 @@
|
|
32
32
|
"@types/node": "^14",
|
33
33
|
"jest": "^29",
|
34
34
|
"typescript": "^5",
|
35
|
-
"@modern-js/
|
36
|
-
"@modern-js/generator
|
37
|
-
"@modern-js/generator-
|
38
|
-
"@modern-js/module-generator": "3.3.
|
39
|
-
"@modern-js/generator
|
40
|
-
"@modern-js/
|
41
|
-
"@
|
42
|
-
"@scripts/
|
43
|
-
"@
|
35
|
+
"@modern-js/generator-common": "3.3.4",
|
36
|
+
"@modern-js/base-generator": "3.3.4",
|
37
|
+
"@modern-js/generator-plugin": "3.3.4",
|
38
|
+
"@modern-js/module-generator": "3.3.4",
|
39
|
+
"@modern-js/monorepo-generator": "3.3.4",
|
40
|
+
"@modern-js/generator-utils": "3.3.4",
|
41
|
+
"@scripts/build": "2.43.0",
|
42
|
+
"@scripts/jest-config": "2.43.0",
|
43
|
+
"@modern-js/mwa-generator": "3.3.4"
|
44
44
|
},
|
45
45
|
"sideEffects": false,
|
46
46
|
"publishConfig": {
|