pnpm
in CONTRIBUTING (#2148)
We're thrilled that you want to contribute to Lobe Chat, the future of communication! 😄
Lobe Chat is an open-source project, and we welcome your collaboration. Before you jump in, let's make sure you're all set to contribute effectively and have loads of fun along the way!
🍴 Fork this repository to your GitHub account by clicking the "Fork" button at the top right. This creates a personal copy of the project you can work on.
📦 Clone your forked repository to your local machine using the git clone
command:
git clone https://github.com/YourUsername/lobe-chat.git
🌿 Create a new branch for your contribution. This helps keep your work organized and separate from the main codebase.
git checkout -b your-branch-name
Choose a meaningful branch name related to your work. It makes collaboration easier!
🧙♀️ Time to work your magic! Write your code, fix bugs, or add new features. Be sure to follow our project's coding style. You can check if your code adheres to our style using:
pnpm lint
This adds a bit of enchantment to your coding experience! ✨
📝 Ready to save your progress? Commit your changes to your branch.
git add .
git commit -m "Your meaningful commit message"
Please keep your commits focused and clear. And remember to be kind to your fellow contributors; keep your commits concise.
⚙️ Periodically, sync your forked repository with the original (upstream) repository to stay up-to-date with the latest changes.
git remote add upstream https://github.com/lobehub/lobe-chat.git
git fetch upstream
git merge upstream/main
This ensures you're working on the most current version of Lobe Chat. Stay fresh! 💨
🚀 Time to share your contribution! Head over to the original Lobe Chat repository and open a Pull Request (PR). Our maintainers will review your work.
👓 Your PR will undergo thorough review and testing. The maintainers will provide feedback, and you can collaborate to make your contribution even better. We value teamwork!
🎈 Congratulations! Your contribution is now part of Lobe Chat. 🥳
Thank you for making Lobe Chat even more magical. We can't wait to see what you create! 🌠
Happy Coding! 🚀🦄
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。