electh / ReactFlux

Simple RSS reader for Miniflux
https://reactflux.pages.dev
MIT License
172 stars 45 forks source link

重构代码和优化工作流:引入自动格式化、拆分组件和修正命名 #14

Closed NekoAria closed 6 months ago

NekoAria commented 6 months ago
vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-flux ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 12, 2024 6:38am
electh commented 6 months ago

真的牛皮

electh commented 6 months ago

回滚了,我本地 npm install, npm build以后,package-lock一直 push 不上来 18:53:49.668: [miniflux] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false add --ignore-errors -A -f -- package-lock.json 18:53:49.679: [miniflux] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false commit -F /private/var/folders/y8/9jmzsrmj701_fckq332dq6m00000gn/T/git-commit-msg-.txt -- .husky/pre-commit: line 1: pnpm: command not found husky - pre-commit script failed (code 127) husky - command not found in PATH=/Library/Developer/CommandLineTools/usr/libexec/git-core:/Users/lisicheng/Library/Python/3.9/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin

NekoAria commented 6 months ago

哦,忘了和你说了。。。 因为我用的 pnpm ,你把 .husky/pre-commit 里的 pnpm 改成 npx 就行了:

npx lint-staged
electh commented 6 months ago

我太菜了,折腾了半天 git,现在应该 OK 了,就是记录有点乱

cloudflare-workers-and-pages[bot] commented 1 month ago

Deploying reactflux with  Cloudflare Pages  Cloudflare Pages

Latest commit: c690025
Status: ✅  Deploy successful!
Preview URL: https://108bcfe1.reactflux.pages.dev

View logs