mirror of
https://github.com/jaywcjlove/wxmp.git
synced 2026-01-12 16:28:48 +08:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33a60420a4 | ||
|
|
c7dba6d5de | ||
|
|
ed596a7403 | ||
|
|
7f28e6ada1 | ||
|
|
df10f96a65 | ||
|
|
02cb33cfcd | ||
|
|
13a96916d7 | ||
|
|
245d54e511 | ||
|
|
06e216aa22 | ||
|
|
a50acf3888 | ||
|
|
195d2ce8d0 | ||
|
|
9adcd7eaa7 |
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
@@ -143,6 +143,8 @@ jobs:
|
||||
run: npm run deps
|
||||
|
||||
- run: npm run build:app
|
||||
- working-directory: electron/app/dist
|
||||
run: ls -R
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
@@ -174,6 +176,8 @@ jobs:
|
||||
run: npm run deps
|
||||
|
||||
- run: npm run build:app
|
||||
- working-directory: electron/app/dist
|
||||
run: ls -R
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
@@ -205,6 +209,8 @@ jobs:
|
||||
run: npm run deps
|
||||
|
||||
- run: npm run build:app
|
||||
- working-directory: electron/app/dist
|
||||
run: ls -R
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
@@ -246,7 +252,7 @@ jobs:
|
||||
|
||||
- name: Generate Changelog
|
||||
id: changelog
|
||||
uses: jaywcjlove/changelog-generator@v1.5.7
|
||||
uses: jaywcjlove/changelog-generator@main
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
|
||||
@@ -259,12 +265,29 @@ jobs:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: ${{ steps.changelog.outputs.tag }}
|
||||
tag: ${{ steps.changelog.outputs.tag }}
|
||||
artifacts: "dist/linux/*.rpm,dist/linux/*.deb,dist/macos/*.zip,dist/macos/*.dmg,dist/windows/*.exe"
|
||||
body: |
|
||||
Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/wxmp/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
|
||||
Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
|
||||
|
||||
${{ steps.changelog.outputs.changelog }}
|
||||
|
||||
```bash
|
||||
docker pull wcjiang/wxmp:${{needs.build.outputs.create_tag_versionNumber}}
|
||||
```
|
||||
|
||||
```bash
|
||||
docker run --name wxmp --rm -d -p 9666:3000 wcjiang/wxmp:${{ needs.build.outputs.create_tag_versionNumber }}
|
||||
# Or
|
||||
docker run --name wxmp -itd -p 9666:3000 wcjiang/wxmp:${{ needs.build.outputs.create_tag_versionNumber }}
|
||||
```
|
||||
|
||||
Visit the following URL in your browser
|
||||
|
||||
```bash
|
||||
http://localhost:9666/
|
||||
```
|
||||
|
||||
roll_back:
|
||||
if: failure()
|
||||
needs: [build, create_release]
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
微信公众号文章 Markdown 在线编辑器,使用 markdown 语法创建一篇简介美观大方的微信公众号图文。由于发版本麻烦,和一些功能无法扩展停滞开发了,未来不再开发 Chrome 的插件(暂存在 chrome 分支),通过 web 版本定制更丰富的功能。
|
||||
|
||||
[](https://jaywcjlove.github.io/wxmp)
|
||||
[](https://github.com/jaywcjlove/wxmp/releases)
|
||||
|
||||
## 功能特性
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "wxmp",
|
||||
"description": "微信公众号 Markdown 编辑器",
|
||||
"homepage": "https://github.com/jaywcjlove/wxmp.git",
|
||||
"version": "2.3.0",
|
||||
"version": "2.3.3",
|
||||
"main": "main.js",
|
||||
"author": "Kenny Wong <398188662@qq.com>",
|
||||
"private": true,
|
||||
@@ -18,13 +18,13 @@
|
||||
"build": "npm run copy && cross-env NODE_ENV=production electron-builder build --publish=never --config config.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"@wcj/wxmp-main": "2.3.0"
|
||||
"@wcj/wxmp-main": "2.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@wcj/wxmp-preload": "2.3.0",
|
||||
"@wcj/wxmp-preload": "2.3.3",
|
||||
"cpy-cli": "4.2.0",
|
||||
"electron": "19.0.5",
|
||||
"electron": "20.1.3",
|
||||
"electron-builder": "23.3.3",
|
||||
"website": "2.3.0"
|
||||
"website": "2.3.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@wcj/wxmp-main",
|
||||
"version": "2.3.0",
|
||||
"version": "2.3.3",
|
||||
"main": "./lib/index.js",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
@@ -11,6 +11,6 @@
|
||||
"lib"
|
||||
],
|
||||
"devDependencies": {
|
||||
"electron": "19.0.5"
|
||||
"electron": "20.1.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@wcj/wxmp-preload",
|
||||
"version": "2.3.0",
|
||||
"version": "2.3.3",
|
||||
"main": "./lib/index.js",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
@@ -11,6 +11,6 @@
|
||||
"lib"
|
||||
],
|
||||
"devDependencies": {
|
||||
"electron": "19.0.5"
|
||||
"electron": "20.1.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"version": "2.3.0",
|
||||
"version": "2.3.3",
|
||||
"packages": ["website", "electron/*"]
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"devDependencies": {
|
||||
"cross-env": "^7.0.3",
|
||||
"husky": "^8.0.1",
|
||||
"lerna": "5.5.0",
|
||||
"lerna": "5.5.1",
|
||||
"prettier": "^2.7.1",
|
||||
"pretty-quick": "~3.1.3",
|
||||
"tsbb": "^3.7.5"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "website",
|
||||
"version": "2.3.0",
|
||||
"version": "2.3.3",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "kkt start",
|
||||
|
||||
@@ -4,7 +4,7 @@ import styled from 'styled-components';
|
||||
|
||||
const Link = styled(NavLink)`
|
||||
font-size: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
line-height: 0.7rem;
|
||||
text-decoration: none;
|
||||
padding: 0.18rem 0.3rem;
|
||||
&:hover {
|
||||
|
||||
@@ -12,7 +12,7 @@ const Select = styled.select`
|
||||
padding: 0 0.2rem 0 0.2rem;
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
outline: none;
|
||||
height: 1.15rem;
|
||||
cursor: inherit;
|
||||
|
||||
Reference in New Issue
Block a user