@lobehub/ui 1.18.1 → 1.18.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 +28 -4
- package/package.json +7 -4
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<a name="readme-top"></a>
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
<img width="160" src="https://raw.githubusercontent.com/lobehub/.github/main/profile/Logo.webp">
|
|
6
6
|
|
|
7
7
|
<h1>Lobe UI</h1>
|
|
@@ -15,8 +15,7 @@ Lobe UI is an open-source UI component library for building _AIGC_ web apps
|
|
|
15
15
|
[![release][release-shield]][release-url]
|
|
16
16
|
[![releaseDate][release-date-shield]][release-date-url]
|
|
17
17
|
[![ciTest][ci-test-shield]][ci-test-url]
|
|
18
|
-
[![ciRelease][ci-release-shield]][ci-release-url]
|
|
19
|
-
<br/>
|
|
18
|
+
[![ciRelease][ci-release-shield]][ci-release-url] <br/>
|
|
20
19
|
[![contributors][contributors-shield]][contributors-url]
|
|
21
20
|
[![forks][forks-shield]][forks-url]
|
|
22
21
|
[![stargazers][stargazers-shield]][stargazers-url]
|
|
@@ -26,6 +25,25 @@ Lobe UI is an open-source UI component library for building _AIGC_ web apps
|
|
|
26
25
|
|
|
27
26
|
</div>
|
|
28
27
|
|
|
28
|
+
<details>
|
|
29
|
+
<summary><kbd>Table of contents</kbd></summary>
|
|
30
|
+
|
|
31
|
+
#### TOC
|
|
32
|
+
|
|
33
|
+
- [📦 Installation](#-installation)
|
|
34
|
+
|
|
35
|
+
- [🤯 Usage](#-usage)
|
|
36
|
+
|
|
37
|
+
- [Compile with NextJS](#compile-with-nextjs)
|
|
38
|
+
|
|
39
|
+
- [⌨️ Local Development](#️-local-development)
|
|
40
|
+
|
|
41
|
+
- [🤝 Contributing](#-contributing)
|
|
42
|
+
|
|
43
|
+
####
|
|
44
|
+
|
|
45
|
+
</details>
|
|
46
|
+
|
|
29
47
|
## 📦 Installation
|
|
30
48
|
|
|
31
49
|
This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
|
|
@@ -36,7 +54,13 @@ To install Lobe UI, run the following command:
|
|
|
36
54
|
pnpm add @lobehub/ui
|
|
37
55
|
```
|
|
38
56
|
|
|
39
|
-
|
|
57
|
+
<div align="right">
|
|
58
|
+
|
|
59
|
+
[![][back-to-top]](#readme-top)
|
|
60
|
+
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
## 🤯 Usage
|
|
40
64
|
|
|
41
65
|
### Compile with NextJS
|
|
42
66
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/ui",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.2",
|
|
4
4
|
"description": "Lobe UI is an open-source UI component library for building chatbot web apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lobehub",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"url": "https://github.com/lobehub/lobe-ui.git"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
|
-
"author": "LobeHub",
|
|
21
|
+
"author": "LobeHub <i@lobehub.com>",
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"main": "es/index.js",
|
|
24
24
|
"module": "es/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"docs:build": "npm run build:theme && dumi build",
|
|
38
38
|
"doctor": "father doctor",
|
|
39
39
|
"lint": "eslint \"{src,tests,packages}/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
40
|
-
"lint:md": "remark .
|
|
40
|
+
"lint:md": "remark . --quiet --frail --output",
|
|
41
41
|
"lint:style": "stylelint \"{src,tests,packages}/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
42
42
|
"prepare": "husky install && npm run setup",
|
|
43
43
|
"prepublishOnly": "father doctor && npm run build",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"lint-staged": {
|
|
54
54
|
"*.md": [
|
|
55
|
-
"remark
|
|
55
|
+
"remark --quiet --output --",
|
|
56
56
|
"prettier --write --no-error-on-unmatched-pattern"
|
|
57
57
|
],
|
|
58
58
|
"*.json": [
|
|
@@ -60,10 +60,12 @@
|
|
|
60
60
|
],
|
|
61
61
|
"*.{js,jsx}": [
|
|
62
62
|
"prettier --write",
|
|
63
|
+
"stylelint --fix",
|
|
63
64
|
"eslint --fix"
|
|
64
65
|
],
|
|
65
66
|
"*.{ts,tsx}": [
|
|
66
67
|
"prettier --parser=typescript --write",
|
|
68
|
+
"stylelint --fix",
|
|
67
69
|
"eslint --fix"
|
|
68
70
|
]
|
|
69
71
|
},
|
|
@@ -138,6 +140,7 @@
|
|
|
138
140
|
"remark-lint": "^9",
|
|
139
141
|
"remark-lint-list-item-indent": "^3",
|
|
140
142
|
"remark-preset-lint-recommended": "^6",
|
|
143
|
+
"remark-toc": "^8",
|
|
141
144
|
"semantic-release": "^21",
|
|
142
145
|
"semantic-release-config-gitmoji": "^1",
|
|
143
146
|
"stylelint": "^15",
|