@rbbtsn0w/wechat-markdown 1.1.1 → 1.2.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.
- package/README.md +12 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -18,13 +18,24 @@ An extensible, headless TypeScript SDK designed to convert Markdown into pixel-p
|
|
|
18
18
|
|
|
19
19
|
## 📦 Installation
|
|
20
20
|
|
|
21
|
+
```bash
|
|
22
|
+
# Via npm
|
|
23
|
+
npm install @rbbtsn0w/wechat-markdown
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
For GitHub Packages, add the scope-specific registry to `.npmrc` before installing:
|
|
27
|
+
|
|
28
|
+
```ini
|
|
29
|
+
@rbbtsn0w:registry=https://npm.pkg.github.com
|
|
30
|
+
```
|
|
31
|
+
|
|
21
32
|
```bash
|
|
22
33
|
npm install @rbbtsn0w/wechat-markdown
|
|
23
34
|
```
|
|
24
35
|
|
|
25
36
|
## Releasing
|
|
26
37
|
|
|
27
|
-
Releases from `main` publish to npm using trusted publishing
|
|
38
|
+
Releases from `main` publish to npm using trusted publishing and GitHub Packages using `GITHUB_TOKEN`. A package that has never been published to npm must be bootstrapped manually because it has no npm settings page yet:
|
|
28
39
|
|
|
29
40
|
```bash
|
|
30
41
|
npm login
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rbbtsn0w/wechat-markdown",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "High-fidelity Markdown to WeChat Official Account HTML converter SDK & middleware",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -50,11 +50,12 @@
|
|
|
50
50
|
"mathjax-full": "^3.2.2",
|
|
51
51
|
"pako": "^2.1.0",
|
|
52
52
|
"sanitize-html": "^2.17.0",
|
|
53
|
-
"sharp": "^0.
|
|
53
|
+
"sharp": "^0.35.4",
|
|
54
54
|
"yaml": "^2.8.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@semantic-release/changelog": "^6.0.3",
|
|
58
|
+
"@semantic-release/exec": "^7.1.0",
|
|
58
59
|
"@semantic-release/git": "^10.0.1",
|
|
59
60
|
"@semantic-release/github": "^12.0.0",
|
|
60
61
|
"@semantic-release/npm": "^13.1.5",
|