rspress 2.0.0-alpha.8 → 2.0.0-beta.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 +2 -4
- package/package.json +6 -6
package/dist/index.js
CHANGED
@@ -8,7 +8,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__ from "node:fs";
|
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE__rspress_shared_constants_70084e62__ from "@rspress/shared/constants";
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE_node_child_process_27f17141__ from "node:child_process";
|
10
10
|
import * as __WEBPACK_EXTERNAL_MODULE_node_fs_promises_153e37e0__ from "node:fs/promises";
|
11
|
-
var package_namespaceObject = JSON.parse('{"i8":"2.0.0-
|
11
|
+
var package_namespaceObject = JSON.parse('{"i8":"2.0.0-beta.0"}');
|
12
12
|
const findConfig = (basePath)=>__WEBPACK_EXTERNAL_MODULE__rspress_shared_constants_70084e62__.DEFAULT_CONFIG_EXTENSIONS.map((ext)=>basePath + ext).find(__WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__["default"].existsSync);
|
13
13
|
async function loadConfigFile(customConfigFile) {
|
14
14
|
const baseDir = process.cwd();
|
@@ -87,8 +87,7 @@ async function update() {
|
|
87
87
|
}
|
88
88
|
const CONFIG_FILES = [
|
89
89
|
'rspress.config.ts',
|
90
|
-
'rspress.config.js'
|
91
|
-
'i18n.json'
|
90
|
+
'rspress.config.js'
|
92
91
|
];
|
93
92
|
const META_FILE = '_meta.json';
|
94
93
|
const cli = (0, __WEBPACK_EXTERNAL_MODULE_cac__.cac)('rspress').version(package_namespaceObject.i8).help();
|
@@ -163,7 +162,6 @@ cli.command('build [root]').action(async (root, options)=>{
|
|
163
162
|
const docDirectory = config.root;
|
164
163
|
try {
|
165
164
|
await (0, __WEBPACK_EXTERNAL_MODULE__rspress_core_1b2e46ce__.build)({
|
166
|
-
appDirectory: cwd,
|
167
165
|
docDirectory,
|
168
166
|
config
|
169
167
|
});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "rspress",
|
3
|
-
"version": "2.0.0-
|
3
|
+
"version": "2.0.0-beta.0",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "https://github.com/web-infra-dev/rspress",
|
@@ -36,16 +36,16 @@
|
|
36
36
|
"config.ts"
|
37
37
|
],
|
38
38
|
"dependencies": {
|
39
|
-
"@rsbuild/core": "1.3.
|
39
|
+
"@rsbuild/core": "1.3.9",
|
40
40
|
"cac": "^6.7.14",
|
41
41
|
"chokidar": "^3.6.0",
|
42
42
|
"picocolors": "^1.1.1",
|
43
|
-
"@rspress/core": "2.0.0-
|
44
|
-
"@rspress/shared": "2.0.0-
|
43
|
+
"@rspress/core": "2.0.0-beta.0",
|
44
|
+
"@rspress/shared": "2.0.0-beta.0"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
|
-
"@microsoft/api-extractor": "^7.52.
|
48
|
-
"@rslib/core": "0.6.
|
47
|
+
"@microsoft/api-extractor": "^7.52.4",
|
48
|
+
"@rslib/core": "0.6.5",
|
49
49
|
"@types/jest": "~29.5.14",
|
50
50
|
"@types/node": "^18.11.17",
|
51
51
|
"@types/react": "^18.3.20",
|