rspress 1.41.0 → 1.41.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/README.md CHANGED
@@ -1,42 +1,15 @@
1
1
  # Rspress
2
2
 
3
3
  <picture>
4
- <img alt="Rspress Banner" src="https://github.com/web-infra-dev/rspress/assets/39261479/999e7946-45ff-45d5-b9cd-594e634e0e5a">
4
+ <img alt="Rspress Banner" src="https://assets.rspack.dev/rspress/rspress-banner.png">
5
5
  </picture>
6
6
 
7
- <h2 align="center">A fast Rspack-based static site generator.</h2>
8
-
9
- ## Features
10
-
11
- - **šŸš€ Fast Startup**: Based on Rust-based build tool and markdown/mdx compiler, the build speed is extremely fast, bringing you the ultimate development experience.
12
- - **šŸ“š MDX Support**: MDX is a powerful way to write content, allowing you to use React components in Markdown.
13
- - **šŸ“¦ Built-in Full Text Search**: Automatically generates a full-text search index for you during building process, providing out-of-the-box full-text search capabilities.
14
- - **🌈 Static Site Generation**: In production, it automatically builds into static HTML files, which can be easily deployed anywhere.
15
- - **šŸ”Œ Providing Plugin System**: Providing a plugin system, you can customize the build process and theme according to your needs.
16
- - **šŸ“ Component Document**: Support multi ways to preview your component demo.
7
+ <h2 align="center">A fast Rsbuild-based static site generator.</h2>
17
8
 
18
9
  ## Getting started
19
10
 
20
- Go to the [Quick Start](https://rspress.dev/guide/start/getting-started.html) to get started.
21
-
22
- ## Contribution
23
-
24
- Please read the [contributing guide](./CONTRIBUTING.md) and let's build Rspress together.
25
-
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
-
28
- ### Code of conduct
29
-
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
-
32
- ### Links
33
-
34
- | Name | Description |
35
- | ---------------------------------------------------------- | --------------------------------------- |
36
- | [@rspress/mdx-rs](https://github.com/web-infra-dev/mdx-rs) | Rust MDX compiler for Rspress. |
37
- | [Rspack](https://github.com/web-infra-dev/rspack) | A fast Rust-based web bundler. |
38
- | [Rsbuild](https://github.com/web-infra-dev/rsbuild) | An Rspack-based build tool for the web. |
11
+ Go to the [Quick start](https://rspress.dev/guide/start/getting-started.html) to get started.
39
12
 
40
13
  ### License
41
14
 
42
- Rspress is licensed under the [MIT License](./LICENSE).
15
+ Rspress is licensed under the MIT License.
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as __WEBPACK_EXTERNAL_MODULE_node_module_ab9f2194__ from "node:module";
2
2
  import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE__rspress_core_1b2e46ce__ from "@rspress/core";
4
- import * as __WEBPACK_EXTERNAL_MODULE__rspress_shared_chalk_065b3c0f__ from "@rspress/shared/chalk";
5
4
  import * as __WEBPACK_EXTERNAL_MODULE__rspress_shared_logger_4374e44a__ from "@rspress/shared/logger";
6
5
  import * as __WEBPACK_EXTERNAL_MODULE_cac__ from "cac";
7
6
  import * as __WEBPACK_EXTERNAL_MODULE_chokidar__ from "chokidar";
7
+ import * as __WEBPACK_EXTERNAL_MODULE_picocolors__ from "picocolors";
8
8
  import * as __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__ from "node:fs";
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";
@@ -145,7 +145,7 @@ cli.command('[root]', 'start dev server').alias('dev').option('--port [port]', '
145
145
  if ('add' === eventName || 'unlink' === eventName || 'change' === eventName && (CONFIG_FILES.includes(__WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].basename(filepath)) || __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].basename(filepath) === META_FILE)) {
146
146
  if (isRestarting) return;
147
147
  isRestarting = true;
148
- console.log(`\n✨ ${eventName} ${__WEBPACK_EXTERNAL_MODULE__rspress_shared_chalk_065b3c0f__["default"].green(__WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].relative(cwd, filepath))}, dev server will restart...\n`);
148
+ console.log(`\n✨ ${eventName} ${__WEBPACK_EXTERNAL_MODULE_picocolors__["default"].green(__WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].relative(cwd, filepath))}, dev server will restart...\n`);
149
149
  await devServer.close();
150
150
  await cliWatcher.close();
151
151
  await startDevServer();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rspress",
3
- "version": "1.41.0",
3
+ "version": "1.41.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rspress",
@@ -39,12 +39,13 @@
39
39
  "@rsbuild/core": "1.2.3",
40
40
  "cac": "^6.7.14",
41
41
  "chokidar": "^3.6.0",
42
- "@rspress/core": "1.41.0",
43
- "@rspress/shared": "1.41.0"
42
+ "picocolors": "^1.1.1",
43
+ "@rspress/core": "1.41.2",
44
+ "@rspress/shared": "1.41.2"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@microsoft/api-extractor": "^7.49.2",
47
- "@rslib/core": "0.4.0",
48
+ "@rslib/core": "0.4.1",
48
49
  "@types/jest": "~29.5.14",
49
50
  "@types/node": "^18.11.17",
50
51
  "@types/react": "^18.3.18",
@@ -59,7 +60,6 @@
59
60
  "scripts": {
60
61
  "build": "rslib build",
61
62
  "dev": "rslib build -w",
62
- "reset": "rimraf ./**/node_modules",
63
- "test": "vitest run"
63
+ "reset": "rimraf ./**/node_modules"
64
64
  }
65
65
  }