@modern-js/monorepo-generator 3.3.3 → 3.3.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +19 -19
- package/package.json +10 -10
- package/templates/base-template/monorepo.code-workspace +1 -1
package/dist/index.js
CHANGED
@@ -52742,7 +52742,7 @@ async function canUsePnpm() {
|
|
52742
52742
|
}
|
52743
52743
|
}
|
52744
52744
|
|
52745
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
52745
|
+
// ../../../../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
|
52746
52746
|
var import_utils14 = require("@modern-js/utils");
|
52747
52747
|
var import_lodash5 = require("@modern-js/utils/lodash");
|
52748
52748
|
var import_comment_json = __toESM(require_src2());
|
@@ -53501,7 +53501,7 @@ function isEmpty(val, strict) {
|
|
53501
53501
|
return false;
|
53502
53502
|
}
|
53503
53503
|
|
53504
|
-
// ../../../../node_modules/.pnpm/tslib@2.
|
53504
|
+
// ../../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs
|
53505
53505
|
var __assign = function() {
|
53506
53506
|
__assign = Object.assign || function __assign11(t) {
|
53507
53507
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -57115,7 +57115,7 @@ var observe = function(target, observer, deep) {
|
|
57115
57115
|
return addListener(target);
|
57116
57116
|
};
|
57117
57117
|
|
57118
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
57118
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/shared.js
|
57119
57119
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
57120
57120
|
var SchemaNestedMap = {
|
57121
57121
|
parent: true,
|
@@ -57302,7 +57302,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
57302
57302
|
});
|
57303
57303
|
};
|
57304
57304
|
|
57305
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
57305
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/compiler.js
|
57306
57306
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
57307
57307
|
var Registry = {
|
57308
57308
|
silent: false,
|
@@ -62069,7 +62069,7 @@ function onFieldInit(pattern, callback) {
|
|
62069
62069
|
}
|
62070
62070
|
}
|
62071
62071
|
|
62072
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
62072
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/transformer.js
|
62073
62073
|
var __read7 = function(o, n) {
|
62074
62074
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
62075
62075
|
if (!m)
|
@@ -62294,7 +62294,7 @@ var transformFieldProps = function(schema, options) {
|
|
62294
62294
|
};
|
62295
62295
|
};
|
62296
62296
|
|
62297
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
62297
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/patches.js
|
62298
62298
|
var __assign9 = function() {
|
62299
62299
|
__assign9 = Object.assign || function(t) {
|
62300
62300
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -62343,7 +62343,7 @@ var enablePolyfills = function(versions) {
|
|
62343
62343
|
}
|
62344
62344
|
};
|
62345
62345
|
|
62346
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
62346
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
62347
62347
|
var __assign10 = function() {
|
62348
62348
|
__assign10 = Object.assign || function(t) {
|
62349
62349
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -62500,7 +62500,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
62500
62500
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
62501
62501
|
};
|
62502
62502
|
|
62503
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
62503
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/schema.js
|
62504
62504
|
var Schema = (
|
62505
62505
|
/** @class */
|
62506
62506
|
function() {
|
@@ -62736,10 +62736,10 @@ var Schema = (
|
|
62736
62736
|
}()
|
62737
62737
|
);
|
62738
62738
|
|
62739
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
62739
|
+
// ../../../../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
|
62740
62740
|
var import_inquirer = __toESM(require_inquirer());
|
62741
62741
|
|
62742
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
62742
|
+
// ../../../../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
|
62743
62743
|
var import_lodash = require("@modern-js/utils/lodash");
|
62744
62744
|
function validateSchema(schema) {
|
62745
62745
|
const { type, properties } = schema;
|
@@ -62831,7 +62831,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
62831
62831
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
62832
62832
|
}
|
62833
62833
|
|
62834
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
62834
|
+
// ../../../../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
|
62835
62835
|
var compileRule = (rule, scope) => {
|
62836
62836
|
const state = Schema.compile(rule, {
|
62837
62837
|
$self: {},
|
@@ -62935,7 +62935,7 @@ async function prompt(schema, configValue = {}, validateMap, initValue) {
|
|
62935
62935
|
return answers;
|
62936
62936
|
}
|
62937
62937
|
|
62938
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
62938
|
+
// ../../../../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
|
62939
62939
|
var CLIReader = class {
|
62940
62940
|
getAnswers() {
|
62941
62941
|
return this.answers;
|
@@ -62966,7 +62966,7 @@ var CLIReader = class {
|
|
62966
62966
|
}
|
62967
62967
|
};
|
62968
62968
|
|
62969
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
62969
|
+
// ../../../../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
|
62970
62970
|
var import_inquirer2 = __toESM(require_inquirer2());
|
62971
62971
|
|
62972
62972
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.37.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
@@ -63032,7 +63032,7 @@ var I18n = class {
|
|
63032
63032
|
}
|
63033
63033
|
};
|
63034
63034
|
|
63035
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
63035
|
+
// ../../../../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
|
63036
63036
|
var ZH_LOCALE = {
|
63037
63037
|
environment: {
|
63038
63038
|
node_version: "请升级 Node 版本至 LIS",
|
@@ -63059,7 +63059,7 @@ var ZH_LOCALE = {
|
|
63059
63059
|
}
|
63060
63060
|
};
|
63061
63061
|
|
63062
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
63062
|
+
// ../../../../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
|
63063
63063
|
var EN_LOCALE = {
|
63064
63064
|
environment: {
|
63065
63065
|
node_version: "please upgrade node to lts version",
|
@@ -63086,14 +63086,14 @@ var EN_LOCALE = {
|
|
63086
63086
|
}
|
63087
63087
|
};
|
63088
63088
|
|
63089
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
63089
|
+
// ../../../../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
|
63090
63090
|
var i18n = new I18n();
|
63091
63091
|
var localeKeys = i18n.init("zh", {
|
63092
63092
|
zh: ZH_LOCALE,
|
63093
63093
|
en: EN_LOCALE
|
63094
63094
|
});
|
63095
63095
|
|
63096
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
63096
|
+
// ../../../../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
|
63097
63097
|
var import_lodash4 = require("@modern-js/utils/lodash");
|
63098
63098
|
function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
|
63099
63099
|
for (const question of questions) {
|
@@ -63121,7 +63121,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
|
|
63121
63121
|
return questions;
|
63122
63122
|
}
|
63123
63123
|
|
63124
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
63124
|
+
// ../../../../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
|
63125
63125
|
var import_path5 = __toESM(require("path"));
|
63126
63126
|
var import_utils13 = require("@modern-js/utils");
|
63127
63127
|
var NODE_MAJOR_VERSION_MAP = {
|
@@ -63169,7 +63169,7 @@ async function checkUseNvm(cwd, logger) {
|
|
63169
63169
|
}
|
63170
63170
|
}
|
63171
63171
|
|
63172
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
63172
|
+
// ../../../../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
|
63173
63173
|
var AppAPI = class {
|
63174
63174
|
async checkEnvironment(nodeVersion) {
|
63175
63175
|
if (import_utils14.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.5",
|
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.44.0"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
29
|
"@modern-js/codesmith": "2.3.2",
|
@@ -33,14 +33,14 @@
|
|
33
33
|
"@types/node": "^14",
|
34
34
|
"jest": "^29",
|
35
35
|
"typescript": "^5",
|
36
|
-
"@modern-js/
|
37
|
-
"@modern-js/generator-utils": "3.3.
|
38
|
-
"@modern-js/plugin-i18n": "2.
|
39
|
-
"@modern-js/generator
|
40
|
-
"@
|
41
|
-
"@modern-js/
|
42
|
-
"@scripts/build": "2.
|
43
|
-
"@
|
36
|
+
"@modern-js/changeset-generator": "3.3.5",
|
37
|
+
"@modern-js/generator-utils": "3.3.5",
|
38
|
+
"@modern-js/plugin-i18n": "2.44.0",
|
39
|
+
"@modern-js/packages-generator": "3.3.5",
|
40
|
+
"@scripts/jest-config": "2.44.0",
|
41
|
+
"@modern-js/base-generator": "3.3.5",
|
42
|
+
"@scripts/build": "2.44.0",
|
43
|
+
"@modern-js/generator-common": "3.3.5"
|
44
44
|
},
|
45
45
|
"sideEffects": false,
|
46
46
|
"publishConfig": {
|