@modern-js/monorepo-generator 3.1.29 → 3.1.31
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 +48 -124
- package/package.json +9 -9
package/dist/index.js
CHANGED
@@ -115368,6 +115368,8 @@ var require_chainId = __commonJS({
|
|
115368
115368
|
YAML: "yaml",
|
115369
115369
|
/** Rule for wasm */
|
115370
115370
|
WASM: "wasm",
|
115371
|
+
/** Rule for node */
|
115372
|
+
NODE: "node",
|
115371
115373
|
/** Rule for bff */
|
115372
115374
|
JS_BFF_API: "js-bff-api"
|
115373
115375
|
},
|
@@ -115406,6 +115408,8 @@ var require_chainId = __commonJS({
|
|
115406
115408
|
TOML: "toml",
|
115407
115409
|
/** html-loader */
|
115408
115410
|
HTML: "html",
|
115411
|
+
/** node-loader */
|
115412
|
+
NODE: "html",
|
115409
115413
|
/** babel-loader */
|
115410
115414
|
BABEL: "babel",
|
115411
115415
|
/** esbuild-loader */
|
@@ -115424,6 +115428,8 @@ var require_chainId = __commonJS({
|
|
115424
115428
|
CSS_MODULES_TS: "css-modules-typescript",
|
115425
115429
|
/** mini-css-extract-plugin.loader */
|
115426
115430
|
MINI_CSS_EXTRACT: "mini-css-extract",
|
115431
|
+
/** resolve-url-loader */
|
115432
|
+
RESOLVE_URL_LOADER_FOR_SASS: "resolve-url-loader",
|
115427
115433
|
/** builder-plugin-image-compress.loader */
|
115428
115434
|
IMAGE_COMPRESS: "image-compress",
|
115429
115435
|
/** builder-plugin-image-compress svgo-loader */
|
@@ -115471,6 +115477,10 @@ var require_chainId = __commonJS({
|
|
115471
115477
|
HTML_NONCE: "html-nonce",
|
115472
115478
|
/** HtmlCrossOriginPlugin */
|
115473
115479
|
HTML_CROSS_ORIGIN: "html-cross-origin",
|
115480
|
+
/** htmlPreconnectPlugin */
|
115481
|
+
HTML_PRECONNECT: "html-preconnect-plugin",
|
115482
|
+
/** htmlDnsPrefetchPlugin */
|
115483
|
+
HTML_DNS_PREFETCH: "html-dns-prefetch-plugin",
|
115474
115484
|
/** MiniCssExtractPlugin */
|
115475
115485
|
MINI_CSS_EXTRACT: "mini-css-extract",
|
115476
115486
|
/** VueLoaderPlugin */
|
@@ -115634,7 +115644,7 @@ var require_constants = __commonJS({
|
|
115634
115644
|
var API_DIR = "api";
|
115635
115645
|
var SERVER_DIR = "server";
|
115636
115646
|
var SHARED_DIR = "shared";
|
115637
|
-
var CONFIG_CACHE_DIR = "./node_modules/.cache/
|
115647
|
+
var CONFIG_CACHE_DIR = "./node_modules/.cache/bundle-require";
|
115638
115648
|
var CONFIG_FILE_EXTENSIONS = [
|
115639
115649
|
".js",
|
115640
115650
|
".ts",
|
@@ -115666,7 +115676,6 @@ var require_constants = __commonJS({
|
|
115666
115676
|
};
|
115667
115677
|
var INTERNAL_MODULE_TOOLS_PLUGINS = {
|
115668
115678
|
"@modern-js/module-tools": "@modern-js/module-tools",
|
115669
|
-
"@modern-js/doc-tools": "@modern-js/doc-tools",
|
115670
115679
|
"@modern-js/runtime": "@modern-js/runtime/cli",
|
115671
115680
|
"@modern-js/plugin-testing": "@modern-js/plugin-testing/cli",
|
115672
115681
|
"@modern-js/plugin-storybook": "@modern-js/plugin-storybook/cli",
|
@@ -115942,13 +115951,15 @@ var require_config2 = __commonJS({
|
|
115942
115951
|
return isSingleEntry;
|
115943
115952
|
}
|
115944
115953
|
});
|
115954
|
+
var _constants = require_constants();
|
115945
115955
|
var _type = require_type();
|
115946
115956
|
var isSSR = (config) => {
|
115957
|
+
var _server, _server1;
|
115947
115958
|
const { server } = config;
|
115948
|
-
if (server === null ||
|
115959
|
+
if ((_server = server) === null || _server === void 0 ? void 0 : _server.ssr) {
|
115949
115960
|
return true;
|
115950
115961
|
}
|
115951
|
-
if ((server === null ||
|
115962
|
+
if (((_server1 = server) === null || _server1 === void 0 ? void 0 : _server1.ssrByEntries) && !(0, _type.isEmpty)(server.ssrByEntries)) {
|
115952
115963
|
for (const name of Object.keys(server.ssrByEntries)) {
|
115953
115964
|
if (server.ssrByEntries[name]) {
|
115954
115965
|
return true;
|
@@ -115958,30 +115969,32 @@ var require_config2 = __commonJS({
|
|
115958
115969
|
return false;
|
115959
115970
|
};
|
115960
115971
|
var isUseSSRBundle = (config) => {
|
115972
|
+
var _output;
|
115961
115973
|
const { output: output2 } = config;
|
115962
|
-
if (output2 === null ||
|
115974
|
+
if ((_output = output2) === null || _output === void 0 ? void 0 : _output.ssg) {
|
115963
115975
|
return true;
|
115964
115976
|
}
|
115965
115977
|
return isSSR(config);
|
115966
115978
|
};
|
115967
115979
|
var isServiceWorker = (config) => {
|
115968
|
-
var _deploy_worker;
|
115980
|
+
var _deploy_worker, _deploy, _output;
|
115969
115981
|
const { output: output2, deploy } = config;
|
115970
|
-
if ((deploy === null ||
|
115982
|
+
if (((_deploy = deploy) === null || _deploy === void 0 ? void 0 : (_deploy_worker = _deploy.worker) === null || _deploy_worker === void 0 ? void 0 : _deploy_worker.ssr) && (((_output = output2) === null || _output === void 0 ? void 0 : _output.ssg) || isSSR(config))) {
|
115971
115983
|
return true;
|
115972
115984
|
}
|
115973
115985
|
return false;
|
115974
115986
|
};
|
115975
115987
|
var isRouterV5 = (config) => {
|
115976
|
-
var _config_runtime, _config_runtime1,
|
115977
|
-
return typeof ((_config_runtime = config.runtime) === null || _config_runtime === void 0 ? void 0 : _config_runtime.router) !== "boolean" && (config === null ||
|
115988
|
+
var _config_runtime, _config_runtime_router, _config_runtime1, _config;
|
115989
|
+
return typeof ((_config_runtime = config.runtime) === null || _config_runtime === void 0 ? void 0 : _config_runtime.router) !== "boolean" && ((_config = config) === null || _config === void 0 ? void 0 : (_config_runtime1 = _config.runtime) === null || _config_runtime1 === void 0 ? void 0 : (_config_runtime_router = _config_runtime1.router) === null || _config_runtime_router === void 0 ? void 0 : _config_runtime_router.mode) === "react-router-5";
|
115978
115990
|
};
|
115979
115991
|
var isSSGEntry = (config, entryName, entrypoints) => {
|
115992
|
+
var _config_source, _ssgConfig, _ssgConfig1;
|
115980
115993
|
const ssgConfig = config.output.ssg;
|
115981
|
-
const useSSG = isSingleEntry(entrypoints) ? Boolean(ssgConfig) : ssgConfig === true || typeof (ssgConfig === null ||
|
115994
|
+
const useSSG = isSingleEntry(entrypoints, (_config_source = config.source) === null || _config_source === void 0 ? void 0 : _config_source.mainEntryName) ? Boolean(ssgConfig) : ssgConfig === true || typeof ((_ssgConfig = ssgConfig) === null || _ssgConfig === void 0 ? void 0 : _ssgConfig[0]) === "function" || Boolean((_ssgConfig1 = ssgConfig) === null || _ssgConfig1 === void 0 ? void 0 : _ssgConfig1[entryName]);
|
115982
115995
|
return useSSG;
|
115983
115996
|
};
|
115984
|
-
var isSingleEntry = (entrypoints) => entrypoints.length === 1 && entrypoints[0].entryName ===
|
115997
|
+
var isSingleEntry = (entrypoints, mainEntryName = _constants.MAIN_ENTRY_NAME) => entrypoints.length === 1 && entrypoints[0].entryName === mainEntryName;
|
115985
115998
|
}
|
115986
115999
|
});
|
115987
116000
|
|
@@ -116528,6 +116541,9 @@ var require_logger2 = __commonJS({
|
|
116528
116541
|
});
|
116529
116542
|
}
|
116530
116543
|
_export(exports, {
|
116544
|
+
isErrorStackMessage: function() {
|
116545
|
+
return isErrorStackMessage;
|
116546
|
+
},
|
116531
116547
|
Logger: function() {
|
116532
116548
|
return Logger;
|
116533
116549
|
},
|
@@ -116578,6 +116594,9 @@ var require_logger2 = __commonJS({
|
|
116578
116594
|
displayLabel: true,
|
116579
116595
|
uppercaseLabel: false
|
116580
116596
|
};
|
116597
|
+
var errorStackRegExp = /^\s*at\s.*:\d+:\d+[\s)]*$/;
|
116598
|
+
var anonymousErrorStackRegExp = /^\s*at\s.*\(<anonymous>\)$/;
|
116599
|
+
var isErrorStackMessage = (message) => errorStackRegExp.test(message) || anonymousErrorStackRegExp.test(message);
|
116581
116600
|
var Logger = class {
|
116582
116601
|
_log(type, message, ...args) {
|
116583
116602
|
if (message === void 0 || message === null) {
|
@@ -116603,6 +116622,9 @@ ${_chalk.default.grey(rest.join("\n"))}`;
|
|
116603
116622
|
} else {
|
116604
116623
|
text = message.message;
|
116605
116624
|
}
|
116625
|
+
} else if (logType.level === "error" && typeof message === "string") {
|
116626
|
+
const lines = message.split("\n");
|
116627
|
+
text = lines.map((line) => isErrorStackMessage(line) ? _chalk.default.gray(line) : line).join("\n");
|
116606
116628
|
} else {
|
116607
116629
|
text = `${message}`;
|
116608
116630
|
}
|
@@ -116725,7 +116747,7 @@ var require_alias = __commonJS({
|
|
116725
116747
|
};
|
116726
116748
|
var mergeAlias = (alias) => (0, _applyOptionsChain.applyOptionsChain)({}, alias);
|
116727
116749
|
var getAliasConfig = (aliasOption, option) => {
|
116728
|
-
var _tsconfig_compilerOptions, _tsconfig_compilerOptions1;
|
116750
|
+
var _tsconfig_compilerOptions, _tsconfig, _tsconfig_compilerOptions1, _tsconfig1;
|
116729
116751
|
const isTsProject = _fs.default.existsSync(option.tsconfigPath);
|
116730
116752
|
const alias = mergeAlias(aliasOption);
|
116731
116753
|
if (!isTsProject) {
|
@@ -116737,10 +116759,10 @@ var require_alias = __commonJS({
|
|
116737
116759
|
};
|
116738
116760
|
}
|
116739
116761
|
const tsconfig = (0, _get.readTsConfigByFile)(option.tsconfigPath);
|
116740
|
-
const baseUrl = tsconfig === null ||
|
116762
|
+
const baseUrl = (_tsconfig = tsconfig) === null || _tsconfig === void 0 ? void 0 : (_tsconfig_compilerOptions = _tsconfig.compilerOptions) === null || _tsconfig_compilerOptions === void 0 ? void 0 : _tsconfig_compilerOptions.baseUrl;
|
116741
116763
|
return {
|
116742
116764
|
absoluteBaseUrl: baseUrl ? _path.default.join(option.appDirectory, baseUrl) : option.appDirectory,
|
116743
|
-
paths: __spreadValues(__spreadValues({}, alias), tsconfig === null ||
|
116765
|
+
paths: __spreadValues(__spreadValues({}, alias), (_tsconfig1 = tsconfig) === null || _tsconfig1 === void 0 ? void 0 : (_tsconfig_compilerOptions1 = _tsconfig1.compilerOptions) === null || _tsconfig_compilerOptions1 === void 0 ? void 0 : _tsconfig_compilerOptions1.paths),
|
116744
116766
|
isTsPath: true,
|
116745
116767
|
isTsProject
|
116746
116768
|
};
|
@@ -116784,15 +116806,6 @@ var require_path = __commonJS({
|
|
116784
116806
|
getTemplatePath: function() {
|
116785
116807
|
return getTemplatePath;
|
116786
116808
|
},
|
116787
|
-
compilePathMatcherRegExp: function() {
|
116788
|
-
return compilePathMatcherRegExp;
|
116789
|
-
},
|
116790
|
-
_joinPathParts: function() {
|
116791
|
-
return _joinPathParts;
|
116792
|
-
},
|
116793
|
-
upwardPaths: function() {
|
116794
|
-
return upwardPaths;
|
116795
|
-
},
|
116796
116809
|
getRealTemporaryDirectory: function() {
|
116797
116810
|
return getRealTemporaryDirectory;
|
116798
116811
|
},
|
@@ -116830,20 +116843,6 @@ var require_path = __commonJS({
|
|
116830
116843
|
parts.push((0, _compiled.nanoid)());
|
116831
116844
|
return _path.default.resolve(...parts);
|
116832
116845
|
};
|
116833
|
-
function compilePathMatcherRegExp(match) {
|
116834
|
-
if (typeof match !== "string") {
|
116835
|
-
return match;
|
116836
|
-
}
|
116837
|
-
const escaped = _compiled.lodash.escapeRegExp(match);
|
116838
|
-
return new RegExp(`(?<=\\W|^)${escaped}(?=\\W|$)`);
|
116839
|
-
}
|
116840
|
-
var _joinPathParts = (_part, i, parts) => (0, _compiled.lodash)(parts).filter((part) => ![
|
116841
|
-
"/",
|
116842
|
-
"\\"
|
116843
|
-
].includes(part)).tap((parts2) => parts2.unshift("")).slice(0, i + 2).join("/");
|
116844
|
-
function upwardPaths(start) {
|
116845
|
-
return (0, _compiled.lodash)(start).split(/[/\\]/).filter(Boolean).map(_joinPathParts).reverse().push("/").value();
|
116846
|
-
}
|
116847
116846
|
function getRealTemporaryDirectory() {
|
116848
116847
|
let ret = null;
|
116849
116848
|
try {
|
@@ -117095,84 +117094,6 @@ var require_monorepo = __commonJS({
|
|
117095
117094
|
}
|
117096
117095
|
});
|
117097
117096
|
|
117098
|
-
// ../../../toolkit/utils/dist/cjs/cli/pathSerializer.js
|
117099
|
-
var require_pathSerializer = __commonJS({
|
117100
|
-
"../../../toolkit/utils/dist/cjs/cli/pathSerializer.js"(exports) {
|
117101
|
-
"use strict";
|
117102
|
-
Object.defineProperty(exports, "__esModule", {
|
117103
|
-
value: true
|
117104
|
-
});
|
117105
|
-
function _export(target, all) {
|
117106
|
-
for (var name in all)
|
117107
|
-
Object.defineProperty(target, name, {
|
117108
|
-
enumerable: true,
|
117109
|
-
get: all[name]
|
117110
|
-
});
|
117111
|
-
}
|
117112
|
-
_export(exports, {
|
117113
|
-
matchUpwardPathsAsUnknown: function() {
|
117114
|
-
return matchUpwardPathsAsUnknown;
|
117115
|
-
},
|
117116
|
-
applyPathMatcher: function() {
|
117117
|
-
return applyPathMatcher;
|
117118
|
-
},
|
117119
|
-
applyMatcherReplacement: function() {
|
117120
|
-
return applyMatcherReplacement;
|
117121
|
-
},
|
117122
|
-
createDefaultPathMatchers: function() {
|
117123
|
-
return createDefaultPathMatchers;
|
117124
|
-
}
|
117125
|
-
});
|
117126
|
-
var _interop_require_default = require_interop_require_default();
|
117127
|
-
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
117128
|
-
var _lodash = /* @__PURE__ */ _interop_require_default._(require_lodash4());
|
117129
|
-
var _path = require_path();
|
117130
|
-
var matchUpwardPathsAsUnknown = (p) => (0, _lodash.default)((0, _path.upwardPaths)((0, _path.normalizeToPosixPath)(p))).map((match) => ({
|
117131
|
-
match,
|
117132
|
-
mark: "unknown"
|
117133
|
-
})).slice(1, -1).value();
|
117134
|
-
function applyPathMatcher(matcher, str, options = {}) {
|
117135
|
-
const regex2 = (0, _path.compilePathMatcherRegExp)(matcher.match);
|
117136
|
-
const replacer = (substring, ...args) => {
|
117137
|
-
if (options.minPartials && (0, _path.splitPathString)(substring).length < options.minPartials) {
|
117138
|
-
return substring;
|
117139
|
-
}
|
117140
|
-
const ret = typeof matcher.mark === "string" ? matcher.mark : matcher.mark(substring, ...args);
|
117141
|
-
return `<${_lodash.default.snakeCase(ret).toUpperCase()}>`;
|
117142
|
-
};
|
117143
|
-
return str.replace(regex2, replacer);
|
117144
|
-
}
|
117145
|
-
function applyMatcherReplacement(matchers, str, options = {}) {
|
117146
|
-
return matchers.reduce((ret, matcher) => {
|
117147
|
-
return applyPathMatcher(matcher, ret, options);
|
117148
|
-
}, str);
|
117149
|
-
}
|
117150
|
-
var createDefaultPathMatchers = (root) => {
|
117151
|
-
const ret = [
|
117152
|
-
{
|
117153
|
-
match: RegExp("(?<=\\/)(\\.pnpm\\/.+?\\/node_modules)(?=\\/)"),
|
117154
|
-
mark: "pnpmInner"
|
117155
|
-
}
|
117156
|
-
];
|
117157
|
-
const tmpdir = (0, _path.getRealTemporaryDirectory)();
|
117158
|
-
tmpdir && ret.push({
|
117159
|
-
match: tmpdir,
|
117160
|
-
mark: "temp"
|
117161
|
-
});
|
117162
|
-
ret.push({
|
117163
|
-
match: _os.default.tmpdir(),
|
117164
|
-
mark: "temp"
|
117165
|
-
});
|
117166
|
-
ret.push({
|
117167
|
-
match: _os.default.homedir(),
|
117168
|
-
mark: "home"
|
117169
|
-
});
|
117170
|
-
ret.push(...matchUpwardPathsAsUnknown(root));
|
117171
|
-
return ret;
|
117172
|
-
};
|
117173
|
-
}
|
117174
|
-
});
|
117175
|
-
|
117176
117097
|
// ../../../toolkit/utils/dist/cjs/cli/port.js
|
117177
117098
|
var require_port = __commonJS({
|
117178
117099
|
"../../../toolkit/utils/dist/cjs/cli/port.js"(exports) {
|
@@ -117279,7 +117200,8 @@ var require_prettyInstructions = __commonJS({
|
|
117279
117200
|
const LOCAL_LABEL = "Local: ";
|
117280
117201
|
const NETWORK_LABEL = "Network: ";
|
117281
117202
|
const isLocalhost = (url) => {
|
117282
|
-
|
117203
|
+
var _url;
|
117204
|
+
return (_url = url) === null || _url === void 0 ? void 0 : _url.includes("localhost");
|
117283
117205
|
};
|
117284
117206
|
if (host && host !== _constants.DEFAULT_DEV_HOST) {
|
117285
117207
|
return [
|
@@ -117306,19 +117228,19 @@ var require_prettyInstructions = __commonJS({
|
|
117306
117228
|
}, []);
|
117307
117229
|
};
|
117308
117230
|
var prettyInstructions = (appContext, config) => {
|
117309
|
-
var _appContext_builder_context_devServer, _appContext_builder, _config_dev;
|
117231
|
+
var _appContext_builder_context_devServer, _appContext_builder, _config_dev, _config_source;
|
117310
117232
|
const { entrypoints, serverRoutes, port, apiOnly, checkedEntries } = appContext;
|
117311
|
-
const isHttps = (0, _is.isDev)() && ((
|
117233
|
+
const isHttps = (0, _is.isDev)() && ((_appContext_builder = appContext.builder) === null || _appContext_builder === void 0 ? void 0 : (_appContext_builder_context_devServer = _appContext_builder.context.devServer) === null || _appContext_builder_context_devServer === void 0 ? void 0 : _appContext_builder_context_devServer.https);
|
117312
117234
|
const urls = getAddressUrls(isHttps ? "https" : "http", port, (_config_dev = config.dev) === null || _config_dev === void 0 ? void 0 : _config_dev.host);
|
117313
117235
|
const routes = !apiOnly ? serverRoutes.filter((route) => route.entryName) : serverRoutes;
|
117314
117236
|
let message = "App running at:\n\n";
|
117315
|
-
if ((0, _is.isSingleEntry)(entrypoints) || apiOnly) {
|
117237
|
+
if ((0, _is.isSingleEntry)(entrypoints, (_config_source = config.source) === null || _config_source === void 0 ? void 0 : _config_source.mainEntryName) || apiOnly) {
|
117316
117238
|
message += urls.map(({ label, url }) => ` ${_compiled.chalk.bold(`> ${label.padEnd(10)}`)}${_compiled.chalk.cyanBright(normalizeUrl(`${url}/${routes[0].urlPath}`))}
|
117317
117239
|
`).join("");
|
117318
117240
|
} else {
|
117319
117241
|
const maxNameLength = Math.max(...routes.map((r) => r.entryName.length));
|
117320
117242
|
urls.forEach(({ label, url }) => {
|
117321
|
-
message += ` ${_compiled.chalk.bold(`> ${label}`)}
|
117243
|
+
message += ` ${_compiled.chalk.bold(`> ${label}`)}${routes.length === 0 ? _compiled.chalk.cyanBright(url) : ""}
|
117322
117244
|
`;
|
117323
117245
|
routes.forEach(({ entryName, urlPath, isSSR }) => {
|
117324
117246
|
if (!checkedEntries.includes(entryName)) {
|
@@ -117373,8 +117295,9 @@ var require_require = __commonJS({
|
|
117373
117295
|
});
|
117374
117296
|
var _fs = require_fs();
|
117375
117297
|
var compatRequire = (filePath, interop = true) => {
|
117298
|
+
var _mod;
|
117376
117299
|
const mod = require(filePath);
|
117377
|
-
const rtnESMDefault = interop && (mod === null ||
|
117300
|
+
const rtnESMDefault = interop && ((_mod = mod) === null || _mod === void 0 ? void 0 : _mod.__esModule);
|
117378
117301
|
return rtnESMDefault ? mod.default : mod;
|
117379
117302
|
};
|
117380
117303
|
var dynamicImport = new Function("modulePath", "return import(modulePath)");
|
@@ -117566,7 +117489,6 @@ var require_cli = __commonJS({
|
|
117566
117489
|
_export_star._(require_monorepo(), exports);
|
117567
117490
|
_export_star._(require_package4(), exports);
|
117568
117491
|
_export_star._(require_path(), exports);
|
117569
|
-
_export_star._(require_pathSerializer(), exports);
|
117570
117492
|
_export_star._(require_port(), exports);
|
117571
117493
|
_export_star._(require_prettyInstructions(), exports);
|
117572
117494
|
_export_star._(require_require(), exports);
|
@@ -133435,11 +133357,13 @@ var PackageManagerName = {
|
|
133435
133357
|
[PackageManager.Npm]: "npm"
|
133436
133358
|
};
|
133437
133359
|
var getPackageManagerSchema = (extra = {}) => {
|
133360
|
+
var _extra, _extra1;
|
133438
133361
|
return {
|
133439
133362
|
type: "string",
|
133440
133363
|
title: i18n2.t(localeKeys2.packageManager.self),
|
133441
133364
|
enum: Object.values(PackageManager).filter((packageManager) => {
|
133442
|
-
|
133365
|
+
var _extra2;
|
133366
|
+
return ((_extra2 = extra) === null || _extra2 === void 0 ? void 0 : _extra2.solution) === "monorepo" ? packageManager !== PackageManager.Npm : true;
|
133443
133367
|
}).map((packageManager) => ({
|
133444
133368
|
value: packageManager,
|
133445
133369
|
label: PackageManagerName[packageManager]
|
@@ -133449,7 +133373,7 @@ var getPackageManagerSchema = (extra = {}) => {
|
|
133449
133373
|
dependencies: [],
|
133450
133374
|
fulfill: {
|
133451
133375
|
state: {
|
133452
|
-
visible: !(extra === null ||
|
133376
|
+
visible: !((_extra = extra) === null || _extra === void 0 ? void 0 : _extra.isMonorepoSubProject) && !((_extra1 = extra) === null || _extra1 === void 0 ? void 0 : _extra1.isSubProject)
|
133453
133377
|
}
|
133454
133378
|
}
|
133455
133379
|
}
|
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.31",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"main": "./dist/index.js",
|
21
21
|
"files": [
|
@@ -30,14 +30,14 @@
|
|
30
30
|
"@types/node": "^14",
|
31
31
|
"jest": "^29",
|
32
32
|
"typescript": "^5",
|
33
|
-
"@modern-js/
|
34
|
-
"@modern-js/plugin-i18n": "2.
|
35
|
-
"@modern-js/packages-generator": "3.1.
|
36
|
-
"@modern-js/generator-common": "3.1.
|
37
|
-
"@modern-js/
|
38
|
-
"@modern-js/generator-utils": "3.1.
|
39
|
-
"@scripts/build": "2.
|
40
|
-
"@scripts/jest-config": "2.
|
33
|
+
"@modern-js/changeset-generator": "3.1.31",
|
34
|
+
"@modern-js/plugin-i18n": "2.29.0",
|
35
|
+
"@modern-js/packages-generator": "3.1.31",
|
36
|
+
"@modern-js/generator-common": "3.1.31",
|
37
|
+
"@modern-js/base-generator": "3.1.31",
|
38
|
+
"@modern-js/generator-utils": "3.1.31",
|
39
|
+
"@scripts/build": "2.29.0",
|
40
|
+
"@scripts/jest-config": "2.29.0"
|
41
41
|
},
|
42
42
|
"sideEffects": false,
|
43
43
|
"publishConfig": {
|