@modern-js/bff-generator 3.3.1 → 3.3.3
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 +36 -32
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -53175,7 +53175,7 @@ var MWANewActionPluginName = {
|
|
|
53175
53175
|
[ActionFunction.TailwindCSS]: "tailwindcssPlugin",
|
|
53176
53176
|
[ActionFunction.BFF]: "bffPlugin",
|
|
53177
53177
|
[ActionFunction.MicroFrontend]: "garfishPlugin",
|
|
53178
|
-
[ActionFunction.Test]: "
|
|
53178
|
+
[ActionFunction.Test]: "testingPlugin",
|
|
53179
53179
|
[ActionFunction.Storybook]: "storybookPlugin",
|
|
53180
53180
|
[ActionFunction.SSG]: "ssgPlugin",
|
|
53181
53181
|
[ActionFunction.Polyfill]: "polyfillPlugin",
|
|
@@ -53416,12 +53416,12 @@ function _define_property2(obj, key, value) {
|
|
|
53416
53416
|
return obj;
|
|
53417
53417
|
}
|
|
53418
53418
|
|
|
53419
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.
|
|
53419
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
|
|
53420
53420
|
var import_utils18 = require("@modern-js/utils");
|
|
53421
53421
|
var import_lodash7 = require("@modern-js/utils/lodash");
|
|
53422
53422
|
var import_comment_json = __toESM(require_src2());
|
|
53423
53423
|
|
|
53424
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.3.
|
|
53424
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.3.2/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/env.js
|
|
53425
53425
|
var import_utils6 = require("@modern-js/utils");
|
|
53426
53426
|
async function canUseNvm() {
|
|
53427
53427
|
try {
|
|
@@ -53471,7 +53471,7 @@ async function canUsePnpm3() {
|
|
|
53471
53471
|
}
|
|
53472
53472
|
}
|
|
53473
53473
|
|
|
53474
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.3.
|
|
53474
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.3.2/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/install.js
|
|
53475
53475
|
var import_utils7 = require("@modern-js/utils");
|
|
53476
53476
|
function execaWithStreamLog(command, args, options) {
|
|
53477
53477
|
const promise = (0, import_utils7.execa)(command, args, {
|
|
@@ -53567,7 +53567,7 @@ async function pnpmInstall({ cwd, registryUrl, ignoreScripts, useNvm }) {
|
|
|
53567
53567
|
throw new Error("please install pnpm first");
|
|
53568
53568
|
}
|
|
53569
53569
|
|
|
53570
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.3.
|
|
53570
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.3.2/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/index.js
|
|
53571
53571
|
var NpmAPI = class {
|
|
53572
53572
|
npmInstall({ cwd, registryUrl, ignoreScripts }) {
|
|
53573
53573
|
return npmInstall({
|
|
@@ -53596,7 +53596,7 @@ var NpmAPI = class {
|
|
|
53596
53596
|
}
|
|
53597
53597
|
};
|
|
53598
53598
|
|
|
53599
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.3.
|
|
53599
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.3.2_@modern-js+codesmith@2.3.2/node_modules/@modern-js/codesmith-api-git/dist/esm-node/utils/index.js
|
|
53600
53600
|
var import_utils9 = require("@modern-js/utils");
|
|
53601
53601
|
async function canUseGit() {
|
|
53602
53602
|
try {
|
|
@@ -53671,7 +53671,7 @@ async function gitCommit(cwd, commitMessage) {
|
|
|
53671
53671
|
});
|
|
53672
53672
|
}
|
|
53673
53673
|
|
|
53674
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.3.
|
|
53674
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.3.2_@modern-js+codesmith@2.3.2/node_modules/@modern-js/codesmith-api-git/dist/esm-node/index.js
|
|
53675
53675
|
var GitAPI = class {
|
|
53676
53676
|
async isInGitRepo(cwd = this.generatorCore.outputPath) {
|
|
53677
53677
|
const canUse = await canUseGit();
|
|
@@ -53723,12 +53723,12 @@ var GitAPI = class {
|
|
|
53723
53723
|
}
|
|
53724
53724
|
};
|
|
53725
53725
|
|
|
53726
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.3.
|
|
53726
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.3.2/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
|
|
53727
53727
|
var import_path2 = __toESM(require("path"));
|
|
53728
53728
|
var import_utils11 = require("@modern-js/utils");
|
|
53729
53729
|
var FS_RESOURCE = "_codesmith_core_fs_resource";
|
|
53730
53730
|
|
|
53731
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.3.
|
|
53731
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.3.2/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
|
|
53732
53732
|
var import_utils12 = require("@modern-js/utils");
|
|
53733
53733
|
async function fsExists(path6) {
|
|
53734
53734
|
try {
|
|
@@ -53739,7 +53739,7 @@ async function fsExists(path6) {
|
|
|
53739
53739
|
}
|
|
53740
53740
|
}
|
|
53741
53741
|
|
|
53742
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.3.
|
|
53742
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.3.2_@modern-js+codesmith@2.3.2/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/utils/renderString.js
|
|
53743
53743
|
var import_handlebars = __toESM(require_lib());
|
|
53744
53744
|
function renderString(template, fullData, registers) {
|
|
53745
53745
|
const helpers = {
|
|
@@ -53753,7 +53753,7 @@ function renderString(template, fullData, registers) {
|
|
|
53753
53753
|
return import_handlebars.default.compile(template)(fullData) || "";
|
|
53754
53754
|
}
|
|
53755
53755
|
|
|
53756
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.3.
|
|
53756
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.3.2_@modern-js+codesmith@2.3.2/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/index.js
|
|
53757
53757
|
var HandlebarsAPI = class {
|
|
53758
53758
|
async registerHelp(helpers) {
|
|
53759
53759
|
this.registers.helpers = {
|
|
@@ -53803,13 +53803,13 @@ var HandlebarsAPI = class {
|
|
|
53803
53803
|
}
|
|
53804
53804
|
};
|
|
53805
53805
|
|
|
53806
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.3.
|
|
53806
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.3.2_@modern-js+codesmith@2.3.2/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/utils/renderString.js
|
|
53807
53807
|
var import_ejs = __toESM(require_ejs());
|
|
53808
53808
|
function renderString2(template, fullData) {
|
|
53809
53809
|
return import_ejs.default.render(template, fullData) || "";
|
|
53810
53810
|
}
|
|
53811
53811
|
|
|
53812
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.3.
|
|
53812
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.3.2_@modern-js+codesmith@2.3.2/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/index.js
|
|
53813
53813
|
var EjsAPI = class {
|
|
53814
53814
|
async renderTemplate(templateResource, target, parameters = {}) {
|
|
53815
53815
|
if (templateResource._type !== FS_RESOURCE) {
|
|
@@ -53842,7 +53842,7 @@ var EjsAPI = class {
|
|
|
53842
53842
|
}
|
|
53843
53843
|
};
|
|
53844
53844
|
|
|
53845
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.3.
|
|
53845
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.3.2_@modern-js+codesmith@2.3.2/node_modules/@modern-js/codesmith-api-fs/dist/esm-node/index.js
|
|
53846
53846
|
var import_path3 = __toESM(require("path"));
|
|
53847
53847
|
var import_utils15 = require("@modern-js/utils");
|
|
53848
53848
|
var FsAPI = class {
|
|
@@ -63426,10 +63426,10 @@ var Schema = (
|
|
|
63426
63426
|
}()
|
|
63427
63427
|
);
|
|
63428
63428
|
|
|
63429
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.
|
|
63429
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
|
|
63430
63430
|
var import_inquirer = __toESM(require_inquirer());
|
|
63431
63431
|
|
|
63432
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.
|
|
63432
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
|
|
63433
63433
|
var import_lodash3 = require("@modern-js/utils/lodash");
|
|
63434
63434
|
function validateSchema(schema) {
|
|
63435
63435
|
const { type, properties } = schema;
|
|
@@ -63521,7 +63521,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
|
63521
63521
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
63522
63522
|
}
|
|
63523
63523
|
|
|
63524
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.
|
|
63524
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
|
|
63525
63525
|
var compileRule = (rule, scope) => {
|
|
63526
63526
|
const state = Schema.compile(rule, {
|
|
63527
63527
|
$self: {},
|
|
@@ -63625,7 +63625,7 @@ async function prompt(schema, configValue = {}, validateMap, initValue) {
|
|
|
63625
63625
|
return answers;
|
|
63626
63626
|
}
|
|
63627
63627
|
|
|
63628
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.
|
|
63628
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
|
|
63629
63629
|
var CLIReader = class {
|
|
63630
63630
|
getAnswers() {
|
|
63631
63631
|
return this.answers;
|
|
@@ -63656,7 +63656,7 @@ var CLIReader = class {
|
|
|
63656
63656
|
}
|
|
63657
63657
|
};
|
|
63658
63658
|
|
|
63659
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.
|
|
63659
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
|
|
63660
63660
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
63661
63661
|
|
|
63662
63662
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.37.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
@@ -63722,7 +63722,7 @@ var I18n2 = class {
|
|
|
63722
63722
|
}
|
|
63723
63723
|
};
|
|
63724
63724
|
|
|
63725
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.
|
|
63725
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
|
|
63726
63726
|
var ZH_LOCALE2 = {
|
|
63727
63727
|
environment: {
|
|
63728
63728
|
node_version: "请升级 Node 版本至 LIS",
|
|
@@ -63749,7 +63749,7 @@ var ZH_LOCALE2 = {
|
|
|
63749
63749
|
}
|
|
63750
63750
|
};
|
|
63751
63751
|
|
|
63752
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.
|
|
63752
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
|
|
63753
63753
|
var EN_LOCALE2 = {
|
|
63754
63754
|
environment: {
|
|
63755
63755
|
node_version: "please upgrade node to lts version",
|
|
@@ -63776,14 +63776,14 @@ var EN_LOCALE2 = {
|
|
|
63776
63776
|
}
|
|
63777
63777
|
};
|
|
63778
63778
|
|
|
63779
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.
|
|
63779
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
|
|
63780
63780
|
var i18n2 = new I18n2();
|
|
63781
63781
|
var localeKeys2 = i18n2.init("zh", {
|
|
63782
63782
|
zh: ZH_LOCALE2,
|
|
63783
63783
|
en: EN_LOCALE2
|
|
63784
63784
|
});
|
|
63785
63785
|
|
|
63786
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.
|
|
63786
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
|
|
63787
63787
|
var import_lodash6 = require("@modern-js/utils/lodash");
|
|
63788
63788
|
function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
|
|
63789
63789
|
for (const question of questions) {
|
|
@@ -63811,7 +63811,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
|
|
|
63811
63811
|
return questions;
|
|
63812
63812
|
}
|
|
63813
63813
|
|
|
63814
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.
|
|
63814
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
|
|
63815
63815
|
var import_path5 = __toESM(require("path"));
|
|
63816
63816
|
var import_utils17 = require("@modern-js/utils");
|
|
63817
63817
|
var NODE_MAJOR_VERSION_MAP = {
|
|
@@ -63859,7 +63859,7 @@ async function checkUseNvm(cwd, logger2) {
|
|
|
63859
63859
|
}
|
|
63860
63860
|
}
|
|
63861
63861
|
|
|
63862
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.
|
|
63862
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
|
|
63863
63863
|
var AppAPI = class {
|
|
63864
63864
|
async checkEnvironment(nodeVersion) {
|
|
63865
63865
|
if (import_utils18.semver.lt(process.versions.node, nodeVersion || "12.22.12")) {
|
|
@@ -63948,7 +63948,8 @@ var AppAPI = class {
|
|
|
63948
63948
|
}
|
|
63949
63949
|
async forgeTemplate(templatePattern, filter, rename, parameters, type = "handlebars") {
|
|
63950
63950
|
try {
|
|
63951
|
-
|
|
63951
|
+
var _this_generatorCore_logger_timing, _this_generatorCore_logger;
|
|
63952
|
+
(_this_generatorCore_logger = this.generatorCore.logger) === null || _this_generatorCore_logger === void 0 ? void 0 : (_this_generatorCore_logger_timing = _this_generatorCore_logger.timing) === null || _this_generatorCore_logger_timing === void 0 ? void 0 : _this_generatorCore_logger_timing.call(_this_generatorCore_logger, `forgeTemplate`);
|
|
63952
63953
|
const { material } = this.generatorContext.current;
|
|
63953
63954
|
const resourceMap = await material.find(templatePattern, {
|
|
63954
63955
|
nodir: true,
|
|
@@ -63970,12 +63971,14 @@ var AppAPI = class {
|
|
|
63970
63971
|
this.generatorCore.logger.warn(i18n2.t(localeKeys2.templated.failed));
|
|
63971
63972
|
throw new Error("base forging failed");
|
|
63972
63973
|
} finally {
|
|
63973
|
-
|
|
63974
|
+
var _this_generatorCore_logger_timing1, _this_generatorCore_logger1;
|
|
63975
|
+
(_this_generatorCore_logger1 = this.generatorCore.logger) === null || _this_generatorCore_logger1 === void 0 ? void 0 : (_this_generatorCore_logger_timing1 = _this_generatorCore_logger1.timing) === null || _this_generatorCore_logger_timing1 === void 0 ? void 0 : _this_generatorCore_logger_timing1.call(_this_generatorCore_logger1, `forgeTemplate`, true);
|
|
63974
63976
|
}
|
|
63975
63977
|
}
|
|
63976
63978
|
async renderTemplateByFileType(templatePattern, filter, rename, parameters) {
|
|
63977
63979
|
try {
|
|
63978
|
-
|
|
63980
|
+
var _this_generatorCore_logger_timing, _this_generatorCore_logger;
|
|
63981
|
+
(_this_generatorCore_logger = this.generatorCore.logger) === null || _this_generatorCore_logger === void 0 ? void 0 : (_this_generatorCore_logger_timing = _this_generatorCore_logger.timing) === null || _this_generatorCore_logger_timing === void 0 ? void 0 : _this_generatorCore_logger_timing.call(_this_generatorCore_logger, `renderTemplateByFileType`);
|
|
63979
63982
|
const { material } = this.generatorContext.current;
|
|
63980
63983
|
const resourceMap = await material.find(templatePattern, {
|
|
63981
63984
|
nodir: true,
|
|
@@ -64007,7 +64010,8 @@ var AppAPI = class {
|
|
|
64007
64010
|
this.generatorCore.logger.warn(i18n2.t(localeKeys2.templated.failed));
|
|
64008
64011
|
throw new Error("base forging failed");
|
|
64009
64012
|
} finally {
|
|
64010
|
-
|
|
64013
|
+
var _this_generatorCore_logger_timing1, _this_generatorCore_logger1;
|
|
64014
|
+
(_this_generatorCore_logger1 = this.generatorCore.logger) === null || _this_generatorCore_logger1 === void 0 ? void 0 : (_this_generatorCore_logger_timing1 = _this_generatorCore_logger1.timing) === null || _this_generatorCore_logger_timing1 === void 0 ? void 0 : _this_generatorCore_logger_timing1.call(_this_generatorCore_logger1, `renderTemplateByFileType`, true);
|
|
64011
64015
|
}
|
|
64012
64016
|
}
|
|
64013
64017
|
async updateWorkspace(folder, workspaceName = "monorepo.code-workspace") {
|
|
@@ -64095,11 +64099,11 @@ var AppAPI = class {
|
|
|
64095
64099
|
}
|
|
64096
64100
|
};
|
|
64097
64101
|
|
|
64098
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.3.
|
|
64102
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.3.2/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
|
|
64099
64103
|
var import_comment_json2 = __toESM(require_src2());
|
|
64100
64104
|
var declarationUpdate = __toESM(require_dist());
|
|
64101
64105
|
|
|
64102
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.3.
|
|
64106
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.3.2/node_modules/@modern-js/codesmith-api-json/dist/esm-node/utils/index.js
|
|
64103
64107
|
async function editJson(generatorCore, resource, getNewJsonValue) {
|
|
64104
64108
|
const originJsonValue = await resource.value();
|
|
64105
64109
|
const newJsonString = await getNewJsonValue(originJsonValue.content);
|
|
@@ -64112,7 +64116,7 @@ async function editJson(generatorCore, resource, getNewJsonValue) {
|
|
|
64112
64116
|
return newJsonString;
|
|
64113
64117
|
}
|
|
64114
64118
|
|
|
64115
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.3.
|
|
64119
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.3.2/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
|
|
64116
64120
|
var JsonAPI = class {
|
|
64117
64121
|
async get(resource) {
|
|
64118
64122
|
const originJsonValue = await resource.value();
|
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.3",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./src/index.ts",
|
|
21
21
|
"main": "./dist/index.js",
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
"/dist/index.js"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@modern-js/utils": "2.42.
|
|
27
|
+
"@modern-js/utils": "2.42.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@modern-js/codesmith": "2.3.
|
|
31
|
-
"@modern-js/codesmith-api-app": "2.3.
|
|
32
|
-
"@modern-js/codesmith-api-json": "2.3.
|
|
30
|
+
"@modern-js/codesmith": "2.3.2",
|
|
31
|
+
"@modern-js/codesmith-api-app": "2.3.2",
|
|
32
|
+
"@modern-js/codesmith-api-json": "2.3.2",
|
|
33
33
|
"@types/jest": "^29",
|
|
34
34
|
"@types/node": "^14",
|
|
35
35
|
"jest": "^29",
|
|
36
36
|
"typescript": "^5",
|
|
37
|
-
"@modern-js/generator-common": "3.3.
|
|
38
|
-
"@modern-js/plugin-i18n": "2.42.
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@scripts/
|
|
37
|
+
"@modern-js/generator-common": "3.3.3",
|
|
38
|
+
"@modern-js/plugin-i18n": "2.42.2",
|
|
39
|
+
"@modern-js/generator-utils": "3.3.3",
|
|
40
|
+
"@scripts/build": "2.42.2",
|
|
41
|
+
"@scripts/jest-config": "2.42.2"
|
|
42
42
|
},
|
|
43
43
|
"sideEffects": false,
|
|
44
44
|
"publishConfig": {
|