@modern-js/tailwindcss-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 +19 -19
- package/package.json +7 -7
package/dist/index.js
CHANGED
@@ -51066,7 +51066,7 @@ function _define_property(obj, key, value) {
|
|
51066
51066
|
return obj;
|
51067
51067
|
}
|
51068
51068
|
|
51069
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
51069
|
+
// ../../../../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
|
51070
51070
|
var import_utils13 = require("@modern-js/utils");
|
51071
51071
|
var import_lodash5 = require("@modern-js/utils/lodash");
|
51072
51072
|
var import_comment_json = __toESM(require_src2());
|
@@ -51841,7 +51841,7 @@ function isEmpty(val, strict) {
|
|
51841
51841
|
return false;
|
51842
51842
|
}
|
51843
51843
|
|
51844
|
-
// ../../../../node_modules/.pnpm/tslib@2.
|
51844
|
+
// ../../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs
|
51845
51845
|
var __assign = function() {
|
51846
51846
|
__assign = Object.assign || function __assign11(t) {
|
51847
51847
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -55455,7 +55455,7 @@ var observe = function(target, observer, deep) {
|
|
55455
55455
|
return addListener(target);
|
55456
55456
|
};
|
55457
55457
|
|
55458
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
55458
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/shared.js
|
55459
55459
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
55460
55460
|
var SchemaNestedMap = {
|
55461
55461
|
parent: true,
|
@@ -55642,7 +55642,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
55642
55642
|
});
|
55643
55643
|
};
|
55644
55644
|
|
55645
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
55645
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/compiler.js
|
55646
55646
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
55647
55647
|
var Registry = {
|
55648
55648
|
silent: false,
|
@@ -60409,7 +60409,7 @@ function onFieldInit(pattern, callback) {
|
|
60409
60409
|
}
|
60410
60410
|
}
|
60411
60411
|
|
60412
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
60412
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/transformer.js
|
60413
60413
|
var __read7 = function(o, n) {
|
60414
60414
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
60415
60415
|
if (!m)
|
@@ -60634,7 +60634,7 @@ var transformFieldProps = function(schema, options) {
|
|
60634
60634
|
};
|
60635
60635
|
};
|
60636
60636
|
|
60637
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
60637
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/patches.js
|
60638
60638
|
var __assign9 = function() {
|
60639
60639
|
__assign9 = Object.assign || function(t) {
|
60640
60640
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -60683,7 +60683,7 @@ var enablePolyfills = function(versions) {
|
|
60683
60683
|
}
|
60684
60684
|
};
|
60685
60685
|
|
60686
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
60686
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
60687
60687
|
var __assign10 = function() {
|
60688
60688
|
__assign10 = Object.assign || function(t) {
|
60689
60689
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -60840,7 +60840,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
60840
60840
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
60841
60841
|
};
|
60842
60842
|
|
60843
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
60843
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/schema.js
|
60844
60844
|
var Schema = (
|
60845
60845
|
/** @class */
|
60846
60846
|
function() {
|
@@ -61076,10 +61076,10 @@ var Schema = (
|
|
61076
61076
|
}()
|
61077
61077
|
);
|
61078
61078
|
|
61079
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
61079
|
+
// ../../../../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
|
61080
61080
|
var import_inquirer = __toESM(require_inquirer());
|
61081
61081
|
|
61082
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
61082
|
+
// ../../../../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
|
61083
61083
|
var import_lodash = require("@modern-js/utils/lodash");
|
61084
61084
|
function validateSchema(schema) {
|
61085
61085
|
const { type, properties } = schema;
|
@@ -61171,7 +61171,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
61171
61171
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
61172
61172
|
}
|
61173
61173
|
|
61174
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
61174
|
+
// ../../../../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
|
61175
61175
|
var compileRule = (rule, scope) => {
|
61176
61176
|
const state = Schema.compile(rule, {
|
61177
61177
|
$self: {},
|
@@ -61275,7 +61275,7 @@ async function prompt(schema, configValue = {}, validateMap, initValue) {
|
|
61275
61275
|
return answers;
|
61276
61276
|
}
|
61277
61277
|
|
61278
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
61278
|
+
// ../../../../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
|
61279
61279
|
var CLIReader = class {
|
61280
61280
|
getAnswers() {
|
61281
61281
|
return this.answers;
|
@@ -61306,7 +61306,7 @@ var CLIReader = class {
|
|
61306
61306
|
}
|
61307
61307
|
};
|
61308
61308
|
|
61309
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
61309
|
+
// ../../../../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
|
61310
61310
|
var import_inquirer2 = __toESM(require_inquirer2());
|
61311
61311
|
|
61312
61312
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.37.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
@@ -61372,7 +61372,7 @@ var I18n = class {
|
|
61372
61372
|
}
|
61373
61373
|
};
|
61374
61374
|
|
61375
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
61375
|
+
// ../../../../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
|
61376
61376
|
var ZH_LOCALE = {
|
61377
61377
|
environment: {
|
61378
61378
|
node_version: "请升级 Node 版本至 LIS",
|
@@ -61399,7 +61399,7 @@ var ZH_LOCALE = {
|
|
61399
61399
|
}
|
61400
61400
|
};
|
61401
61401
|
|
61402
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
61402
|
+
// ../../../../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
|
61403
61403
|
var EN_LOCALE = {
|
61404
61404
|
environment: {
|
61405
61405
|
node_version: "please upgrade node to lts version",
|
@@ -61426,14 +61426,14 @@ var EN_LOCALE = {
|
|
61426
61426
|
}
|
61427
61427
|
};
|
61428
61428
|
|
61429
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
61429
|
+
// ../../../../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
|
61430
61430
|
var i18n = new I18n();
|
61431
61431
|
var localeKeys = i18n.init("zh", {
|
61432
61432
|
zh: ZH_LOCALE,
|
61433
61433
|
en: EN_LOCALE
|
61434
61434
|
});
|
61435
61435
|
|
61436
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
61436
|
+
// ../../../../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
|
61437
61437
|
var import_lodash4 = require("@modern-js/utils/lodash");
|
61438
61438
|
function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
|
61439
61439
|
for (const question of questions) {
|
@@ -61461,7 +61461,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
|
|
61461
61461
|
return questions;
|
61462
61462
|
}
|
61463
61463
|
|
61464
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
61464
|
+
// ../../../../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
|
61465
61465
|
var import_path4 = __toESM(require("path"));
|
61466
61466
|
var import_utils12 = require("@modern-js/utils");
|
61467
61467
|
var NODE_MAJOR_VERSION_MAP = {
|
@@ -61509,7 +61509,7 @@ async function checkUseNvm(cwd, logger) {
|
|
61509
61509
|
}
|
61510
61510
|
}
|
61511
61511
|
|
61512
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.
|
61512
|
+
// ../../../../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
|
61513
61513
|
var AppAPI = class {
|
61514
61514
|
async checkEnvironment(nodeVersion) {
|
61515
61515
|
if (import_utils13.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,11 +32,11 @@
|
|
32
32
|
"@types/node": "^14",
|
33
33
|
"jest": "^29",
|
34
34
|
"typescript": "^5",
|
35
|
-
"@modern-js/dependence-generator": "3.3.
|
36
|
-
"@modern-js/generator-common": "3.3.
|
37
|
-
"@modern-js/generator-utils": "3.3.
|
38
|
-
"@scripts/build": "2.
|
39
|
-
"@scripts/jest-config": "2.
|
35
|
+
"@modern-js/dependence-generator": "3.3.4",
|
36
|
+
"@modern-js/generator-common": "3.3.4",
|
37
|
+
"@modern-js/generator-utils": "3.3.4",
|
38
|
+
"@scripts/build": "2.43.0",
|
39
|
+
"@scripts/jest-config": "2.43.0"
|
40
40
|
},
|
41
41
|
"sideEffects": false,
|
42
42
|
"publishConfig": {
|