@zhin.js/plugin-link-poster 1.0.1 → 2.0.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 +28 -0
  2. package/package.json +3 -3
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # @zhin.js/plugin-link-poster
2
+
3
+ Zhin.js plugin for link-poster functionality.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pnpm add @zhin.js/plugin-link-poster
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ Add the plugin to your `zhin.config.yml`:
14
+
15
+ ```yaml
16
+ plugins:
17
+ - @zhin.js/plugin-link-poster
18
+ ```
19
+
20
+ Or via CLI:
21
+
22
+ ```bash
23
+ zhin install @zhin.js/plugin-link-poster
24
+ ```
25
+
26
+ ## Configuration
27
+
28
+ Configure in `zhin.config.yml` under the plugin's key. Refer to the plugin source for available options.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/plugin-link-poster",
3
- "version": "1.0.1",
3
+ "version": "2.0.0",
4
4
  "description": "Auto-detect Bilibili/GitHub/Douyin/Xiaohongshu links and generate beautiful poster cards",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -38,10 +38,10 @@
38
38
  "dependencies": {},
39
39
  "devDependencies": {
40
40
  "typescript": "^6.0.3",
41
- "zhin.js": "2.0.1"
41
+ "zhin.js": "3.0.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "zhin.js": "2.0.1"
44
+ "zhin.js": "3.0.0"
45
45
  },
46
46
  "repository": {
47
47
  "type": "git",