rspress 1.39.3 → 1.40.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/README.md +2 -2
- package/dist/index.js +3 -3
- package/package.json +24 -25
package/README.md
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
- **🔌 Providing Plugin System**: Providing a plugin system, you can customize the build process and theme according to your needs.
|
16
16
|
- **📝 Component Document**: Support multi ways to preview your component demo.
|
17
17
|
|
18
|
-
## Getting
|
18
|
+
## Getting started
|
19
19
|
|
20
20
|
Go to the [Quick Start](https://rspress.dev/guide/start/getting-started.html) to get started.
|
21
21
|
|
@@ -25,7 +25,7 @@ Please read the [contributing guide](./CONTRIBUTING.md) and let's build Rspress
|
|
25
25
|
|
26
26
|
If you have any questions, you can open an issue or go to [Discord](https://discord.com/invite/Cq6HweJM26) to communicate with us.
|
27
27
|
|
28
|
-
### Code of
|
28
|
+
### Code of conduct
|
29
29
|
|
30
30
|
This repo has adopted the ByteDance Open Source Code of Conduct. Please check [Code of Conduct](./CODE_OF_CONDUCT.md) for more details.
|
31
31
|
|
package/dist/index.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_node_module__ from "node:module";
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_node_path__ from "node:path";
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_cac__ from "cac";
|
4
3
|
import * as __WEBPACK_EXTERNAL_MODULE__rspress_core__ from "@rspress/core";
|
5
4
|
import * as __WEBPACK_EXTERNAL_MODULE__rspress_shared_logger__ from "@rspress/shared/logger";
|
6
|
-
import * as
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_cac__ from "cac";
|
7
6
|
import * as __WEBPACK_EXTERNAL_MODULE_chalk__ from "chalk";
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE_chokidar__ from "chokidar";
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE_node_fs__ from "node:fs";
|
9
|
-
import * as __WEBPACK_EXTERNAL_MODULE_node_fs_promises__ from "node:fs/promises";
|
10
9
|
import * as __WEBPACK_EXTERNAL_MODULE_node_child_process__ from "node:child_process";
|
10
|
+
import * as __WEBPACK_EXTERNAL_MODULE_node_fs_promises__ from "node:fs/promises";
|
11
11
|
import * as __WEBPACK_EXTERNAL_MODULE__rspress_shared_fs_extra__ from "@rspress/shared/fs-extra";
|
12
12
|
const DEFAULT_CONFIG_NAME = 'rspress.config';
|
13
13
|
const DEFAULT_EXTENSIONS = [
|
package/package.json
CHANGED
@@ -1,18 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "rspress",
|
3
|
-
"version": "1.
|
4
|
-
"type": "module",
|
5
|
-
"types": "./dist/index.d.ts",
|
6
|
-
"main": "./dist/index.js",
|
7
|
-
"module": "./dist/index.js",
|
8
|
-
"bin": {
|
9
|
-
"rspress": "./bin/rspress.js"
|
10
|
-
},
|
3
|
+
"version": "1.40.0",
|
11
4
|
"repository": {
|
12
5
|
"type": "git",
|
13
6
|
"url": "https://github.com/web-infra-dev/rspress",
|
14
7
|
"directory": "packages/cli"
|
15
8
|
},
|
9
|
+
"license": "MIT",
|
10
|
+
"type": "module",
|
16
11
|
"exports": {
|
17
12
|
".": {
|
18
13
|
"default": "./dist/index.js"
|
@@ -27,41 +22,45 @@
|
|
27
22
|
"default": "./config.ts"
|
28
23
|
}
|
29
24
|
},
|
25
|
+
"main": "./dist/index.js",
|
26
|
+
"module": "./dist/index.js",
|
27
|
+
"types": "./dist/index.d.ts",
|
28
|
+
"bin": {
|
29
|
+
"rspress": "./bin/rspress.js"
|
30
|
+
},
|
31
|
+
"files": [
|
32
|
+
"bin",
|
33
|
+
"dist",
|
34
|
+
"runtime.ts",
|
35
|
+
"theme.ts",
|
36
|
+
"config.ts"
|
37
|
+
],
|
30
38
|
"dependencies": {
|
31
|
-
"@rsbuild/core": "~1.1.
|
39
|
+
"@rsbuild/core": "~1.1.13",
|
32
40
|
"cac": "^6.7.14",
|
33
41
|
"chalk": "5.4.1",
|
34
42
|
"chokidar": "^3.6.0",
|
35
|
-
"@rspress/shared": "1.
|
36
|
-
"@rspress/core": "1.
|
43
|
+
"@rspress/shared": "1.40.0",
|
44
|
+
"@rspress/core": "1.40.0"
|
37
45
|
},
|
38
46
|
"devDependencies": {
|
39
|
-
"@microsoft/api-extractor": "^7.
|
40
|
-
"@rslib/core": "0.
|
47
|
+
"@microsoft/api-extractor": "^7.49.1",
|
48
|
+
"@rslib/core": "0.2.2",
|
41
49
|
"@types/jest": "~29.5.14",
|
42
50
|
"@types/node": "^18.11.17",
|
43
51
|
"@types/react": "^18.3.18",
|
44
52
|
"rimraf": "^3.0.2",
|
45
53
|
"typescript": "^5.5.3"
|
46
54
|
},
|
47
|
-
"sideEffects": [],
|
48
55
|
"publishConfig": {
|
49
56
|
"access": "public",
|
50
57
|
"provenance": true,
|
51
58
|
"registry": "https://registry.npmjs.org/"
|
52
59
|
},
|
53
|
-
"license": "MIT",
|
54
|
-
"files": [
|
55
|
-
"bin",
|
56
|
-
"dist",
|
57
|
-
"runtime.ts",
|
58
|
-
"theme.ts",
|
59
|
-
"config.ts"
|
60
|
-
],
|
61
60
|
"scripts": {
|
62
|
-
"dev": "rslib build -w",
|
63
61
|
"build": "rslib build",
|
64
|
-
"
|
65
|
-
"reset": "rimraf ./**/node_modules"
|
62
|
+
"dev": "rslib build -w",
|
63
|
+
"reset": "rimraf ./**/node_modules",
|
64
|
+
"test": "vitest run"
|
66
65
|
}
|
67
66
|
}
|