-
pnpm
结合软硬链接与新的依赖组织方式,大大提升了包管理的效率,也同时解决了 “ 幻影依赖” 的问题,让包管理更加规范,减少潜在风险发生的可能性。 -
react-native-builder-bob
Simple set of CLIs to scaffold and build React Native libraries for different targets. -
changesets
The changesets workflow is designed to help when people are making changes, all the way through to publishing. It lets contributors declare how their changes should be released, then we automate updating package versions, and changelogs, and publishing new versions of packages based on the provided information.
- 使用 pnpm
- add 多包
- eslint
- dumi 文档
- change log
- publish npm
- github ci
- test
pnpm install rimraf -w
pnpm clean
pnpm --filter @rn-lalala/core add @rn-lalala/hello-world2 --workspace
pnpm up -r --workspace "@rn-lalala/*"
安装机器人 changeset-bot
: https://github.com/apps/changeset-bot
- 新建功能特性分支
git checkout -b feature/xxxx
-
开发功能
-
管理版本
pnpm ci:version
- codeView pr
如果 merge 有冲突,让提交的人重新合 main