@modern-js/app-tools 2.57.1-beta.2 → 2.57.1
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/plugins/deploy/dependencies/index.js +7 -15
- package/dist/cjs/plugins/deploy/dependencies/utils.js +11 -3
- package/dist/esm/plugins/deploy/dependencies/index.js +8 -15
- package/dist/esm/plugins/deploy/dependencies/utils.js +15 -7
- package/dist/esm-node/plugins/deploy/dependencies/index.js +7 -14
- package/dist/esm-node/plugins/deploy/dependencies/utils.js +10 -3
- package/dist/types/plugins/deploy/dependencies/index.d.ts +2 -11
- package/dist/types/plugins/deploy/dependencies/utils.d.ts +2 -7
- package/package.json +17 -17
@@ -28,8 +28,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
29
|
var dependencies_exports = {};
|
30
30
|
__export(dependencies_exports, {
|
31
|
-
handleDependencies: () => handleDependencies
|
32
|
-
nodeFileTrace: () => import_nft.nodeFileTrace
|
31
|
+
handleDependencies: () => handleDependencies
|
33
32
|
});
|
34
33
|
module.exports = __toCommonJS(dependencies_exports);
|
35
34
|
var import_node_path = __toESM(require("node:path"));
|
@@ -37,16 +36,10 @@ var import_utils = require("@modern-js/utils");
|
|
37
36
|
var import_pkg_types = require("pkg-types");
|
38
37
|
var import_mlly = require("mlly");
|
39
38
|
var import_utils2 = require("./utils");
|
40
|
-
|
41
|
-
const handleDependencies = async ({ appDir, serverRootDir, includeEntries, traceFiles = import_utils2.traceFiles, entryFilter, modifyPackageJson, copyWholePackage, traceOptions }) => {
|
39
|
+
const handleDependencies = async ({ appDir, serverRootDir, includeEntries, traceFiles = import_utils2.traceFiles, entryFilter, modifyPackageJson, copyWholePackage }) => {
|
42
40
|
const base = "/";
|
43
41
|
const entryFiles = await (0, import_utils2.findEntryFiles)(serverRootDir, entryFilter);
|
44
|
-
const fileTrace = await traceFiles(
|
45
|
-
entryFiles: entryFiles.concat(includeEntries),
|
46
|
-
serverRootDir,
|
47
|
-
base,
|
48
|
-
traceOptions
|
49
|
-
});
|
42
|
+
const fileTrace = await traceFiles(entryFiles.concat(includeEntries), serverRootDir, base);
|
50
43
|
const currentProjectModules = import_node_path.default.join(appDir, "node_modules");
|
51
44
|
const dependencySearchRoot = import_node_path.default.resolve(appDir, "../../../../../../");
|
52
45
|
const tracedFiles = Object.fromEntries(await Promise.all([
|
@@ -56,7 +49,7 @@ const handleDependencies = async ({ appDir, serverRootDir, includeEntries, trace
|
|
56
49
|
return;
|
57
50
|
}
|
58
51
|
const filePath = await (0, import_utils2.resolveTracedPath)(base, _path);
|
59
|
-
if (
|
52
|
+
if ((0, import_utils2.isSubPath)(serverRootDir, filePath) || (0, import_utils2.isSubPath)(appDir, filePath) && !(0, import_utils2.isSubPath)(currentProjectModules, filePath)) {
|
60
53
|
return;
|
61
54
|
}
|
62
55
|
if (!await (0, import_utils2.isFile)(filePath)) {
|
@@ -79,7 +72,7 @@ const handleDependencies = async ({ appDir, serverRootDir, includeEntries, trace
|
|
79
72
|
const packageJsonPath = match ? import_node_path.default.join(match[0], "package.json") : await (0, import_utils.pkgUp)({
|
80
73
|
cwd: import_node_path.default.dirname(filePath)
|
81
74
|
});
|
82
|
-
if (packageJsonPath
|
75
|
+
if (packageJsonPath && (0, import_utils2.isSubPath)(dependencySearchRoot, packageJsonPath)) {
|
83
76
|
const packageJson = await import_utils.fs.readJSON(packageJsonPath);
|
84
77
|
pkgPath = baseDir = import_node_path.default.dirname(packageJsonPath);
|
85
78
|
subpath = import_node_path.default.relative(baseDir, filePath);
|
@@ -96,7 +89,7 @@ const handleDependencies = async ({ appDir, serverRootDir, includeEntries, trace
|
|
96
89
|
path: filePath,
|
97
90
|
parents,
|
98
91
|
isDirectDep: parents.some((parent) => {
|
99
|
-
return
|
92
|
+
return (0, import_utils2.isSubPath)(appDir, parent) && !(0, import_utils2.isSubPath)(currentProjectModules, parent);
|
100
93
|
}),
|
101
94
|
subpath,
|
102
95
|
pkgName,
|
@@ -231,6 +224,5 @@ const handleDependencies = async ({ appDir, serverRootDir, includeEntries, trace
|
|
231
224
|
};
|
232
225
|
// Annotate the CommonJS export names for ESM import in node:
|
233
226
|
0 && (module.exports = {
|
234
|
-
handleDependencies
|
235
|
-
nodeFileTrace
|
227
|
+
handleDependencies
|
236
228
|
});
|
@@ -31,6 +31,7 @@ __export(utils_exports, {
|
|
31
31
|
findEntryFiles: () => findEntryFiles,
|
32
32
|
findPackageParents: () => findPackageParents,
|
33
33
|
isFile: () => isFile,
|
34
|
+
isSubPath: () => isSubPath,
|
34
35
|
linkPackage: () => linkPackage,
|
35
36
|
readDirRecursive: () => readDirRecursive,
|
36
37
|
resolveTracedPath: () => resolveTracedPath,
|
@@ -138,19 +139,26 @@ const findPackageParents = (pkg, version, tracedFiles) => {
|
|
138
139
|
];
|
139
140
|
return parentPkgs.filter((parentPkg) => parentPkg);
|
140
141
|
};
|
141
|
-
const traceFiles = async (
|
142
|
+
const traceFiles = async (entryFiles, serverRootDir, base = "/") => {
|
142
143
|
return await (0, import_nft.nodeFileTrace)(entryFiles, {
|
143
144
|
base,
|
144
|
-
processCwd: serverRootDir
|
145
|
-
...traceOptions
|
145
|
+
processCwd: serverRootDir
|
146
146
|
});
|
147
147
|
};
|
148
148
|
const resolveTracedPath = async (base, p) => import_utils.fs.realpath(import_path.default.resolve(base, p));
|
149
|
+
const isSubPath = (parentPath, childPath) => {
|
150
|
+
if (!parentPath || !childPath) {
|
151
|
+
return false;
|
152
|
+
}
|
153
|
+
const relative = import_path.default.relative(parentPath, childPath);
|
154
|
+
return relative && !relative.startsWith("..");
|
155
|
+
};
|
149
156
|
// Annotate the CommonJS export names for ESM import in node:
|
150
157
|
0 && (module.exports = {
|
151
158
|
findEntryFiles,
|
152
159
|
findPackageParents,
|
153
160
|
isFile,
|
161
|
+
isSubPath,
|
154
162
|
linkPackage,
|
155
163
|
readDirRecursive,
|
156
164
|
resolveTracedPath,
|
@@ -7,15 +7,14 @@ import path from "node:path";
|
|
7
7
|
import { fs as fse, pkgUp, semver } from "@modern-js/utils";
|
8
8
|
import { readPackageJSON } from "pkg-types";
|
9
9
|
import { parseNodeModulePath } from "mlly";
|
10
|
-
import { linkPackage, writePackage, isFile, findEntryFiles, traceFiles as defaultTraceFiles, findPackageParents, resolveTracedPath, readDirRecursive } from "./utils";
|
11
|
-
import { nodeFileTrace } from "@vercel/nft";
|
10
|
+
import { linkPackage, writePackage, isFile, findEntryFiles, traceFiles as defaultTraceFiles, findPackageParents, resolveTracedPath, readDirRecursive, isSubPath } from "./utils";
|
12
11
|
var handleDependencies = function() {
|
13
12
|
var _ref = _async_to_generator(function(param) {
|
14
|
-
var appDir, serverRootDir, includeEntries, _param_traceFiles, traceFiles, entryFilter, modifyPackageJson, copyWholePackage,
|
13
|
+
var appDir, serverRootDir, includeEntries, _param_traceFiles, traceFiles, entryFilter, modifyPackageJson, copyWholePackage, base, entryFiles, fileTrace, currentProjectModules, dependencySearchRoot, tracedFiles, _, tracedPackages, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, tracedFile, pkgName, tracedPackage, pkgJSON, tracedPackageVersion, shouldCopyWholePackage, _tracedPackageVersion_files, allFiles, err, multiVersionPkgs, singleVersionPackages, _iteratorNormalCompletion1, _didIteratorError1, _iteratorError1, _iterator1, _step1, tracedPackage1, versions, _iteratorNormalCompletion2, _didIteratorError2, _iteratorError2, _iterator2, _step2, version, projectPkgJson, _iteratorNormalCompletion3, _didIteratorError3, _iteratorError3, _loop, _iterator3, _step3, err, outputPkgPath, newPkgJson, finalPkgJson;
|
15
14
|
return _ts_generator(this, function(_state) {
|
16
15
|
switch (_state.label) {
|
17
16
|
case 0:
|
18
|
-
appDir = param.appDir, serverRootDir = param.serverRootDir, includeEntries = param.includeEntries, _param_traceFiles = param.traceFiles, traceFiles = _param_traceFiles === void 0 ? defaultTraceFiles : _param_traceFiles, entryFilter = param.entryFilter, modifyPackageJson = param.modifyPackageJson, copyWholePackage = param.copyWholePackage
|
17
|
+
appDir = param.appDir, serverRootDir = param.serverRootDir, includeEntries = param.includeEntries, _param_traceFiles = param.traceFiles, traceFiles = _param_traceFiles === void 0 ? defaultTraceFiles : _param_traceFiles, entryFilter = param.entryFilter, modifyPackageJson = param.modifyPackageJson, copyWholePackage = param.copyWholePackage;
|
19
18
|
base = "/";
|
20
19
|
return [
|
21
20
|
4,
|
@@ -25,12 +24,7 @@ var handleDependencies = function() {
|
|
25
24
|
entryFiles = _state.sent();
|
26
25
|
return [
|
27
26
|
4,
|
28
|
-
traceFiles(
|
29
|
-
entryFiles: entryFiles.concat(includeEntries),
|
30
|
-
serverRootDir,
|
31
|
-
base,
|
32
|
-
traceOptions
|
33
|
-
})
|
27
|
+
traceFiles(entryFiles.concat(includeEntries), serverRootDir, base)
|
34
28
|
];
|
35
29
|
case 2:
|
36
30
|
fileTrace = _state.sent();
|
@@ -57,7 +51,7 @@ var handleDependencies = function() {
|
|
57
51
|
];
|
58
52
|
case 1:
|
59
53
|
filePath = _state2.sent();
|
60
|
-
if (
|
54
|
+
if (isSubPath(serverRootDir, filePath) || isSubPath(appDir, filePath) && !isSubPath(currentProjectModules, filePath)) {
|
61
55
|
return [
|
62
56
|
2
|
63
57
|
];
|
@@ -112,7 +106,7 @@ var handleDependencies = function() {
|
|
112
106
|
_state2.label = 6;
|
113
107
|
case 6:
|
114
108
|
packageJsonPath = _tmp;
|
115
|
-
if (!(packageJsonPath
|
109
|
+
if (!(packageJsonPath && isSubPath(dependencySearchRoot, packageJsonPath)))
|
116
110
|
return [
|
117
111
|
3,
|
118
112
|
8
|
@@ -145,7 +139,7 @@ var handleDependencies = function() {
|
|
145
139
|
path: filePath,
|
146
140
|
parents,
|
147
141
|
isDirectDep: parents.some(function(parent) {
|
148
|
-
return
|
142
|
+
return isSubPath(appDir, parent) && !isSubPath(currentProjectModules, parent);
|
149
143
|
}),
|
150
144
|
subpath,
|
151
145
|
pkgName: pkgName2,
|
@@ -609,6 +603,5 @@ var handleDependencies = function() {
|
|
609
603
|
};
|
610
604
|
}();
|
611
605
|
export {
|
612
|
-
handleDependencies
|
613
|
-
nodeFileTrace
|
606
|
+
handleDependencies
|
614
607
|
};
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
|
2
|
-
import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
|
3
2
|
import { _ as _to_consumable_array } from "@swc/helpers/_/_to_consumable_array";
|
4
3
|
import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
|
5
4
|
import path from "path";
|
@@ -336,18 +335,19 @@ var findPackageParents = function(pkg, version, tracedFiles) {
|
|
336
335
|
});
|
337
336
|
};
|
338
337
|
var traceFiles = function() {
|
339
|
-
var _ref = _async_to_generator(function(
|
340
|
-
var
|
338
|
+
var _ref = _async_to_generator(function(entryFiles, serverRootDir) {
|
339
|
+
var base;
|
340
|
+
var _arguments = arguments;
|
341
341
|
return _ts_generator(this, function(_state) {
|
342
342
|
switch (_state.label) {
|
343
343
|
case 0:
|
344
|
-
|
344
|
+
base = _arguments.length > 2 && _arguments[2] !== void 0 ? _arguments[2] : "/";
|
345
345
|
return [
|
346
346
|
4,
|
347
|
-
nodeFileTrace(entryFiles,
|
347
|
+
nodeFileTrace(entryFiles, {
|
348
348
|
base,
|
349
349
|
processCwd: serverRootDir
|
350
|
-
}
|
350
|
+
})
|
351
351
|
];
|
352
352
|
case 1:
|
353
353
|
return [
|
@@ -357,7 +357,7 @@ var traceFiles = function() {
|
|
357
357
|
}
|
358
358
|
});
|
359
359
|
});
|
360
|
-
return function traceFiles2(
|
360
|
+
return function traceFiles2(entryFiles, serverRootDir) {
|
361
361
|
return _ref.apply(this, arguments);
|
362
362
|
};
|
363
363
|
}();
|
@@ -374,10 +374,18 @@ var resolveTracedPath = function() {
|
|
374
374
|
return _ref.apply(this, arguments);
|
375
375
|
};
|
376
376
|
}();
|
377
|
+
var isSubPath = function(parentPath, childPath) {
|
378
|
+
if (!parentPath || !childPath) {
|
379
|
+
return false;
|
380
|
+
}
|
381
|
+
var relative = path.relative(parentPath, childPath);
|
382
|
+
return relative && !relative.startsWith("..");
|
383
|
+
};
|
377
384
|
export {
|
378
385
|
findEntryFiles,
|
379
386
|
findPackageParents,
|
380
387
|
isFile,
|
388
|
+
isSubPath,
|
381
389
|
linkPackage,
|
382
390
|
readDirRecursive,
|
383
391
|
resolveTracedPath,
|
@@ -2,17 +2,11 @@ import path from "node:path";
|
|
2
2
|
import { fs as fse, pkgUp, semver } from "@modern-js/utils";
|
3
3
|
import { readPackageJSON } from "pkg-types";
|
4
4
|
import { parseNodeModulePath } from "mlly";
|
5
|
-
import { linkPackage, writePackage, isFile, findEntryFiles, traceFiles as defaultTraceFiles, findPackageParents, resolveTracedPath, readDirRecursive } from "./utils";
|
6
|
-
|
7
|
-
const handleDependencies = async ({ appDir, serverRootDir, includeEntries, traceFiles = defaultTraceFiles, entryFilter, modifyPackageJson, copyWholePackage, traceOptions }) => {
|
5
|
+
import { linkPackage, writePackage, isFile, findEntryFiles, traceFiles as defaultTraceFiles, findPackageParents, resolveTracedPath, readDirRecursive, isSubPath } from "./utils";
|
6
|
+
const handleDependencies = async ({ appDir, serverRootDir, includeEntries, traceFiles = defaultTraceFiles, entryFilter, modifyPackageJson, copyWholePackage }) => {
|
8
7
|
const base = "/";
|
9
8
|
const entryFiles = await findEntryFiles(serverRootDir, entryFilter);
|
10
|
-
const fileTrace = await traceFiles(
|
11
|
-
entryFiles: entryFiles.concat(includeEntries),
|
12
|
-
serverRootDir,
|
13
|
-
base,
|
14
|
-
traceOptions
|
15
|
-
});
|
9
|
+
const fileTrace = await traceFiles(entryFiles.concat(includeEntries), serverRootDir, base);
|
16
10
|
const currentProjectModules = path.join(appDir, "node_modules");
|
17
11
|
const dependencySearchRoot = path.resolve(appDir, "../../../../../../");
|
18
12
|
const tracedFiles = Object.fromEntries(await Promise.all([
|
@@ -22,7 +16,7 @@ const handleDependencies = async ({ appDir, serverRootDir, includeEntries, trace
|
|
22
16
|
return;
|
23
17
|
}
|
24
18
|
const filePath = await resolveTracedPath(base, _path);
|
25
|
-
if (
|
19
|
+
if (isSubPath(serverRootDir, filePath) || isSubPath(appDir, filePath) && !isSubPath(currentProjectModules, filePath)) {
|
26
20
|
return;
|
27
21
|
}
|
28
22
|
if (!await isFile(filePath)) {
|
@@ -45,7 +39,7 @@ const handleDependencies = async ({ appDir, serverRootDir, includeEntries, trace
|
|
45
39
|
const packageJsonPath = match ? path.join(match[0], "package.json") : await pkgUp({
|
46
40
|
cwd: path.dirname(filePath)
|
47
41
|
});
|
48
|
-
if (packageJsonPath
|
42
|
+
if (packageJsonPath && isSubPath(dependencySearchRoot, packageJsonPath)) {
|
49
43
|
const packageJson = await fse.readJSON(packageJsonPath);
|
50
44
|
pkgPath = baseDir = path.dirname(packageJsonPath);
|
51
45
|
subpath = path.relative(baseDir, filePath);
|
@@ -62,7 +56,7 @@ const handleDependencies = async ({ appDir, serverRootDir, includeEntries, trace
|
|
62
56
|
path: filePath,
|
63
57
|
parents,
|
64
58
|
isDirectDep: parents.some((parent) => {
|
65
|
-
return
|
59
|
+
return isSubPath(appDir, parent) && !isSubPath(currentProjectModules, parent);
|
66
60
|
}),
|
67
61
|
subpath,
|
68
62
|
pkgName,
|
@@ -196,6 +190,5 @@ const handleDependencies = async ({ appDir, serverRootDir, includeEntries, trace
|
|
196
190
|
await fse.writeJSON(outputPkgPath, finalPkgJson);
|
197
191
|
};
|
198
192
|
export {
|
199
|
-
handleDependencies
|
200
|
-
nodeFileTrace
|
193
|
+
handleDependencies
|
201
194
|
};
|
@@ -98,18 +98,25 @@ const findPackageParents = (pkg, version, tracedFiles) => {
|
|
98
98
|
];
|
99
99
|
return parentPkgs.filter((parentPkg) => parentPkg);
|
100
100
|
};
|
101
|
-
const traceFiles = async (
|
101
|
+
const traceFiles = async (entryFiles, serverRootDir, base = "/") => {
|
102
102
|
return await nodeFileTrace(entryFiles, {
|
103
103
|
base,
|
104
|
-
processCwd: serverRootDir
|
105
|
-
...traceOptions
|
104
|
+
processCwd: serverRootDir
|
106
105
|
});
|
107
106
|
};
|
108
107
|
const resolveTracedPath = async (base, p) => fse.realpath(path.resolve(base, p));
|
108
|
+
const isSubPath = (parentPath, childPath) => {
|
109
|
+
if (!parentPath || !childPath) {
|
110
|
+
return false;
|
111
|
+
}
|
112
|
+
const relative = path.relative(parentPath, childPath);
|
113
|
+
return relative && !relative.startsWith("..");
|
114
|
+
};
|
109
115
|
export {
|
110
116
|
findEntryFiles,
|
111
117
|
findPackageParents,
|
112
118
|
isFile,
|
119
|
+
isSubPath,
|
113
120
|
linkPackage,
|
114
121
|
readDirRecursive,
|
115
122
|
resolveTracedPath,
|
@@ -1,20 +1,11 @@
|
|
1
1
|
import type { PackageJson } from 'pkg-types';
|
2
|
-
import type { NodeFileTraceOptions } from '@vercel/nft';
|
3
2
|
import { traceFiles as defaultTraceFiles } from './utils';
|
4
|
-
export
|
5
|
-
export { nodeFileTrace } from '@vercel/nft';
|
6
|
-
export declare const handleDependencies: ({ appDir, serverRootDir, includeEntries, traceFiles, entryFilter, modifyPackageJson, copyWholePackage, traceOptions, }: {
|
3
|
+
export declare const handleDependencies: ({ appDir, serverRootDir, includeEntries, traceFiles, entryFilter, modifyPackageJson, copyWholePackage, }: {
|
7
4
|
appDir: string;
|
8
5
|
serverRootDir: string;
|
9
6
|
includeEntries: string[];
|
10
|
-
traceFiles?: ((
|
11
|
-
entryFiles: string[];
|
12
|
-
serverRootDir: string;
|
13
|
-
base?: string | undefined;
|
14
|
-
traceOptions?: NodeFileTraceOptions | undefined;
|
15
|
-
}) => Promise<import("@vercel/nft").NodeFileTraceResult>) | undefined;
|
7
|
+
traceFiles?: ((entryFiles: string[], serverRootDir: string, base?: string) => Promise<import("@vercel/nft").NodeFileTraceResult>) | undefined;
|
16
8
|
entryFilter?: ((filePath: string) => boolean) | undefined;
|
17
9
|
modifyPackageJson?: ((pkgJson: PackageJson) => PackageJson) | undefined;
|
18
10
|
copyWholePackage?: ((pkgName: string) => boolean) | undefined;
|
19
|
-
traceOptions?: NodeFileTraceOptions | undefined;
|
20
11
|
}) => Promise<void>;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import type { PackageJson } from 'pkg-types';
|
2
|
-
import { NodeFileTraceOptions } from '@vercel/nft';
|
3
2
|
export type TracedPackage = {
|
4
3
|
name: string;
|
5
4
|
versions: Record<string, {
|
@@ -33,11 +32,7 @@ export declare const readDirRecursive: (dir: string, options?: ReadDirOptions) =
|
|
33
32
|
export declare const isFile: (file: string) => Promise<boolean>;
|
34
33
|
export declare const findEntryFiles: (rootDir: string, entryFilter?: ((filePath: string) => boolean) | undefined) => Promise<string[]>;
|
35
34
|
export declare const findPackageParents: (pkg: TracedPackage, version: string, tracedFiles: Record<string, TracedFile>) => string[];
|
36
|
-
export declare const traceFiles: (
|
37
|
-
entryFiles: string[];
|
38
|
-
serverRootDir: string;
|
39
|
-
base?: string | undefined;
|
40
|
-
traceOptions?: NodeFileTraceOptions | undefined;
|
41
|
-
}) => Promise<import("@vercel/nft").NodeFileTraceResult>;
|
35
|
+
export declare const traceFiles: (entryFiles: string[], serverRootDir: string, base?: string) => Promise<import("@vercel/nft").NodeFileTraceResult>;
|
42
36
|
export declare const resolveTracedPath: (base: string, p: string) => Promise<string>;
|
37
|
+
export declare const isSubPath: (parentPath: string, childPath: string) => boolean | "";
|
43
38
|
export {};
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.57.1
|
18
|
+
"version": "2.57.1",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"types": "./dist/types/index.d.ts",
|
21
21
|
"main": "./dist/cjs/index.js",
|
@@ -87,20 +87,20 @@
|
|
87
87
|
"mlly": "^1.6.1",
|
88
88
|
"pkg-types": "^1.1.0",
|
89
89
|
"std-env": "^3.7.0",
|
90
|
-
"@modern-js/core": "2.57.
|
91
|
-
"@modern-js/plugin": "2.57.
|
92
|
-
"@modern-js/node-bundle-require": "2.57.
|
93
|
-
"@modern-js/
|
94
|
-
"@modern-js/plugin-
|
95
|
-
"@modern-js/plugin-
|
96
|
-
"@modern-js/
|
97
|
-
"@modern-js/
|
98
|
-
"@modern-js/
|
99
|
-
"@modern-js/server": "2.57.
|
100
|
-
"@modern-js/
|
101
|
-
"@modern-js/
|
102
|
-
"@modern-js/server-utils": "2.57.
|
103
|
-
"@modern-js/uni-builder": "2.57.
|
90
|
+
"@modern-js/core": "2.57.1",
|
91
|
+
"@modern-js/plugin": "2.57.1",
|
92
|
+
"@modern-js/node-bundle-require": "2.57.1",
|
93
|
+
"@modern-js/plugin-data-loader": "2.57.1",
|
94
|
+
"@modern-js/plugin-i18n": "2.57.1",
|
95
|
+
"@modern-js/plugin-lint": "2.57.1",
|
96
|
+
"@modern-js/rsbuild-plugin-esbuild": "2.57.1",
|
97
|
+
"@modern-js/server": "2.57.1",
|
98
|
+
"@modern-js/prod-server": "2.57.1",
|
99
|
+
"@modern-js/server-core": "2.57.1",
|
100
|
+
"@modern-js/types": "2.57.1",
|
101
|
+
"@modern-js/utils": "2.57.1",
|
102
|
+
"@modern-js/server-utils": "2.57.1",
|
103
|
+
"@modern-js/uni-builder": "2.57.1"
|
104
104
|
},
|
105
105
|
"devDependencies": {
|
106
106
|
"@rsbuild/plugin-swc": "1.0.1-beta.3",
|
@@ -112,8 +112,8 @@
|
|
112
112
|
"tsconfig-paths": "^4.2.0",
|
113
113
|
"typescript": "^5",
|
114
114
|
"webpack": "^5.93.0",
|
115
|
-
"@scripts/build": "2.57.
|
116
|
-
"@scripts/jest-config": "2.57.
|
115
|
+
"@scripts/build": "2.57.1",
|
116
|
+
"@scripts/jest-config": "2.57.1"
|
117
117
|
},
|
118
118
|
"sideEffects": false,
|
119
119
|
"publishConfig": {
|