@modern-js/utils 2.4.0 → 2.5.0-alpha.0
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/CHANGELOG.md +14 -0
 - package/dist/FileSizeReporter.d.ts +5 -5
 - package/dist/FileSizeReporter.js +143 -136
 - package/dist/alias.d.ts +16 -14
 - package/dist/alias.js +94 -54
 - package/dist/analyzeProject.d.ts +1 -1
 - package/dist/analyzeProject.js +58 -33
 - package/dist/applyOptionsChain.d.ts +1 -1
 - package/dist/applyOptionsChain.js +55 -27
 - package/dist/chainId.d.ts +256 -184
 - package/dist/chainId.js +132 -187
 - package/dist/clearConsole.d.ts +1 -1
 - package/dist/clearConsole.js +29 -7
 - package/dist/commands.d.ts +1 -1
 - package/dist/commands.js +33 -10
 - package/dist/compatRequire.d.ts +3 -3
 - package/dist/compatRequire.js +74 -38
 - package/dist/compiled.d.ts +2 -1
 - package/dist/compiled.js +137 -72
 - package/dist/constants.d.ts +131 -105
 - package/dist/constants.js +298 -277
 - package/dist/debug.d.ts +1 -1
 - package/dist/debug.js +28 -11
 - package/dist/emptyDir.d.ts +1 -1
 - package/dist/emptyDir.js +51 -9
 - package/dist/ensureAbsolutePath.d.ts +1 -1
 - package/dist/ensureAbsolutePath.js +33 -14
 - package/dist/ensureArray.d.ts +1 -1
 - package/dist/ensureArray.js +30 -8
 - package/dist/findExists.d.ts +1 -1
 - package/dist/findExists.js +37 -17
 - package/dist/format.d.ts +3 -3
 - package/dist/format.js +93 -81
 - package/dist/generateMetaTags.d.ts +4 -4
 - package/dist/generateMetaTags.js +56 -43
 - package/dist/getBrowserslist.d.ts +1 -1
 - package/dist/getBrowserslist.js +31 -7
 - package/dist/getCoreJsVersion.d.ts +1 -1
 - package/dist/getCoreJsVersion.js +39 -35
 - package/dist/getEntryOptions.d.ts +1 -1
 - package/dist/getEntryOptions.js +51 -24
 - package/dist/getPackageManager.d.ts +1 -1
 - package/dist/getPackageManager.js +75 -28
 - package/dist/getPort.d.ts +7 -4
 - package/dist/getPort.js +104 -58
 - package/dist/getServerConfig.d.ts +1 -1
 - package/dist/getServerConfig.js +61 -32
 - package/dist/import.d.ts +2 -2
 - package/dist/import.js +31 -8
 - package/dist/index.d.ts +2 -0
 - package/dist/index.js +61 -59
 - package/dist/is/index.d.ts +12 -1
 - package/dist/is/index.js +83 -82
 - package/dist/is/node-env.d.ts +1 -1
 - package/dist/is/node-env.js +39 -17
 - package/dist/is/platform.d.ts +1 -1
 - package/dist/is/platform.js +30 -10
 - package/dist/is/type.d.ts +1 -1
 - package/dist/is/type.js +48 -22
 - package/dist/logger.d.ts +51 -51
 - package/dist/logger.js +127 -95
 - package/dist/monorepo.d.ts +3 -3
 - package/dist/monorepo.js +117 -74
 - package/dist/nestedRoutes.d.ts +9 -0
 - package/dist/nestedRoutes.js +144 -0
 - package/dist/nodeEnv.d.ts +1 -1
 - package/dist/nodeEnv.js +72 -25
 - package/dist/path.d.ts +3 -1
 - package/dist/path.js +76 -59
 - package/dist/pathSerializer.d.ts +7 -7
 - package/dist/pathSerializer.js +65 -43
 - package/dist/plugin.d.ts +1 -1
 - package/dist/plugin.js +45 -26
 - package/dist/prettyInstructions.d.ts +4 -4
 - package/dist/prettyInstructions.js +107 -65
 - package/dist/printBuildError.d.ts +1 -1
 - package/dist/printBuildError.js +54 -40
 - package/dist/react.d.ts +1 -1
 - package/dist/react.js +57 -21
 - package/dist/readTsConfig.d.ts +1 -1
 - package/dist/readTsConfig.js +38 -12
 - package/dist/remix-router.d.ts +1 -0
 - package/dist/remix-router.js +17 -0
 - package/dist/removeSlash.d.ts +1 -1
 - package/dist/removeSlash.js +33 -9
 - package/dist/routes.d.ts +1 -1
 - package/dist/routes.js +49 -22
 - package/dist/runtimeExports.d.ts +3 -3
 - package/dist/runtimeExports.js +59 -39
 - package/dist/serialize.d.ts +1 -0
 - package/dist/serialize.js +36 -0
 - package/dist/ssr.d.ts +2 -1
 - package/dist/ssr.js +30 -7
 - package/dist/storage.d.ts +3 -3
 - package/dist/storage.js +65 -59
 - package/dist/test-utils.d.ts +1 -1
 - package/dist/test-utils.js +30 -24
 - package/dist/tryResolve.d.ts +2 -1
 - package/dist/tryResolve.js +45 -33
 - package/dist/types.d.ts +1 -1
 - package/dist/types.js +15 -2
 - package/dist/version.d.ts +1 -1
 - package/dist/version.js +83 -24
 - package/dist/wait.d.ts +1 -1
 - package/dist/wait.js +28 -6
 - package/dist/watch.d.ts +5 -5
 - package/dist/watch.js +82 -55
 - package/package.json +31 -9
 
    
        package/dist/compiled.js
    CHANGED
    
    | 
         @@ -1,73 +1,138 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
            var  
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
      
 1 
     | 
    
         
            +
            var __create = Object.create;
         
     | 
| 
      
 2 
     | 
    
         
            +
            var __defProp = Object.defineProperty;
         
     | 
| 
      
 3 
     | 
    
         
            +
            var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
         
     | 
| 
      
 4 
     | 
    
         
            +
            var __getOwnPropNames = Object.getOwnPropertyNames;
         
     | 
| 
      
 5 
     | 
    
         
            +
            var __getProtoOf = Object.getPrototypeOf;
         
     | 
| 
      
 6 
     | 
    
         
            +
            var __hasOwnProp = Object.prototype.hasOwnProperty;
         
     | 
| 
      
 7 
     | 
    
         
            +
            var __export = (target, all) => {
         
     | 
| 
      
 8 
     | 
    
         
            +
              for (var name in all)
         
     | 
| 
      
 9 
     | 
    
         
            +
                __defProp(target, name, { get: all[name], enumerable: true });
         
     | 
| 
       4 
10 
     | 
    
         
             
            };
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
            var  
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
       38 
     | 
    
         
            -
             
     | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
       45 
     | 
    
         
            -
             
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
       56 
     | 
    
         
            -
            var  
     | 
| 
       57 
     | 
    
         
            -
             
     | 
| 
       58 
     | 
    
         
            -
            var  
     | 
| 
       59 
     | 
    
         
            -
             
     | 
| 
       60 
     | 
    
         
            -
            var  
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
            var  
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
            var  
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
             
     | 
| 
       68 
     | 
    
         
            -
              
     | 
| 
       69 
     | 
    
         
            -
              
     | 
| 
       70 
     | 
    
         
            -
              
     | 
| 
       71 
     | 
    
         
            -
             
     | 
| 
       72 
     | 
    
         
            -
             
     | 
| 
       73 
     | 
    
         
            -
             
     | 
| 
      
 11 
     | 
    
         
            +
            var __copyProps = (to, from, except, desc) => {
         
     | 
| 
      
 12 
     | 
    
         
            +
              if (from && typeof from === "object" || typeof from === "function") {
         
     | 
| 
      
 13 
     | 
    
         
            +
                for (let key of __getOwnPropNames(from))
         
     | 
| 
      
 14 
     | 
    
         
            +
                  if (!__hasOwnProp.call(to, key) && key !== except)
         
     | 
| 
      
 15 
     | 
    
         
            +
                    __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
         
     | 
| 
      
 16 
     | 
    
         
            +
              }
         
     | 
| 
      
 17 
     | 
    
         
            +
              return to;
         
     | 
| 
      
 18 
     | 
    
         
            +
            };
         
     | 
| 
      
 19 
     | 
    
         
            +
            var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
         
     | 
| 
      
 20 
     | 
    
         
            +
              isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
         
     | 
| 
      
 21 
     | 
    
         
            +
              mod
         
     | 
| 
      
 22 
     | 
    
         
            +
            ));
         
     | 
| 
      
 23 
     | 
    
         
            +
            var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
         
     | 
| 
      
 24 
     | 
    
         
            +
            var compiled_exports = {};
         
     | 
| 
      
 25 
     | 
    
         
            +
            __export(compiled_exports, {
         
     | 
| 
      
 26 
     | 
    
         
            +
              Command: () => import_commander.Command,
         
     | 
| 
      
 27 
     | 
    
         
            +
              Signale: () => import_signale2.Signale,
         
     | 
| 
      
 28 
     | 
    
         
            +
              address: () => import_address.default,
         
     | 
| 
      
 29 
     | 
    
         
            +
              browserslist: () => import_browserslist.default,
         
     | 
| 
      
 30 
     | 
    
         
            +
              chalk: () => import_chalk.default,
         
     | 
| 
      
 31 
     | 
    
         
            +
              chokidar: () => chokidar,
         
     | 
| 
      
 32 
     | 
    
         
            +
              debug: () => import_debug.default,
         
     | 
| 
      
 33 
     | 
    
         
            +
              dotenv: () => import_dotenv.default,
         
     | 
| 
      
 34 
     | 
    
         
            +
              dotenvExpand: () => import_dotenv_expand.default,
         
     | 
| 
      
 35 
     | 
    
         
            +
              execa: () => import_execa.default,
         
     | 
| 
      
 36 
     | 
    
         
            +
              fastGlob: () => import_fast_glob.default,
         
     | 
| 
      
 37 
     | 
    
         
            +
              filesize: () => import_filesize.default,
         
     | 
| 
      
 38 
     | 
    
         
            +
              fs: () => import_fs_extra.default,
         
     | 
| 
      
 39 
     | 
    
         
            +
              glob: () => import_glob.default,
         
     | 
| 
      
 40 
     | 
    
         
            +
              globby: () => import_globby.default,
         
     | 
| 
      
 41 
     | 
    
         
            +
              gzipSize: () => import_gzip_size.default,
         
     | 
| 
      
 42 
     | 
    
         
            +
              inquirer: () => inquirer,
         
     | 
| 
      
 43 
     | 
    
         
            +
              json5: () => import_json5.default,
         
     | 
| 
      
 44 
     | 
    
         
            +
              lodash: () => import_lodash.default,
         
     | 
| 
      
 45 
     | 
    
         
            +
              mime: () => mime,
         
     | 
| 
      
 46 
     | 
    
         
            +
              minimist: () => import_minimist.default,
         
     | 
| 
      
 47 
     | 
    
         
            +
              nanoid: () => import_nanoid.nanoid,
         
     | 
| 
      
 48 
     | 
    
         
            +
              ora: () => import_ora.default,
         
     | 
| 
      
 49 
     | 
    
         
            +
              pkgUp: () => import_pkg_up.default,
         
     | 
| 
      
 50 
     | 
    
         
            +
              program: () => import_commander.program,
         
     | 
| 
      
 51 
     | 
    
         
            +
              recursiveReaddir: () => import_recursive_readdir.default,
         
     | 
| 
      
 52 
     | 
    
         
            +
              semver: () => import_semver.default,
         
     | 
| 
      
 53 
     | 
    
         
            +
              signale: () => import_signale.default,
         
     | 
| 
      
 54 
     | 
    
         
            +
              slash: () => import_slash.default,
         
     | 
| 
      
 55 
     | 
    
         
            +
              stripAnsi: () => import_strip_ansi.default,
         
     | 
| 
      
 56 
     | 
    
         
            +
              upath: () => import_upath.default,
         
     | 
| 
      
 57 
     | 
    
         
            +
              urlJoin: () => import_url_join.default,
         
     | 
| 
      
 58 
     | 
    
         
            +
              yaml: () => import_js_yaml.default
         
     | 
| 
      
 59 
     | 
    
         
            +
            });
         
     | 
| 
      
 60 
     | 
    
         
            +
            module.exports = __toCommonJS(compiled_exports);
         
     | 
| 
      
 61 
     | 
    
         
            +
            var import_import = require("./import");
         
     | 
| 
      
 62 
     | 
    
         
            +
            var import_fs_extra = __toESM(require("../compiled/fs-extra"));
         
     | 
| 
      
 63 
     | 
    
         
            +
            var import_ora = __toESM(require("../compiled/ora"));
         
     | 
| 
      
 64 
     | 
    
         
            +
            var import_glob = __toESM(require("../compiled/glob"));
         
     | 
| 
      
 65 
     | 
    
         
            +
            var import_js_yaml = __toESM(require("../compiled/js-yaml"));
         
     | 
| 
      
 66 
     | 
    
         
            +
            var import_chalk = __toESM(require("../compiled/chalk"));
         
     | 
| 
      
 67 
     | 
    
         
            +
            var import_debug = __toESM(require("../compiled/debug"));
         
     | 
| 
      
 68 
     | 
    
         
            +
            var import_slash = __toESM(require("../compiled/slash"));
         
     | 
| 
      
 69 
     | 
    
         
            +
            var import_execa = __toESM(require("../compiled/execa"));
         
     | 
| 
      
 70 
     | 
    
         
            +
            var import_json5 = __toESM(require("../compiled/json5"));
         
     | 
| 
      
 71 
     | 
    
         
            +
            var import_upath = __toESM(require("../compiled/upath"));
         
     | 
| 
      
 72 
     | 
    
         
            +
            var import_pkg_up = __toESM(require("../compiled/pkg-up"));
         
     | 
| 
      
 73 
     | 
    
         
            +
            var import_nanoid = require("../compiled/nanoid");
         
     | 
| 
      
 74 
     | 
    
         
            +
            var import_semver = __toESM(require("../compiled/semver"));
         
     | 
| 
      
 75 
     | 
    
         
            +
            var import_dotenv = __toESM(require("../compiled/dotenv"));
         
     | 
| 
      
 76 
     | 
    
         
            +
            var import_lodash = __toESM(require("../compiled/lodash"));
         
     | 
| 
      
 77 
     | 
    
         
            +
            var import_globby = __toESM(require("../compiled/globby"));
         
     | 
| 
      
 78 
     | 
    
         
            +
            var import_address = __toESM(require("../compiled/address"));
         
     | 
| 
      
 79 
     | 
    
         
            +
            var import_signale = __toESM(require("../compiled/signale"));
         
     | 
| 
      
 80 
     | 
    
         
            +
            var import_url_join = __toESM(require("../compiled/url-join"));
         
     | 
| 
      
 81 
     | 
    
         
            +
            var import_minimist = __toESM(require("../compiled/minimist"));
         
     | 
| 
      
 82 
     | 
    
         
            +
            var import_fast_glob = __toESM(require("../compiled/fast-glob"));
         
     | 
| 
      
 83 
     | 
    
         
            +
            var import_filesize = __toESM(require("../compiled/filesize"));
         
     | 
| 
      
 84 
     | 
    
         
            +
            var import_gzip_size = __toESM(require("../compiled/gzip-size"));
         
     | 
| 
      
 85 
     | 
    
         
            +
            var import_strip_ansi = __toESM(require("../compiled/strip-ansi"));
         
     | 
| 
      
 86 
     | 
    
         
            +
            var import_dotenv_expand = __toESM(require("../compiled/dotenv-expand"));
         
     | 
| 
      
 87 
     | 
    
         
            +
            var import_browserslist = __toESM(require("../compiled/browserslist"));
         
     | 
| 
      
 88 
     | 
    
         
            +
            var import_recursive_readdir = __toESM(require("../compiled/recursive-readdir"));
         
     | 
| 
      
 89 
     | 
    
         
            +
            var import_commander = require("../compiled/commander");
         
     | 
| 
      
 90 
     | 
    
         
            +
            var import_signale2 = require("../compiled/signale");
         
     | 
| 
      
 91 
     | 
    
         
            +
            const mime = import_import.Import.lazy(
         
     | 
| 
      
 92 
     | 
    
         
            +
              "../compiled/mime-types",
         
     | 
| 
      
 93 
     | 
    
         
            +
              require
         
     | 
| 
      
 94 
     | 
    
         
            +
            );
         
     | 
| 
      
 95 
     | 
    
         
            +
            const chokidar = import_import.Import.lazy(
         
     | 
| 
      
 96 
     | 
    
         
            +
              "../compiled/chokidar",
         
     | 
| 
      
 97 
     | 
    
         
            +
              require
         
     | 
| 
      
 98 
     | 
    
         
            +
            );
         
     | 
| 
      
 99 
     | 
    
         
            +
            const inquirer = import_import.Import.lazy(
         
     | 
| 
      
 100 
     | 
    
         
            +
              "../compiled/inquirer",
         
     | 
| 
      
 101 
     | 
    
         
            +
              require
         
     | 
| 
      
 102 
     | 
    
         
            +
            );
         
     | 
| 
      
 103 
     | 
    
         
            +
            // Annotate the CommonJS export names for ESM import in node:
         
     | 
| 
      
 104 
     | 
    
         
            +
            0 && (module.exports = {
         
     | 
| 
      
 105 
     | 
    
         
            +
              Command,
         
     | 
| 
      
 106 
     | 
    
         
            +
              Signale,
         
     | 
| 
      
 107 
     | 
    
         
            +
              address,
         
     | 
| 
      
 108 
     | 
    
         
            +
              browserslist,
         
     | 
| 
      
 109 
     | 
    
         
            +
              chalk,
         
     | 
| 
      
 110 
     | 
    
         
            +
              chokidar,
         
     | 
| 
      
 111 
     | 
    
         
            +
              debug,
         
     | 
| 
      
 112 
     | 
    
         
            +
              dotenv,
         
     | 
| 
      
 113 
     | 
    
         
            +
              dotenvExpand,
         
     | 
| 
      
 114 
     | 
    
         
            +
              execa,
         
     | 
| 
      
 115 
     | 
    
         
            +
              fastGlob,
         
     | 
| 
      
 116 
     | 
    
         
            +
              filesize,
         
     | 
| 
      
 117 
     | 
    
         
            +
              fs,
         
     | 
| 
      
 118 
     | 
    
         
            +
              glob,
         
     | 
| 
      
 119 
     | 
    
         
            +
              globby,
         
     | 
| 
      
 120 
     | 
    
         
            +
              gzipSize,
         
     | 
| 
      
 121 
     | 
    
         
            +
              inquirer,
         
     | 
| 
      
 122 
     | 
    
         
            +
              json5,
         
     | 
| 
      
 123 
     | 
    
         
            +
              lodash,
         
     | 
| 
      
 124 
     | 
    
         
            +
              mime,
         
     | 
| 
      
 125 
     | 
    
         
            +
              minimist,
         
     | 
| 
      
 126 
     | 
    
         
            +
              nanoid,
         
     | 
| 
      
 127 
     | 
    
         
            +
              ora,
         
     | 
| 
      
 128 
     | 
    
         
            +
              pkgUp,
         
     | 
| 
      
 129 
     | 
    
         
            +
              program,
         
     | 
| 
      
 130 
     | 
    
         
            +
              recursiveReaddir,
         
     | 
| 
      
 131 
     | 
    
         
            +
              semver,
         
     | 
| 
      
 132 
     | 
    
         
            +
              signale,
         
     | 
| 
      
 133 
     | 
    
         
            +
              slash,
         
     | 
| 
      
 134 
     | 
    
         
            +
              stripAnsi,
         
     | 
| 
      
 135 
     | 
    
         
            +
              upath,
         
     | 
| 
      
 136 
     | 
    
         
            +
              urlJoin,
         
     | 
| 
      
 137 
     | 
    
         
            +
              yaml
         
     | 
| 
      
 138 
     | 
    
         
            +
            });
         
     | 
    
        package/dist/constants.d.ts
    CHANGED
    
    | 
         @@ -2,86 +2,111 @@ import { InternalPlugins } from '@modern-js/types'; 
     | 
|
| 
       2 
2 
     | 
    
         
             
            /**
         
     | 
| 
       3 
3 
     | 
    
         
             
             * hmr socket connect path
         
     | 
| 
       4 
4 
     | 
    
         
             
             */
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
       5 
6 
     | 
    
         
             
            export declare const HMR_SOCK_PATH = "/webpack-hmr";
         
     | 
| 
       6 
7 
     | 
    
         
             
            /**
         
     | 
| 
       7 
8 
     | 
    
         
             
             * route specification file
         
     | 
| 
       8 
9 
     | 
    
         
             
             */
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
       9 
11 
     | 
    
         
             
            export declare const ROUTE_SPEC_FILE = "route.json";
         
     | 
| 
       10 
12 
     | 
    
         
             
            /**
         
     | 
| 
       11 
13 
     | 
    
         
             
             * main entry name
         
     | 
| 
       12 
14 
     | 
    
         
             
             */
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
       13 
16 
     | 
    
         
             
            export declare const MAIN_ENTRY_NAME = "main";
         
     | 
| 
       14 
17 
     | 
    
         
             
            /**
         
     | 
| 
       15 
18 
     | 
    
         
             
             * open editor request path
         
     | 
| 
       16 
19 
     | 
    
         
             
             */
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
       17 
21 
     | 
    
         
             
            export declare const LAUNCH_EDITOR_ENDPOINT = "/__open-stack-frame-in-editor";
         
     | 
| 
       18 
22 
     | 
    
         
             
            /**
         
     | 
| 
       19 
23 
     | 
    
         
             
             * server side bundles directory, which relative to dist.
         
     | 
| 
       20 
24 
     | 
    
         
             
             */
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
       21 
26 
     | 
    
         
             
            export declare const SERVER_BUNDLE_DIRECTORY = "bundles";
         
     | 
| 
      
 27 
     | 
    
         
            +
            /**
         
     | 
| 
      
 28 
     | 
    
         
            +
             * server side bundles directory, which relative to dist.
         
     | 
| 
      
 29 
     | 
    
         
            +
             */
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
            export declare const SERVER_WORKER_BUNDLE_DIRECTORY = "worker";
         
     | 
| 
       22 
32 
     | 
    
         
             
            /**
         
     | 
| 
       23 
33 
     | 
    
         
             
             * entry name pattern used for ajv pattern properties.
         
     | 
| 
       24 
34 
     | 
    
         
             
             */
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
       25 
36 
     | 
    
         
             
            export declare const ENTRY_NAME_PATTERN = "^[a-zA-Z0-9_-]+$";
         
     | 
| 
       26 
37 
     | 
    
         
             
            /**
         
     | 
| 
       27 
38 
     | 
    
         
             
             * SSR server render function name
         
     | 
| 
       28 
39 
     | 
    
         
             
             */
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
       29 
41 
     | 
    
         
             
            export declare const SERVER_RENDER_FUNCTION_NAME = "serverRender";
         
     | 
| 
       30 
42 
     | 
    
         
             
            /**
         
     | 
| 
       31 
43 
     | 
    
         
             
             * loadbale manifest json file
         
     | 
| 
       32 
44 
     | 
    
         
             
             */
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
       33 
46 
     | 
    
         
             
            export declare const LOADABLE_STATS_FILE = "loadable-stats.json";
         
     | 
| 
       34 
47 
     | 
    
         
             
            /**
         
     | 
| 
       35 
48 
     | 
    
         
             
             * internal specified folder
         
     | 
| 
       36 
49 
     | 
    
         
             
             */
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
       37 
51 
     | 
    
         
             
            export declare const API_DIR = "api";
         
     | 
| 
       38 
52 
     | 
    
         
             
            export declare const SERVER_DIR = "server";
         
     | 
| 
       39 
53 
     | 
    
         
             
            export declare const SHARED_DIR = "shared";
         
     | 
| 
       40 
54 
     | 
    
         
             
            /**
         
     | 
| 
       41 
55 
     | 
    
         
             
             * Modern.config.ts cached dir
         
     | 
| 
       42 
56 
     | 
    
         
             
             */
         
     | 
| 
      
 57 
     | 
    
         
            +
             
     | 
| 
       43 
58 
     | 
    
         
             
            export declare const CONFIG_CACHE_DIR = "./node_modules/.cache/node-bundle-require";
         
     | 
| 
       44 
59 
     | 
    
         
             
            export declare const CONFIG_FILE_EXTENSIONS: string[];
         
     | 
| 
       45 
60 
     | 
    
         
             
            /**
         
     | 
| 
       46 
61 
     | 
    
         
             
             * Serialized config path
         
     | 
| 
       47 
62 
     | 
    
         
             
             */
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
       48 
64 
     | 
    
         
             
            export declare const OUTPUT_CONFIG_FILE = "modern.config.json";
         
     | 
| 
       49 
65 
     | 
    
         
             
            /**
         
     | 
| 
       50 
66 
     | 
    
         
             
             * Default server config basename
         
     | 
| 
       51 
67 
     | 
    
         
             
             */
         
     | 
| 
      
 68 
     | 
    
         
            +
             
     | 
| 
       52 
69 
     | 
    
         
             
            export declare const DEFAULT_SERVER_CONFIG = "modern.server-runtime.config";
         
     | 
| 
       53 
70 
     | 
    
         
             
            /**
         
     | 
| 
       54 
71 
     | 
    
         
             
             * Routes manifest filename
         
     | 
| 
       55 
72 
     | 
    
         
             
             */
         
     | 
| 
      
 73 
     | 
    
         
            +
             
     | 
| 
       56 
74 
     | 
    
         
             
            export declare const ROUTE_MINIFEST_FILE = "routes-manifest.json";
         
     | 
| 
       57 
75 
     | 
    
         
             
            /**
         
     | 
| 
       58 
76 
     | 
    
         
             
             * Property mounted on window that describes route manifest
         
     | 
| 
       59 
77 
     | 
    
         
             
             */
         
     | 
| 
      
 78 
     | 
    
         
            +
             
     | 
| 
       60 
79 
     | 
    
         
             
            export declare const ROUTE_MANIFEST = "_MODERNJS_ROUTE_MANIFEST";
         
     | 
| 
       61 
80 
     | 
    
         
             
            /**
         
     | 
| 
       62 
81 
     | 
    
         
             
             * directory name for loader routes
         
     | 
| 
       63 
82 
     | 
    
         
             
             */
         
     | 
| 
      
 83 
     | 
    
         
            +
             
     | 
| 
       64 
84 
     | 
    
         
             
            export declare const LOADER_ROUTES_DIR = "loader-routes";
         
     | 
| 
       65 
85 
     | 
    
         
             
            /**
         
     | 
| 
       66 
86 
     | 
    
         
             
             * Internal app-tools plugins that work as soon as they are installed.
         
     | 
| 
       67 
87 
     | 
    
         
             
             */
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
       68 
89 
     | 
    
         
             
            export declare const INTERNAL_APP_TOOLS_PLUGINS: InternalPlugins;
         
     | 
| 
       69 
90 
     | 
    
         
             
            export declare const INTERNAL_APP_TOOLS_RUNTIME_PLUGINS: InternalPlugins;
         
     | 
| 
       70 
91 
     | 
    
         
             
            /**
         
     | 
| 
       71 
92 
     | 
    
         
             
             * Internal module-tools plugins that work as soon as they are installed.
         
     | 
| 
       72 
93 
     | 
    
         
             
             */
         
     | 
| 
      
 94 
     | 
    
         
            +
             
     | 
| 
       73 
95 
     | 
    
         
             
            export declare const INTERNAL_MODULE_TOOLS_PLUGINS: InternalPlugins;
         
     | 
| 
       74 
96 
     | 
    
         
             
            /**
         
     | 
| 
       75 
97 
     | 
    
         
             
             * Internal monorepo-tools plugins that work as soon as they are installed.
         
     | 
| 
       76 
98 
     | 
    
         
             
             */
         
     | 
| 
      
 99 
     | 
    
         
            +
             
     | 
| 
       77 
100 
     | 
    
         
             
            export declare const INTERNAL_MONOREPO_TOOLS_PLUGINS: InternalPlugins;
         
     | 
| 
       78 
101 
     | 
    
         
             
            /**
         
     | 
| 
       79 
102 
     | 
    
         
             
             * Internal doc-tools plugins that work as soon as they are installed.
         
     | 
| 
       80 
103 
     | 
    
         
             
             */
         
     | 
| 
      
 104 
     | 
    
         
            +
             
     | 
| 
       81 
105 
     | 
    
         
             
            export declare const INTERNAL_DOC_TOOLS_PLUGINS: InternalPlugins;
         
     | 
| 
       82 
106 
     | 
    
         
             
            /**
         
     | 
| 
       83 
107 
     | 
    
         
             
             * Internal plugins that work as soon as they are installed.
         
     | 
| 
       84 
108 
     | 
    
         
             
             */
         
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
       85 
110 
     | 
    
         
             
            export declare const INTERNAL_CLI_PLUGINS: InternalPlugins;
         
     | 
| 
       86 
111 
     | 
    
         
             
            export declare const SERVER_PLUGIN_BFF = "@modern-js/plugin-bff";
         
     | 
| 
       87 
112 
     | 
    
         
             
            export declare const SERVER_PLUGIN_EXPRESS = "@modern-js/plugin-express";
         
     | 
| 
         @@ -94,115 +119,116 @@ export declare const INTERNAL_SERVER_PLUGINS: InternalPlugins; 
     | 
|
| 
       94 
119 
     | 
    
         
             
            /**
         
     | 
| 
       95 
120 
     | 
    
         
             
             * The schema registered in the plugin.
         
     | 
| 
       96 
121 
     | 
    
         
             
             */
         
     | 
| 
      
 122 
     | 
    
         
            +
             
     | 
| 
       97 
123 
     | 
    
         
             
            export declare const PLUGIN_SCHEMAS: {
         
     | 
| 
       98 
     | 
    
         
            -
             
     | 
| 
       99 
     | 
    
         
            -
             
     | 
| 
       100 
     | 
    
         
            -
             
     | 
| 
       101 
     | 
    
         
            -
             
     | 
| 
       102 
     | 
    
         
            -
             
     | 
| 
       103 
     | 
    
         
            -
             
     | 
| 
       104 
     | 
    
         
            -
             
     | 
| 
       105 
     | 
    
         
            -
             
     | 
| 
       106 
     | 
    
         
            -
             
     | 
| 
       107 
     | 
    
         
            -
             
     | 
| 
       108 
     | 
    
         
            -
             
     | 
| 
       109 
     | 
    
         
            -
             
     | 
| 
       110 
     | 
    
         
            -
             
     | 
| 
       111 
     | 
    
         
            -
             
     | 
| 
       112 
     | 
    
         
            -
                            };
         
     | 
| 
       113 
     | 
    
         
            -
                        };
         
     | 
| 
       114 
     | 
    
         
            -
                        additionalProperties: boolean;
         
     | 
| 
       115 
     | 
    
         
            -
                    };
         
     | 
| 
       116 
     | 
    
         
            -
                })[];
         
     | 
| 
       117 
     | 
    
         
            -
                '@modern-js/plugin-swc': {
         
     | 
| 
       118 
     | 
    
         
            -
                    target: string;
         
     | 
| 
       119 
     | 
    
         
            -
                    schema: {
         
     | 
| 
       120 
     | 
    
         
            -
                        typeof: string[];
         
     | 
| 
      
 124 
     | 
    
         
            +
              '@modern-js/runtime': ({
         
     | 
| 
      
 125 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 126 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 127 
     | 
    
         
            +
                  type: string;
         
     | 
| 
      
 128 
     | 
    
         
            +
                  additionalProperties: boolean;
         
     | 
| 
      
 129 
     | 
    
         
            +
                  patternProperties?: undefined;
         
     | 
| 
      
 130 
     | 
    
         
            +
                };
         
     | 
| 
      
 131 
     | 
    
         
            +
              } | {
         
     | 
| 
      
 132 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 133 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 134 
     | 
    
         
            +
                  type: string;
         
     | 
| 
      
 135 
     | 
    
         
            +
                  patternProperties: {
         
     | 
| 
      
 136 
     | 
    
         
            +
                    "^[a-zA-Z0-9_-]+$": {
         
     | 
| 
      
 137 
     | 
    
         
            +
                      type: string;
         
     | 
| 
       121 
138 
     | 
    
         
             
                    };
         
     | 
| 
       122 
     | 
    
         
            -
             
     | 
| 
       123 
     | 
    
         
            -
             
     | 
| 
       124 
     | 
    
         
            -
             
     | 
| 
       125 
     | 
    
         
            -
             
     | 
| 
      
 139 
     | 
    
         
            +
                  };
         
     | 
| 
      
 140 
     | 
    
         
            +
                  additionalProperties: boolean;
         
     | 
| 
      
 141 
     | 
    
         
            +
                };
         
     | 
| 
      
 142 
     | 
    
         
            +
              })[];
         
     | 
| 
      
 143 
     | 
    
         
            +
              '@modern-js/plugin-swc': {
         
     | 
| 
      
 144 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 145 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 146 
     | 
    
         
            +
                  typeof: string[];
         
     | 
| 
      
 147 
     | 
    
         
            +
                };
         
     | 
| 
      
 148 
     | 
    
         
            +
              }[];
         
     | 
| 
      
 149 
     | 
    
         
            +
              '@modern-js/plugin-bff': {
         
     | 
| 
      
 150 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 151 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 152 
     | 
    
         
            +
                  type: string;
         
     | 
| 
      
 153 
     | 
    
         
            +
                  properties: {
         
     | 
| 
      
 154 
     | 
    
         
            +
                    prefix: {
         
     | 
| 
      
 155 
     | 
    
         
            +
                      type: string[];
         
     | 
| 
      
 156 
     | 
    
         
            +
                      items: {
         
     | 
| 
       126 
157 
     | 
    
         
             
                        type: string;
         
     | 
| 
       127 
     | 
    
         
            -
             
     | 
| 
       128 
     | 
    
         
            -
                            prefix: {
         
     | 
| 
       129 
     | 
    
         
            -
                                type: string[];
         
     | 
| 
       130 
     | 
    
         
            -
                                items: {
         
     | 
| 
       131 
     | 
    
         
            -
                                    type: string;
         
     | 
| 
       132 
     | 
    
         
            -
                                };
         
     | 
| 
       133 
     | 
    
         
            -
                            };
         
     | 
| 
       134 
     | 
    
         
            -
                            fetcher: {
         
     | 
| 
       135 
     | 
    
         
            -
                                type: string;
         
     | 
| 
       136 
     | 
    
         
            -
                            };
         
     | 
| 
       137 
     | 
    
         
            -
                            proxy: {
         
     | 
| 
       138 
     | 
    
         
            -
                                type: string;
         
     | 
| 
       139 
     | 
    
         
            -
                            };
         
     | 
| 
       140 
     | 
    
         
            -
                            requestCreator: {
         
     | 
| 
       141 
     | 
    
         
            -
                                type: string;
         
     | 
| 
       142 
     | 
    
         
            -
                            };
         
     | 
| 
       143 
     | 
    
         
            -
                        };
         
     | 
| 
       144 
     | 
    
         
            -
                    };
         
     | 
| 
       145 
     | 
    
         
            -
                }[];
         
     | 
| 
       146 
     | 
    
         
            -
                '@modern-js/plugin-tailwindcss': {
         
     | 
| 
       147 
     | 
    
         
            -
                    target: string;
         
     | 
| 
       148 
     | 
    
         
            -
                    schema: {
         
     | 
| 
       149 
     | 
    
         
            -
                        typeof: string[];
         
     | 
| 
       150 
     | 
    
         
            -
                    };
         
     | 
| 
       151 
     | 
    
         
            -
                }[];
         
     | 
| 
       152 
     | 
    
         
            -
                '@modern-js/plugin-proxy': {
         
     | 
| 
       153 
     | 
    
         
            -
                    target: string;
         
     | 
| 
       154 
     | 
    
         
            -
                    schema: {
         
     | 
| 
       155 
     | 
    
         
            -
                        typeof: string[];
         
     | 
| 
       156 
     | 
    
         
            -
                    };
         
     | 
| 
       157 
     | 
    
         
            -
                }[];
         
     | 
| 
       158 
     | 
    
         
            -
                '@modern-js/plugin-ssg': {
         
     | 
| 
       159 
     | 
    
         
            -
                    target: string;
         
     | 
| 
       160 
     | 
    
         
            -
                    schema: {
         
     | 
| 
       161 
     | 
    
         
            -
                        oneOf: ({
         
     | 
| 
       162 
     | 
    
         
            -
                            type: string;
         
     | 
| 
       163 
     | 
    
         
            -
                            instanceof?: undefined;
         
     | 
| 
       164 
     | 
    
         
            -
                        } | {
         
     | 
| 
       165 
     | 
    
         
            -
                            instanceof: string;
         
     | 
| 
       166 
     | 
    
         
            -
                            type?: undefined;
         
     | 
| 
       167 
     | 
    
         
            -
                        })[];
         
     | 
| 
       168 
     | 
    
         
            -
                    };
         
     | 
| 
       169 
     | 
    
         
            -
                }[];
         
     | 
| 
       170 
     | 
    
         
            -
                '@modern-js/plugin-state': {
         
     | 
| 
       171 
     | 
    
         
            -
                    target: string;
         
     | 
| 
       172 
     | 
    
         
            -
                    schema: {
         
     | 
| 
       173 
     | 
    
         
            -
                        type: string[];
         
     | 
| 
       174 
     | 
    
         
            -
                    };
         
     | 
| 
       175 
     | 
    
         
            -
                }[];
         
     | 
| 
       176 
     | 
    
         
            -
                '@modern-js/plugin-design-token': ({
         
     | 
| 
       177 
     | 
    
         
            -
                    target: string;
         
     | 
| 
       178 
     | 
    
         
            -
                    schema: {
         
     | 
| 
       179 
     | 
    
         
            -
                        typeof: string[];
         
     | 
| 
       180 
     | 
    
         
            -
                        type?: undefined;
         
     | 
| 
       181 
     | 
    
         
            -
                    };
         
     | 
| 
       182 
     | 
    
         
            -
                } | {
         
     | 
| 
       183 
     | 
    
         
            -
                    target: string;
         
     | 
| 
       184 
     | 
    
         
            -
                    schema: {
         
     | 
| 
       185 
     | 
    
         
            -
                        type: string[];
         
     | 
| 
       186 
     | 
    
         
            -
                        typeof?: undefined;
         
     | 
| 
      
 158 
     | 
    
         
            +
                      };
         
     | 
| 
       187 
159 
     | 
    
         
             
                    };
         
     | 
| 
       188 
     | 
    
         
            -
             
     | 
| 
       189 
     | 
    
         
            -
             
     | 
| 
       190 
     | 
    
         
            -
                    target: string;
         
     | 
| 
       191 
     | 
    
         
            -
                    schema: {
         
     | 
| 
       192 
     | 
    
         
            -
                        type: string[];
         
     | 
| 
      
 160 
     | 
    
         
            +
                    fetcher: {
         
     | 
| 
      
 161 
     | 
    
         
            +
                      type: string;
         
     | 
| 
       193 
162 
     | 
    
         
             
                    };
         
     | 
| 
       194 
     | 
    
         
            -
             
     | 
| 
       195 
     | 
    
         
            -
             
     | 
| 
       196 
     | 
    
         
            -
                    target: string;
         
     | 
| 
       197 
     | 
    
         
            -
                    schema: {
         
     | 
| 
       198 
     | 
    
         
            -
                        typeof: string[];
         
     | 
| 
      
 163 
     | 
    
         
            +
                    proxy: {
         
     | 
| 
      
 164 
     | 
    
         
            +
                      type: string;
         
     | 
| 
       199 
165 
     | 
    
         
             
                    };
         
     | 
| 
       200 
     | 
    
         
            -
             
     | 
| 
       201 
     | 
    
         
            -
             
     | 
| 
       202 
     | 
    
         
            -
                    target: string;
         
     | 
| 
       203 
     | 
    
         
            -
                    schema: {
         
     | 
| 
       204 
     | 
    
         
            -
                        type: string[];
         
     | 
| 
      
 166 
     | 
    
         
            +
                    requestCreator: {
         
     | 
| 
      
 167 
     | 
    
         
            +
                      type: string;
         
     | 
| 
       205 
168 
     | 
    
         
             
                    };
         
     | 
| 
       206 
     | 
    
         
            -
             
     | 
| 
       207 
     | 
    
         
            -
                 
     | 
| 
       208 
     | 
    
         
            -
            };
         
     | 
| 
      
 169 
     | 
    
         
            +
                  };
         
     | 
| 
      
 170 
     | 
    
         
            +
                };
         
     | 
| 
      
 171 
     | 
    
         
            +
              }[];
         
     | 
| 
      
 172 
     | 
    
         
            +
              '@modern-js/plugin-tailwindcss': {
         
     | 
| 
      
 173 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 174 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 175 
     | 
    
         
            +
                  typeof: string[];
         
     | 
| 
      
 176 
     | 
    
         
            +
                };
         
     | 
| 
      
 177 
     | 
    
         
            +
              }[];
         
     | 
| 
      
 178 
     | 
    
         
            +
              '@modern-js/plugin-proxy': {
         
     | 
| 
      
 179 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 180 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 181 
     | 
    
         
            +
                  typeof: string[];
         
     | 
| 
      
 182 
     | 
    
         
            +
                };
         
     | 
| 
      
 183 
     | 
    
         
            +
              }[];
         
     | 
| 
      
 184 
     | 
    
         
            +
              '@modern-js/plugin-ssg': {
         
     | 
| 
      
 185 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 186 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 187 
     | 
    
         
            +
                  oneOf: ({
         
     | 
| 
      
 188 
     | 
    
         
            +
                    type: string;
         
     | 
| 
      
 189 
     | 
    
         
            +
                    instanceof?: undefined;
         
     | 
| 
      
 190 
     | 
    
         
            +
                  } | {
         
     | 
| 
      
 191 
     | 
    
         
            +
                    instanceof: string;
         
     | 
| 
      
 192 
     | 
    
         
            +
                    type?: undefined;
         
     | 
| 
      
 193 
     | 
    
         
            +
                  })[];
         
     | 
| 
      
 194 
     | 
    
         
            +
                };
         
     | 
| 
      
 195 
     | 
    
         
            +
              }[];
         
     | 
| 
      
 196 
     | 
    
         
            +
              '@modern-js/plugin-state': {
         
     | 
| 
      
 197 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 198 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 199 
     | 
    
         
            +
                  type: string[];
         
     | 
| 
      
 200 
     | 
    
         
            +
                };
         
     | 
| 
      
 201 
     | 
    
         
            +
              }[];
         
     | 
| 
      
 202 
     | 
    
         
            +
              '@modern-js/plugin-design-token': ({
         
     | 
| 
      
 203 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 204 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 205 
     | 
    
         
            +
                  typeof: string[];
         
     | 
| 
      
 206 
     | 
    
         
            +
                  type?: undefined;
         
     | 
| 
      
 207 
     | 
    
         
            +
                };
         
     | 
| 
      
 208 
     | 
    
         
            +
              } | {
         
     | 
| 
      
 209 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 210 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 211 
     | 
    
         
            +
                  type: string[];
         
     | 
| 
      
 212 
     | 
    
         
            +
                  typeof?: undefined;
         
     | 
| 
      
 213 
     | 
    
         
            +
                };
         
     | 
| 
      
 214 
     | 
    
         
            +
              })[];
         
     | 
| 
      
 215 
     | 
    
         
            +
              '@modern-js/plugin-router': {
         
     | 
| 
      
 216 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 217 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 218 
     | 
    
         
            +
                  type: string[];
         
     | 
| 
      
 219 
     | 
    
         
            +
                };
         
     | 
| 
      
 220 
     | 
    
         
            +
              }[];
         
     | 
| 
      
 221 
     | 
    
         
            +
              '@modern-js/plugin-testing': {
         
     | 
| 
      
 222 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 223 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 224 
     | 
    
         
            +
                  typeof: string[];
         
     | 
| 
      
 225 
     | 
    
         
            +
                };
         
     | 
| 
      
 226 
     | 
    
         
            +
              }[];
         
     | 
| 
      
 227 
     | 
    
         
            +
              '@modern-js/plugin-garfish': {
         
     | 
| 
      
 228 
     | 
    
         
            +
                target: string;
         
     | 
| 
      
 229 
     | 
    
         
            +
                schema: {
         
     | 
| 
      
 230 
     | 
    
         
            +
                  type: string[];
         
     | 
| 
      
 231 
     | 
    
         
            +
                };
         
     | 
| 
      
 232 
     | 
    
         
            +
              }[];
         
     | 
| 
      
 233 
     | 
    
         
            +
              '@modern-js/plugin-nocode': never[];
         
     | 
| 
      
 234 
     | 
    
         
            +
            };
         
     |