@richmd/react 1.1.0 → 1.1.2-rc.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.
Files changed (2) hide show
  1. package/README.md +8 -4
  2. package/package.json +2 -3
package/README.md CHANGED
@@ -1,18 +1,22 @@
1
1
  # @richmd/react
2
2
 
3
+ ![NPM License](https://img.shields.io/npm/l/%40richmd%2Freact)
4
+ ![NPM Version](https://img.shields.io/npm/v/%40richmd%2Freact)
5
+ ![NPM Downloads](https://img.shields.io/npm/dw/%40richmd%2Freact)
6
+
3
7
  React component for [Richmd](https://github.com/richmd/core) - a tool for creating rich content with Markdown.
4
8
 
5
9
  ## Installation
6
10
 
7
11
  ```bash
8
12
  # Using npm
9
- npm install @richmd/core @richmd/react
13
+ npm install @richmd/react
10
14
 
11
15
  # Using yarn
12
- yarn add @richmd/core @richmd/react
16
+ yarn add @richmd/react
13
17
 
14
18
  # Using pnpm
15
- pnpm add @richmd/core @richmd/react
19
+ pnpm add @richmd/react
16
20
  ```
17
21
 
18
22
  ## Usage with Next.js (App Router)
@@ -22,7 +26,7 @@ pnpm add @richmd/core @richmd/react
22
26
  First, import the required CSS in your root layout file (`app/layout.tsx`):
23
27
 
24
28
  ```tsx
25
- import "@richmd/core/dist/richmd.css";
29
+ import "@richmd/react/dist/richmd.css";
26
30
 
27
31
  export default function RootLayout({
28
32
  children,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@richmd/react",
3
- "version": "1.1.0",
3
+ "version": "1.1.2-rc.0",
4
4
  "description": "It is a react package of Richmd.",
5
5
  "exports": {
6
6
  ".": {
@@ -40,8 +40,7 @@
40
40
  "homepage": "https://github.com/richmd/react.git",
41
41
  "license": "MIT",
42
42
  "dependencies": {
43
- "@richmd/core": "^3.1.0",
44
- "@richmd/js": "^1.0.0",
43
+ "@richmd/js": "^1.0.1",
45
44
  "html-react-parser": "^5.2.2",
46
45
  "react": "^19.0.0",
47
46
  "react-dom": "^19.0.0"