@modern-js/server 3.1.0 → 3.1.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.
- package/dist/esm/dev-tools/watcher/index.mjs +2 -1
- package/dist/esm/index.mjs +1 -2
- package/dist/esm-node/dev-tools/https/index.mjs +1 -1
- package/dist/esm-node/dev-tools/watcher/index.mjs +2 -1
- package/dist/esm-node/index.mjs +1 -2
- package/package.json +8 -8
- /package/{rstest.config.ts → rstest.config.mts} +0 -0
package/dist/esm/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { createDevServer };
|
|
1
|
+
export { createDevServer } from "./createDevServer.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import __rslib_shim_module__ from "node:module";
|
|
2
2
|
const require = /*#__PURE__*/ __rslib_shim_module__.createRequire(/*#__PURE__*/ (()=>import.meta.url)());
|
|
3
|
+
import { chalk, getPackageManager, logger, tryResolve } from "@modern-js/utils";
|
|
3
4
|
import { fileURLToPath as __rspack_fileURLToPath } from "node:url";
|
|
4
5
|
import { dirname as __rspack_dirname } from "node:path";
|
|
5
|
-
import { chalk, getPackageManager, logger, tryResolve } from "@modern-js/utils";
|
|
6
6
|
var https_dirname = __rspack_dirname(__rspack_fileURLToPath(import.meta.url));
|
|
7
7
|
const genHttpsOptions = async (userOptions, pwd)=>{
|
|
8
8
|
const httpsOptions = 'boolean' == typeof userOptions ? {} : userOptions;
|
package/dist/esm-node/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.1.
|
|
18
|
+
"version": "3.1.2",
|
|
19
19
|
"types": "./dist/types/index.d.ts",
|
|
20
20
|
"main": "./dist/cjs/index.js",
|
|
21
21
|
"exports": {
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"minimatch": "^3.1.2",
|
|
45
45
|
"path-to-regexp": "^6.3.0",
|
|
46
46
|
"ws": "^8.19.0",
|
|
47
|
-
"@modern-js/runtime-utils": "3.1.
|
|
48
|
-
"@modern-js/server-core": "3.1.
|
|
49
|
-
"@modern-js/
|
|
50
|
-
"@modern-js/
|
|
51
|
-
"@modern-js/utils": "3.1.
|
|
47
|
+
"@modern-js/runtime-utils": "3.1.2",
|
|
48
|
+
"@modern-js/server-core": "3.1.2",
|
|
49
|
+
"@modern-js/types": "3.1.2",
|
|
50
|
+
"@modern-js/utils": "3.1.2",
|
|
51
|
+
"@modern-js/server-utils": "3.1.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@rslib/core": "0.
|
|
54
|
+
"@rslib/core": "0.20.3",
|
|
55
55
|
"@types/connect-history-api-fallback": "^1.5.4",
|
|
56
56
|
"@types/minimatch": "^3.0.5",
|
|
57
57
|
"@types/node": "^20",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"tsconfig-paths": "4.2.0",
|
|
62
62
|
"typescript": "^5",
|
|
63
63
|
"websocket": "^1.0.35",
|
|
64
|
-
"@modern-js/builder": "3.1.
|
|
64
|
+
"@modern-js/builder": "3.1.2",
|
|
65
65
|
"@modern-js/rslib": "2.68.10",
|
|
66
66
|
"@scripts/rstest-config": "2.66.0"
|
|
67
67
|
},
|
|
File without changes
|