@modern-js/app-tools 2.54.1-alpha.0 → 2.54.1-alpha.2
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.
|
@@ -126,7 +126,7 @@ const findPackageParents = (pkg, version, tracedFiles) => {
|
|
|
126
126
|
const versionFiles = pkg.versions[version].files.map((path2) => tracedFiles[path2]);
|
|
127
127
|
const parentPkgs = [
|
|
128
128
|
...new Set(versionFiles.flatMap((file) => (
|
|
129
|
-
//
|
|
129
|
+
// Because it supports copyWholePackage configuration, not all files exist.
|
|
130
130
|
file === null || file === void 0 ? void 0 : file.parents.map((parentPath) => {
|
|
131
131
|
const parentFile = tracedFiles[parentPath];
|
|
132
132
|
if (!parentFile || parentFile.pkgName === pkg.name) {
|
|
@@ -320,7 +320,7 @@ var findPackageParents = function(pkg, version, tracedFiles) {
|
|
|
320
320
|
});
|
|
321
321
|
var parentPkgs = _to_consumable_array(new Set(versionFiles.flatMap(function(file) {
|
|
322
322
|
return (
|
|
323
|
-
//
|
|
323
|
+
// Because it supports copyWholePackage configuration, not all files exist.
|
|
324
324
|
file === null || file === void 0 ? void 0 : file.parents.map(function(parentPath) {
|
|
325
325
|
var parentFile = tracedFiles[parentPath];
|
|
326
326
|
if (!parentFile || parentFile.pkgName === pkg.name) {
|
|
@@ -86,7 +86,7 @@ const findPackageParents = (pkg, version, tracedFiles) => {
|
|
|
86
86
|
const versionFiles = pkg.versions[version].files.map((path2) => tracedFiles[path2]);
|
|
87
87
|
const parentPkgs = [
|
|
88
88
|
...new Set(versionFiles.flatMap((file) => (
|
|
89
|
-
//
|
|
89
|
+
// Because it supports copyWholePackage configuration, not all files exist.
|
|
90
90
|
file === null || file === void 0 ? void 0 : file.parents.map((parentPath) => {
|
|
91
91
|
const parentFile = tracedFiles[parentPath];
|
|
92
92
|
if (!parentFile || parentFile.pkgName === pkg.name) {
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.54.1-alpha.
|
|
18
|
+
"version": "2.54.1-alpha.2",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/types/index.d.ts",
|
|
21
21
|
"main": "./dist/cjs/index.js",
|
|
@@ -88,18 +88,18 @@
|
|
|
88
88
|
"mlly": "^1.6.1",
|
|
89
89
|
"pkg-types": "^1.1.0",
|
|
90
90
|
"std-env": "^3.7.0",
|
|
91
|
+
"@modern-js/node-bundle-require": "2.54.0",
|
|
91
92
|
"@modern-js/core": "2.54.0",
|
|
92
93
|
"@modern-js/plugin": "2.54.0",
|
|
93
|
-
"@modern-js/node-bundle-require": "2.54.0",
|
|
94
94
|
"@modern-js/plugin-i18n": "2.54.0",
|
|
95
|
+
"@modern-js/plugin-data-loader": "2.54.0",
|
|
95
96
|
"@modern-js/prod-server": "2.54.0",
|
|
96
97
|
"@modern-js/plugin-lint": "2.54.0",
|
|
98
|
+
"@modern-js/types": "2.54.0",
|
|
97
99
|
"@modern-js/rsbuild-plugin-esbuild": "2.54.0",
|
|
98
100
|
"@modern-js/server": "2.54.0",
|
|
99
101
|
"@modern-js/server-core": "2.54.0",
|
|
100
102
|
"@modern-js/server-utils": "2.54.0",
|
|
101
|
-
"@modern-js/plugin-data-loader": "2.54.0",
|
|
102
|
-
"@modern-js/types": "2.54.0",
|
|
103
103
|
"@modern-js/uni-builder": "2.54.0",
|
|
104
104
|
"@modern-js/utils": "2.54.0"
|
|
105
105
|
},
|