@modern-js/repo-generator 0.0.0-next-1685343732023 → 0.0.0-next-1685369216913
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 +513 -171
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -93402,8 +93402,12 @@ var require_import = __commonJS({
|
|
|
93402
93402
|
});
|
|
93403
93403
|
}
|
|
93404
93404
|
_export(exports, {
|
|
93405
|
-
lazyImport: ()
|
|
93406
|
-
|
|
93405
|
+
lazyImport: function() {
|
|
93406
|
+
return lazy2;
|
|
93407
|
+
},
|
|
93408
|
+
Import: function() {
|
|
93409
|
+
return Import2;
|
|
93410
|
+
}
|
|
93407
93411
|
});
|
|
93408
93412
|
var lazy2 = (moduleName, requireFn) => {
|
|
93409
93413
|
const importLazyLocal = require_import_lazy2()(requireFn);
|
|
@@ -122456,39 +122460,105 @@ var require_compiled = __commonJS({
|
|
|
122456
122460
|
});
|
|
122457
122461
|
}
|
|
122458
122462
|
_export(exports, {
|
|
122459
|
-
fs: ()
|
|
122460
|
-
|
|
122461
|
-
|
|
122462
|
-
|
|
122463
|
-
|
|
122464
|
-
|
|
122465
|
-
|
|
122466
|
-
|
|
122467
|
-
|
|
122468
|
-
|
|
122469
|
-
|
|
122470
|
-
|
|
122471
|
-
|
|
122472
|
-
|
|
122473
|
-
|
|
122474
|
-
|
|
122475
|
-
|
|
122476
|
-
|
|
122477
|
-
|
|
122478
|
-
|
|
122479
|
-
|
|
122480
|
-
|
|
122481
|
-
|
|
122482
|
-
|
|
122483
|
-
|
|
122484
|
-
|
|
122485
|
-
|
|
122486
|
-
|
|
122487
|
-
|
|
122488
|
-
|
|
122489
|
-
|
|
122490
|
-
|
|
122491
|
-
|
|
122463
|
+
fs: function() {
|
|
122464
|
+
return _fsextra.default;
|
|
122465
|
+
},
|
|
122466
|
+
ora: function() {
|
|
122467
|
+
return _ora.default;
|
|
122468
|
+
},
|
|
122469
|
+
glob: function() {
|
|
122470
|
+
return _glob.default;
|
|
122471
|
+
},
|
|
122472
|
+
yaml: function() {
|
|
122473
|
+
return _jsyaml.default;
|
|
122474
|
+
},
|
|
122475
|
+
chalk: function() {
|
|
122476
|
+
return _chalk.default;
|
|
122477
|
+
},
|
|
122478
|
+
debug: function() {
|
|
122479
|
+
return _debug.default;
|
|
122480
|
+
},
|
|
122481
|
+
slash: function() {
|
|
122482
|
+
return _slash.default;
|
|
122483
|
+
},
|
|
122484
|
+
execa: function() {
|
|
122485
|
+
return _execa.default;
|
|
122486
|
+
},
|
|
122487
|
+
json5: function() {
|
|
122488
|
+
return _json5.default;
|
|
122489
|
+
},
|
|
122490
|
+
upath: function() {
|
|
122491
|
+
return _upath.default;
|
|
122492
|
+
},
|
|
122493
|
+
pkgUp: function() {
|
|
122494
|
+
return _pkgup.default;
|
|
122495
|
+
},
|
|
122496
|
+
nanoid: function() {
|
|
122497
|
+
return _nanoid.nanoid;
|
|
122498
|
+
},
|
|
122499
|
+
semver: function() {
|
|
122500
|
+
return _semver.default;
|
|
122501
|
+
},
|
|
122502
|
+
dotenv: function() {
|
|
122503
|
+
return _dotenv.default;
|
|
122504
|
+
},
|
|
122505
|
+
lodash: function() {
|
|
122506
|
+
return _lodash.default;
|
|
122507
|
+
},
|
|
122508
|
+
globby: function() {
|
|
122509
|
+
return _globby.default;
|
|
122510
|
+
},
|
|
122511
|
+
address: function() {
|
|
122512
|
+
return _address.default;
|
|
122513
|
+
},
|
|
122514
|
+
signale: function() {
|
|
122515
|
+
return _signale.default;
|
|
122516
|
+
},
|
|
122517
|
+
urlJoin: function() {
|
|
122518
|
+
return _urljoin.default;
|
|
122519
|
+
},
|
|
122520
|
+
minimist: function() {
|
|
122521
|
+
return _minimist.default;
|
|
122522
|
+
},
|
|
122523
|
+
fastGlob: function() {
|
|
122524
|
+
return _fastglob.default;
|
|
122525
|
+
},
|
|
122526
|
+
filesize: function() {
|
|
122527
|
+
return _filesize.default;
|
|
122528
|
+
},
|
|
122529
|
+
gzipSize: function() {
|
|
122530
|
+
return _gzipsize.default;
|
|
122531
|
+
},
|
|
122532
|
+
stripAnsi: function() {
|
|
122533
|
+
return _stripansi.default;
|
|
122534
|
+
},
|
|
122535
|
+
dotenvExpand: function() {
|
|
122536
|
+
return _dotenvexpand.default;
|
|
122537
|
+
},
|
|
122538
|
+
browserslist: function() {
|
|
122539
|
+
return _browserslist.default;
|
|
122540
|
+
},
|
|
122541
|
+
recursiveReaddir: function() {
|
|
122542
|
+
return _recursivereaddir.default;
|
|
122543
|
+
},
|
|
122544
|
+
program: function() {
|
|
122545
|
+
return _commander.program;
|
|
122546
|
+
},
|
|
122547
|
+
Command: function() {
|
|
122548
|
+
return _commander.Command;
|
|
122549
|
+
},
|
|
122550
|
+
Signale: function() {
|
|
122551
|
+
return _signale.Signale;
|
|
122552
|
+
},
|
|
122553
|
+
mime: function() {
|
|
122554
|
+
return mime2;
|
|
122555
|
+
},
|
|
122556
|
+
chokidar: function() {
|
|
122557
|
+
return chokidar2;
|
|
122558
|
+
},
|
|
122559
|
+
inquirer: function() {
|
|
122560
|
+
return inquirer4;
|
|
122561
|
+
}
|
|
122492
122562
|
});
|
|
122493
122563
|
var _interop_require_default = require_interop_require_default();
|
|
122494
122564
|
var _interop_require_wildcard = require_interop_require_wildcard();
|
|
@@ -122536,7 +122606,9 @@ var require_chainId = __commonJS({
|
|
|
122536
122606
|
});
|
|
122537
122607
|
Object.defineProperty(exports, "CHAIN_ID", {
|
|
122538
122608
|
enumerable: true,
|
|
122539
|
-
get: ()
|
|
122609
|
+
get: function() {
|
|
122610
|
+
return CHAIN_ID;
|
|
122611
|
+
}
|
|
122540
122612
|
});
|
|
122541
122613
|
var CHAIN_ID = {
|
|
122542
122614
|
/** Predefined rules */
|
|
@@ -122728,37 +122800,99 @@ var require_constants2 = __commonJS({
|
|
|
122728
122800
|
});
|
|
122729
122801
|
}
|
|
122730
122802
|
_export(exports, {
|
|
122731
|
-
ROUTE_SPEC_FILE: ()
|
|
122732
|
-
|
|
122733
|
-
|
|
122734
|
-
|
|
122735
|
-
|
|
122736
|
-
|
|
122737
|
-
|
|
122738
|
-
|
|
122739
|
-
|
|
122740
|
-
|
|
122741
|
-
|
|
122742
|
-
|
|
122743
|
-
|
|
122744
|
-
|
|
122745
|
-
|
|
122746
|
-
|
|
122747
|
-
|
|
122748
|
-
|
|
122749
|
-
|
|
122750
|
-
|
|
122751
|
-
|
|
122752
|
-
|
|
122753
|
-
|
|
122754
|
-
|
|
122755
|
-
|
|
122756
|
-
|
|
122757
|
-
|
|
122758
|
-
|
|
122759
|
-
|
|
122760
|
-
|
|
122761
|
-
|
|
122803
|
+
ROUTE_SPEC_FILE: function() {
|
|
122804
|
+
return ROUTE_SPEC_FILE;
|
|
122805
|
+
},
|
|
122806
|
+
MAIN_ENTRY_NAME: function() {
|
|
122807
|
+
return MAIN_ENTRY_NAME;
|
|
122808
|
+
},
|
|
122809
|
+
SERVER_BUNDLE_DIRECTORY: function() {
|
|
122810
|
+
return SERVER_BUNDLE_DIRECTORY;
|
|
122811
|
+
},
|
|
122812
|
+
SERVER_WORKER_BUNDLE_DIRECTORY: function() {
|
|
122813
|
+
return SERVER_WORKER_BUNDLE_DIRECTORY;
|
|
122814
|
+
},
|
|
122815
|
+
ENTRY_NAME_PATTERN: function() {
|
|
122816
|
+
return ENTRY_NAME_PATTERN;
|
|
122817
|
+
},
|
|
122818
|
+
SERVER_RENDER_FUNCTION_NAME: function() {
|
|
122819
|
+
return SERVER_RENDER_FUNCTION_NAME;
|
|
122820
|
+
},
|
|
122821
|
+
LOADABLE_STATS_FILE: function() {
|
|
122822
|
+
return LOADABLE_STATS_FILE;
|
|
122823
|
+
},
|
|
122824
|
+
API_DIR: function() {
|
|
122825
|
+
return API_DIR;
|
|
122826
|
+
},
|
|
122827
|
+
SERVER_DIR: function() {
|
|
122828
|
+
return SERVER_DIR;
|
|
122829
|
+
},
|
|
122830
|
+
SHARED_DIR: function() {
|
|
122831
|
+
return SHARED_DIR;
|
|
122832
|
+
},
|
|
122833
|
+
CONFIG_CACHE_DIR: function() {
|
|
122834
|
+
return CONFIG_CACHE_DIR;
|
|
122835
|
+
},
|
|
122836
|
+
CONFIG_FILE_EXTENSIONS: function() {
|
|
122837
|
+
return CONFIG_FILE_EXTENSIONS;
|
|
122838
|
+
},
|
|
122839
|
+
OUTPUT_CONFIG_FILE: function() {
|
|
122840
|
+
return OUTPUT_CONFIG_FILE;
|
|
122841
|
+
},
|
|
122842
|
+
DEFAULT_SERVER_CONFIG: function() {
|
|
122843
|
+
return DEFAULT_SERVER_CONFIG;
|
|
122844
|
+
},
|
|
122845
|
+
ROUTE_MANIFEST_FILE: function() {
|
|
122846
|
+
return ROUTE_MANIFEST_FILE;
|
|
122847
|
+
},
|
|
122848
|
+
LOADER_ROUTES_DIR: function() {
|
|
122849
|
+
return LOADER_ROUTES_DIR;
|
|
122850
|
+
},
|
|
122851
|
+
DEFAULT_DEV_HOST: function() {
|
|
122852
|
+
return DEFAULT_DEV_HOST;
|
|
122853
|
+
},
|
|
122854
|
+
INTERNAL_APP_TOOLS_PLUGINS: function() {
|
|
122855
|
+
return INTERNAL_APP_TOOLS_PLUGINS;
|
|
122856
|
+
},
|
|
122857
|
+
INTERNAL_APP_TOOLS_RUNTIME_PLUGINS: function() {
|
|
122858
|
+
return INTERNAL_APP_TOOLS_RUNTIME_PLUGINS;
|
|
122859
|
+
},
|
|
122860
|
+
INTERNAL_MODULE_TOOLS_PLUGINS: function() {
|
|
122861
|
+
return INTERNAL_MODULE_TOOLS_PLUGINS;
|
|
122862
|
+
},
|
|
122863
|
+
INTERNAL_MONOREPO_TOOLS_PLUGINS: function() {
|
|
122864
|
+
return INTERNAL_MONOREPO_TOOLS_PLUGINS;
|
|
122865
|
+
},
|
|
122866
|
+
INTERNAL_DOC_TOOLS_PLUGINS: function() {
|
|
122867
|
+
return INTERNAL_DOC_TOOLS_PLUGINS;
|
|
122868
|
+
},
|
|
122869
|
+
INTERNAL_CLI_PLUGINS: function() {
|
|
122870
|
+
return INTERNAL_CLI_PLUGINS;
|
|
122871
|
+
},
|
|
122872
|
+
SERVER_PLUGIN_BFF: function() {
|
|
122873
|
+
return SERVER_PLUGIN_BFF;
|
|
122874
|
+
},
|
|
122875
|
+
SERVER_PLUGIN_EXPRESS: function() {
|
|
122876
|
+
return SERVER_PLUGIN_EXPRESS;
|
|
122877
|
+
},
|
|
122878
|
+
SERVER_PLUGIN_KOA: function() {
|
|
122879
|
+
return SERVER_PLUGIN_KOA;
|
|
122880
|
+
},
|
|
122881
|
+
SERVER_PLUGIN_SERVER: function() {
|
|
122882
|
+
return SERVER_PLUGIN_SERVER;
|
|
122883
|
+
},
|
|
122884
|
+
SERVER_PLUGIN_POLYFILL: function() {
|
|
122885
|
+
return SERVER_PLUGIN_POLYFILL;
|
|
122886
|
+
},
|
|
122887
|
+
INTERNAL_SERVER_PLUGINS: function() {
|
|
122888
|
+
return INTERNAL_SERVER_PLUGINS;
|
|
122889
|
+
},
|
|
122890
|
+
PLUGIN_SCHEMAS: function() {
|
|
122891
|
+
return PLUGIN_SCHEMAS;
|
|
122892
|
+
},
|
|
122893
|
+
DEFAULT_BABEL_PRESET_TYPESCRIPT_OPTIONS: function() {
|
|
122894
|
+
return DEFAULT_BABEL_PRESET_TYPESCRIPT_OPTIONS;
|
|
122895
|
+
}
|
|
122762
122896
|
});
|
|
122763
122897
|
var _export_star = require_export_star();
|
|
122764
122898
|
_export_star._(require_chainId(), exports);
|
|
@@ -123093,8 +123227,12 @@ var require_fs = __commonJS({
|
|
|
123093
123227
|
});
|
|
123094
123228
|
}
|
|
123095
123229
|
_export(exports, {
|
|
123096
|
-
findExists: ()
|
|
123097
|
-
|
|
123230
|
+
findExists: function() {
|
|
123231
|
+
return findExists;
|
|
123232
|
+
},
|
|
123233
|
+
emptyDir: function() {
|
|
123234
|
+
return emptyDir;
|
|
123235
|
+
}
|
|
123098
123236
|
});
|
|
123099
123237
|
var _compiled = require_compiled();
|
|
123100
123238
|
var findExists = (files) => {
|
|
@@ -123128,12 +123266,24 @@ var require_env = __commonJS({
|
|
|
123128
123266
|
});
|
|
123129
123267
|
}
|
|
123130
123268
|
_export(exports, {
|
|
123131
|
-
getNodeEnv: ()
|
|
123132
|
-
|
|
123133
|
-
|
|
123134
|
-
|
|
123135
|
-
|
|
123136
|
-
|
|
123269
|
+
getNodeEnv: function() {
|
|
123270
|
+
return getNodeEnv;
|
|
123271
|
+
},
|
|
123272
|
+
isDev: function() {
|
|
123273
|
+
return isDev;
|
|
123274
|
+
},
|
|
123275
|
+
isProd: function() {
|
|
123276
|
+
return isProd;
|
|
123277
|
+
},
|
|
123278
|
+
isTest: function() {
|
|
123279
|
+
return isTest;
|
|
123280
|
+
},
|
|
123281
|
+
isProdProfile: function() {
|
|
123282
|
+
return isProdProfile;
|
|
123283
|
+
},
|
|
123284
|
+
isFastRefresh: function() {
|
|
123285
|
+
return isFastRefresh;
|
|
123286
|
+
}
|
|
123137
123287
|
});
|
|
123138
123288
|
var getNodeEnv = () => process.env.NODE_ENV || "development";
|
|
123139
123289
|
var isDev = () => getNodeEnv() === "development";
|
|
@@ -123159,8 +123309,12 @@ var require_platform = __commonJS({
|
|
|
123159
123309
|
});
|
|
123160
123310
|
}
|
|
123161
123311
|
_export(exports, {
|
|
123162
|
-
isNodeJS: ()
|
|
123163
|
-
|
|
123312
|
+
isNodeJS: function() {
|
|
123313
|
+
return isNodeJS;
|
|
123314
|
+
},
|
|
123315
|
+
isBrowser: function() {
|
|
123316
|
+
return isBrowser;
|
|
123317
|
+
}
|
|
123164
123318
|
});
|
|
123165
123319
|
var isNodeJS = () => typeof process !== "undefined" && process.versions != null && process.versions.node != null && process.versions.electron == null;
|
|
123166
123320
|
var isBrowser = () => typeof window !== "undefined";
|
|
@@ -123182,15 +123336,33 @@ var require_type = __commonJS({
|
|
|
123182
123336
|
});
|
|
123183
123337
|
}
|
|
123184
123338
|
_export(exports, {
|
|
123185
|
-
isString: ()
|
|
123186
|
-
|
|
123187
|
-
|
|
123188
|
-
|
|
123189
|
-
|
|
123190
|
-
|
|
123191
|
-
|
|
123192
|
-
|
|
123193
|
-
|
|
123339
|
+
isString: function() {
|
|
123340
|
+
return isString4;
|
|
123341
|
+
},
|
|
123342
|
+
isUndefined: function() {
|
|
123343
|
+
return isUndefined;
|
|
123344
|
+
},
|
|
123345
|
+
isArray: function() {
|
|
123346
|
+
return isArray4;
|
|
123347
|
+
},
|
|
123348
|
+
isFunction: function() {
|
|
123349
|
+
return isFunction4;
|
|
123350
|
+
},
|
|
123351
|
+
isObject: function() {
|
|
123352
|
+
return isObject4;
|
|
123353
|
+
},
|
|
123354
|
+
isPlainObject: function() {
|
|
123355
|
+
return isPlainObject;
|
|
123356
|
+
},
|
|
123357
|
+
isPromise: function() {
|
|
123358
|
+
return isPromise;
|
|
123359
|
+
},
|
|
123360
|
+
isRegExp: function() {
|
|
123361
|
+
return isRegExp3;
|
|
123362
|
+
},
|
|
123363
|
+
isEmpty: function() {
|
|
123364
|
+
return isEmpty2;
|
|
123365
|
+
}
|
|
123194
123366
|
});
|
|
123195
123367
|
function isString4(str) {
|
|
123196
123368
|
return typeof str === "string";
|
|
@@ -123235,12 +123407,24 @@ var require_config2 = __commonJS({
|
|
|
123235
123407
|
});
|
|
123236
123408
|
}
|
|
123237
123409
|
_export(exports, {
|
|
123238
|
-
isSSR: ()
|
|
123239
|
-
|
|
123240
|
-
|
|
123241
|
-
|
|
123242
|
-
|
|
123243
|
-
|
|
123410
|
+
isSSR: function() {
|
|
123411
|
+
return isSSR;
|
|
123412
|
+
},
|
|
123413
|
+
isUseSSRBundle: function() {
|
|
123414
|
+
return isUseSSRBundle;
|
|
123415
|
+
},
|
|
123416
|
+
isServiceWorker: function() {
|
|
123417
|
+
return isServiceWorker;
|
|
123418
|
+
},
|
|
123419
|
+
isRouterV5: function() {
|
|
123420
|
+
return isRouterV5;
|
|
123421
|
+
},
|
|
123422
|
+
isSSGEntry: function() {
|
|
123423
|
+
return isSSGEntry;
|
|
123424
|
+
},
|
|
123425
|
+
isSingleEntry: function() {
|
|
123426
|
+
return isSingleEntry;
|
|
123427
|
+
}
|
|
123244
123428
|
});
|
|
123245
123429
|
var _type = require_type();
|
|
123246
123430
|
var isSSR = (config) => {
|
|
@@ -123300,10 +123484,18 @@ var require_commands = __commonJS({
|
|
|
123300
123484
|
});
|
|
123301
123485
|
}
|
|
123302
123486
|
_export(exports, {
|
|
123303
|
-
getFullArgv: ()
|
|
123304
|
-
|
|
123305
|
-
|
|
123306
|
-
|
|
123487
|
+
getFullArgv: function() {
|
|
123488
|
+
return getFullArgv;
|
|
123489
|
+
},
|
|
123490
|
+
getArgv: function() {
|
|
123491
|
+
return getArgv;
|
|
123492
|
+
},
|
|
123493
|
+
getCommand: function() {
|
|
123494
|
+
return getCommand;
|
|
123495
|
+
},
|
|
123496
|
+
isDevCommand: function() {
|
|
123497
|
+
return isDevCommand;
|
|
123498
|
+
}
|
|
123307
123499
|
});
|
|
123308
123500
|
var getFullArgv = () => {
|
|
123309
123501
|
var _process_env_MODERN_ARGV;
|
|
@@ -123339,9 +123531,15 @@ var require_common3 = __commonJS({
|
|
|
123339
123531
|
});
|
|
123340
123532
|
}
|
|
123341
123533
|
_export(exports, {
|
|
123342
|
-
createDebugger: ()
|
|
123343
|
-
|
|
123344
|
-
|
|
123534
|
+
createDebugger: function() {
|
|
123535
|
+
return createDebugger;
|
|
123536
|
+
},
|
|
123537
|
+
clearConsole: function() {
|
|
123538
|
+
return clearConsole;
|
|
123539
|
+
},
|
|
123540
|
+
wait: function() {
|
|
123541
|
+
return wait;
|
|
123542
|
+
}
|
|
123345
123543
|
});
|
|
123346
123544
|
var _debug = require_debug3();
|
|
123347
123545
|
var createDebugger = (scope) => (0, _debug.debug)(`modern-js:${scope}`);
|
|
@@ -123371,8 +123569,12 @@ var require_ensure = __commonJS({
|
|
|
123371
123569
|
});
|
|
123372
123570
|
}
|
|
123373
123571
|
_export(exports, {
|
|
123374
|
-
ensureAbsolutePath: ()
|
|
123375
|
-
|
|
123572
|
+
ensureAbsolutePath: function() {
|
|
123573
|
+
return ensureAbsolutePath;
|
|
123574
|
+
},
|
|
123575
|
+
ensureArray: function() {
|
|
123576
|
+
return ensureArray;
|
|
123577
|
+
}
|
|
123376
123578
|
});
|
|
123377
123579
|
var _interop_require_default = require_interop_require_default();
|
|
123378
123580
|
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
@@ -123403,13 +123605,27 @@ var require_project = __commonJS({
|
|
|
123403
123605
|
});
|
|
123404
123606
|
}
|
|
123405
123607
|
_export(exports, {
|
|
123406
|
-
isDepExists: ()
|
|
123407
|
-
|
|
123408
|
-
|
|
123409
|
-
|
|
123410
|
-
|
|
123411
|
-
|
|
123412
|
-
|
|
123608
|
+
isDepExists: function() {
|
|
123609
|
+
return isDepExists;
|
|
123610
|
+
},
|
|
123611
|
+
isPackageInstalled: function() {
|
|
123612
|
+
return isPackageInstalled;
|
|
123613
|
+
},
|
|
123614
|
+
isApiOnly: function() {
|
|
123615
|
+
return isApiOnly;
|
|
123616
|
+
},
|
|
123617
|
+
isWebOnly: function() {
|
|
123618
|
+
return isWebOnly;
|
|
123619
|
+
},
|
|
123620
|
+
isBeyondReact17: function() {
|
|
123621
|
+
return isBeyondReact17;
|
|
123622
|
+
},
|
|
123623
|
+
isReact18: function() {
|
|
123624
|
+
return isReact182;
|
|
123625
|
+
},
|
|
123626
|
+
isTypescript: function() {
|
|
123627
|
+
return isTypescript;
|
|
123628
|
+
}
|
|
123413
123629
|
});
|
|
123414
123630
|
var _interop_require_default = require_interop_require_default();
|
|
123415
123631
|
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
@@ -123507,10 +123723,18 @@ var require_package5 = __commonJS({
|
|
|
123507
123723
|
});
|
|
123508
123724
|
}
|
|
123509
123725
|
_export(exports, {
|
|
123510
|
-
getPnpmVersion: ()
|
|
123511
|
-
|
|
123512
|
-
|
|
123513
|
-
|
|
123726
|
+
getPnpmVersion: function() {
|
|
123727
|
+
return getPnpmVersion;
|
|
123728
|
+
},
|
|
123729
|
+
canUseNpm: function() {
|
|
123730
|
+
return canUseNpm5;
|
|
123731
|
+
},
|
|
123732
|
+
canUseYarn: function() {
|
|
123733
|
+
return canUseYarn4;
|
|
123734
|
+
},
|
|
123735
|
+
canUsePnpm: function() {
|
|
123736
|
+
return canUsePnpm5;
|
|
123737
|
+
}
|
|
123514
123738
|
});
|
|
123515
123739
|
var _compiled = require_compiled();
|
|
123516
123740
|
function getPnpmVersion() {
|
|
@@ -123581,14 +123805,30 @@ var require_data = __commonJS({
|
|
|
123581
123805
|
});
|
|
123582
123806
|
}
|
|
123583
123807
|
_export(exports, {
|
|
123584
|
-
getPackageManager: ()
|
|
123585
|
-
|
|
123586
|
-
|
|
123587
|
-
|
|
123588
|
-
|
|
123589
|
-
|
|
123590
|
-
|
|
123591
|
-
|
|
123808
|
+
getPackageManager: function() {
|
|
123809
|
+
return getPackageManager2;
|
|
123810
|
+
},
|
|
123811
|
+
getCoreJsVersion: function() {
|
|
123812
|
+
return getCoreJsVersion;
|
|
123813
|
+
},
|
|
123814
|
+
getAntdMajorVersion: function() {
|
|
123815
|
+
return getAntdMajorVersion;
|
|
123816
|
+
},
|
|
123817
|
+
defaults: function() {
|
|
123818
|
+
return defaults;
|
|
123819
|
+
},
|
|
123820
|
+
getBrowserslist: function() {
|
|
123821
|
+
return getBrowserslist;
|
|
123822
|
+
},
|
|
123823
|
+
getInternalPlugins: function() {
|
|
123824
|
+
return getInternalPlugins;
|
|
123825
|
+
},
|
|
123826
|
+
readTsConfig: function() {
|
|
123827
|
+
return readTsConfig;
|
|
123828
|
+
},
|
|
123829
|
+
readTsConfigByFile: function() {
|
|
123830
|
+
return readTsConfigByFile2;
|
|
123831
|
+
}
|
|
123592
123832
|
});
|
|
123593
123833
|
var _interop_require_default = require_interop_require_default();
|
|
123594
123834
|
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
|
@@ -123691,7 +123931,9 @@ var require_config3 = __commonJS({
|
|
|
123691
123931
|
});
|
|
123692
123932
|
Object.defineProperty(exports, "getEntryOptions", {
|
|
123693
123933
|
enumerable: true,
|
|
123694
|
-
get: ()
|
|
123934
|
+
get: function() {
|
|
123935
|
+
return getEntryOptions;
|
|
123936
|
+
}
|
|
123695
123937
|
});
|
|
123696
123938
|
var _is = require_is();
|
|
123697
123939
|
var _constants = require_constants2();
|
|
@@ -123725,8 +123967,12 @@ var require_get2 = __commonJS({
|
|
|
123725
123967
|
});
|
|
123726
123968
|
}
|
|
123727
123969
|
_export(exports, {
|
|
123728
|
-
getServerConfig: ()
|
|
123729
|
-
|
|
123970
|
+
getServerConfig: function() {
|
|
123971
|
+
return getServerConfig;
|
|
123972
|
+
},
|
|
123973
|
+
getTargetDir: function() {
|
|
123974
|
+
return getTargetDir;
|
|
123975
|
+
}
|
|
123730
123976
|
});
|
|
123731
123977
|
var _export_star = require_export_star();
|
|
123732
123978
|
var _interop_require_default = require_interop_require_default();
|
|
@@ -123776,8 +124022,12 @@ var require_logger2 = __commonJS({
|
|
|
123776
124022
|
});
|
|
123777
124023
|
}
|
|
123778
124024
|
_export(exports, {
|
|
123779
|
-
Logger: ()
|
|
123780
|
-
|
|
124025
|
+
Logger: function() {
|
|
124026
|
+
return Logger2;
|
|
124027
|
+
},
|
|
124028
|
+
logger: function() {
|
|
124029
|
+
return logger2;
|
|
124030
|
+
}
|
|
123781
124031
|
});
|
|
123782
124032
|
var _define_property22 = require_define_property();
|
|
123783
124033
|
var _interop_require_default = require_interop_require_default();
|
|
@@ -123892,7 +124142,9 @@ var require_applyOptionsChain = __commonJS({
|
|
|
123892
124142
|
});
|
|
123893
124143
|
Object.defineProperty(exports, "applyOptionsChain", {
|
|
123894
124144
|
enumerable: true,
|
|
123895
|
-
get: ()
|
|
124145
|
+
get: function() {
|
|
124146
|
+
return applyOptionsChain;
|
|
124147
|
+
}
|
|
123896
124148
|
});
|
|
123897
124149
|
var _is = require_is();
|
|
123898
124150
|
var _logger = require_logger2();
|
|
@@ -123936,10 +124188,18 @@ var require_alias = __commonJS({
|
|
|
123936
124188
|
});
|
|
123937
124189
|
}
|
|
123938
124190
|
_export(exports, {
|
|
123939
|
-
validAlias: ()
|
|
123940
|
-
|
|
123941
|
-
|
|
123942
|
-
|
|
124191
|
+
validAlias: function() {
|
|
124192
|
+
return validAlias;
|
|
124193
|
+
},
|
|
124194
|
+
mergeAlias: function() {
|
|
124195
|
+
return mergeAlias;
|
|
124196
|
+
},
|
|
124197
|
+
getAliasConfig: function() {
|
|
124198
|
+
return getAliasConfig;
|
|
124199
|
+
},
|
|
124200
|
+
getUserAlias: function() {
|
|
124201
|
+
return getUserAlias;
|
|
124202
|
+
}
|
|
123943
124203
|
});
|
|
123944
124204
|
var _interop_require_default = require_interop_require_default();
|
|
123945
124205
|
var _fs = /* @__PURE__ */ _interop_require_default._(require("fs"));
|
|
@@ -124008,19 +124268,45 @@ var require_path = __commonJS({
|
|
|
124008
124268
|
});
|
|
124009
124269
|
}
|
|
124010
124270
|
_export(exports, {
|
|
124011
|
-
isPathString: ()
|
|
124012
|
-
|
|
124013
|
-
|
|
124014
|
-
|
|
124015
|
-
|
|
124016
|
-
|
|
124017
|
-
|
|
124018
|
-
|
|
124019
|
-
|
|
124020
|
-
|
|
124021
|
-
|
|
124022
|
-
|
|
124023
|
-
|
|
124271
|
+
isPathString: function() {
|
|
124272
|
+
return isPathString;
|
|
124273
|
+
},
|
|
124274
|
+
isRelativePath: function() {
|
|
124275
|
+
return isRelativePath;
|
|
124276
|
+
},
|
|
124277
|
+
normalizeOutputPath: function() {
|
|
124278
|
+
return normalizeOutputPath;
|
|
124279
|
+
},
|
|
124280
|
+
normalizeToPosixPath: function() {
|
|
124281
|
+
return normalizeToPosixPath;
|
|
124282
|
+
},
|
|
124283
|
+
getTemplatePath: function() {
|
|
124284
|
+
return getTemplatePath;
|
|
124285
|
+
},
|
|
124286
|
+
compilePathMatcherRegExp: function() {
|
|
124287
|
+
return compilePathMatcherRegExp;
|
|
124288
|
+
},
|
|
124289
|
+
_joinPathParts: function() {
|
|
124290
|
+
return _joinPathParts;
|
|
124291
|
+
},
|
|
124292
|
+
upwardPaths: function() {
|
|
124293
|
+
return upwardPaths;
|
|
124294
|
+
},
|
|
124295
|
+
getRealTemporaryDirectory: function() {
|
|
124296
|
+
return getRealTemporaryDirectory;
|
|
124297
|
+
},
|
|
124298
|
+
splitPathString: function() {
|
|
124299
|
+
return splitPathString;
|
|
124300
|
+
},
|
|
124301
|
+
removeLeadingSlash: function() {
|
|
124302
|
+
return removeLeadingSlash;
|
|
124303
|
+
},
|
|
124304
|
+
removeTailSlash: function() {
|
|
124305
|
+
return removeTailSlash;
|
|
124306
|
+
},
|
|
124307
|
+
removeSlash: function() {
|
|
124308
|
+
return removeSlash;
|
|
124309
|
+
}
|
|
124024
124310
|
});
|
|
124025
124311
|
var _interop_require_default = require_interop_require_default();
|
|
124026
124312
|
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
@@ -124087,8 +124373,12 @@ var require_babel = __commonJS({
|
|
|
124087
124373
|
});
|
|
124088
124374
|
}
|
|
124089
124375
|
_export(exports, {
|
|
124090
|
-
getBabelUtils: ()
|
|
124091
|
-
|
|
124376
|
+
getBabelUtils: function() {
|
|
124377
|
+
return getBabelUtils;
|
|
124378
|
+
},
|
|
124379
|
+
applyUserBabelConfig: function() {
|
|
124380
|
+
return applyUserBabelConfig;
|
|
124381
|
+
}
|
|
124092
124382
|
});
|
|
124093
124383
|
var _path = require("path");
|
|
124094
124384
|
var _applyOptionsChain = require_applyOptionsChain();
|
|
@@ -124205,13 +124495,27 @@ var require_monorepo = __commonJS({
|
|
|
124205
124495
|
});
|
|
124206
124496
|
}
|
|
124207
124497
|
_export(exports, {
|
|
124208
|
-
isLerna: ()
|
|
124209
|
-
|
|
124210
|
-
|
|
124211
|
-
|
|
124212
|
-
|
|
124213
|
-
|
|
124214
|
-
|
|
124498
|
+
isLerna: function() {
|
|
124499
|
+
return isLerna;
|
|
124500
|
+
},
|
|
124501
|
+
isYarnWorkspaces: function() {
|
|
124502
|
+
return isYarnWorkspaces;
|
|
124503
|
+
},
|
|
124504
|
+
isPnpmWorkspaces: function() {
|
|
124505
|
+
return isPnpmWorkspaces;
|
|
124506
|
+
},
|
|
124507
|
+
isMonorepo: function() {
|
|
124508
|
+
return isMonorepo;
|
|
124509
|
+
},
|
|
124510
|
+
isModernjsMonorepo: function() {
|
|
124511
|
+
return isModernjsMonorepo;
|
|
124512
|
+
},
|
|
124513
|
+
findMonorepoRoot: function() {
|
|
124514
|
+
return findMonorepoRoot;
|
|
124515
|
+
},
|
|
124516
|
+
getMonorepoPackages: function() {
|
|
124517
|
+
return getMonorepoPackages2;
|
|
124518
|
+
}
|
|
124215
124519
|
});
|
|
124216
124520
|
var _interop_require_default = require_interop_require_default();
|
|
124217
124521
|
var _fs = /* @__PURE__ */ _interop_require_default._(require("fs"));
|
|
@@ -124299,10 +124603,18 @@ var require_pathSerializer = __commonJS({
|
|
|
124299
124603
|
});
|
|
124300
124604
|
}
|
|
124301
124605
|
_export(exports, {
|
|
124302
|
-
matchUpwardPathsAsUnknown: ()
|
|
124303
|
-
|
|
124304
|
-
|
|
124305
|
-
|
|
124606
|
+
matchUpwardPathsAsUnknown: function() {
|
|
124607
|
+
return matchUpwardPathsAsUnknown;
|
|
124608
|
+
},
|
|
124609
|
+
applyPathMatcher: function() {
|
|
124610
|
+
return applyPathMatcher;
|
|
124611
|
+
},
|
|
124612
|
+
applyMatcherReplacement: function() {
|
|
124613
|
+
return applyMatcherReplacement;
|
|
124614
|
+
},
|
|
124615
|
+
createDefaultPathMatchers: function() {
|
|
124616
|
+
return createDefaultPathMatchers;
|
|
124617
|
+
}
|
|
124306
124618
|
});
|
|
124307
124619
|
var _interop_require_default = require_interop_require_default();
|
|
124308
124620
|
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
|
@@ -124363,7 +124675,9 @@ var require_port = __commonJS({
|
|
|
124363
124675
|
});
|
|
124364
124676
|
Object.defineProperty(exports, "getPort", {
|
|
124365
124677
|
enumerable: true,
|
|
124366
|
-
get: ()
|
|
124678
|
+
get: function() {
|
|
124679
|
+
return getPort;
|
|
124680
|
+
}
|
|
124367
124681
|
});
|
|
124368
124682
|
var _interop_require_default = require_interop_require_default();
|
|
124369
124683
|
var _net = /* @__PURE__ */ _interop_require_default._(require("net"));
|
|
@@ -124428,8 +124742,12 @@ var require_prettyInstructions = __commonJS({
|
|
|
124428
124742
|
});
|
|
124429
124743
|
}
|
|
124430
124744
|
_export(exports, {
|
|
124431
|
-
getAddressUrls: ()
|
|
124432
|
-
|
|
124745
|
+
getAddressUrls: function() {
|
|
124746
|
+
return getAddressUrls;
|
|
124747
|
+
},
|
|
124748
|
+
prettyInstructions: function() {
|
|
124749
|
+
return prettyInstructions;
|
|
124750
|
+
}
|
|
124433
124751
|
});
|
|
124434
124752
|
var _interop_require_default = require_interop_require_default();
|
|
124435
124753
|
var _os = /* @__PURE__ */ _interop_require_default._(require("os"));
|
|
@@ -124520,7 +124838,9 @@ var require_print = __commonJS({
|
|
|
124520
124838
|
});
|
|
124521
124839
|
Object.defineProperty(exports, "printBuildError", {
|
|
124522
124840
|
enumerable: true,
|
|
124523
|
-
get: ()
|
|
124841
|
+
get: function() {
|
|
124842
|
+
return printBuildError;
|
|
124843
|
+
}
|
|
124524
124844
|
});
|
|
124525
124845
|
var _compiled = require_compiled();
|
|
124526
124846
|
var _logger = require_logger2();
|
|
@@ -124567,12 +124887,24 @@ var require_require = __commonJS({
|
|
|
124567
124887
|
});
|
|
124568
124888
|
}
|
|
124569
124889
|
_export(exports, {
|
|
124570
|
-
compatRequire: ()
|
|
124571
|
-
|
|
124572
|
-
|
|
124573
|
-
|
|
124574
|
-
|
|
124575
|
-
|
|
124890
|
+
compatRequire: function() {
|
|
124891
|
+
return compatRequire;
|
|
124892
|
+
},
|
|
124893
|
+
dynamicImport: function() {
|
|
124894
|
+
return dynamicImport;
|
|
124895
|
+
},
|
|
124896
|
+
requireExistModule: function() {
|
|
124897
|
+
return requireExistModule;
|
|
124898
|
+
},
|
|
124899
|
+
cleanRequireCache: function() {
|
|
124900
|
+
return cleanRequireCache;
|
|
124901
|
+
},
|
|
124902
|
+
deleteRequireCache: function() {
|
|
124903
|
+
return deleteRequireCache;
|
|
124904
|
+
},
|
|
124905
|
+
tryResolve: function() {
|
|
124906
|
+
return tryResolve;
|
|
124907
|
+
}
|
|
124576
124908
|
});
|
|
124577
124909
|
var _fs = require_fs();
|
|
124578
124910
|
var compatRequire = (filePath, interop = true) => {
|
|
@@ -124637,7 +124969,9 @@ var require_routes = __commonJS({
|
|
|
124637
124969
|
});
|
|
124638
124970
|
Object.defineProperty(exports, "getRouteId", {
|
|
124639
124971
|
enumerable: true,
|
|
124640
|
-
get: ()
|
|
124972
|
+
get: function() {
|
|
124973
|
+
return getRouteId;
|
|
124974
|
+
}
|
|
124641
124975
|
});
|
|
124642
124976
|
var _interop_require_default = require_interop_require_default();
|
|
124643
124977
|
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
@@ -124670,7 +125004,9 @@ var require_runtimeExports = __commonJS({
|
|
|
124670
125004
|
});
|
|
124671
125005
|
Object.defineProperty(exports, "createRuntimeExportsUtils", {
|
|
124672
125006
|
enumerable: true,
|
|
124673
|
-
get: ()
|
|
125007
|
+
get: function() {
|
|
125008
|
+
return createRuntimeExportsUtils;
|
|
125009
|
+
}
|
|
124674
125010
|
});
|
|
124675
125011
|
var _interop_require_default = require_interop_require_default();
|
|
124676
125012
|
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
|
@@ -124720,7 +125056,9 @@ var require_test = __commonJS({
|
|
|
124720
125056
|
});
|
|
124721
125057
|
Object.defineProperty(exports, "initSnapshotSerializer", {
|
|
124722
125058
|
enumerable: true,
|
|
124723
|
-
get: ()
|
|
125059
|
+
get: function() {
|
|
125060
|
+
return initSnapshotSerializer;
|
|
125061
|
+
}
|
|
124724
125062
|
});
|
|
124725
125063
|
var initSnapshotSerializer = (root) => {
|
|
124726
125064
|
expect.addSnapshotSerializer({
|
|
@@ -124749,8 +125087,12 @@ var require_watch = __commonJS({
|
|
|
124749
125087
|
});
|
|
124750
125088
|
}
|
|
124751
125089
|
_export(exports, {
|
|
124752
|
-
WatchChangeType: ()
|
|
124753
|
-
|
|
125090
|
+
WatchChangeType: function() {
|
|
125091
|
+
return WatchChangeType;
|
|
125092
|
+
},
|
|
125093
|
+
watch: function() {
|
|
125094
|
+
return watch;
|
|
125095
|
+
}
|
|
124754
125096
|
});
|
|
124755
125097
|
var _interop_require_default = require_interop_require_default();
|
|
124756
125098
|
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-next-
|
|
18
|
+
"version": "0.0.0-next-1685369216913",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"@types/node": "^14",
|
|
30
30
|
"jest": "^29",
|
|
31
31
|
"typescript": "^5",
|
|
32
|
-
"@modern-js/generator
|
|
33
|
-
"@modern-js/
|
|
34
|
-
"@modern-js/
|
|
35
|
-
"@modern-js/
|
|
36
|
-
"@modern-js/
|
|
37
|
-
"@modern-js/
|
|
38
|
-
"@modern-js/generator
|
|
39
|
-
"@modern-js/generator
|
|
40
|
-
"@modern-js/
|
|
41
|
-
"@scripts/
|
|
42
|
-
"@scripts/
|
|
32
|
+
"@modern-js/base-generator": "0.0.0-next-1685369216913",
|
|
33
|
+
"@modern-js/generator-common": "0.0.0-next-1685369216913",
|
|
34
|
+
"@modern-js/generator-plugin": "0.0.0-next-1685369216913",
|
|
35
|
+
"@modern-js/generator-utils": "0.0.0-next-1685369216913",
|
|
36
|
+
"@modern-js/module-generator": "0.0.0-next-1685369216913",
|
|
37
|
+
"@modern-js/monorepo-generator": "0.0.0-next-1685369216913",
|
|
38
|
+
"@modern-js/mwa-generator": "0.0.0-next-1685369216913",
|
|
39
|
+
"@modern-js/doc-generator": "0.0.0-next-1685369216913",
|
|
40
|
+
"@modern-js/utils": "0.0.0-next-1685369216913",
|
|
41
|
+
"@scripts/build": "0.0.0-next-1685369216913",
|
|
42
|
+
"@scripts/jest-config": "0.0.0-next-1685369216913"
|
|
43
43
|
},
|
|
44
44
|
"sideEffects": false,
|
|
45
45
|
"publishConfig": {
|