@modern-js/mwa-generator 3.1.16 → 3.1.18
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 +318 -490
- package/package.json +15 -16
- package/templates/base-template/.browserslistrc.handlebars +5 -0
package/dist/index.js
CHANGED
|
@@ -85963,6 +85963,79 @@ var require_lodash3 = __commonJS({
|
|
|
85963
85963
|
}
|
|
85964
85964
|
});
|
|
85965
85965
|
|
|
85966
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_export_star.cjs
|
|
85967
|
+
var require_export_star = __commonJS({
|
|
85968
|
+
"../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_export_star.cjs"(exports) {
|
|
85969
|
+
"use strict";
|
|
85970
|
+
exports._ = exports._export_star = _export_star;
|
|
85971
|
+
function _export_star(from, to) {
|
|
85972
|
+
Object.keys(from).forEach(function(k) {
|
|
85973
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
85974
|
+
Object.defineProperty(to, k, {
|
|
85975
|
+
enumerable: true,
|
|
85976
|
+
get: function() {
|
|
85977
|
+
return from[k];
|
|
85978
|
+
}
|
|
85979
|
+
});
|
|
85980
|
+
}
|
|
85981
|
+
});
|
|
85982
|
+
return from;
|
|
85983
|
+
}
|
|
85984
|
+
}
|
|
85985
|
+
});
|
|
85986
|
+
|
|
85987
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_interop_require_default.cjs
|
|
85988
|
+
var require_interop_require_default = __commonJS({
|
|
85989
|
+
"../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_interop_require_default.cjs"(exports) {
|
|
85990
|
+
"use strict";
|
|
85991
|
+
exports._ = exports._interop_require_default = _interop_require_default;
|
|
85992
|
+
function _interop_require_default(obj) {
|
|
85993
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
85994
|
+
}
|
|
85995
|
+
}
|
|
85996
|
+
});
|
|
85997
|
+
|
|
85998
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs
|
|
85999
|
+
var require_interop_require_wildcard = __commonJS({
|
|
86000
|
+
"../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs"(exports) {
|
|
86001
|
+
"use strict";
|
|
86002
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
86003
|
+
if (typeof WeakMap !== "function")
|
|
86004
|
+
return null;
|
|
86005
|
+
var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
|
|
86006
|
+
var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
|
|
86007
|
+
return (_getRequireWildcardCache = function(nodeInterop2) {
|
|
86008
|
+
return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
|
|
86009
|
+
})(nodeInterop);
|
|
86010
|
+
}
|
|
86011
|
+
exports._ = exports._interop_require_wildcard = _interop_require_wildcard;
|
|
86012
|
+
function _interop_require_wildcard(obj, nodeInterop) {
|
|
86013
|
+
if (!nodeInterop && obj && obj.__esModule)
|
|
86014
|
+
return obj;
|
|
86015
|
+
if (obj === null || typeof obj !== "object" && typeof obj !== "function")
|
|
86016
|
+
return { default: obj };
|
|
86017
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
86018
|
+
if (cache && cache.has(obj))
|
|
86019
|
+
return cache.get(obj);
|
|
86020
|
+
var newObj = {};
|
|
86021
|
+
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
86022
|
+
for (var key in obj) {
|
|
86023
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
86024
|
+
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
86025
|
+
if (desc && (desc.get || desc.set))
|
|
86026
|
+
Object.defineProperty(newObj, key, desc);
|
|
86027
|
+
else
|
|
86028
|
+
newObj[key] = obj[key];
|
|
86029
|
+
}
|
|
86030
|
+
}
|
|
86031
|
+
newObj.default = obj;
|
|
86032
|
+
if (cache)
|
|
86033
|
+
cache.set(obj, newObj);
|
|
86034
|
+
return newObj;
|
|
86035
|
+
}
|
|
86036
|
+
}
|
|
86037
|
+
});
|
|
86038
|
+
|
|
85966
86039
|
// ../../../toolkit/utils/dist/compiled/import-lazy/index.js
|
|
85967
86040
|
var require_import_lazy2 = __commonJS({
|
|
85968
86041
|
"../../../toolkit/utils/dist/compiled/import-lazy/index.js"(exports, module2) {
|
|
@@ -115114,80 +115187,37 @@ var require_compiled = __commonJS({
|
|
|
115114
115187
|
chokidar: () => chokidar2,
|
|
115115
115188
|
inquirer: () => inquirer4
|
|
115116
115189
|
});
|
|
115190
|
+
var _interop_require_default = require_interop_require_default();
|
|
115191
|
+
var _interop_require_wildcard = require_interop_require_wildcard();
|
|
115117
115192
|
var _import = require_import();
|
|
115118
|
-
var _fsextra = /* @__PURE__ */ _interop_require_default(require_fs_extra2());
|
|
115119
|
-
var _ora = /* @__PURE__ */ _interop_require_default(require_ora3());
|
|
115120
|
-
var _glob = /* @__PURE__ */ _interop_require_default(require_glob2());
|
|
115121
|
-
var _jsyaml = /* @__PURE__ */ _interop_require_default(require_js_yaml2());
|
|
115122
|
-
var _chalk = /* @__PURE__ */ _interop_require_default(require_chalk2());
|
|
115123
|
-
var _debug = /* @__PURE__ */ _interop_require_default(require_debug2());
|
|
115124
|
-
var _slash = /* @__PURE__ */ _interop_require_default(require_slash2());
|
|
115125
|
-
var _execa = /* @__PURE__ */ _interop_require_default(require_execa2());
|
|
115126
|
-
var _json5 = /* @__PURE__ */ _interop_require_default(require_json52());
|
|
115127
|
-
var _upath = /* @__PURE__ */ _interop_require_default(require_upath2());
|
|
115128
|
-
var _pkgup = /* @__PURE__ */ _interop_require_default(require_pkg_up2());
|
|
115193
|
+
var _fsextra = /* @__PURE__ */ _interop_require_default._(require_fs_extra2());
|
|
115194
|
+
var _ora = /* @__PURE__ */ _interop_require_default._(require_ora3());
|
|
115195
|
+
var _glob = /* @__PURE__ */ _interop_require_default._(require_glob2());
|
|
115196
|
+
var _jsyaml = /* @__PURE__ */ _interop_require_default._(require_js_yaml2());
|
|
115197
|
+
var _chalk = /* @__PURE__ */ _interop_require_default._(require_chalk2());
|
|
115198
|
+
var _debug = /* @__PURE__ */ _interop_require_default._(require_debug2());
|
|
115199
|
+
var _slash = /* @__PURE__ */ _interop_require_default._(require_slash2());
|
|
115200
|
+
var _execa = /* @__PURE__ */ _interop_require_default._(require_execa2());
|
|
115201
|
+
var _json5 = /* @__PURE__ */ _interop_require_default._(require_json52());
|
|
115202
|
+
var _upath = /* @__PURE__ */ _interop_require_default._(require_upath2());
|
|
115203
|
+
var _pkgup = /* @__PURE__ */ _interop_require_default._(require_pkg_up2());
|
|
115129
115204
|
var _nanoid = require_nanoid2();
|
|
115130
|
-
var _semver = /* @__PURE__ */ _interop_require_default(require_semver2());
|
|
115131
|
-
var _dotenv = /* @__PURE__ */ _interop_require_default(require_dotenv2());
|
|
115132
|
-
var _lodash = /* @__PURE__ */ _interop_require_default(require_lodash4());
|
|
115133
|
-
var _globby = /* @__PURE__ */ _interop_require_default(require_globby2());
|
|
115134
|
-
var _address = /* @__PURE__ */ _interop_require_default(require_address2());
|
|
115135
|
-
var _signale = /* @__PURE__ */ _interop_require_wildcard(require_signale2());
|
|
115136
|
-
var _urljoin = /* @__PURE__ */ _interop_require_default(require_url_join2());
|
|
115137
|
-
var _minimist = /* @__PURE__ */ _interop_require_default(require_minimist2());
|
|
115138
|
-
var _fastglob = /* @__PURE__ */ _interop_require_default(require_fast_glob2());
|
|
115139
|
-
var _filesize = /* @__PURE__ */ _interop_require_default(require_filesize2());
|
|
115140
|
-
var _gzipsize = /* @__PURE__ */ _interop_require_default(require_gzip_size2());
|
|
115141
|
-
var _stripansi = /* @__PURE__ */ _interop_require_default(require_strip_ansi3());
|
|
115142
|
-
var _dotenvexpand = /* @__PURE__ */ _interop_require_default(require_dotenv_expand2());
|
|
115143
|
-
var _browserslist = /* @__PURE__ */ _interop_require_default(require_browserslist2());
|
|
115144
|
-
var _recursivereaddir = /* @__PURE__ */ _interop_require_default(require_recursive_readdir2());
|
|
115205
|
+
var _semver = /* @__PURE__ */ _interop_require_default._(require_semver2());
|
|
115206
|
+
var _dotenv = /* @__PURE__ */ _interop_require_default._(require_dotenv2());
|
|
115207
|
+
var _lodash = /* @__PURE__ */ _interop_require_default._(require_lodash4());
|
|
115208
|
+
var _globby = /* @__PURE__ */ _interop_require_default._(require_globby2());
|
|
115209
|
+
var _address = /* @__PURE__ */ _interop_require_default._(require_address2());
|
|
115210
|
+
var _signale = /* @__PURE__ */ _interop_require_wildcard._(require_signale2());
|
|
115211
|
+
var _urljoin = /* @__PURE__ */ _interop_require_default._(require_url_join2());
|
|
115212
|
+
var _minimist = /* @__PURE__ */ _interop_require_default._(require_minimist2());
|
|
115213
|
+
var _fastglob = /* @__PURE__ */ _interop_require_default._(require_fast_glob2());
|
|
115214
|
+
var _filesize = /* @__PURE__ */ _interop_require_default._(require_filesize2());
|
|
115215
|
+
var _gzipsize = /* @__PURE__ */ _interop_require_default._(require_gzip_size2());
|
|
115216
|
+
var _stripansi = /* @__PURE__ */ _interop_require_default._(require_strip_ansi3());
|
|
115217
|
+
var _dotenvexpand = /* @__PURE__ */ _interop_require_default._(require_dotenv_expand2());
|
|
115218
|
+
var _browserslist = /* @__PURE__ */ _interop_require_default._(require_browserslist2());
|
|
115219
|
+
var _recursivereaddir = /* @__PURE__ */ _interop_require_default._(require_recursive_readdir2());
|
|
115145
115220
|
var _commander = require_commander2();
|
|
115146
|
-
function _interop_require_default(obj) {
|
|
115147
|
-
return obj && obj.__esModule ? obj : {
|
|
115148
|
-
default: obj
|
|
115149
|
-
};
|
|
115150
|
-
}
|
|
115151
|
-
function _getRequireWildcardCache(nodeInterop) {
|
|
115152
|
-
if (typeof WeakMap !== "function")
|
|
115153
|
-
return null;
|
|
115154
|
-
var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
|
|
115155
|
-
var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
|
|
115156
|
-
return (_getRequireWildcardCache = function(nodeInterop2) {
|
|
115157
|
-
return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
|
|
115158
|
-
})(nodeInterop);
|
|
115159
|
-
}
|
|
115160
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
|
115161
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
|
115162
|
-
return obj;
|
|
115163
|
-
}
|
|
115164
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
115165
|
-
return {
|
|
115166
|
-
default: obj
|
|
115167
|
-
};
|
|
115168
|
-
}
|
|
115169
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
115170
|
-
if (cache && cache.has(obj)) {
|
|
115171
|
-
return cache.get(obj);
|
|
115172
|
-
}
|
|
115173
|
-
var newObj = {};
|
|
115174
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
115175
|
-
for (var key in obj) {
|
|
115176
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
115177
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
115178
|
-
if (desc && (desc.get || desc.set)) {
|
|
115179
|
-
Object.defineProperty(newObj, key, desc);
|
|
115180
|
-
} else {
|
|
115181
|
-
newObj[key] = obj[key];
|
|
115182
|
-
}
|
|
115183
|
-
}
|
|
115184
|
-
}
|
|
115185
|
-
newObj.default = obj;
|
|
115186
|
-
if (cache) {
|
|
115187
|
-
cache.set(obj, newObj);
|
|
115188
|
-
}
|
|
115189
|
-
return newObj;
|
|
115190
|
-
}
|
|
115191
115221
|
var mime2 = _import.Import.lazy("../compiled/mime-types", require);
|
|
115192
115222
|
var chokidar2 = _import.Import.lazy("../compiled/chokidar", require);
|
|
115193
115223
|
var inquirer4 = _import.Import.lazy("../compiled/inquirer", require);
|
|
@@ -115337,6 +115367,8 @@ var require_chainId = __commonJS({
|
|
|
115337
115367
|
BOTTOM_TEMPLATE: "bottom-template",
|
|
115338
115368
|
/** HtmlCrossOriginPlugin */
|
|
115339
115369
|
HTML_CROSS_ORIGIN: "html-cross-origin",
|
|
115370
|
+
/** HtmlNoncePlugin */
|
|
115371
|
+
HTML_NONCE: "html-nonce",
|
|
115340
115372
|
/** MiniCssExtractPlugin */
|
|
115341
115373
|
MINI_CSS_EXTRACT: "mini-css-extract",
|
|
115342
115374
|
/** ReactFastRefreshPlugin */
|
|
@@ -115425,20 +115457,8 @@ var require_constants = __commonJS({
|
|
|
115425
115457
|
PLUGIN_SCHEMAS: () => PLUGIN_SCHEMAS,
|
|
115426
115458
|
DEFAULT_BABEL_PRESET_TYPESCRIPT_OPTIONS: () => DEFAULT_BABEL_PRESET_TYPESCRIPT_OPTIONS
|
|
115427
115459
|
});
|
|
115428
|
-
_export_star(
|
|
115429
|
-
|
|
115430
|
-
Object.keys(from).forEach(function(k) {
|
|
115431
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
115432
|
-
Object.defineProperty(to, k, {
|
|
115433
|
-
enumerable: true,
|
|
115434
|
-
get: function() {
|
|
115435
|
-
return from[k];
|
|
115436
|
-
}
|
|
115437
|
-
});
|
|
115438
|
-
}
|
|
115439
|
-
});
|
|
115440
|
-
return from;
|
|
115441
|
-
}
|
|
115460
|
+
var _export_star = require_export_star();
|
|
115461
|
+
_export_star._(require_chainId(), exports);
|
|
115442
115462
|
var ROUTE_SPEC_FILE = "route.json";
|
|
115443
115463
|
var MAIN_ENTRY_NAME = "main";
|
|
115444
115464
|
var SERVER_BUNDLE_DIRECTORY = "bundles";
|
|
@@ -116051,12 +116071,8 @@ var require_ensure = __commonJS({
|
|
|
116051
116071
|
ensureAbsolutePath: () => ensureAbsolutePath,
|
|
116052
116072
|
ensureArray: () => ensureArray
|
|
116053
116073
|
});
|
|
116054
|
-
var
|
|
116055
|
-
|
|
116056
|
-
return obj && obj.__esModule ? obj : {
|
|
116057
|
-
default: obj
|
|
116058
|
-
};
|
|
116059
|
-
}
|
|
116074
|
+
var _interop_require_default = require_interop_require_default();
|
|
116075
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
116060
116076
|
var ensureAbsolutePath = (base, filePath) => _path.default.isAbsolute(filePath) ? filePath : _path.default.resolve(base, filePath);
|
|
116061
116077
|
var ensureArray = (params) => {
|
|
116062
116078
|
if (Array.isArray(params)) {
|
|
@@ -116092,16 +116108,12 @@ var require_project = __commonJS({
|
|
|
116092
116108
|
isReact18: () => isReact18,
|
|
116093
116109
|
isTypescript: () => isTypescript
|
|
116094
116110
|
});
|
|
116095
|
-
var
|
|
116111
|
+
var _interop_require_default = require_interop_require_default();
|
|
116112
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
116096
116113
|
var _commands = require_commands();
|
|
116097
116114
|
var _compiled = require_compiled();
|
|
116098
116115
|
var _common = require_common3();
|
|
116099
116116
|
var _ensure = require_ensure();
|
|
116100
|
-
function _interop_require_default(obj) {
|
|
116101
|
-
return obj && obj.__esModule ? obj : {
|
|
116102
|
-
default: obj
|
|
116103
|
-
};
|
|
116104
|
-
}
|
|
116105
116117
|
var debug = (0, _common.createDebugger)("judge-depExists");
|
|
116106
116118
|
var isDepExists = (appDirectory, name) => {
|
|
116107
116119
|
const pkgPath = _path.default.resolve(appDirectory, "./package.json");
|
|
@@ -116168,24 +116180,12 @@ var require_is = __commonJS({
|
|
|
116168
116180
|
Object.defineProperty(exports, "__esModule", {
|
|
116169
116181
|
value: true
|
|
116170
116182
|
});
|
|
116171
|
-
_export_star(
|
|
116172
|
-
_export_star(
|
|
116173
|
-
_export_star(
|
|
116174
|
-
_export_star(
|
|
116175
|
-
_export_star(
|
|
116176
|
-
|
|
116177
|
-
Object.keys(from).forEach(function(k) {
|
|
116178
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
116179
|
-
Object.defineProperty(to, k, {
|
|
116180
|
-
enumerable: true,
|
|
116181
|
-
get: function() {
|
|
116182
|
-
return from[k];
|
|
116183
|
-
}
|
|
116184
|
-
});
|
|
116185
|
-
}
|
|
116186
|
-
});
|
|
116187
|
-
return from;
|
|
116188
|
-
}
|
|
116183
|
+
var _export_star = require_export_star();
|
|
116184
|
+
_export_star._(require_env(), exports);
|
|
116185
|
+
_export_star._(require_platform(), exports);
|
|
116186
|
+
_export_star._(require_type(), exports);
|
|
116187
|
+
_export_star._(require_config2(), exports);
|
|
116188
|
+
_export_star._(require_project(), exports);
|
|
116189
116189
|
}
|
|
116190
116190
|
});
|
|
116191
116191
|
|
|
@@ -116287,17 +116287,13 @@ var require_data = __commonJS({
|
|
|
116287
116287
|
readTsConfig: () => readTsConfig,
|
|
116288
116288
|
readTsConfigByFile: () => readTsConfigByFile
|
|
116289
116289
|
});
|
|
116290
|
-
var
|
|
116291
|
-
var
|
|
116290
|
+
var _interop_require_default = require_interop_require_default();
|
|
116291
|
+
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
|
116292
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
116292
116293
|
var _compiled = require_compiled();
|
|
116293
116294
|
var _constants = require_constants();
|
|
116294
116295
|
var _is = require_is();
|
|
116295
116296
|
var _package = require_package4();
|
|
116296
|
-
function _interop_require_default(obj) {
|
|
116297
|
-
return obj && obj.__esModule ? obj : {
|
|
116298
|
-
default: obj
|
|
116299
|
-
};
|
|
116300
|
-
}
|
|
116301
116297
|
var MAX_TIMES = 5;
|
|
116302
116298
|
function getPackageManager() {
|
|
116303
116299
|
return __async(this, arguments, function* (cwd = process.cwd()) {
|
|
@@ -116429,29 +116425,13 @@ var require_get2 = __commonJS({
|
|
|
116429
116425
|
getServerConfig: () => getServerConfig,
|
|
116430
116426
|
getTargetDir: () => getTargetDir
|
|
116431
116427
|
});
|
|
116432
|
-
var
|
|
116428
|
+
var _export_star = require_export_star();
|
|
116429
|
+
var _interop_require_default = require_interop_require_default();
|
|
116430
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
116433
116431
|
var _constants = require_constants();
|
|
116434
116432
|
var _fs = require_fs();
|
|
116435
|
-
_export_star(require_data(), exports);
|
|
116436
|
-
_export_star(require_config3(), exports);
|
|
116437
|
-
function _export_star(from, to) {
|
|
116438
|
-
Object.keys(from).forEach(function(k) {
|
|
116439
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
116440
|
-
Object.defineProperty(to, k, {
|
|
116441
|
-
enumerable: true,
|
|
116442
|
-
get: function() {
|
|
116443
|
-
return from[k];
|
|
116444
|
-
}
|
|
116445
|
-
});
|
|
116446
|
-
}
|
|
116447
|
-
});
|
|
116448
|
-
return from;
|
|
116449
|
-
}
|
|
116450
|
-
function _interop_require_default(obj) {
|
|
116451
|
-
return obj && obj.__esModule ? obj : {
|
|
116452
|
-
default: obj
|
|
116453
|
-
};
|
|
116454
|
-
}
|
|
116433
|
+
_export_star._(require_data(), exports);
|
|
116434
|
+
_export_star._(require_config3(), exports);
|
|
116455
116435
|
var getServerConfig = (appDirectory, configFile) => __async(exports, null, function* () {
|
|
116456
116436
|
const configFilePath = (0, _fs.findExists)(_constants.CONFIG_FILE_EXTENSIONS.map((extension) => _path.default.resolve(appDirectory, `${configFile}${extension}`)));
|
|
116457
116437
|
return configFilePath;
|
|
@@ -116463,6 +116443,21 @@ var require_get2 = __commonJS({
|
|
|
116463
116443
|
}
|
|
116464
116444
|
});
|
|
116465
116445
|
|
|
116446
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_define_property.cjs
|
|
116447
|
+
var require_define_property = __commonJS({
|
|
116448
|
+
"../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/cjs/_define_property.cjs"(exports) {
|
|
116449
|
+
"use strict";
|
|
116450
|
+
exports._ = exports._define_property = _define_property15;
|
|
116451
|
+
function _define_property15(obj, key, value) {
|
|
116452
|
+
if (key in obj) {
|
|
116453
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
116454
|
+
} else
|
|
116455
|
+
obj[key] = value;
|
|
116456
|
+
return obj;
|
|
116457
|
+
}
|
|
116458
|
+
}
|
|
116459
|
+
});
|
|
116460
|
+
|
|
116466
116461
|
// ../../../toolkit/utils/dist/cjs/cli/logger.js
|
|
116467
116462
|
var require_logger2 = __commonJS({
|
|
116468
116463
|
"../../../toolkit/utils/dist/cjs/cli/logger.js"(exports) {
|
|
@@ -116481,25 +116476,9 @@ var require_logger2 = __commonJS({
|
|
|
116481
116476
|
Logger: () => Logger,
|
|
116482
116477
|
logger: () => logger
|
|
116483
116478
|
});
|
|
116484
|
-
var
|
|
116485
|
-
|
|
116486
|
-
|
|
116487
|
-
Object.defineProperty(obj, key, {
|
|
116488
|
-
value,
|
|
116489
|
-
enumerable: true,
|
|
116490
|
-
configurable: true,
|
|
116491
|
-
writable: true
|
|
116492
|
-
});
|
|
116493
|
-
} else {
|
|
116494
|
-
obj[key] = value;
|
|
116495
|
-
}
|
|
116496
|
-
return obj;
|
|
116497
|
-
}
|
|
116498
|
-
function _interop_require_default(obj) {
|
|
116499
|
-
return obj && obj.__esModule ? obj : {
|
|
116500
|
-
default: obj
|
|
116501
|
-
};
|
|
116502
|
-
}
|
|
116479
|
+
var _define_property15 = require_define_property();
|
|
116480
|
+
var _interop_require_default = require_interop_require_default();
|
|
116481
|
+
var _chalk = /* @__PURE__ */ _interop_require_default._(require_chalk2());
|
|
116503
116482
|
var LOG_LEVEL = {
|
|
116504
116483
|
error: 0,
|
|
116505
116484
|
warn: 1,
|
|
@@ -116583,10 +116562,10 @@ ${_chalk.default.grey(rest.join("\n"))}`;
|
|
|
116583
116562
|
return longestLabel;
|
|
116584
116563
|
}
|
|
116585
116564
|
constructor(options = {}) {
|
|
116586
|
-
_define_property15(this, "level", void 0);
|
|
116587
|
-
_define_property15(this, "config", void 0);
|
|
116588
|
-
_define_property15(this, "types", void 0);
|
|
116589
|
-
_define_property15(this, "longestLabel", void 0);
|
|
116565
|
+
_define_property15._(this, "level", void 0);
|
|
116566
|
+
_define_property15._(this, "config", void 0);
|
|
116567
|
+
_define_property15._(this, "types", void 0);
|
|
116568
|
+
_define_property15._(this, "longestLabel", void 0);
|
|
116590
116569
|
this.level = options.level || LOG_TYPES.log.level;
|
|
116591
116570
|
this.config = __spreadValues(__spreadValues({}, DEFAULT_CONFIG), options.config || {});
|
|
116592
116571
|
this.types = __spreadValues(__spreadValues({}, LOG_TYPES), options.types || {});
|
|
@@ -116659,16 +116638,12 @@ var require_alias = __commonJS({
|
|
|
116659
116638
|
getAliasConfig: () => getAliasConfig,
|
|
116660
116639
|
getUserAlias: () => getUserAlias
|
|
116661
116640
|
});
|
|
116662
|
-
var
|
|
116663
|
-
var
|
|
116641
|
+
var _interop_require_default = require_interop_require_default();
|
|
116642
|
+
var _fs = /* @__PURE__ */ _interop_require_default._(require("fs"));
|
|
116643
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
116664
116644
|
var _compiled = require_compiled();
|
|
116665
116645
|
var _get = require_get2();
|
|
116666
116646
|
var _applyOptionsChain = require_applyOptionsChain();
|
|
116667
|
-
function _interop_require_default(obj) {
|
|
116668
|
-
return obj && obj.__esModule ? obj : {
|
|
116669
|
-
default: obj
|
|
116670
|
-
};
|
|
116671
|
-
}
|
|
116672
116647
|
var validAlias = (modernConfig, { tsconfigPath }) => {
|
|
116673
116648
|
const { source: { alias } } = modernConfig;
|
|
116674
116649
|
if (!alias) {
|
|
@@ -116744,15 +116719,11 @@ var require_path = __commonJS({
|
|
|
116744
116719
|
removeTailSlash: () => removeTailSlash,
|
|
116745
116720
|
removeSlash: () => removeSlash
|
|
116746
116721
|
});
|
|
116747
|
-
var
|
|
116748
|
-
var
|
|
116749
|
-
var
|
|
116722
|
+
var _interop_require_default = require_interop_require_default();
|
|
116723
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
116724
|
+
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
|
116725
|
+
var _fs = /* @__PURE__ */ _interop_require_default._(require("fs"));
|
|
116750
116726
|
var _compiled = require_compiled();
|
|
116751
|
-
function _interop_require_default(obj) {
|
|
116752
|
-
return obj && obj.__esModule ? obj : {
|
|
116753
|
-
default: obj
|
|
116754
|
-
};
|
|
116755
|
-
}
|
|
116756
116727
|
var isPathString = (test) => _path.default.posix.basename(test) !== test || _path.default.win32.basename(test) !== test;
|
|
116757
116728
|
var isRelativePath = (test) => /^\.\.?($|[\\/])/.test(test);
|
|
116758
116729
|
var normalizeOutputPath = (s) => s.replace(/\\/g, "\\\\");
|
|
@@ -116916,54 +116887,6 @@ var require_babel = __commonJS({
|
|
|
116916
116887
|
}
|
|
116917
116888
|
});
|
|
116918
116889
|
|
|
116919
|
-
// ../../../toolkit/utils/dist/cjs/cli/generateMetaTags.js
|
|
116920
|
-
var require_generateMetaTags = __commonJS({
|
|
116921
|
-
"../../../toolkit/utils/dist/cjs/cli/generateMetaTags.js"(exports) {
|
|
116922
|
-
"use strict";
|
|
116923
|
-
Object.defineProperty(exports, "__esModule", {
|
|
116924
|
-
value: true
|
|
116925
|
-
});
|
|
116926
|
-
Object.defineProperty(exports, "generateMetaTags", {
|
|
116927
|
-
enumerable: true,
|
|
116928
|
-
get: () => generateMetaTags
|
|
116929
|
-
});
|
|
116930
|
-
var tagObjectToString = (tagDefinition) => {
|
|
116931
|
-
const attributes = Object.keys(tagDefinition.attributes || {}).filter((attributeName) => tagDefinition.attributes[attributeName] !== false).map((attributeName) => {
|
|
116932
|
-
if (tagDefinition.attributes[attributeName] === true) {
|
|
116933
|
-
return attributeName;
|
|
116934
|
-
}
|
|
116935
|
-
return `${attributeName}="${tagDefinition.attributes[attributeName]}"`;
|
|
116936
|
-
});
|
|
116937
|
-
return `<${[
|
|
116938
|
-
tagDefinition.tagName
|
|
116939
|
-
].concat(attributes).join(" ")}>${tagDefinition.innerHTML || ""}${tagDefinition.voidTag ? "" : `</${tagDefinition.tagName}>`}`;
|
|
116940
|
-
};
|
|
116941
|
-
var generateMetaTags = (metaOptions) => {
|
|
116942
|
-
if (!metaOptions) {
|
|
116943
|
-
return "";
|
|
116944
|
-
}
|
|
116945
|
-
const metaTagAttributeObjects = Object.keys(metaOptions).map((metaName) => {
|
|
116946
|
-
const metaTagContent = metaOptions[metaName];
|
|
116947
|
-
return typeof metaTagContent === "string" ? {
|
|
116948
|
-
name: metaName,
|
|
116949
|
-
content: metaTagContent
|
|
116950
|
-
} : metaTagContent;
|
|
116951
|
-
}).filter((attribute) => attribute !== false);
|
|
116952
|
-
return metaTagAttributeObjects.map((metaTagAttributes) => {
|
|
116953
|
-
if (metaTagAttributes === false) {
|
|
116954
|
-
throw new Error("Invalid meta tag");
|
|
116955
|
-
}
|
|
116956
|
-
return {
|
|
116957
|
-
tagName: "meta",
|
|
116958
|
-
voidTag: true,
|
|
116959
|
-
attributes: metaTagAttributes
|
|
116960
|
-
};
|
|
116961
|
-
}).reduce((memo, tagObject) => `${memo}
|
|
116962
|
-
${tagObjectToString(tagObject)}`, "");
|
|
116963
|
-
};
|
|
116964
|
-
}
|
|
116965
|
-
});
|
|
116966
|
-
|
|
116967
116890
|
// ../../../toolkit/utils/dist/cjs/cli/monorepo.js
|
|
116968
116891
|
var require_monorepo = __commonJS({
|
|
116969
116892
|
"../../../toolkit/utils/dist/cjs/cli/monorepo.js"(exports) {
|
|
@@ -116987,14 +116910,10 @@ var require_monorepo = __commonJS({
|
|
|
116987
116910
|
findMonorepoRoot: () => findMonorepoRoot,
|
|
116988
116911
|
getMonorepoPackages: () => getMonorepoPackages2
|
|
116989
116912
|
});
|
|
116990
|
-
var
|
|
116991
|
-
var
|
|
116913
|
+
var _interop_require_default = require_interop_require_default();
|
|
116914
|
+
var _fs = /* @__PURE__ */ _interop_require_default._(require("fs"));
|
|
116915
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
116992
116916
|
var _compiled = require_compiled();
|
|
116993
|
-
function _interop_require_default(obj) {
|
|
116994
|
-
return obj && obj.__esModule ? obj : {
|
|
116995
|
-
default: obj
|
|
116996
|
-
};
|
|
116997
|
-
}
|
|
116998
116917
|
var PACKAGE_MAX_DEPTH = 5;
|
|
116999
116918
|
var WORKSPACE_FILES = {
|
|
117000
116919
|
YARN: "package.json",
|
|
@@ -117082,14 +117001,10 @@ var require_pathSerializer = __commonJS({
|
|
|
117082
117001
|
applyMatcherReplacement: () => applyMatcherReplacement,
|
|
117083
117002
|
createDefaultPathMatchers: () => createDefaultPathMatchers
|
|
117084
117003
|
});
|
|
117085
|
-
var
|
|
117086
|
-
var
|
|
117004
|
+
var _interop_require_default = require_interop_require_default();
|
|
117005
|
+
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
|
117006
|
+
var _lodash = /* @__PURE__ */ _interop_require_default._(require_lodash4());
|
|
117087
117007
|
var _path = require_path();
|
|
117088
|
-
function _interop_require_default(obj) {
|
|
117089
|
-
return obj && obj.__esModule ? obj : {
|
|
117090
|
-
default: obj
|
|
117091
|
-
};
|
|
117092
|
-
}
|
|
117093
117008
|
var matchUpwardPathsAsUnknown = (p) => (0, _lodash.default)((0, _path.upwardPaths)((0, _path.normalizeToPosixPath)(p))).map((match) => ({
|
|
117094
117009
|
match,
|
|
117095
117010
|
mark: "unknown"
|
|
@@ -117147,14 +117062,10 @@ var require_port = __commonJS({
|
|
|
117147
117062
|
enumerable: true,
|
|
117148
117063
|
get: () => getPort
|
|
117149
117064
|
});
|
|
117150
|
-
var
|
|
117065
|
+
var _interop_require_default = require_interop_require_default();
|
|
117066
|
+
var _net = /* @__PURE__ */ _interop_require_default._(require("net"));
|
|
117151
117067
|
var _compiled = require_compiled();
|
|
117152
117068
|
var _logger = require_logger2();
|
|
117153
|
-
function _interop_require_default(obj) {
|
|
117154
|
-
return obj && obj.__esModule ? obj : {
|
|
117155
|
-
default: obj
|
|
117156
|
-
};
|
|
117157
|
-
}
|
|
117158
117069
|
var getPort = (_0, ..._1) => __async(exports, [_0, ..._1], function* (port, { tryLimits = 20, strictPort = false } = {}) {
|
|
117159
117070
|
if (typeof port === "string") {
|
|
117160
117071
|
port = parseInt(port, 10);
|
|
@@ -117217,15 +117128,11 @@ var require_prettyInstructions = __commonJS({
|
|
|
117217
117128
|
getAddressUrls: () => getAddressUrls,
|
|
117218
117129
|
prettyInstructions: () => prettyInstructions
|
|
117219
117130
|
});
|
|
117220
|
-
var
|
|
117131
|
+
var _interop_require_default = require_interop_require_default();
|
|
117132
|
+
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
|
117221
117133
|
var _compiled = require_compiled();
|
|
117222
117134
|
var _is = require_is();
|
|
117223
117135
|
var _constants = require_constants();
|
|
117224
|
-
function _interop_require_default(obj) {
|
|
117225
|
-
return obj && obj.__esModule ? obj : {
|
|
117226
|
-
default: obj
|
|
117227
|
-
};
|
|
117228
|
-
}
|
|
117229
117136
|
var normalizeUrl = (url) => url.replace(/([^:]\/)\/+/g, "$1");
|
|
117230
117137
|
var getIpv4Interfaces = () => {
|
|
117231
117138
|
const interfaces = _os.default.networkInterfaces();
|
|
@@ -117429,14 +117336,10 @@ var require_routes = __commonJS({
|
|
|
117429
117336
|
enumerable: true,
|
|
117430
117337
|
get: () => getRouteId
|
|
117431
117338
|
});
|
|
117432
|
-
var
|
|
117339
|
+
var _interop_require_default = require_interop_require_default();
|
|
117340
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
117433
117341
|
var _constants = require_constants();
|
|
117434
117342
|
var _path1 = require_path();
|
|
117435
|
-
function _interop_require_default(obj) {
|
|
117436
|
-
return obj && obj.__esModule ? obj : {
|
|
117437
|
-
default: obj
|
|
117438
|
-
};
|
|
117439
|
-
}
|
|
117440
117343
|
var getPathWithoutExt = (filename) => {
|
|
117441
117344
|
const extname = _path.default.extname(filename);
|
|
117442
117345
|
return filename.slice(0, -extname.length);
|
|
@@ -117466,14 +117369,10 @@ var require_runtimeExports = __commonJS({
|
|
|
117466
117369
|
enumerable: true,
|
|
117467
117370
|
get: () => createRuntimeExportsUtils
|
|
117468
117371
|
});
|
|
117469
|
-
var
|
|
117372
|
+
var _interop_require_default = require_interop_require_default();
|
|
117373
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
117470
117374
|
var _compiled = require_compiled();
|
|
117471
117375
|
var _path1 = require_path();
|
|
117472
|
-
function _interop_require_default(obj) {
|
|
117473
|
-
return obj && obj.__esModule ? obj : {
|
|
117474
|
-
default: obj
|
|
117475
|
-
};
|
|
117476
|
-
}
|
|
117477
117376
|
var memo = (fn) => {
|
|
117478
117377
|
const cache = /* @__PURE__ */ new Map();
|
|
117479
117378
|
return (...params) => {
|
|
@@ -117550,13 +117449,9 @@ var require_watch = __commonJS({
|
|
|
117550
117449
|
WatchChangeType: () => WatchChangeType,
|
|
117551
117450
|
watch: () => watch
|
|
117552
117451
|
});
|
|
117553
|
-
var
|
|
117452
|
+
var _interop_require_default = require_interop_require_default();
|
|
117453
|
+
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
117554
117454
|
var _compiled = require_compiled();
|
|
117555
|
-
function _interop_require_default(obj) {
|
|
117556
|
-
return obj && obj.__esModule ? obj : {
|
|
117557
|
-
default: obj
|
|
117558
|
-
};
|
|
117559
|
-
}
|
|
117560
117455
|
var WatchChangeType = {
|
|
117561
117456
|
ADD: "add",
|
|
117562
117457
|
UNLINK: "unlink",
|
|
@@ -117606,43 +117501,30 @@ var require_cli = __commonJS({
|
|
|
117606
117501
|
Object.defineProperty(exports, "__esModule", {
|
|
117607
117502
|
value: true
|
|
117608
117503
|
});
|
|
117609
|
-
_export_star(
|
|
117610
|
-
_export_star(
|
|
117611
|
-
_export_star(
|
|
117612
|
-
_export_star(
|
|
117613
|
-
_export_star(
|
|
117614
|
-
_export_star(
|
|
117615
|
-
_export_star(
|
|
117616
|
-
_export_star(
|
|
117617
|
-
_export_star(
|
|
117618
|
-
_export_star(
|
|
117619
|
-
_export_star(
|
|
117620
|
-
_export_star(require_logger2(), exports);
|
|
117621
|
-
_export_star(require_monorepo(), exports);
|
|
117622
|
-
_export_star(require_package4(), exports);
|
|
117623
|
-
_export_star(require_path(), exports);
|
|
117624
|
-
_export_star(require_pathSerializer(), exports);
|
|
117625
|
-
_export_star(require_port(), exports);
|
|
117626
|
-
_export_star(require_prettyInstructions(), exports);
|
|
117627
|
-
_export_star(require_print(), exports);
|
|
117628
|
-
_export_star(require_require(), exports);
|
|
117629
|
-
_export_star(require_routes(), exports);
|
|
117630
|
-
_export_star(require_runtimeExports(), exports);
|
|
117631
|
-
_export_star(require_test(), exports);
|
|
117632
|
-
_export_star(require_watch(), exports);
|
|
117633
|
-
function _export_star(from, to) {
|
|
117634
|
-
Object.keys(from).forEach(function(k) {
|
|
117635
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
117636
|
-
Object.defineProperty(to, k, {
|
|
117637
|
-
enumerable: true,
|
|
117638
|
-
get: function() {
|
|
117639
|
-
return from[k];
|
|
117640
|
-
}
|
|
117641
|
-
});
|
|
117642
|
-
}
|
|
117643
|
-
});
|
|
117644
|
-
return from;
|
|
117645
|
-
}
|
|
117504
|
+
var _export_star = require_export_star();
|
|
117505
|
+
_export_star._(require_constants(), exports);
|
|
117506
|
+
_export_star._(require_get2(), exports);
|
|
117507
|
+
_export_star._(require_is(), exports);
|
|
117508
|
+
_export_star._(require_alias(), exports);
|
|
117509
|
+
_export_star._(require_applyOptionsChain(), exports);
|
|
117510
|
+
_export_star._(require_babel(), exports);
|
|
117511
|
+
_export_star._(require_commands(), exports);
|
|
117512
|
+
_export_star._(require_common3(), exports);
|
|
117513
|
+
_export_star._(require_ensure(), exports);
|
|
117514
|
+
_export_star._(require_fs(), exports);
|
|
117515
|
+
_export_star._(require_logger2(), exports);
|
|
117516
|
+
_export_star._(require_monorepo(), exports);
|
|
117517
|
+
_export_star._(require_package4(), exports);
|
|
117518
|
+
_export_star._(require_path(), exports);
|
|
117519
|
+
_export_star._(require_pathSerializer(), exports);
|
|
117520
|
+
_export_star._(require_port(), exports);
|
|
117521
|
+
_export_star._(require_prettyInstructions(), exports);
|
|
117522
|
+
_export_star._(require_print(), exports);
|
|
117523
|
+
_export_star._(require_require(), exports);
|
|
117524
|
+
_export_star._(require_routes(), exports);
|
|
117525
|
+
_export_star._(require_runtimeExports(), exports);
|
|
117526
|
+
_export_star._(require_test(), exports);
|
|
117527
|
+
_export_star._(require_watch(), exports);
|
|
117646
117528
|
}
|
|
117647
117529
|
});
|
|
117648
117530
|
|
|
@@ -117653,22 +117535,10 @@ var require_cjs2 = __commonJS({
|
|
|
117653
117535
|
Object.defineProperty(exports, "__esModule", {
|
|
117654
117536
|
value: true
|
|
117655
117537
|
});
|
|
117656
|
-
_export_star(
|
|
117657
|
-
_export_star(
|
|
117658
|
-
_export_star(
|
|
117659
|
-
|
|
117660
|
-
Object.keys(from).forEach(function(k) {
|
|
117661
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
117662
|
-
Object.defineProperty(to, k, {
|
|
117663
|
-
enumerable: true,
|
|
117664
|
-
get: function() {
|
|
117665
|
-
return from[k];
|
|
117666
|
-
}
|
|
117667
|
-
});
|
|
117668
|
-
}
|
|
117669
|
-
});
|
|
117670
|
-
return from;
|
|
117671
|
-
}
|
|
117538
|
+
var _export_star = require_export_star();
|
|
117539
|
+
_export_star._(require_compiled(), exports);
|
|
117540
|
+
_export_star._(require_cli(), exports);
|
|
117541
|
+
_export_star._(require_import(), exports);
|
|
117672
117542
|
}
|
|
117673
117543
|
});
|
|
117674
117544
|
|
|
@@ -117724,11 +117594,11 @@ var mime = Import.lazy("../compiled/mime-types", require);
|
|
|
117724
117594
|
var chokidar = Import.lazy("../compiled/chokidar", require);
|
|
117725
117595
|
var inquirer = Import.lazy("../compiled/inquirer", require);
|
|
117726
117596
|
|
|
117727
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
117597
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
117728
117598
|
var import_lodash6 = __toESM(require_lodash2());
|
|
117729
117599
|
var import_comment_json = __toESM(require_src2());
|
|
117730
117600
|
|
|
117731
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
117601
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/env.js
|
|
117732
117602
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
117733
117603
|
try {
|
|
117734
117604
|
var info = gen[key](arg);
|
|
@@ -118036,7 +117906,7 @@ function _canUsePnpm() {
|
|
|
118036
117906
|
return _canUsePnpm.apply(this, arguments);
|
|
118037
117907
|
}
|
|
118038
117908
|
|
|
118039
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
117909
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/install.js
|
|
118040
117910
|
function asyncGeneratorStep2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
118041
117911
|
try {
|
|
118042
117912
|
var info = gen[key](arg);
|
|
@@ -118403,7 +118273,7 @@ function _pnpmInstall() {
|
|
|
118403
118273
|
return _pnpmInstall.apply(this, arguments);
|
|
118404
118274
|
}
|
|
118405
118275
|
|
|
118406
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.
|
|
118276
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/index.js
|
|
118407
118277
|
function _class_call_check(instance, Constructor) {
|
|
118408
118278
|
if (!(instance instanceof Constructor)) {
|
|
118409
118279
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -118484,7 +118354,7 @@ var NpmAPI = /* @__PURE__ */ function() {
|
|
|
118484
118354
|
return NpmAPI2;
|
|
118485
118355
|
}();
|
|
118486
118356
|
|
|
118487
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.
|
|
118357
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-git/dist/esm/utils/index.js
|
|
118488
118358
|
function asyncGeneratorStep3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
118489
118359
|
try {
|
|
118490
118360
|
var info = gen[key](arg);
|
|
@@ -118826,7 +118696,7 @@ function _gitCommit() {
|
|
|
118826
118696
|
return _gitCommit.apply(this, arguments);
|
|
118827
118697
|
}
|
|
118828
118698
|
|
|
118829
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.
|
|
118699
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-git/dist/esm/index.js
|
|
118830
118700
|
function asyncGeneratorStep4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
118831
118701
|
try {
|
|
118832
118702
|
var info = gen[key](arg);
|
|
@@ -119157,11 +119027,11 @@ var GitAPI = /* @__PURE__ */ function() {
|
|
|
119157
119027
|
return GitAPI2;
|
|
119158
119028
|
}();
|
|
119159
119029
|
|
|
119160
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
|
119030
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
|
|
119161
119031
|
var import_path = __toESM(require("path"));
|
|
119162
119032
|
var FS_RESOURCE = "_codesmith_core_fs_resource";
|
|
119163
119033
|
|
|
119164
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.
|
|
119034
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/fsExists.js
|
|
119165
119035
|
function asyncGeneratorStep5(gen, resolve, reject, _next, _throw, key, arg) {
|
|
119166
119036
|
try {
|
|
119167
119037
|
var info = gen[key](arg);
|
|
@@ -119334,7 +119204,7 @@ function _fsExists() {
|
|
|
119334
119204
|
return _fsExists.apply(this, arguments);
|
|
119335
119205
|
}
|
|
119336
119206
|
|
|
119337
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.
|
|
119207
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-handlebars/dist/esm/utils/renderString.js
|
|
119338
119208
|
var import_handlebars = __toESM(require_lib());
|
|
119339
119209
|
function _define_property4(obj, key, value) {
|
|
119340
119210
|
if (key in obj) {
|
|
@@ -119376,7 +119246,7 @@ function renderString(template, fullData, registers) {
|
|
|
119376
119246
|
return import_handlebars.default.compile(template)(fullData) || "";
|
|
119377
119247
|
}
|
|
119378
119248
|
|
|
119379
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.
|
|
119249
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-handlebars/dist/esm/index.js
|
|
119380
119250
|
function asyncGeneratorStep6(gen, resolve, reject, _next, _throw, key, arg) {
|
|
119381
119251
|
try {
|
|
119382
119252
|
var info = gen[key](arg);
|
|
@@ -119694,13 +119564,13 @@ var HandlebarsAPI = /* @__PURE__ */ function() {
|
|
|
119694
119564
|
return HandlebarsAPI2;
|
|
119695
119565
|
}();
|
|
119696
119566
|
|
|
119697
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.
|
|
119567
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-ejs/dist/esm/utils/renderString.js
|
|
119698
119568
|
var import_ejs = __toESM(require_ejs());
|
|
119699
119569
|
function renderString2(template, fullData) {
|
|
119700
119570
|
return import_ejs.default.render(template, fullData) || "";
|
|
119701
119571
|
}
|
|
119702
119572
|
|
|
119703
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.
|
|
119573
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-ejs/dist/esm/index.js
|
|
119704
119574
|
function asyncGeneratorStep7(gen, resolve, reject, _next, _throw, key, arg) {
|
|
119705
119575
|
try {
|
|
119706
119576
|
var info = gen[key](arg);
|
|
@@ -119970,24 +119840,8 @@ var EjsAPI = /* @__PURE__ */ function() {
|
|
|
119970
119840
|
return EjsAPI2;
|
|
119971
119841
|
}();
|
|
119972
119842
|
|
|
119973
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.
|
|
119843
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-fs/dist/esm/index.js
|
|
119974
119844
|
var import_path2 = __toESM(require("path"));
|
|
119975
|
-
|
|
119976
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-fs/dist/esm/constant.js
|
|
119977
|
-
var imageExtNameList = [
|
|
119978
|
-
".jpg",
|
|
119979
|
-
".jpeg",
|
|
119980
|
-
".png",
|
|
119981
|
-
".gif",
|
|
119982
|
-
".bmp",
|
|
119983
|
-
".ico",
|
|
119984
|
-
".icon",
|
|
119985
|
-
".mpt",
|
|
119986
|
-
".psd",
|
|
119987
|
-
".wmf"
|
|
119988
|
-
];
|
|
119989
|
-
|
|
119990
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-fs/dist/esm/index.js
|
|
119991
119845
|
function asyncGeneratorStep8(gen, resolve, reject, _next, _throw, key, arg) {
|
|
119992
119846
|
try {
|
|
119993
119847
|
var info = gen[key](arg);
|
|
@@ -120167,48 +120021,26 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
|
120167
120021
|
value: function renderFile(resource, target) {
|
|
120168
120022
|
var _this = this;
|
|
120169
120023
|
return _async_to_generator8(function() {
|
|
120170
|
-
var
|
|
120024
|
+
var filePath;
|
|
120171
120025
|
return __generator8(this, function(_state) {
|
|
120172
120026
|
switch (_state.label) {
|
|
120173
120027
|
case 0:
|
|
120174
120028
|
if (resource._type !== FS_RESOURCE) {
|
|
120175
120029
|
throw new Error("resource not match");
|
|
120176
120030
|
}
|
|
120031
|
+
filePath = import_path2.default.resolve(_this.generatorCore.outputPath, target.toString());
|
|
120177
120032
|
return [
|
|
120178
120033
|
4,
|
|
120179
|
-
|
|
120034
|
+
import_fs_extra.default.mkdirp(import_path2.default.dirname(filePath))
|
|
120180
120035
|
];
|
|
120181
120036
|
case 1:
|
|
120182
|
-
resourceValue = _state.sent();
|
|
120183
|
-
resourceFileExt = import_path2.default.extname(resource.filePath);
|
|
120184
|
-
if (!imageExtNameList.includes(resourceFileExt))
|
|
120185
|
-
return [
|
|
120186
|
-
3,
|
|
120187
|
-
3
|
|
120188
|
-
];
|
|
120189
|
-
return [
|
|
120190
|
-
4,
|
|
120191
|
-
_this.generatorCore.output.fs(target, resourceValue.content, {
|
|
120192
|
-
encoding: "binary"
|
|
120193
|
-
})
|
|
120194
|
-
];
|
|
120195
|
-
case 2:
|
|
120196
120037
|
_state.sent();
|
|
120197
|
-
return [
|
|
120198
|
-
3,
|
|
120199
|
-
5
|
|
120200
|
-
];
|
|
120201
|
-
case 3:
|
|
120202
120038
|
return [
|
|
120203
120039
|
4,
|
|
120204
|
-
|
|
120205
|
-
encoding: "utf-8"
|
|
120206
|
-
})
|
|
120040
|
+
import_fs_extra.default.copyFile(resource.filePath, filePath)
|
|
120207
120041
|
];
|
|
120208
|
-
case
|
|
120042
|
+
case 2:
|
|
120209
120043
|
_state.sent();
|
|
120210
|
-
_state.label = 5;
|
|
120211
|
-
case 5:
|
|
120212
120044
|
return [
|
|
120213
120045
|
2
|
|
120214
120046
|
];
|
|
@@ -120271,7 +120103,7 @@ var FsAPI = /* @__PURE__ */ function() {
|
|
|
120271
120103
|
return FsAPI2;
|
|
120272
120104
|
}();
|
|
120273
120105
|
|
|
120274
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120106
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/checkers.js
|
|
120275
120107
|
var toString = Object.prototype.toString;
|
|
120276
120108
|
var isType = function(type) {
|
|
120277
120109
|
return function(obj) {
|
|
@@ -120297,7 +120129,7 @@ var isObj = function(val) {
|
|
|
120297
120129
|
};
|
|
120298
120130
|
var isRegExp = isType("RegExp");
|
|
120299
120131
|
|
|
120300
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120132
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/array.js
|
|
120301
120133
|
var toArr = function(val) {
|
|
120302
120134
|
return isArr(val) ? val : val ? [val] : [];
|
|
120303
120135
|
};
|
|
@@ -120348,7 +120180,7 @@ function reduce(val, iterator, accumulator, revert) {
|
|
|
120348
120180
|
return result;
|
|
120349
120181
|
}
|
|
120350
120182
|
|
|
120351
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120183
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/global.js
|
|
120352
120184
|
function globalSelf() {
|
|
120353
120185
|
try {
|
|
120354
120186
|
if (typeof self !== "undefined") {
|
|
@@ -120372,7 +120204,7 @@ function globalSelf() {
|
|
|
120372
120204
|
}
|
|
120373
120205
|
var globalThisPolyfill = globalSelf();
|
|
120374
120206
|
|
|
120375
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120207
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/instanceof.js
|
|
120376
120208
|
var instOf = function(value, cls) {
|
|
120377
120209
|
if (isFn(cls))
|
|
120378
120210
|
return value instanceof cls;
|
|
@@ -120381,7 +120213,7 @@ var instOf = function(value, cls) {
|
|
|
120381
120213
|
return false;
|
|
120382
120214
|
};
|
|
120383
120215
|
|
|
120384
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120216
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/compare.js
|
|
120385
120217
|
var isArray = isArr;
|
|
120386
120218
|
var keyList = Object.keys;
|
|
120387
120219
|
var hasProp = Object.prototype.hasOwnProperty;
|
|
@@ -120488,7 +120320,7 @@ var isEqual = function exportedEqual(a, b) {
|
|
|
120488
120320
|
}
|
|
120489
120321
|
};
|
|
120490
120322
|
|
|
120491
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120323
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/clone.js
|
|
120492
120324
|
var clone = function(values) {
|
|
120493
120325
|
if (Array.isArray(values)) {
|
|
120494
120326
|
var res_1 = [];
|
|
@@ -120524,7 +120356,7 @@ var clone = function(values) {
|
|
|
120524
120356
|
}
|
|
120525
120357
|
};
|
|
120526
120358
|
|
|
120527
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120359
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/isEmpty.js
|
|
120528
120360
|
var has = Object.prototype.hasOwnProperty;
|
|
120529
120361
|
var toString2 = Object.prototype.toString;
|
|
120530
120362
|
var isUndef = function(val) {
|
|
@@ -120652,7 +120484,7 @@ function pascalCase(input, options) {
|
|
|
120652
120484
|
return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
|
|
120653
120485
|
}
|
|
120654
120486
|
|
|
120655
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
120487
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/string.js
|
|
120656
120488
|
var ansiRegex = function() {
|
|
120657
120489
|
var pattern = [
|
|
120658
120490
|
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)",
|
|
@@ -120671,7 +120503,7 @@ var stringLength = function(input) {
|
|
|
120671
120503
|
return stripAnsi(input).replace(astralRegex(), " ").length;
|
|
120672
120504
|
};
|
|
120673
120505
|
|
|
120674
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
120506
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/contexts.js
|
|
120675
120507
|
var __assign2 = function() {
|
|
120676
120508
|
__assign2 = Object.assign || function(t) {
|
|
120677
120509
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -120694,7 +120526,7 @@ var parenContext = ContextType("()");
|
|
|
120694
120526
|
var braceContext = ContextType("{}");
|
|
120695
120527
|
var destructorContext = ContextType("{x}");
|
|
120696
120528
|
|
|
120697
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
120529
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokens.js
|
|
120698
120530
|
var __assign3 = function() {
|
|
120699
120531
|
__assign3 = Object.assign || function(t) {
|
|
120700
120532
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -120862,7 +120694,7 @@ var expandTok = TokenType("expandTok", {
|
|
|
120862
120694
|
});
|
|
120863
120695
|
var eofTok = TokenType("eof");
|
|
120864
120696
|
|
|
120865
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
120697
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokenizer.js
|
|
120866
120698
|
var nonASCIIWhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
|
|
120867
120699
|
var fullCharCodeAtPos = function(input, pos) {
|
|
120868
120700
|
if (String.fromCharCode)
|
|
@@ -121114,7 +120946,7 @@ var Tokenizer = (
|
|
|
121114
120946
|
}()
|
|
121115
120947
|
);
|
|
121116
120948
|
|
|
121117
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
120949
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/types.js
|
|
121118
120950
|
var isType2 = function(type) {
|
|
121119
120951
|
return function(obj) {
|
|
121120
120952
|
return obj && obj.type === type;
|
|
@@ -121132,7 +120964,7 @@ var isObjectPattern = isType2("ObjectPattern");
|
|
|
121132
120964
|
var isObjectPatternProperty = isType2("ObjectPatternProperty");
|
|
121133
120965
|
var isArrayPattern = isType2("ArrayPattern");
|
|
121134
120966
|
|
|
121135
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
120967
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/shared.js
|
|
121136
120968
|
var toString3 = Object.prototype.toString;
|
|
121137
120969
|
var isType3 = function(type) {
|
|
121138
120970
|
return function(obj) {
|
|
@@ -121209,7 +121041,7 @@ var isSegmentEqual = function(a, b) {
|
|
|
121209
121041
|
return a === b;
|
|
121210
121042
|
};
|
|
121211
121043
|
|
|
121212
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121044
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/destructor.js
|
|
121213
121045
|
var DestructorCache = /* @__PURE__ */ new Map();
|
|
121214
121046
|
var isValid2 = function(val) {
|
|
121215
121047
|
return val !== void 0 && val !== null;
|
|
@@ -121327,7 +121159,7 @@ var existInByDestructor = function(source, rules, start, mutators) {
|
|
|
121327
121159
|
});
|
|
121328
121160
|
};
|
|
121329
121161
|
|
|
121330
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121162
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/parser.js
|
|
121331
121163
|
var __extends = function() {
|
|
121332
121164
|
var extendStatics = function(d, b) {
|
|
121333
121165
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -121718,7 +121550,7 @@ var Parser = (
|
|
|
121718
121550
|
}(Tokenizer)
|
|
121719
121551
|
);
|
|
121720
121552
|
|
|
121721
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121553
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/matcher.js
|
|
121722
121554
|
var Matcher = (
|
|
121723
121555
|
/** @class */
|
|
121724
121556
|
function() {
|
|
@@ -121900,7 +121732,7 @@ var Matcher = (
|
|
|
121900
121732
|
}()
|
|
121901
121733
|
);
|
|
121902
121734
|
|
|
121903
|
-
// ../../../../node_modules/.pnpm/@formily+path@2.2.
|
|
121735
|
+
// ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/index.js
|
|
121904
121736
|
var __read = function(o, n) {
|
|
121905
121737
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
121906
121738
|
if (!m)
|
|
@@ -122454,7 +122286,7 @@ var Path = (
|
|
|
122454
122286
|
}()
|
|
122455
122287
|
);
|
|
122456
122288
|
|
|
122457
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
122289
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/subscribable.js
|
|
122458
122290
|
var Subscribable = (
|
|
122459
122291
|
/** @class */
|
|
122460
122292
|
function() {
|
|
@@ -122506,7 +122338,7 @@ var Subscribable = (
|
|
|
122506
122338
|
}()
|
|
122507
122339
|
);
|
|
122508
122340
|
|
|
122509
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
122341
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/merge.js
|
|
122510
122342
|
function defaultIsMergeableObject(value) {
|
|
122511
122343
|
return isNonNullObject(value) && !isSpecial(value);
|
|
122512
122344
|
}
|
|
@@ -122699,7 +122531,7 @@ var lazyMerge = function(target) {
|
|
|
122699
122531
|
};
|
|
122700
122532
|
var merge = deepmerge;
|
|
122701
122533
|
|
|
122702
|
-
// ../../../../node_modules/.pnpm/@formily+shared@2.2.
|
|
122534
|
+
// ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/uid.js
|
|
122703
122535
|
var IDX = 36;
|
|
122704
122536
|
var HEX = "";
|
|
122705
122537
|
while (IDX--)
|
|
@@ -122711,7 +122543,7 @@ function uid(len) {
|
|
|
122711
122543
|
return str;
|
|
122712
122544
|
}
|
|
122713
122545
|
|
|
122714
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122546
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/checkers.js
|
|
122715
122547
|
var toString4 = Object.prototype.toString;
|
|
122716
122548
|
var isMap = function(val) {
|
|
122717
122549
|
return val && val instanceof Map;
|
|
@@ -122742,7 +122574,7 @@ var isNormalType = function(target) {
|
|
|
122742
122574
|
return isPlainObj3(target) || isArr3(target);
|
|
122743
122575
|
};
|
|
122744
122576
|
|
|
122745
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122577
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/array.js
|
|
122746
122578
|
var toArray = function(value) {
|
|
122747
122579
|
return Array.isArray(value) ? value : value !== void 0 && value !== null ? [value] : [];
|
|
122748
122580
|
};
|
|
@@ -122806,7 +122638,7 @@ var ArraySet = (
|
|
|
122806
122638
|
}()
|
|
122807
122639
|
);
|
|
122808
122640
|
|
|
122809
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122641
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/environment.js
|
|
122810
122642
|
var ProxyRaw = /* @__PURE__ */ new WeakMap();
|
|
122811
122643
|
var RawProxy = /* @__PURE__ */ new WeakMap();
|
|
122812
122644
|
var RawShallowProxy = /* @__PURE__ */ new WeakMap();
|
|
@@ -122825,7 +122657,7 @@ var MakeObModelSymbol = Symbol("MakeObModelSymbol");
|
|
|
122825
122657
|
var ObModelSymbol = Symbol("ObModelSymbol");
|
|
122826
122658
|
var ObModelNodeSymbol = Symbol("ObModelNodeSymbol");
|
|
122827
122659
|
|
|
122828
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122660
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/reaction.js
|
|
122829
122661
|
var ITERATION_KEY = Symbol("iteration key");
|
|
122830
122662
|
var addRawReactionsMap = function(target, key, reaction2) {
|
|
122831
122663
|
var reactionsMap = RawReactionsMap.get(target);
|
|
@@ -123055,7 +122887,7 @@ var disposeEffects = function(reaction2) {
|
|
|
123055
122887
|
}
|
|
123056
122888
|
};
|
|
123057
122889
|
|
|
123058
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122890
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tree.js
|
|
123059
122891
|
var DataChange = (
|
|
123060
122892
|
/** @class */
|
|
123061
122893
|
function() {
|
|
@@ -123151,7 +122983,7 @@ var buildDataTree = function(target, key, value) {
|
|
|
123151
122983
|
setDataNode(raw2, new DataNode(target, key, value));
|
|
123152
122984
|
};
|
|
123153
122985
|
|
|
123154
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
122986
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/externals.js
|
|
123155
122987
|
var RAW_TYPE = Symbol("RAW_TYPE");
|
|
123156
122988
|
var OBSERVABLE_TYPE = Symbol("OBSERVABLE_TYPE");
|
|
123157
122989
|
var hasOwnProperty2 = Object.prototype.hasOwnProperty;
|
|
@@ -123253,7 +123085,7 @@ var hasCollected = function(callback) {
|
|
|
123253
123085
|
return DependencyCollected.value;
|
|
123254
123086
|
};
|
|
123255
123087
|
|
|
123256
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123088
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/handlers.js
|
|
123257
123089
|
var __read2 = function(o, n) {
|
|
123258
123090
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
123259
123091
|
if (!m)
|
|
@@ -123509,7 +123341,7 @@ var baseHandlers = {
|
|
|
123509
123341
|
}
|
|
123510
123342
|
};
|
|
123511
123343
|
|
|
123512
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123344
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/internals.js
|
|
123513
123345
|
var createNormalProxy = function(target, shallow2) {
|
|
123514
123346
|
var proxy = new Proxy(target, baseHandlers);
|
|
123515
123347
|
ProxyRaw.set(proxy, target);
|
|
@@ -123624,7 +123456,7 @@ var createBoundaryAnnotation = function(start, end) {
|
|
|
123624
123456
|
return boundary;
|
|
123625
123457
|
};
|
|
123626
123458
|
|
|
123627
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123459
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/batch.js
|
|
123628
123460
|
var batch = createBoundaryAnnotation(batchStart, batchEnd);
|
|
123629
123461
|
batch.scope = createBoundaryAnnotation(batchScopeStart, batchScopeEnd);
|
|
123630
123462
|
batch.endpoint = function(callback) {
|
|
@@ -123637,7 +123469,7 @@ batch.endpoint = function(callback) {
|
|
|
123637
123469
|
}
|
|
123638
123470
|
};
|
|
123639
123471
|
|
|
123640
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123472
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/action.js
|
|
123641
123473
|
var action = createBoundaryAnnotation(function() {
|
|
123642
123474
|
batchStart();
|
|
123643
123475
|
untrackStart();
|
|
@@ -123653,10 +123485,10 @@ action.scope = createBoundaryAnnotation(function() {
|
|
|
123653
123485
|
batchScopeEnd();
|
|
123654
123486
|
});
|
|
123655
123487
|
|
|
123656
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123488
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/untracked.js
|
|
123657
123489
|
var untracked = createBoundaryFunction(untrackStart, untrackEnd);
|
|
123658
123490
|
|
|
123659
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123491
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/observable.js
|
|
123660
123492
|
var observable = createAnnotation(function(_a2) {
|
|
123661
123493
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
123662
123494
|
var store = {
|
|
@@ -123696,7 +123528,7 @@ var observable = createAnnotation(function(_a2) {
|
|
|
123696
123528
|
return store.value;
|
|
123697
123529
|
});
|
|
123698
123530
|
|
|
123699
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123531
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/box.js
|
|
123700
123532
|
var box = createAnnotation(function(_a2) {
|
|
123701
123533
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
123702
123534
|
var store = {
|
|
@@ -123742,7 +123574,7 @@ var box = createAnnotation(function(_a2) {
|
|
|
123742
123574
|
return proxy;
|
|
123743
123575
|
});
|
|
123744
123576
|
|
|
123745
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123577
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/ref.js
|
|
123746
123578
|
var ref = createAnnotation(function(_a2) {
|
|
123747
123579
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
123748
123580
|
var store = {
|
|
@@ -123790,7 +123622,7 @@ var ref = createAnnotation(function(_a2) {
|
|
|
123790
123622
|
return proxy;
|
|
123791
123623
|
});
|
|
123792
123624
|
|
|
123793
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123625
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/shallow.js
|
|
123794
123626
|
var shallow = createAnnotation(function(_a2) {
|
|
123795
123627
|
var target = _a2.target, key = _a2.key, value = _a2.value;
|
|
123796
123628
|
var store = {
|
|
@@ -123830,7 +123662,7 @@ var shallow = createAnnotation(function(_a2) {
|
|
|
123830
123662
|
return store.value;
|
|
123831
123663
|
});
|
|
123832
123664
|
|
|
123833
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123665
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/computed.js
|
|
123834
123666
|
var getDescriptor = Object.getOwnPropertyDescriptor;
|
|
123835
123667
|
var getProto = Object.getPrototypeOf;
|
|
123836
123668
|
var ClassDescriptorSymbol = Symbol("ClassDescriptorSymbol");
|
|
@@ -123951,7 +123783,7 @@ var computed = createAnnotation(function(_a2) {
|
|
|
123951
123783
|
return proxy;
|
|
123952
123784
|
});
|
|
123953
123785
|
|
|
123954
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123786
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observable.js
|
|
123955
123787
|
function observable2(target) {
|
|
123956
123788
|
return createObservable(null, null, target);
|
|
123957
123789
|
}
|
|
@@ -123962,7 +123794,7 @@ observable2.shallow = shallow;
|
|
|
123962
123794
|
observable2.computed = computed;
|
|
123963
123795
|
observable2[MakeObModelSymbol] = observable;
|
|
123964
123796
|
|
|
123965
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123797
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/model.js
|
|
123966
123798
|
function define2(target, annotations) {
|
|
123967
123799
|
if (isObservable(target))
|
|
123968
123800
|
return target;
|
|
@@ -123982,7 +123814,7 @@ function define2(target, annotations) {
|
|
|
123982
123814
|
return target;
|
|
123983
123815
|
}
|
|
123984
123816
|
|
|
123985
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123817
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/autorun.js
|
|
123986
123818
|
var __assign4 = function() {
|
|
123987
123819
|
__assign4 = Object.assign || function(t) {
|
|
123988
123820
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -124128,7 +123960,7 @@ var reaction = function(tracker, subscriber, options) {
|
|
|
124128
123960
|
};
|
|
124129
123961
|
};
|
|
124130
123962
|
|
|
124131
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
123963
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tracker.js
|
|
124132
123964
|
var Tracker = (
|
|
124133
123965
|
/** @class */
|
|
124134
123966
|
function() {
|
|
@@ -124173,7 +124005,7 @@ var Tracker = (
|
|
|
124173
124005
|
}()
|
|
124174
124006
|
);
|
|
124175
124007
|
|
|
124176
|
-
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.
|
|
124008
|
+
// ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observe.js
|
|
124177
124009
|
var observe = function(target, observer, deep) {
|
|
124178
124010
|
if (deep === void 0) {
|
|
124179
124011
|
deep = true;
|
|
@@ -124206,7 +124038,7 @@ var observe = function(target, observer, deep) {
|
|
|
124206
124038
|
return addListener(target);
|
|
124207
124039
|
};
|
|
124208
124040
|
|
|
124209
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
124041
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/shared.js
|
|
124210
124042
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
|
124211
124043
|
var SchemaNestedMap = {
|
|
124212
124044
|
parent: true,
|
|
@@ -124393,7 +124225,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
|
124393
124225
|
});
|
|
124394
124226
|
};
|
|
124395
124227
|
|
|
124396
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
124228
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/compiler.js
|
|
124397
124229
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
|
124398
124230
|
var Registry = {
|
|
124399
124231
|
silent: false,
|
|
@@ -124497,7 +124329,7 @@ var patchSchemaCompile = function(targetState, sourceSchema, scope, demand) {
|
|
|
124497
124329
|
});
|
|
124498
124330
|
};
|
|
124499
124331
|
|
|
124500
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124332
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/LifeCycle.js
|
|
124501
124333
|
var LifeCycle = (
|
|
124502
124334
|
/** @class */
|
|
124503
124335
|
function() {
|
|
@@ -124543,7 +124375,7 @@ var LifeCycle = (
|
|
|
124543
124375
|
}()
|
|
124544
124376
|
);
|
|
124545
124377
|
|
|
124546
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124378
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Heart.js
|
|
124547
124379
|
var __extends2 = function() {
|
|
124548
124380
|
var extendStatics = function(d, b) {
|
|
124549
124381
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -124639,7 +124471,7 @@ var Heart = (
|
|
|
124639
124471
|
}(Subscribable)
|
|
124640
124472
|
);
|
|
124641
124473
|
|
|
124642
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124474
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/checkers.js
|
|
124643
124475
|
var isForm = function(node) {
|
|
124644
124476
|
return node instanceof Form;
|
|
124645
124477
|
};
|
|
@@ -124685,7 +124517,7 @@ var isQuery = function(query2) {
|
|
|
124685
124517
|
return query2 && query2 instanceof Query;
|
|
124686
124518
|
};
|
|
124687
124519
|
|
|
124688
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
124520
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Graph.js
|
|
124689
124521
|
var Graph = (
|
|
124690
124522
|
/** @class */
|
|
124691
124523
|
function() {
|
|
@@ -124737,12 +124569,12 @@ var Graph = (
|
|
|
124737
124569
|
}()
|
|
124738
124570
|
);
|
|
124739
124571
|
|
|
124740
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
124572
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/types.js
|
|
124741
124573
|
var isValidateResult = function(obj) {
|
|
124742
124574
|
return !!obj["type"] && !!obj["message"];
|
|
124743
124575
|
};
|
|
124744
124576
|
|
|
124745
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
124577
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/registry.js
|
|
124746
124578
|
var getIn2 = Path.getIn;
|
|
124747
124579
|
var self2 = globalThisPolyfill;
|
|
124748
124580
|
var defaultLanguage = "en";
|
|
@@ -124813,7 +124645,7 @@ var registerValidateFormats = function(formats) {
|
|
|
124813
124645
|
});
|
|
124814
124646
|
};
|
|
124815
124647
|
|
|
124816
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
124648
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/template.js
|
|
124817
124649
|
var render = function(result, rules) {
|
|
124818
124650
|
var message = result.message;
|
|
124819
124651
|
if (isStr(result.message)) {
|
|
@@ -124828,7 +124660,7 @@ var render = function(result, rules) {
|
|
|
124828
124660
|
return result;
|
|
124829
124661
|
};
|
|
124830
124662
|
|
|
124831
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
124663
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/parser.js
|
|
124832
124664
|
var __assign5 = function() {
|
|
124833
124665
|
__assign5 = Object.assign || function(t) {
|
|
124834
124666
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -125079,7 +124911,7 @@ var parseValidator = function(validator, options) {
|
|
|
125079
124911
|
}, []);
|
|
125080
124912
|
};
|
|
125081
124913
|
|
|
125082
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
124914
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/locale.js
|
|
125083
124915
|
var locale_default = {
|
|
125084
124916
|
en: {
|
|
125085
124917
|
pattern: "This field is invalid",
|
|
@@ -125299,7 +125131,7 @@ var locale_default = {
|
|
|
125299
125131
|
}
|
|
125300
125132
|
};
|
|
125301
125133
|
|
|
125302
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125134
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/formats.js
|
|
125303
125135
|
var formats_default = {
|
|
125304
125136
|
url: new RegExp(
|
|
125305
125137
|
// protocol identifier
|
|
@@ -125319,7 +125151,7 @@ var formats_default = {
|
|
|
125319
125151
|
zip: /^[0-9]{6}$/
|
|
125320
125152
|
};
|
|
125321
125153
|
|
|
125322
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125154
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/rules.js
|
|
125323
125155
|
var __assign6 = function() {
|
|
125324
125156
|
__assign6 = Object.assign || function(t) {
|
|
125325
125157
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -125634,7 +125466,7 @@ extendSameRules(RULES, {
|
|
|
125634
125466
|
});
|
|
125635
125467
|
var rules_default = RULES;
|
|
125636
125468
|
|
|
125637
|
-
// ../../../../node_modules/.pnpm/@formily+validator@2.2.
|
|
125469
|
+
// ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/validator.js
|
|
125638
125470
|
var __awaiter3 = function(thisArg, _arguments, P, generator) {
|
|
125639
125471
|
function adopt(value) {
|
|
125640
125472
|
return value instanceof P ? value : new P(function(resolve) {
|
|
@@ -125779,7 +125611,7 @@ var validate = function(value, validator, options) {
|
|
|
125779
125611
|
});
|
|
125780
125612
|
};
|
|
125781
125613
|
|
|
125782
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
125614
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/types.js
|
|
125783
125615
|
var LifeCycleTypes;
|
|
125784
125616
|
(function(LifeCycleTypes2) {
|
|
125785
125617
|
LifeCycleTypes2["ON_FORM_INIT"] = "onFormInit";
|
|
@@ -125831,7 +125663,7 @@ var LifeCycleTypes;
|
|
|
125831
125663
|
LifeCycleTypes2["ON_FIELD_UNMOUNT"] = "onFieldUnmount";
|
|
125832
125664
|
})(LifeCycleTypes || (LifeCycleTypes = {}));
|
|
125833
125665
|
|
|
125834
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
125666
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/constants.js
|
|
125835
125667
|
var ReservedProperties = {
|
|
125836
125668
|
form: true,
|
|
125837
125669
|
parent: true,
|
|
@@ -125883,7 +125715,7 @@ var GlobalState = {
|
|
|
125883
125715
|
};
|
|
125884
125716
|
var NumberIndexReg = /^\.(\d+)/;
|
|
125885
125717
|
|
|
125886
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
125718
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/internals.js
|
|
125887
125719
|
var __assign7 = function() {
|
|
125888
125720
|
__assign7 = Object.assign || function(t) {
|
|
125889
125721
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -126990,7 +126822,7 @@ var getObjectParent = function(field) {
|
|
|
126990
126822
|
}
|
|
126991
126823
|
};
|
|
126992
126824
|
|
|
126993
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
126825
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Query.js
|
|
126994
126826
|
var output = function(field, taker) {
|
|
126995
126827
|
if (!field)
|
|
126996
126828
|
return;
|
|
@@ -127073,7 +126905,7 @@ var Query = (
|
|
|
127073
126905
|
}()
|
|
127074
126906
|
);
|
|
127075
126907
|
|
|
127076
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
126908
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/BaseField.js
|
|
127077
126909
|
var __read4 = function(o, n) {
|
|
127078
126910
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
127079
126911
|
if (!m)
|
|
@@ -127453,7 +127285,7 @@ var BaseField = (
|
|
|
127453
127285
|
}()
|
|
127454
127286
|
);
|
|
127455
127287
|
|
|
127456
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
127288
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Field.js
|
|
127457
127289
|
var __extends3 = function() {
|
|
127458
127290
|
var extendStatics = function(d, b) {
|
|
127459
127291
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -128094,7 +127926,7 @@ var Field = (
|
|
|
128094
127926
|
}(BaseField)
|
|
128095
127927
|
);
|
|
128096
127928
|
|
|
128097
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
127929
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/effective.js
|
|
128098
127930
|
var __read5 = function(o, n) {
|
|
128099
127931
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
128100
127932
|
if (!m)
|
|
@@ -128188,7 +128020,7 @@ var runEffects = function(context) {
|
|
|
128188
128020
|
return GlobalState.lifecycles;
|
|
128189
128021
|
};
|
|
128190
128022
|
|
|
128191
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128023
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ArrayField.js
|
|
128192
128024
|
var __extends4 = function() {
|
|
128193
128025
|
var extendStatics = function(d, b) {
|
|
128194
128026
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -128378,7 +128210,7 @@ var ArrayField = (
|
|
|
128378
128210
|
}(Field)
|
|
128379
128211
|
);
|
|
128380
128212
|
|
|
128381
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128213
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ObjectField.js
|
|
128382
128214
|
var __extends5 = function() {
|
|
128383
128215
|
var extendStatics = function(d, b) {
|
|
128384
128216
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -128439,7 +128271,7 @@ var ObjectField = (
|
|
|
128439
128271
|
}(Field)
|
|
128440
128272
|
);
|
|
128441
128273
|
|
|
128442
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128274
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/VoidField.js
|
|
128443
128275
|
var __extends6 = function() {
|
|
128444
128276
|
var extendStatics = function(d, b) {
|
|
128445
128277
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
@@ -128554,7 +128386,7 @@ var VoidField = (
|
|
|
128554
128386
|
}(BaseField)
|
|
128555
128387
|
);
|
|
128556
128388
|
|
|
128557
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128389
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Form.js
|
|
128558
128390
|
var __assign8 = function() {
|
|
128559
128391
|
__assign8 = Object.assign || function(t) {
|
|
128560
128392
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -129082,7 +128914,7 @@ var Form = (
|
|
|
129082
128914
|
}()
|
|
129083
128915
|
);
|
|
129084
128916
|
|
|
129085
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128917
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFormEffects.js
|
|
129086
128918
|
function createFormEffect(type) {
|
|
129087
128919
|
return createEffectHook(type, function(form) {
|
|
129088
128920
|
return function(callback) {
|
|
@@ -129115,7 +128947,7 @@ var onFormValidateEnd = createFormEffect(LifeCycleTypes.ON_FORM_VALIDATE_END);
|
|
|
129115
128947
|
var onFormGraphChange = createFormEffect(LifeCycleTypes.ON_FORM_GRAPH_CHANGE);
|
|
129116
128948
|
var onFormLoading = createFormEffect(LifeCycleTypes.ON_FORM_LOADING);
|
|
129117
128949
|
|
|
129118
|
-
// ../../../../node_modules/.pnpm/@formily+core@2.2.
|
|
128950
|
+
// ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFieldEffects.js
|
|
129119
128951
|
function createFieldEffect(type) {
|
|
129120
128952
|
return createEffectHook(type, function(field, form) {
|
|
129121
128953
|
return function(pattern, callback) {
|
|
@@ -129160,7 +128992,7 @@ function onFieldInit(pattern, callback) {
|
|
|
129160
128992
|
}
|
|
129161
128993
|
}
|
|
129162
128994
|
|
|
129163
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
128995
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/transformer.js
|
|
129164
128996
|
var __read7 = function(o, n) {
|
|
129165
128997
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
129166
128998
|
if (!m)
|
|
@@ -129385,7 +129217,7 @@ var transformFieldProps = function(schema, options) {
|
|
|
129385
129217
|
};
|
|
129386
129218
|
};
|
|
129387
129219
|
|
|
129388
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
129220
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/patches.js
|
|
129389
129221
|
var __assign9 = function() {
|
|
129390
129222
|
__assign9 = Object.assign || function(t) {
|
|
129391
129223
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -129434,7 +129266,7 @@ var enablePolyfills = function(versions) {
|
|
|
129434
129266
|
}
|
|
129435
129267
|
};
|
|
129436
129268
|
|
|
129437
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
129269
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
|
129438
129270
|
var __assign10 = function() {
|
|
129439
129271
|
__assign10 = Object.assign || function(t) {
|
|
129440
129272
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -129591,7 +129423,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
|
129591
129423
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
|
129592
129424
|
};
|
|
129593
129425
|
|
|
129594
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.
|
|
129426
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/schema.js
|
|
129595
129427
|
var Schema = (
|
|
129596
129428
|
/** @class */
|
|
129597
129429
|
function() {
|
|
@@ -129827,10 +129659,10 @@ var Schema = (
|
|
|
129827
129659
|
}()
|
|
129828
129660
|
);
|
|
129829
129661
|
|
|
129830
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
129662
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
129831
129663
|
var import_inquirer = __toESM(require_inquirer());
|
|
129832
129664
|
|
|
129833
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
129665
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/transform.js
|
|
129834
129666
|
var import_lodash2 = __toESM(require_lodash2());
|
|
129835
129667
|
function asyncGeneratorStep9(gen, resolve, reject, _next, _throw, key, arg) {
|
|
129836
129668
|
try {
|
|
@@ -130177,7 +130009,7 @@ function transformForm(schema) {
|
|
|
130177
130009
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
130178
130010
|
}
|
|
130179
130011
|
|
|
130180
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
130012
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
|
|
130181
130013
|
function asyncGeneratorStep10(gen, resolve, reject, _next, _throw, key, arg) {
|
|
130182
130014
|
try {
|
|
130183
130015
|
var info = gen[key](arg);
|
|
@@ -130701,7 +130533,7 @@ function _prompt() {
|
|
|
130701
130533
|
return _prompt.apply(this, arguments);
|
|
130702
130534
|
}
|
|
130703
130535
|
|
|
130704
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.
|
|
130536
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/inquirer.js
|
|
130705
130537
|
function asyncGeneratorStep11(gen, resolve, reject, _next, _throw, key, arg) {
|
|
130706
130538
|
try {
|
|
130707
130539
|
var info = gen[key](arg);
|
|
@@ -130941,7 +130773,7 @@ var CLIReader = /* @__PURE__ */ function() {
|
|
|
130941
130773
|
return CLIReader2;
|
|
130942
130774
|
}();
|
|
130943
130775
|
|
|
130944
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
130776
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
130945
130777
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
130946
130778
|
|
|
130947
130779
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.18.0/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
@@ -131020,7 +130852,7 @@ var I18n = class {
|
|
|
131020
130852
|
}
|
|
131021
130853
|
};
|
|
131022
130854
|
|
|
131023
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
130855
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/zh.js
|
|
131024
130856
|
var ZH_LOCALE = {
|
|
131025
130857
|
environment: {
|
|
131026
130858
|
node_version: "请升级 Node 版本至 LIS",
|
|
@@ -131047,7 +130879,7 @@ var ZH_LOCALE = {
|
|
|
131047
130879
|
}
|
|
131048
130880
|
};
|
|
131049
130881
|
|
|
131050
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
130882
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/en.js
|
|
131051
130883
|
var EN_LOCALE = {
|
|
131052
130884
|
environment: {
|
|
131053
130885
|
node_version: "please upgrade node to lts version",
|
|
@@ -131074,14 +130906,14 @@ var EN_LOCALE = {
|
|
|
131074
130906
|
}
|
|
131075
130907
|
};
|
|
131076
130908
|
|
|
131077
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
130909
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/index.js
|
|
131078
130910
|
var i18n = new I18n();
|
|
131079
130911
|
var localeKeys = i18n.init("zh", {
|
|
131080
130912
|
zh: ZH_LOCALE,
|
|
131081
130913
|
en: EN_LOCALE
|
|
131082
130914
|
});
|
|
131083
130915
|
|
|
131084
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
130916
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/transform.js
|
|
131085
130917
|
var import_lodash5 = __toESM(require_lodash2());
|
|
131086
130918
|
function asyncGeneratorStep12(gen, resolve, reject, _next, _throw, key, arg) {
|
|
131087
130919
|
try {
|
|
@@ -131290,7 +131122,7 @@ function transformInquirerSchema(questions) {
|
|
|
131290
131122
|
return questions;
|
|
131291
131123
|
}
|
|
131292
131124
|
|
|
131293
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131125
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/checkUseNvm.js
|
|
131294
131126
|
var import_path4 = __toESM(require("path"));
|
|
131295
131127
|
function asyncGeneratorStep13(gen, resolve, reject, _next, _throw, key, arg) {
|
|
131296
131128
|
try {
|
|
@@ -131554,7 +131386,7 @@ function _checkUseNvm() {
|
|
|
131554
131386
|
return _checkUseNvm.apply(this, arguments);
|
|
131555
131387
|
}
|
|
131556
131388
|
|
|
131557
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.
|
|
131389
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
|
|
131558
131390
|
function _array_like_to_array(arr, len) {
|
|
131559
131391
|
if (len == null || len > arr.length)
|
|
131560
131392
|
len = arr.length;
|
|
@@ -132135,7 +131967,7 @@ var AppAPI = /* @__PURE__ */ function() {
|
|
|
132135
131967
|
switch (_state2.label) {
|
|
132136
131968
|
case 0:
|
|
132137
131969
|
_this.generatorCore.logger.debug("[renderDir] resourceKey=".concat(resourceKey));
|
|
132138
|
-
target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "");
|
|
131970
|
+
target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "").replace(".ejs", "");
|
|
132139
131971
|
return [
|
|
132140
131972
|
4,
|
|
132141
131973
|
api.renderTemplate(material.get(resourceKey), target, _object_spread7({}, _this.generatorContext.data || {}, parameters || {}))
|
|
@@ -132484,11 +132316,11 @@ var AppAPI = /* @__PURE__ */ function() {
|
|
|
132484
132316
|
return AppAPI2;
|
|
132485
132317
|
}();
|
|
132486
132318
|
|
|
132487
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.
|
|
132319
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/index.js
|
|
132488
132320
|
var import_comment_json2 = __toESM(require_src2());
|
|
132489
132321
|
var declarationUpdate = __toESM(require_dist());
|
|
132490
132322
|
|
|
132491
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.
|
|
132323
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/utils/index.js
|
|
132492
132324
|
function asyncGeneratorStep15(gen, resolve, reject, _next, _throw, key, arg) {
|
|
132493
132325
|
try {
|
|
132494
132326
|
var info = gen[key](arg);
|
|
@@ -132662,7 +132494,7 @@ function _editJson() {
|
|
|
132662
132494
|
return _editJson.apply(this, arguments);
|
|
132663
132495
|
}
|
|
132664
132496
|
|
|
132665
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.
|
|
132497
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/index.js
|
|
132666
132498
|
function asyncGeneratorStep16(gen, resolve, reject, _next, _throw, key, arg) {
|
|
132667
132499
|
try {
|
|
132668
132500
|
var info = gen[key](arg);
|
|
@@ -132956,6 +132788,15 @@ var JsonAPI = /* @__PURE__ */ function() {
|
|
|
132956
132788
|
return JsonAPI2;
|
|
132957
132789
|
}();
|
|
132958
132790
|
|
|
132791
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/esm/_define_property.js
|
|
132792
|
+
function _define_property14(obj, key, value) {
|
|
132793
|
+
if (key in obj) {
|
|
132794
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
132795
|
+
} else
|
|
132796
|
+
obj[key] = value;
|
|
132797
|
+
return obj;
|
|
132798
|
+
}
|
|
132799
|
+
|
|
132959
132800
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
|
132960
132801
|
var import_lodash8 = __toESM(require_lodash3());
|
|
132961
132802
|
|
|
@@ -132974,19 +132815,6 @@ function getObjKeyMap2(obj, prefix = "") {
|
|
|
132974
132815
|
}
|
|
132975
132816
|
|
|
132976
132817
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
|
132977
|
-
function _define_property14(obj, key, value) {
|
|
132978
|
-
if (key in obj) {
|
|
132979
|
-
Object.defineProperty(obj, key, {
|
|
132980
|
-
value,
|
|
132981
|
-
enumerable: true,
|
|
132982
|
-
configurable: true,
|
|
132983
|
-
writable: true
|
|
132984
|
-
});
|
|
132985
|
-
} else {
|
|
132986
|
-
obj[key] = value;
|
|
132987
|
-
}
|
|
132988
|
-
return obj;
|
|
132989
|
-
}
|
|
132990
132818
|
var I18n2 = class {
|
|
132991
132819
|
format(msg, vars) {
|
|
132992
132820
|
return msg.replace(/\{(\w+)\}/g, (_match, capture) => Object.prototype.hasOwnProperty.call(vars, capture) ? vars[capture] : capture);
|
|
@@ -133457,7 +133285,7 @@ var MWADefaultConfig = {
|
|
|
133457
133285
|
|
|
133458
133286
|
// ../../generator-utils/dist/esm/index.js
|
|
133459
133287
|
var import_path5 = __toESM(require("path"));
|
|
133460
|
-
var
|
|
133288
|
+
var import_utils15 = __toESM(require_cjs2());
|
|
133461
133289
|
|
|
133462
133290
|
// ../../generator-utils/dist/esm/utils/stripAnsi.js
|
|
133463
133291
|
function ansiRegex2({ onlyFirst = false } = {}) {
|
|
@@ -133504,11 +133332,11 @@ var localeKeys3 = i18n3.init("en", {
|
|
|
133504
133332
|
// ../../generator-utils/dist/esm/index.js
|
|
133505
133333
|
function getPackageVersion(packageName, registry2) {
|
|
133506
133334
|
return __async(this, null, function* () {
|
|
133507
|
-
const spinner = (0,
|
|
133335
|
+
const spinner = (0, import_utils15.ora)({
|
|
133508
133336
|
text: "Load Generator...",
|
|
133509
133337
|
spinner: "runner"
|
|
133510
133338
|
}).start();
|
|
133511
|
-
if (yield (0,
|
|
133339
|
+
if (yield (0, import_utils15.canUsePnpm)()) {
|
|
133512
133340
|
const args = [
|
|
133513
133341
|
"info",
|
|
133514
133342
|
packageName,
|
|
@@ -133517,11 +133345,11 @@ function getPackageVersion(packageName, registry2) {
|
|
|
133517
133345
|
if (registry2) {
|
|
133518
133346
|
args.push(`--registry=${registry2}`);
|
|
133519
133347
|
}
|
|
133520
|
-
const result = yield (0,
|
|
133348
|
+
const result = yield (0, import_utils15.execa)("pnpm", args);
|
|
133521
133349
|
spinner.stop();
|
|
133522
133350
|
return stripAnsi2(result.stdout);
|
|
133523
133351
|
}
|
|
133524
|
-
if (yield (0,
|
|
133352
|
+
if (yield (0, import_utils15.canUseNpm)()) {
|
|
133525
133353
|
const args = [
|
|
133526
133354
|
"view",
|
|
133527
133355
|
packageName,
|
|
@@ -133530,7 +133358,7 @@ function getPackageVersion(packageName, registry2) {
|
|
|
133530
133358
|
if (registry2) {
|
|
133531
133359
|
args.push(`--registry=${registry2}`);
|
|
133532
133360
|
}
|
|
133533
|
-
const result = yield (0,
|
|
133361
|
+
const result = yield (0, import_utils15.execa)("npm", args);
|
|
133534
133362
|
spinner.stop();
|
|
133535
133363
|
return stripAnsi2(result.stdout);
|
|
133536
133364
|
}
|
|
@@ -133549,7 +133377,7 @@ function getPackageManagerText(packageManager) {
|
|
|
133549
133377
|
return packageManager === "yarn" ? "yarn" : `${packageManager} run`;
|
|
133550
133378
|
}
|
|
133551
133379
|
function getAllPackages(appDir) {
|
|
133552
|
-
const packages = (0,
|
|
133380
|
+
const packages = (0, import_utils15.getMonorepoPackages)(appDir);
|
|
133553
133381
|
return packages.map((pkg) => pkg.name);
|
|
133554
133382
|
}
|
|
133555
133383
|
function validatePackageName(value, packages, options) {
|
|
@@ -133577,7 +133405,7 @@ function validatePackagePath(value, projectDir, options) {
|
|
|
133577
133405
|
dir = isPublic ? "packages" : "features";
|
|
133578
133406
|
}
|
|
133579
133407
|
const packageDir = import_path5.default.resolve(projectDir || "", dir, value);
|
|
133580
|
-
if (
|
|
133408
|
+
if (import_utils15.fs.existsSync(packageDir)) {
|
|
133581
133409
|
return {
|
|
133582
133410
|
success: false,
|
|
133583
133411
|
error: i18n3.t(localeKeys3.packagePath.exit, {
|