@modern-js/tailwindcss-generator 3.1.20 → 3.1.22
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 +13 -13
- package/package.json +8 -7
package/dist/index.js
CHANGED
|
@@ -84400,7 +84400,7 @@ var mime = Import.lazy("../compiled/mime-types", require);
|
|
|
84400
84400
|
var chokidar = Import.lazy("../compiled/chokidar", require);
|
|
84401
84401
|
var inquirer = Import.lazy("../compiled/inquirer", require);
|
|
84402
84402
|
|
|
84403
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
84403
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.5_@modern-js+codesmith@2.2.5_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
84404
84404
|
var import_lodash6 = __toESM(require_lodash2());
|
|
84405
84405
|
var import_comment_json = __toESM(require_src2());
|
|
84406
84406
|
|
|
@@ -96501,10 +96501,10 @@ var Schema = (
|
|
|
96501
96501
|
}()
|
|
96502
96502
|
);
|
|
96503
96503
|
|
|
96504
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
96504
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.5_@modern-js+codesmith@2.2.5_typescript@5.0.4/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
96505
96505
|
var import_inquirer = __toESM(require_inquirer());
|
|
96506
96506
|
|
|
96507
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
96507
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.5_@modern-js+codesmith@2.2.5_typescript@5.0.4/node_modules/@modern-js/codesmith-formily/dist/esm/transform.js
|
|
96508
96508
|
var import_lodash2 = __toESM(require_lodash2());
|
|
96509
96509
|
function asyncGeneratorStep9(gen, resolve, reject, _next, _throw, key, arg) {
|
|
96510
96510
|
try {
|
|
@@ -96851,7 +96851,7 @@ function transformForm(schema) {
|
|
|
96851
96851
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
96852
96852
|
}
|
|
96853
96853
|
|
|
96854
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
96854
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.5_@modern-js+codesmith@2.2.5_typescript@5.0.4/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
96855
96855
|
function asyncGeneratorStep10(gen, resolve, reject, _next, _throw, key, arg) {
|
|
96856
96856
|
try {
|
|
96857
96857
|
var info = gen[key](arg);
|
|
@@ -97375,7 +97375,7 @@ function _prompt() {
|
|
|
97375
97375
|
return _prompt.apply(this, arguments);
|
|
97376
97376
|
}
|
|
97377
97377
|
|
|
97378
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
97378
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.5_@modern-js+codesmith@2.2.5_typescript@5.0.4/node_modules/@modern-js/codesmith-formily/dist/esm/inquirer.js
|
|
97379
97379
|
function asyncGeneratorStep11(gen, resolve, reject, _next, _throw, key, arg) {
|
|
97380
97380
|
try {
|
|
97381
97381
|
var info = gen[key](arg);
|
|
@@ -97615,7 +97615,7 @@ var CLIReader = /* @__PURE__ */ function() {
|
|
|
97615
97615
|
return CLIReader2;
|
|
97616
97616
|
}();
|
|
97617
97617
|
|
|
97618
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
97618
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.5_@modern-js+codesmith@2.2.5_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
97619
97619
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
97620
97620
|
|
|
97621
97621
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.18.0/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
@@ -97694,7 +97694,7 @@ var I18n = class {
|
|
|
97694
97694
|
}
|
|
97695
97695
|
};
|
|
97696
97696
|
|
|
97697
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
97697
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.5_@modern-js+codesmith@2.2.5_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/zh.js
|
|
97698
97698
|
var ZH_LOCALE = {
|
|
97699
97699
|
environment: {
|
|
97700
97700
|
node_version: "请升级 Node 版本至 LIS",
|
|
@@ -97721,7 +97721,7 @@ var ZH_LOCALE = {
|
|
|
97721
97721
|
}
|
|
97722
97722
|
};
|
|
97723
97723
|
|
|
97724
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
97724
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.5_@modern-js+codesmith@2.2.5_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/en.js
|
|
97725
97725
|
var EN_LOCALE = {
|
|
97726
97726
|
environment: {
|
|
97727
97727
|
node_version: "please upgrade node to lts version",
|
|
@@ -97748,14 +97748,14 @@ var EN_LOCALE = {
|
|
|
97748
97748
|
}
|
|
97749
97749
|
};
|
|
97750
97750
|
|
|
97751
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
97751
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.5_@modern-js+codesmith@2.2.5_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/index.js
|
|
97752
97752
|
var i18n = new I18n();
|
|
97753
97753
|
var localeKeys = i18n.init("zh", {
|
|
97754
97754
|
zh: ZH_LOCALE,
|
|
97755
97755
|
en: EN_LOCALE
|
|
97756
97756
|
});
|
|
97757
97757
|
|
|
97758
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
97758
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.5_@modern-js+codesmith@2.2.5_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/transform.js
|
|
97759
97759
|
var import_lodash5 = __toESM(require_lodash2());
|
|
97760
97760
|
function asyncGeneratorStep12(gen, resolve, reject, _next, _throw, key, arg) {
|
|
97761
97761
|
try {
|
|
@@ -97964,7 +97964,7 @@ function transformInquirerSchema(questions) {
|
|
|
97964
97964
|
return questions;
|
|
97965
97965
|
}
|
|
97966
97966
|
|
|
97967
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
97967
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.5_@modern-js+codesmith@2.2.5_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/checkUseNvm.js
|
|
97968
97968
|
var import_path4 = __toESM(require("path"));
|
|
97969
97969
|
function asyncGeneratorStep13(gen, resolve, reject, _next, _throw, key, arg) {
|
|
97970
97970
|
try {
|
|
@@ -98228,7 +98228,7 @@ function _checkUseNvm() {
|
|
|
98228
98228
|
return _checkUseNvm.apply(this, arguments);
|
|
98229
98229
|
}
|
|
98230
98230
|
|
|
98231
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
98231
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.5_@modern-js+codesmith@2.2.5_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
98232
98232
|
function _array_like_to_array(arr, len) {
|
|
98233
98233
|
if (len == null || len > arr.length)
|
|
98234
98234
|
len = arr.length;
|
|
@@ -99256,7 +99256,7 @@ var ZH_LOCALE2 = {
|
|
|
99256
99256
|
function: {
|
|
99257
99257
|
self: "启用可选功能",
|
|
99258
99258
|
question: "请选择功能名称",
|
|
99259
|
-
tailwindcss: "
|
|
99259
|
+
tailwindcss: "启用「Tailwind CSS」 支持",
|
|
99260
99260
|
bff: "启用「BFF」功能",
|
|
99261
99261
|
micro_frontend: "启用「微前端」模式",
|
|
99262
99262
|
i18n: "启用「国际化(i18n)」功能",
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.1.
|
|
18
|
+
"version": "3.1.22",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
@@ -29,16 +29,17 @@
|
|
|
29
29
|
"@types/node": "^14",
|
|
30
30
|
"jest": "^29",
|
|
31
31
|
"typescript": "^5",
|
|
32
|
-
"@modern-js/generator-
|
|
33
|
-
"@scripts/jest-config": "2.
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@modern-js/generator-
|
|
32
|
+
"@modern-js/generator-utils": "3.1.22",
|
|
33
|
+
"@scripts/jest-config": "2.23.0",
|
|
34
|
+
"@scripts/build": "2.23.0",
|
|
35
|
+
"@modern-js/dependence-generator": "3.1.22",
|
|
36
|
+
"@modern-js/generator-common": "3.1.22"
|
|
37
37
|
},
|
|
38
38
|
"sideEffects": false,
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"registry": "https://registry.npmjs.org/",
|
|
41
|
-
"access": "public"
|
|
41
|
+
"access": "public",
|
|
42
|
+
"provenance": true
|
|
42
43
|
},
|
|
43
44
|
"types": "./src/index.ts",
|
|
44
45
|
"scripts": {
|