@modern-js/module-tools-docs 2.58.0 → 2.58.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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @modern-js/module-tools-docs
2
2
 
3
+ ## 2.58.2
4
+
5
+ ## 2.58.1
6
+
7
+ ### Patch Changes
8
+
9
+ - 3824a0e: refactor(website): refactor modern.js docs to latest usage of rspress
10
+ refactor(website): 重构 modern.js 文档,使用最新 rspress 的用法
11
+
3
12
  ## 2.58.0
4
13
 
5
14
  ## 2.57.1
package/package.json CHANGED
@@ -9,14 +9,14 @@
9
9
  "directory": "packages/document/module-doc"
10
10
  },
11
11
  "license": "MIT",
12
- "version": "2.58.0",
12
+ "version": "2.58.2",
13
13
  "main": "index.js",
14
14
  "devDependencies": {
15
+ "@modern-js/doc-plugin-auto-sidebar": "2.58.1",
16
+ "@rspress/shared": "1.27.0",
15
17
  "react": "^18.2.0",
16
18
  "react-dom": "^18.2.0",
17
- "rspress": "1.26.1",
18
- "@rspress/shared": "1.26.1",
19
- "@modern-js/doc-plugin-auto-sidebar": "2.58.0"
19
+ "rspress": "1.27.0"
20
20
  },
21
21
  "scripts": {
22
22
  "dev": "rspress dev",
package/rspress.config.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import path from 'path';
2
- import { NavItem } from '@rspress/shared';
2
+ import type { NavItem } from '@rspress/shared';
3
3
  import { defineConfig } from 'rspress/config';
4
4
  import { pluginAutoSidebar } from '@modern-js/doc-plugin-auto-sidebar';
5
5
 
package/theme/index.ts CHANGED
@@ -1,3 +1,2 @@
1
- // eslint-disable-next-line import/export
2
1
  export * from 'rspress/theme';
3
2
  export { default } from 'rspress/theme';
package/.eslintrc.js DELETED
@@ -1,13 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- extends: ['@modern-js'],
4
- parserOptions: {
5
- tsconfigRootDir: __dirname,
6
- project: ['./tsconfig.json'],
7
- },
8
- ignorePatterns: ['rspress.config.ts'],
9
- rules: {
10
- 'babel/no-unused-expressions': 0,
11
- 'react/jsx-filename-extension': 0,
12
- },
13
- };