@wenyan-md/cli 1.0.5 → 1.0.6
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 +7 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -4,14 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
# 文颜 CLI
|
|
6
6
|
|
|
7
|
+
[](https://www.npmjs.com/package/@wenyan-md/cli)
|
|
8
|
+
[](LICENSE)
|
|
9
|
+

|
|
10
|
+
[](https://github.com/caol64/wenyan-cli)
|
|
11
|
+
|
|
7
12
|
「文颜」是一款多平台排版美化工具,让你将 Markdown 一键发布至微信公众号、知乎、今日头条等主流写作平台。
|
|
8
13
|
|
|
9
14
|
**文颜**现已推出多个版本:
|
|
10
15
|
|
|
11
16
|
* [macOS App Store 版](https://github.com/caol64/wenyan) - MAC 桌面应用
|
|
12
|
-
* [
|
|
17
|
+
* [跨平台版本](https://github.com/caol64/wenyan-pc) - Windows/Linux 跨平台桌面应用
|
|
13
18
|
* [CLI 版本](https://github.com/caol64/wenyan-cli) - CI/CD 或脚本自动化发布公众号文章
|
|
14
19
|
* [MCP 版本](https://github.com/caol64/wenyan-mcp) - 让 AI 自动发布公众号文章
|
|
20
|
+
* [嵌入版本](https://github.com/caol64/wenyan-core) - 将文颜的核心功能嵌入 Node 或者 Web 项目
|
|
15
21
|
|
|
16
22
|
本项目是 **文颜的 CLI 版本**。
|
|
17
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wenyan-md/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "A CLI tool for Wenyan markdown rendering & publishing",
|
|
5
5
|
"author": "Lei <caol64@gmail.com> (https://github.com/caol64)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"url": "https://github.com/caol64/wenyan-cli/issues"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@wenyan-md/core": "^1.0.
|
|
35
|
+
"@wenyan-md/core": "^1.0.12",
|
|
36
36
|
"commander": "^14.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "tsc",
|
|
46
46
|
"dev": "tsx src/index.ts",
|
|
47
|
+
"upgrade:core": "pnpm update @wenyan-md/core",
|
|
47
48
|
"test:render": "pnpm build && cat test/publish.md | node ./bin/cli.js render",
|
|
48
49
|
"test:publish": "pnpm build && cat test/publish.md | pnpm dotenv -e .env.test -- node ./bin/cli.js publish -t lapis"
|
|
49
50
|
}
|