@modern-js/app-tools 2.54.1-alpha.0 → 2.54.1-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- // 因为支持 copyWholePackage 配置,并不是所有的文件都会被复制的
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
- // 因为支持 copyWholePackage 配置,并不是所有的文件都会被复制的
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
- // 因为支持 copyWholePackage 配置,并不是所有的文件都会被复制的
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.0",
18
+ "version": "2.54.1-alpha.1",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -43,11 +43,6 @@
43
43
  "types": "./dist/types/exports/server.d.ts",
44
44
  "jsnext:source": "./src/exports/server.ts",
45
45
  "default": "./dist/cjs/exports/server.js"
46
- },
47
- "./deploy": {
48
- "types": "./dist/types/plugins/deploy/exports.d.ts",
49
- "jsnext:source": "./src/plugins/deploy/exports.ts",
50
- "default": "./dist/cjs/plugins/deploy/exports.js"
51
46
  }
52
47
  },
53
48
  "engines": {
@@ -63,9 +58,6 @@
63
58
  ],
64
59
  "server": [
65
60
  "./dist/types/exports/server.d.ts"
66
- ],
67
- "deploy": [
68
- "./dist/types/plugins/deploy/exports.d.ts"
69
61
  ]
70
62
  }
71
63
  },
@@ -89,19 +81,19 @@
89
81
  "pkg-types": "^1.1.0",
90
82
  "std-env": "^3.7.0",
91
83
  "@modern-js/core": "2.54.0",
92
- "@modern-js/plugin": "2.54.0",
93
- "@modern-js/node-bundle-require": "2.54.0",
84
+ "@modern-js/plugin-data-loader": "2.54.0",
94
85
  "@modern-js/plugin-i18n": "2.54.0",
95
- "@modern-js/prod-server": "2.54.0",
86
+ "@modern-js/node-bundle-require": "2.54.0",
87
+ "@modern-js/plugin": "2.54.0",
96
88
  "@modern-js/plugin-lint": "2.54.0",
97
- "@modern-js/rsbuild-plugin-esbuild": "2.54.0",
98
89
  "@modern-js/server": "2.54.0",
90
+ "@modern-js/prod-server": "2.54.0",
91
+ "@modern-js/types": "2.54.0",
99
92
  "@modern-js/server-core": "2.54.0",
100
93
  "@modern-js/server-utils": "2.54.0",
101
- "@modern-js/plugin-data-loader": "2.54.0",
102
- "@modern-js/types": "2.54.0",
103
- "@modern-js/uni-builder": "2.54.0",
104
- "@modern-js/utils": "2.54.0"
94
+ "@modern-js/rsbuild-plugin-esbuild": "2.54.0",
95
+ "@modern-js/utils": "2.54.0",
96
+ "@modern-js/uni-builder": "2.54.0"
105
97
  },
106
98
  "devDependencies": {
107
99
  "@rsbuild/plugin-swc": "0.7.9",