@modern-js/entry-generator 3.4.7 → 3.4.8

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/index.js CHANGED
@@ -62151,7 +62151,7 @@ var refactorSingleEntry = async (context, generator) => {
62151
62151
  const files = import_utils3.fs.readdirSync(import_path7.default.join(oldFilePath, filePath));
62152
62152
  return files.length;
62153
62153
  }
62154
- return filePath !== ".eslintrc.json" && filePath !== ".eslintrc.js" && filePath !== "modern-app-env.d.ts";
62154
+ return filePath !== ".eslintrc.json" && filePath !== ".eslintrc.js" && filePath !== "modern-app-env.d.ts" && filePath !== "modern.runtime.ts" && filePath !== "modern.runtime.js";
62155
62155
  }).map(
62156
62156
  (file) => import_path7.default.join(context.materials.default.basePath, entriesDir, file)
62157
62157
  );
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.4.7",
18
+ "version": "3.4.8",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -23,7 +23,7 @@
23
23
  "/dist/index.js"
24
24
  ],
25
25
  "dependencies": {
26
- "@modern-js/utils": "2.54.6"
26
+ "@modern-js/utils": "2.55.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@modern-js/codesmith": "2.3.5",
@@ -33,11 +33,11 @@
33
33
  "@types/node": "^14",
34
34
  "jest": "^29",
35
35
  "typescript": "^5",
36
- "@modern-js/generator-common": "3.4.7",
37
- "@modern-js/generator-utils": "3.4.7",
38
- "@scripts/build": "2.54.6",
39
- "@modern-js/plugin-i18n": "2.54.6",
40
- "@scripts/jest-config": "2.54.6"
36
+ "@modern-js/generator-utils": "3.4.8",
37
+ "@modern-js/generator-common": "3.4.8",
38
+ "@modern-js/plugin-i18n": "2.55.0",
39
+ "@scripts/build": "2.55.0",
40
+ "@scripts/jest-config": "2.55.0"
41
41
  },
42
42
  "sideEffects": false,
43
43
  "publishConfig": {
package/src/index.ts CHANGED
@@ -55,7 +55,9 @@ const refactorSingleEntry = async (
55
55
  return (
56
56
  filePath !== '.eslintrc.json' &&
57
57
  filePath !== '.eslintrc.js' &&
58
- filePath !== 'modern-app-env.d.ts'
58
+ filePath !== 'modern-app-env.d.ts' &&
59
+ filePath !== 'modern.runtime.ts' &&
60
+ filePath !== 'modern.runtime.js'
59
61
  );
60
62
  })
61
63
  .map(file =>