12 Commits

Author SHA1 Message Date
jaywcjlove
33a60420a4 released v2.3.3 2022-09-17 11:32:18 +08:00
jaywcjlove
c7dba6d5de website: update commamnd style. 2022-09-17 11:31:43 +08:00
jaywcjlove
ed596a7403 chore: update workflows config. 2022-09-13 12:40:35 +08:00
jaywcjlove
7f28e6ada1 released v2.3.2 2022-09-13 11:29:17 +08:00
renovate[bot]
df10f96a65 chore(deps): update dependency electron to v20 (#8) 2022-09-13 11:01:04 +08:00
jaywcjlove
02cb33cfcd released v2.3.1 2022-09-12 17:57:06 +08:00
jaywcjlove
13a96916d7 doc: Update README.md 2022-09-12 17:56:27 +08:00
jaywcjlove
245d54e511 doc: Update README.md 2022-09-12 17:55:42 +08:00
jaywcjlove
06e216aa22 doc: Update README.md 2022-09-12 17:54:26 +08:00
jaywcjlove
a50acf3888 chore: update workflows config. 2022-09-12 17:53:51 +08:00
jaywcjlove
195d2ce8d0 chore: update workflows config. 2022-09-12 17:51:09 +08:00
renovate[bot]
9adcd7eaa7 chore(deps): update dependency lerna to v5.5.1 (#9) 2022-09-12 17:40:10 +08:00
10 changed files with 39 additions and 16 deletions

View File

@@ -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]

View File

@@ -6,7 +6,7 @@
微信公众号文章 Markdown 在线编辑器,使用 markdown 语法创建一篇简介美观大方的微信公众号图文。由于发版本麻烦,和一些功能无法扩展停滞开发了,未来不再开发 Chrome 的插件(暂存在 chrome 分支),通过 web 版本定制更丰富的功能。
[![Markdown 编辑器桌面应用](https://user-images.githubusercontent.com/1680273/188407235-ead43d61-2ef8-416a-926f-396d8b824b33.png)](https://jaywcjlove.github.io/wxmp)
[![Markdown 编辑器桌面应用](https://user-images.githubusercontent.com/1680273/188407235-ead43d61-2ef8-416a-926f-396d8b824b33.png)](https://github.com/jaywcjlove/wxmp/releases)
## 功能特性

View File

@@ -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"
}
}

View File

@@ -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"
}
}

View File

@@ -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"
}
}

View File

@@ -1,4 +1,4 @@
{
"version": "2.3.0",
"version": "2.3.3",
"packages": ["website", "electron/*"]
}

View File

@@ -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"

View File

@@ -1,6 +1,6 @@
{
"name": "website",
"version": "2.3.0",
"version": "2.3.3",
"private": true,
"scripts": {
"start": "kkt start",

View File

@@ -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 {

View File

@@ -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;