@modern-js/app-tools 2.49.1-alpha.15 → 2.49.1-alpha.17
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.
|
@@ -232,7 +232,7 @@ const handleDependencies = async (appDir, serverRootDir, include) => {
|
|
|
232
232
|
await (0, import_utils2.linkPackage)(pkgDestPath, `${pkgName}`, serverRootDir);
|
|
233
233
|
for (const parentPkg of parentPkgs) {
|
|
234
234
|
const parentPkgName = parentPkg.replace(/@[^@]+$/, "");
|
|
235
|
-
await (multiVersionPkgs[parentPkgName] ? (0, import_utils2.linkPackage)(pkgDestPath, `.modernjs/${parentPkg}/node_modules/${pkgName}
|
|
235
|
+
await (multiVersionPkgs[parentPkgName] ? (0, import_utils2.linkPackage)(pkgDestPath, `.modernjs/${parentPkg}/node_modules/${pkgName}`, serverRootDir) : (0, import_utils2.linkPackage)(pkgDestPath, `${parentPkgName}/node_modules/${pkgName}`, serverRootDir));
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
}
|
|
@@ -558,7 +558,7 @@ var handleDependencies = function() {
|
|
|
558
558
|
parentPkgName = parentPkg.replace(/@[^@]+$/, "");
|
|
559
559
|
return [
|
|
560
560
|
4,
|
|
561
|
-
multiVersionPkgs[parentPkgName] ? linkPackage(pkgDestPath, ".modernjs/".concat(parentPkg, "/node_modules/").concat(pkgName2
|
|
561
|
+
multiVersionPkgs[parentPkgName] ? linkPackage(pkgDestPath, ".modernjs/".concat(parentPkg, "/node_modules/").concat(pkgName2), serverRootDir) : linkPackage(pkgDestPath, "".concat(parentPkgName, "/node_modules/").concat(pkgName2), serverRootDir)
|
|
562
562
|
];
|
|
563
563
|
case 7:
|
|
564
564
|
_state2.sent();
|
|
@@ -199,7 +199,7 @@ const handleDependencies = async (appDir, serverRootDir, include) => {
|
|
|
199
199
|
await linkPackage(pkgDestPath, `${pkgName}`, serverRootDir);
|
|
200
200
|
for (const parentPkg of parentPkgs) {
|
|
201
201
|
const parentPkgName = parentPkg.replace(/@[^@]+$/, "");
|
|
202
|
-
await (multiVersionPkgs[parentPkgName] ? linkPackage(pkgDestPath, `.modernjs/${parentPkg}/node_modules/${pkgName}
|
|
202
|
+
await (multiVersionPkgs[parentPkgName] ? linkPackage(pkgDestPath, `.modernjs/${parentPkg}/node_modules/${pkgName}`, serverRootDir) : linkPackage(pkgDestPath, `${parentPkgName}/node_modules/${pkgName}`, serverRootDir));
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
}
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.49.1-alpha.
|
|
18
|
+
"version": "2.49.1-alpha.17",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/types/index.d.ts",
|
|
21
21
|
"main": "./dist/cjs/index.js",
|
|
@@ -80,19 +80,19 @@
|
|
|
80
80
|
"mlly": "^1.6.1",
|
|
81
81
|
"pkg-types": "^1.1.0",
|
|
82
82
|
"@modern-js/core": "2.49.0",
|
|
83
|
-
"@modern-js/plugin": "2.49.0",
|
|
84
|
-
"@modern-js/plugin-i18n": "2.49.0",
|
|
85
83
|
"@modern-js/plugin-data-loader": "2.49.0",
|
|
84
|
+
"@modern-js/prod-server": "2.49.0",
|
|
86
85
|
"@modern-js/node-bundle-require": "2.49.0",
|
|
87
|
-
"@modern-js/plugin
|
|
86
|
+
"@modern-js/plugin": "2.49.0",
|
|
88
87
|
"@modern-js/rsbuild-plugin-esbuild": "2.49.1",
|
|
89
88
|
"@modern-js/server-core": "2.49.0",
|
|
90
|
-
"@modern-js/
|
|
91
|
-
"@modern-js/
|
|
89
|
+
"@modern-js/plugin-i18n": "2.49.0",
|
|
90
|
+
"@modern-js/types": "2.49.0",
|
|
92
91
|
"@modern-js/uni-builder": "2.49.0",
|
|
93
|
-
"@modern-js/server-utils": "2.49.0",
|
|
94
92
|
"@modern-js/utils": "2.49.0",
|
|
95
|
-
"@modern-js/
|
|
93
|
+
"@modern-js/plugin-lint": "2.49.0",
|
|
94
|
+
"@modern-js/server": "2.49.0",
|
|
95
|
+
"@modern-js/server-utils": "2.49.0"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@rsbuild/plugin-swc": "0.6.4",
|