rspress 0.0.10 → 0.0.11
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 +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -125,7 +125,7 @@ cli.command("build [root]").option("-c --config <config>", "specify config file"
|
|
125
125
|
config
|
126
126
|
});
|
127
127
|
});
|
128
|
-
cli.command("preview
|
128
|
+
cli.command("preview").alias("serve").option("-c --config <config>", "specify config file").option("--port [port]", "port number").option("--host [host]", "hostname").action(async (options) => {
|
129
129
|
setNodeEnv("production");
|
130
130
|
const { port, host } = options || {};
|
131
131
|
const config = await loadConfigFile(options?.config);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "rspress",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.11",
|
4
4
|
"type": "module",
|
5
5
|
"types": "./dist/index.d.ts",
|
6
6
|
"main": "./dist/index.js",
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"chokidar": "^3.5.3",
|
34
34
|
"chalk": "5.3.0",
|
35
35
|
"gradient-string": "2.0.2",
|
36
|
-
"@rspress/core": "0.0.
|
36
|
+
"@rspress/core": "0.0.11"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
39
|
"@types/jest": "~29.2.4",
|