monopkgs (WIP)
Update monorepo packages/**/package.json
, and LICENSES
Usage
cd $path_to_your_monorepo_root && npx monopkgs
Feat & Roadmap
- [ ] Check worktree clean before run with
git diff --quiet
(you can run manually) - [x] Update
packages/**/package.json
from/package.json
- [x] repository:
${root.repository}/tree/${mainBranchName}/${pkgRelDir}
- [x] homepage:
${repository}#readme
- [x] bugs search
${repo}/issues?q=is%3Aissue+is%3Aopen+${package_name}
- [x] license
${root.license}
- [x] author
${root.author}
- [ ] format with
sort-package-json
if installed in root repo
- [x] repository:
- [ ] copy
/LICENSE.md
into packages - [ ] aggregate links of
packages/**/README.md
into/INDEX.md
- [x] args config:
- [ ] read
pnpm-workspaces.yaml
or not - [ ] read workspaces in
package.json
or not - [ ] overwrite or keep existed fields
- [ ] overwrite or keep existed files
- [ ] read
- [x] respect .gitignores
Reference
About
License
GPLv3 - The GNU General Public License v3.0 - GNU Project - Free Software Foundation
Author
Author: snomiao snomiao@gmail.com Website: snomiao.com
Sponsors
- None yet.
Claim your sponsorship by donating snomiao <Email: snomiao@gmail.com>
Contribute
The main repo is in here, any issue and PR's welcome.