Skip to content

Commit

Permalink
Fix curl chinesefilename (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
danni-cool authored Dec 5, 2023
2 parents 06e6400 + b778aec commit 9deb4fe
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 5,567 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,6 @@ token 初次启动项目会自动生成,你也可以配置一个简单好记
| success | 登录成功与否 | `Boolean` | `true` / `false` |
| message | 当前登录用户名,登录失败将返回扫码登录URL | `String` | |

## 关于包管理器

从 npm 迁移至 pnpm,本地开发可以安装 pnpm 环境,建议 node 版本 16.13.1 以上,[参考链接](https://pnpm.io/zh/installation)

> 如果你是 MacOS,建议使用 Homebrew 安装

## ⏫ 更新日志

Expand Down
5 changes: 2 additions & 3 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ FROM node:18-alpine
WORKDIR /app

# 非依赖变更缓存改层
COPY package.json pnpm-lock.yaml yarn.lock .npmrc ./
COPY patches ./patches
COPY package.json yarn.lock .npmrc ./

# 安装应用程序依赖项
RUN npm install -g pnpm && pnpm install && pnpm store prune && npm uninstall pnpm -g
RUN yarn && yarn cache clean && npm uninstall yarn -g

# 复制应用程序代码到工作目录
COPY . .
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"description": "给微信里加个 webhook 机器人,支持docker部署",
"main": "index.js",
"scripts": {
"preinstall": "patch-package",
"prestart": "node ./scripts/preStart",
"predebug": "node ./scripts/preStart",
"start": "node main",
Expand Down Expand Up @@ -43,7 +42,6 @@
"mime": "^3.0.0",
"multer": "^1.4.5-lts.1",
"node-fetch-commonjs": "^3.3.2",
"patch-package": "^8.0.0",
"wechaty": "^1.20.2"
},
"devDependencies": {
Expand All @@ -58,5 +56,8 @@
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3"
},
"overrides": {
"wechaty-puppet-wechat4u": "^1.14.7"
}
}
764 changes: 0 additions & 764 deletions patches/wechat4u+0.7.12.patch

This file was deleted.

Loading

0 comments on commit 9deb4fe

Please sign in to comment.