@modern-js/main-doc 0.0.0-nightly-20240503170717 → 0.0.0-nightly-20240505170717

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.
@@ -40,7 +40,7 @@ sidebar_position: 3
40
40
 
41
41
  然后修改一下默认的代码和新增文件:
42
42
 
43
- **重命名 `./pakcages/components/src/index.tsx`**
43
+ **重命名 `./packages/components/src/index.tsx`**
44
44
 
45
45
  ```tsx
46
46
  import './index.css';
@@ -54,7 +54,7 @@ export default function ({ text }: { text: string }) {
54
54
  }
55
55
  ```
56
56
 
57
- **新增 `./pakcages/components/src/index.css`**
57
+ **新增 `./packages/components/src/index.css`**
58
58
 
59
59
  ```css
60
60
  .log {
package/package.json CHANGED
@@ -15,17 +15,17 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-nightly-20240503170717",
18
+ "version": "0.0.0-nightly-20240505170717",
19
19
  "publishConfig": {
20
20
  "registry": "https://registry.npmjs.org/",
21
21
  "access": "public",
22
22
  "provenance": true
23
23
  },
24
24
  "dependencies": {
25
- "@modern-js/sandpack-react": "0.0.0-nightly-20240503170717"
25
+ "@modern-js/sandpack-react": "0.0.0-nightly-20240505170717"
26
26
  },
27
27
  "peerDependencies": {
28
- "@modern-js/builder-doc": "0.0.0-nightly-20240503170717"
28
+ "@modern-js/builder-doc": "0.0.0-nightly-20240505170717"
29
29
  },
30
30
  "devDependencies": {
31
31
  "classnames": "^2",
@@ -39,8 +39,8 @@
39
39
  "@rspress/shared": "1.18.2",
40
40
  "@types/node": "^16",
41
41
  "@types/fs-extra": "9.0.13",
42
- "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20240503170717",
43
- "@modern-js/builder-doc": "0.0.0-nightly-20240503170717"
42
+ "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20240505170717",
43
+ "@modern-js/builder-doc": "0.0.0-nightly-20240505170717"
44
44
  },
45
45
  "scripts": {
46
46
  "dev": "rspress dev",