rspress 1.25.1 → 1.26.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.
- package/dist/index.js +6 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
@@ -172,8 +172,12 @@ cli.command("[root]", "start dev server").alias("dev").option("--port [port]", "
|
|
172
172
|
};
|
173
173
|
await startDevServer();
|
174
174
|
const exitProcess = async () => {
|
175
|
-
|
176
|
-
|
175
|
+
try {
|
176
|
+
await devServer.close();
|
177
|
+
await cliWatcher.close();
|
178
|
+
} finally {
|
179
|
+
process.exit(0);
|
180
|
+
}
|
177
181
|
};
|
178
182
|
process.on("SIGINT", exitProcess);
|
179
183
|
process.on("SIGTERM", exitProcess);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "rspress",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.26.0",
|
4
4
|
"type": "module",
|
5
5
|
"types": "./dist/index.d.ts",
|
6
6
|
"main": "./dist/index.js",
|
@@ -28,12 +28,12 @@
|
|
28
28
|
}
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
|
-
"@rsbuild/core": "0.
|
31
|
+
"@rsbuild/core": "1.0.0-alpha.6",
|
32
32
|
"cac": "^6.7.14",
|
33
33
|
"chalk": "5.3.0",
|
34
34
|
"chokidar": "^3.6.0",
|
35
|
-
"@rspress/core": "1.
|
36
|
-
"@rspress/shared": "1.
|
35
|
+
"@rspress/core": "1.26.0",
|
36
|
+
"@rspress/shared": "1.26.0"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
39
|
"@types/jest": "~29.5.12",
|