@modern-js/utils 2.53.0 → 2.54.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/dist/cjs/cli/constants.js +11 -2
- package/dist/cjs/cli/get/index.js +6 -0
- package/dist/cjs/universal/constants.js +0 -9
- package/dist/esm/cli/constants.js +10 -2
- package/dist/esm/cli/get/index.js +6 -0
- package/dist/esm/universal/constants.js +0 -4
- package/dist/esm-node/cli/constants.js +10 -2
- package/dist/esm-node/cli/get/index.js +5 -0
- package/dist/esm-node/universal/constants.js +0 -8
- package/dist/types/cli/constants.d.ts +6 -1
- package/dist/types/cli/get/index.d.ts +7 -0
- package/dist/types/universal/constants.d.ts +0 -2
- package/package.json +5 -5
@@ -22,6 +22,7 @@ __export(constants_exports, {
|
|
22
22
|
CONFIG_CACHE_DIR: () => CONFIG_CACHE_DIR,
|
23
23
|
CONFIG_FILE_EXTENSIONS: () => CONFIG_FILE_EXTENSIONS,
|
24
24
|
DEFAULT_DEV_HOST: () => DEFAULT_DEV_HOST,
|
25
|
+
DEFAULT_RUNTIME_CONFIG: () => DEFAULT_RUNTIME_CONFIG,
|
25
26
|
DEFAULT_SERVER_CONFIG: () => DEFAULT_SERVER_CONFIG,
|
26
27
|
ENTRY_NAME_PATTERN: () => ENTRY_NAME_PATTERN,
|
27
28
|
INTERNAL_APP_TOOLS_PLUGINS: () => INTERNAL_APP_TOOLS_PLUGINS,
|
@@ -30,7 +31,7 @@ __export(constants_exports, {
|
|
30
31
|
INTERNAL_DOC_TOOLS_PLUGINS: () => INTERNAL_DOC_TOOLS_PLUGINS,
|
31
32
|
INTERNAL_MODULE_TOOLS_PLUGINS: () => INTERNAL_MODULE_TOOLS_PLUGINS,
|
32
33
|
INTERNAL_MONOREPO_TOOLS_PLUGINS: () => INTERNAL_MONOREPO_TOOLS_PLUGINS,
|
33
|
-
|
34
|
+
JS_EXTENSIONS: () => JS_EXTENSIONS,
|
34
35
|
LOADABLE_STATS_FILE: () => LOADABLE_STATS_FILE,
|
35
36
|
LOADER_ROUTES_DIR: () => LOADER_ROUTES_DIR,
|
36
37
|
MAIN_ENTRY_NAME: () => import_constants.MAIN_ENTRY_NAME,
|
@@ -51,6 +52,12 @@ __export(constants_exports, {
|
|
51
52
|
});
|
52
53
|
module.exports = __toCommonJS(constants_exports);
|
53
54
|
var import_constants = require("../universal/constants");
|
55
|
+
const JS_EXTENSIONS = [
|
56
|
+
".js",
|
57
|
+
".ts",
|
58
|
+
".jsx",
|
59
|
+
".tsx"
|
60
|
+
];
|
54
61
|
const SERVER_WORKER_BUNDLE_DIRECTORY = "worker";
|
55
62
|
const ENTRY_NAME_PATTERN = "^[a-zA-Z0-9_-]+$";
|
56
63
|
const LOADABLE_STATS_FILE = "loadable-stats.json";
|
@@ -64,6 +71,7 @@ const CONFIG_FILE_EXTENSIONS = [
|
|
64
71
|
".mjs"
|
65
72
|
];
|
66
73
|
const OUTPUT_CONFIG_FILE = "modern.config.json";
|
74
|
+
const DEFAULT_RUNTIME_CONFIG = "modern.runtime";
|
67
75
|
const DEFAULT_SERVER_CONFIG = "modern.server-runtime.config";
|
68
76
|
const ROUTE_MANIFEST_FILE = "routes-manifest.json";
|
69
77
|
const LOADER_ROUTES_DIR = `loader-routes`;
|
@@ -127,6 +135,7 @@ const INTERNAL_CLI_PLUGINS = {
|
|
127
135
|
CONFIG_CACHE_DIR,
|
128
136
|
CONFIG_FILE_EXTENSIONS,
|
129
137
|
DEFAULT_DEV_HOST,
|
138
|
+
DEFAULT_RUNTIME_CONFIG,
|
130
139
|
DEFAULT_SERVER_CONFIG,
|
131
140
|
ENTRY_NAME_PATTERN,
|
132
141
|
INTERNAL_APP_TOOLS_PLUGINS,
|
@@ -135,7 +144,7 @@ const INTERNAL_CLI_PLUGINS = {
|
|
135
144
|
INTERNAL_DOC_TOOLS_PLUGINS,
|
136
145
|
INTERNAL_MODULE_TOOLS_PLUGINS,
|
137
146
|
INTERNAL_MONOREPO_TOOLS_PLUGINS,
|
138
|
-
|
147
|
+
JS_EXTENSIONS,
|
139
148
|
LOADABLE_STATS_FILE,
|
140
149
|
LOADER_ROUTES_DIR,
|
141
150
|
MAIN_ENTRY_NAME,
|
@@ -29,6 +29,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
29
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
30
30
|
var get_exports = {};
|
31
31
|
__export(get_exports, {
|
32
|
+
getMeta: () => getMeta,
|
32
33
|
getServerConfig: () => getServerConfig,
|
33
34
|
getTargetDir: () => getTargetDir
|
34
35
|
});
|
@@ -42,12 +43,17 @@ const getServerConfig = async (appDirectory, configFile) => {
|
|
42
43
|
const configFilePath = (0, import_fs.findExists)(import_constants.CONFIG_FILE_EXTENSIONS.map((extension) => import_path.default.resolve(appDirectory, `${configFile}${extension}`)));
|
43
44
|
return configFilePath;
|
44
45
|
};
|
46
|
+
const getMeta = (metaName = "modern-js") => {
|
47
|
+
const meta = metaName.toLowerCase().split("-")[0];
|
48
|
+
return meta;
|
49
|
+
};
|
45
50
|
const getTargetDir = (from, baseDir, targetBaseDir) => {
|
46
51
|
const relativePath = import_path.default.relative(baseDir, from);
|
47
52
|
return import_path.default.resolve(targetBaseDir, relativePath);
|
48
53
|
};
|
49
54
|
// Annotate the CommonJS export names for ESM import in node:
|
50
55
|
0 && (module.exports = {
|
56
|
+
getMeta,
|
51
57
|
getServerConfig,
|
52
58
|
getTargetDir,
|
53
59
|
...require("./data"),
|
@@ -20,7 +20,6 @@ var constants_exports = {};
|
|
20
20
|
__export(constants_exports, {
|
21
21
|
HMR_SOCK_PATH: () => HMR_SOCK_PATH,
|
22
22
|
HTML_CHUNKSMAP_SEPARATOR: () => HTML_CHUNKSMAP_SEPARATOR,
|
23
|
-
INTERNAL_SERVER_PLUGINS: () => INTERNAL_SERVER_PLUGINS,
|
24
23
|
LOADER_REPORTER_NAME: () => LOADER_REPORTER_NAME,
|
25
24
|
MAIN_ENTRY_NAME: () => MAIN_ENTRY_NAME,
|
26
25
|
NESTED_ROUTE_SPEC_FILE: () => NESTED_ROUTE_SPEC_FILE,
|
@@ -51,18 +50,10 @@ const SERVER_PLUGIN_EXPRESS = "@modern-js/plugin-express";
|
|
51
50
|
const SERVER_PLUGIN_KOA = "@modern-js/plugin-koa";
|
52
51
|
const SERVER_PLUGIN_SERVER = "@modern-js/plugin-server";
|
53
52
|
const SERVER_PLUGIN_POLYFILL = "@modern-js/plugin-polyfill";
|
54
|
-
const INTERNAL_SERVER_PLUGINS = {
|
55
|
-
[SERVER_PLUGIN_BFF]: "@modern-js/plugin-bff/server",
|
56
|
-
[SERVER_PLUGIN_EXPRESS]: "@modern-js/plugin-express/server",
|
57
|
-
[SERVER_PLUGIN_KOA]: "@modern-js/plugin-koa/server",
|
58
|
-
[SERVER_PLUGIN_SERVER]: "@modern-js/plugin-server/server",
|
59
|
-
[SERVER_PLUGIN_POLYFILL]: "@modern-js/plugin-polyfill/server"
|
60
|
-
};
|
61
53
|
// Annotate the CommonJS export names for ESM import in node:
|
62
54
|
0 && (module.exports = {
|
63
55
|
HMR_SOCK_PATH,
|
64
56
|
HTML_CHUNKSMAP_SEPARATOR,
|
65
|
-
INTERNAL_SERVER_PLUGINS,
|
66
57
|
LOADER_REPORTER_NAME,
|
67
58
|
MAIN_ENTRY_NAME,
|
68
59
|
NESTED_ROUTE_SPEC_FILE,
|
@@ -1,4 +1,10 @@
|
|
1
|
-
import { NESTED_ROUTE_SPEC_FILE, MAIN_ENTRY_NAME, ROUTE_SPEC_FILE, SERVER_BUNDLE_DIRECTORY, SERVER_RENDER_FUNCTION_NAME, SERVER_PLUGIN_BFF, SERVER_PLUGIN_EXPRESS, SERVER_PLUGIN_KOA, SERVER_PLUGIN_SERVER, SERVER_PLUGIN_POLYFILL
|
1
|
+
import { NESTED_ROUTE_SPEC_FILE, MAIN_ENTRY_NAME, ROUTE_SPEC_FILE, SERVER_BUNDLE_DIRECTORY, SERVER_RENDER_FUNCTION_NAME, SERVER_PLUGIN_BFF, SERVER_PLUGIN_EXPRESS, SERVER_PLUGIN_KOA, SERVER_PLUGIN_SERVER, SERVER_PLUGIN_POLYFILL } from "../universal/constants";
|
2
|
+
var JS_EXTENSIONS = [
|
3
|
+
".js",
|
4
|
+
".ts",
|
5
|
+
".jsx",
|
6
|
+
".tsx"
|
7
|
+
];
|
2
8
|
var SERVER_WORKER_BUNDLE_DIRECTORY = "worker";
|
3
9
|
var ENTRY_NAME_PATTERN = "^[a-zA-Z0-9_-]+$";
|
4
10
|
var LOADABLE_STATS_FILE = "loadable-stats.json";
|
@@ -12,6 +18,7 @@ var CONFIG_FILE_EXTENSIONS = [
|
|
12
18
|
".mjs"
|
13
19
|
];
|
14
20
|
var OUTPUT_CONFIG_FILE = "modern.config.json";
|
21
|
+
var DEFAULT_RUNTIME_CONFIG = "modern.runtime";
|
15
22
|
var DEFAULT_SERVER_CONFIG = "modern.server-runtime.config";
|
16
23
|
var ROUTE_MANIFEST_FILE = "routes-manifest.json";
|
17
24
|
var LOADER_ROUTES_DIR = "loader-routes";
|
@@ -74,6 +81,7 @@ export {
|
|
74
81
|
CONFIG_CACHE_DIR,
|
75
82
|
CONFIG_FILE_EXTENSIONS,
|
76
83
|
DEFAULT_DEV_HOST,
|
84
|
+
DEFAULT_RUNTIME_CONFIG,
|
77
85
|
DEFAULT_SERVER_CONFIG,
|
78
86
|
ENTRY_NAME_PATTERN,
|
79
87
|
INTERNAL_APP_TOOLS_PLUGINS,
|
@@ -82,7 +90,7 @@ export {
|
|
82
90
|
INTERNAL_DOC_TOOLS_PLUGINS,
|
83
91
|
INTERNAL_MODULE_TOOLS_PLUGINS,
|
84
92
|
INTERNAL_MONOREPO_TOOLS_PLUGINS,
|
85
|
-
|
93
|
+
JS_EXTENSIONS,
|
86
94
|
LOADABLE_STATS_FILE,
|
87
95
|
LOADER_ROUTES_DIR,
|
88
96
|
MAIN_ENTRY_NAME,
|
@@ -20,6 +20,11 @@ var getServerConfig = function() {
|
|
20
20
|
return _ref.apply(this, arguments);
|
21
21
|
};
|
22
22
|
}();
|
23
|
+
var getMeta = function() {
|
24
|
+
var metaName = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "modern-js";
|
25
|
+
var meta = metaName.toLowerCase().split("-")[0];
|
26
|
+
return meta;
|
27
|
+
};
|
23
28
|
var getTargetDir = function(from, baseDir, targetBaseDir) {
|
24
29
|
var relativePath = path.relative(baseDir, from);
|
25
30
|
return path.resolve(targetBaseDir, relativePath);
|
@@ -27,6 +32,7 @@ var getTargetDir = function(from, baseDir, targetBaseDir) {
|
|
27
32
|
export * from "./data";
|
28
33
|
export * from "./config";
|
29
34
|
export {
|
35
|
+
getMeta,
|
30
36
|
getServerConfig,
|
31
37
|
getTargetDir
|
32
38
|
};
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { _ as _define_property } from "@swc/helpers/_/_define_property";
|
2
1
|
var ROUTE_MANIFEST = "_MODERNJS_ROUTE_MANIFEST";
|
3
2
|
var ROUTE_MODULES = "_routeModules";
|
4
3
|
var HMR_SOCK_PATH = "/webpack-hmr";
|
@@ -14,12 +13,9 @@ var SERVER_PLUGIN_EXPRESS = "@modern-js/plugin-express";
|
|
14
13
|
var SERVER_PLUGIN_KOA = "@modern-js/plugin-koa";
|
15
14
|
var SERVER_PLUGIN_SERVER = "@modern-js/plugin-server";
|
16
15
|
var SERVER_PLUGIN_POLYFILL = "@modern-js/plugin-polyfill";
|
17
|
-
var _obj;
|
18
|
-
var INTERNAL_SERVER_PLUGINS = (_obj = {}, _define_property(_obj, SERVER_PLUGIN_BFF, "@modern-js/plugin-bff/server"), _define_property(_obj, SERVER_PLUGIN_EXPRESS, "@modern-js/plugin-express/server"), _define_property(_obj, SERVER_PLUGIN_KOA, "@modern-js/plugin-koa/server"), _define_property(_obj, SERVER_PLUGIN_SERVER, "@modern-js/plugin-server/server"), _define_property(_obj, SERVER_PLUGIN_POLYFILL, "@modern-js/plugin-polyfill/server"), _obj);
|
19
16
|
export {
|
20
17
|
HMR_SOCK_PATH,
|
21
18
|
HTML_CHUNKSMAP_SEPARATOR,
|
22
|
-
INTERNAL_SERVER_PLUGINS,
|
23
19
|
LOADER_REPORTER_NAME,
|
24
20
|
MAIN_ENTRY_NAME,
|
25
21
|
NESTED_ROUTE_SPEC_FILE,
|
@@ -1,4 +1,10 @@
|
|
1
|
-
import { NESTED_ROUTE_SPEC_FILE, MAIN_ENTRY_NAME, ROUTE_SPEC_FILE, SERVER_BUNDLE_DIRECTORY, SERVER_RENDER_FUNCTION_NAME, SERVER_PLUGIN_BFF, SERVER_PLUGIN_EXPRESS, SERVER_PLUGIN_KOA, SERVER_PLUGIN_SERVER, SERVER_PLUGIN_POLYFILL
|
1
|
+
import { NESTED_ROUTE_SPEC_FILE, MAIN_ENTRY_NAME, ROUTE_SPEC_FILE, SERVER_BUNDLE_DIRECTORY, SERVER_RENDER_FUNCTION_NAME, SERVER_PLUGIN_BFF, SERVER_PLUGIN_EXPRESS, SERVER_PLUGIN_KOA, SERVER_PLUGIN_SERVER, SERVER_PLUGIN_POLYFILL } from "../universal/constants";
|
2
|
+
const JS_EXTENSIONS = [
|
3
|
+
".js",
|
4
|
+
".ts",
|
5
|
+
".jsx",
|
6
|
+
".tsx"
|
7
|
+
];
|
2
8
|
const SERVER_WORKER_BUNDLE_DIRECTORY = "worker";
|
3
9
|
const ENTRY_NAME_PATTERN = "^[a-zA-Z0-9_-]+$";
|
4
10
|
const LOADABLE_STATS_FILE = "loadable-stats.json";
|
@@ -12,6 +18,7 @@ const CONFIG_FILE_EXTENSIONS = [
|
|
12
18
|
".mjs"
|
13
19
|
];
|
14
20
|
const OUTPUT_CONFIG_FILE = "modern.config.json";
|
21
|
+
const DEFAULT_RUNTIME_CONFIG = "modern.runtime";
|
15
22
|
const DEFAULT_SERVER_CONFIG = "modern.server-runtime.config";
|
16
23
|
const ROUTE_MANIFEST_FILE = "routes-manifest.json";
|
17
24
|
const LOADER_ROUTES_DIR = `loader-routes`;
|
@@ -74,6 +81,7 @@ export {
|
|
74
81
|
CONFIG_CACHE_DIR,
|
75
82
|
CONFIG_FILE_EXTENSIONS,
|
76
83
|
DEFAULT_DEV_HOST,
|
84
|
+
DEFAULT_RUNTIME_CONFIG,
|
77
85
|
DEFAULT_SERVER_CONFIG,
|
78
86
|
ENTRY_NAME_PATTERN,
|
79
87
|
INTERNAL_APP_TOOLS_PLUGINS,
|
@@ -82,7 +90,7 @@ export {
|
|
82
90
|
INTERNAL_DOC_TOOLS_PLUGINS,
|
83
91
|
INTERNAL_MODULE_TOOLS_PLUGINS,
|
84
92
|
INTERNAL_MONOREPO_TOOLS_PLUGINS,
|
85
|
-
|
93
|
+
JS_EXTENSIONS,
|
86
94
|
LOADABLE_STATS_FILE,
|
87
95
|
LOADER_ROUTES_DIR,
|
88
96
|
MAIN_ENTRY_NAME,
|
@@ -5,6 +5,10 @@ const getServerConfig = async (appDirectory, configFile) => {
|
|
5
5
|
const configFilePath = findExists(CONFIG_FILE_EXTENSIONS.map((extension) => path.resolve(appDirectory, `${configFile}${extension}`)));
|
6
6
|
return configFilePath;
|
7
7
|
};
|
8
|
+
const getMeta = (metaName = "modern-js") => {
|
9
|
+
const meta = metaName.toLowerCase().split("-")[0];
|
10
|
+
return meta;
|
11
|
+
};
|
8
12
|
const getTargetDir = (from, baseDir, targetBaseDir) => {
|
9
13
|
const relativePath = path.relative(baseDir, from);
|
10
14
|
return path.resolve(targetBaseDir, relativePath);
|
@@ -12,6 +16,7 @@ const getTargetDir = (from, baseDir, targetBaseDir) => {
|
|
12
16
|
export * from "./data";
|
13
17
|
export * from "./config";
|
14
18
|
export {
|
19
|
+
getMeta,
|
15
20
|
getServerConfig,
|
16
21
|
getTargetDir
|
17
22
|
};
|
@@ -13,17 +13,9 @@ const SERVER_PLUGIN_EXPRESS = "@modern-js/plugin-express";
|
|
13
13
|
const SERVER_PLUGIN_KOA = "@modern-js/plugin-koa";
|
14
14
|
const SERVER_PLUGIN_SERVER = "@modern-js/plugin-server";
|
15
15
|
const SERVER_PLUGIN_POLYFILL = "@modern-js/plugin-polyfill";
|
16
|
-
const INTERNAL_SERVER_PLUGINS = {
|
17
|
-
[SERVER_PLUGIN_BFF]: "@modern-js/plugin-bff/server",
|
18
|
-
[SERVER_PLUGIN_EXPRESS]: "@modern-js/plugin-express/server",
|
19
|
-
[SERVER_PLUGIN_KOA]: "@modern-js/plugin-koa/server",
|
20
|
-
[SERVER_PLUGIN_SERVER]: "@modern-js/plugin-server/server",
|
21
|
-
[SERVER_PLUGIN_POLYFILL]: "@modern-js/plugin-polyfill/server"
|
22
|
-
};
|
23
16
|
export {
|
24
17
|
HMR_SOCK_PATH,
|
25
18
|
HTML_CHUNKSMAP_SEPARATOR,
|
26
|
-
INTERNAL_SERVER_PLUGINS,
|
27
19
|
LOADER_REPORTER_NAME,
|
28
20
|
MAIN_ENTRY_NAME,
|
29
21
|
NESTED_ROUTE_SPEC_FILE,
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { InternalPlugins } from '@modern-js/types';
|
2
|
-
export { NESTED_ROUTE_SPEC_FILE, MAIN_ENTRY_NAME, ROUTE_SPEC_FILE, SERVER_BUNDLE_DIRECTORY, SERVER_RENDER_FUNCTION_NAME, SERVER_PLUGIN_BFF, SERVER_PLUGIN_EXPRESS, SERVER_PLUGIN_KOA, SERVER_PLUGIN_SERVER, SERVER_PLUGIN_POLYFILL,
|
2
|
+
export { NESTED_ROUTE_SPEC_FILE, MAIN_ENTRY_NAME, ROUTE_SPEC_FILE, SERVER_BUNDLE_DIRECTORY, SERVER_RENDER_FUNCTION_NAME, SERVER_PLUGIN_BFF, SERVER_PLUGIN_EXPRESS, SERVER_PLUGIN_KOA, SERVER_PLUGIN_SERVER, SERVER_PLUGIN_POLYFILL, } from '../universal/constants';
|
3
|
+
export declare const JS_EXTENSIONS: string[];
|
3
4
|
/**
|
4
5
|
* server side bundles directory, which relative to dist.
|
5
6
|
*/
|
@@ -27,6 +28,10 @@ export declare const CONFIG_FILE_EXTENSIONS: string[];
|
|
27
28
|
* Serialized config path
|
28
29
|
*/
|
29
30
|
export declare const OUTPUT_CONFIG_FILE = "modern.config.json";
|
31
|
+
/**
|
32
|
+
* Default runtime config filename
|
33
|
+
*/
|
34
|
+
export declare const DEFAULT_RUNTIME_CONFIG = "modern.runtime";
|
30
35
|
/**
|
31
36
|
* Default server config basename
|
32
37
|
*/
|
@@ -1,4 +1,11 @@
|
|
1
1
|
export declare const getServerConfig: (appDirectory: string, configFile: string) => Promise<string | false>;
|
2
|
+
/**
|
3
|
+
* Transform the metaName
|
4
|
+
* @param metaName The name of framework, the default value is 'modern-js'
|
5
|
+
* @returns
|
6
|
+
* modern-js -> modern
|
7
|
+
*/
|
8
|
+
export declare const getMeta: (metaName?: string) => string;
|
2
9
|
export declare const getTargetDir: (from: string, baseDir: string, targetBaseDir: string) => string;
|
3
10
|
export * from './data';
|
4
11
|
export * from './config';
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { InternalPlugins } from '@modern-js/types';
|
2
1
|
/**
|
3
2
|
* Property mounted on window that describes route manifest
|
4
3
|
*/
|
@@ -44,4 +43,3 @@ export declare const SERVER_PLUGIN_EXPRESS = "@modern-js/plugin-express";
|
|
44
43
|
export declare const SERVER_PLUGIN_KOA = "@modern-js/plugin-koa";
|
45
44
|
export declare const SERVER_PLUGIN_SERVER = "@modern-js/plugin-server";
|
46
45
|
export declare const SERVER_PLUGIN_POLYFILL = "@modern-js/plugin-polyfill";
|
47
|
-
export declare const INTERNAL_SERVER_PLUGINS: InternalPlugins;
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.
|
18
|
+
"version": "2.54.0",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"types": "./dist/types/index.d.ts",
|
21
21
|
"main": "./dist/cjs/index.js",
|
@@ -161,10 +161,10 @@
|
|
161
161
|
"@types/node": "^14",
|
162
162
|
"jest": "^29",
|
163
163
|
"typescript": "^5",
|
164
|
-
"webpack": "^5.
|
165
|
-
"@
|
166
|
-
"@scripts/build": "2.
|
167
|
-
"@
|
164
|
+
"webpack": "^5.92.0",
|
165
|
+
"@modern-js/types": "2.54.0",
|
166
|
+
"@scripts/build": "2.54.0",
|
167
|
+
"@scripts/jest-config": "2.54.0"
|
168
168
|
},
|
169
169
|
"sideEffects": false,
|
170
170
|
"scripts": {
|