@modern-js/server-utils 2.48.6 → 2.49.0

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.
@@ -50,7 +50,8 @@ const copyFiles = async (from, to, appDirectory, tsconfigPath) => {
50
50
  const targetDir = import_path.default.join(to, relativePath);
51
51
  await import_utils.fs.copy(from, targetDir, {
52
52
  filter: (src) => ![
53
- ".ts"
53
+ ".ts",
54
+ ".js"
54
55
  ].includes(import_path.default.extname(src)) && src !== tsconfigPath
55
56
  });
56
57
  }
@@ -38,7 +38,8 @@ var copyFiles = function() {
38
38
  fs.copy(from, targetDir, {
39
39
  filter: function(src) {
40
40
  return ![
41
- ".ts"
41
+ ".ts",
42
+ ".js"
42
43
  ].includes(path.extname(src)) && src !== tsconfigPath;
43
44
  }
44
45
  })
@@ -17,7 +17,8 @@ const copyFiles = async (from, to, appDirectory, tsconfigPath) => {
17
17
  const targetDir = path.join(to, relativePath);
18
18
  await fs.copy(from, targetDir, {
19
19
  filter: (src) => ![
20
- ".ts"
20
+ ".ts",
21
+ ".js"
21
22
  ].includes(path.extname(src)) && src !== tsconfigPath
22
23
  });
23
24
  }
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.48.6",
18
+ "version": "2.49.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -36,12 +36,12 @@
36
36
  "@babel/preset-env": "^7.22.15",
37
37
  "@babel/preset-react": "^7.22.15",
38
38
  "@babel/preset-typescript": "^7.22.15",
39
- "@rsbuild/babel-preset": "0.6.1",
39
+ "@rsbuild/babel-preset": "0.6.3",
40
40
  "@swc/helpers": "0.5.3",
41
41
  "babel-plugin-transform-typescript-metadata": "^0.3.2",
42
- "@modern-js/babel-compiler": "2.48.6",
43
- "@modern-js/utils": "2.48.6",
44
- "@modern-js/babel-plugin-module-resolver": "2.48.6"
42
+ "@modern-js/babel-compiler": "2.49.0",
43
+ "@modern-js/utils": "2.49.0",
44
+ "@modern-js/babel-plugin-module-resolver": "2.49.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/babel__core": "^7.20.1",
@@ -50,9 +50,9 @@
50
50
  "jest": "^29",
51
51
  "ts-jest": "^29.1.0",
52
52
  "typescript": "^5",
53
- "@scripts/build": "2.48.6",
54
- "@modern-js/server-core": "2.48.6",
55
- "@scripts/jest-config": "2.48.6"
53
+ "@modern-js/server-core": "2.49.0",
54
+ "@scripts/jest-config": "2.49.0",
55
+ "@scripts/build": "2.49.0"
56
56
  },
57
57
  "sideEffects": false,
58
58
  "publishConfig": {