1.5.240 • Published 1 year ago
monopkgs v1.5.240
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) - Update
packages/**/package.json
from/package.json
- repository:
${root.repository}/tree/${mainBranchName}/${pkgRelDir}
- homepage:
${repository}#readme
- bugs search
${repo}/issues?q=is%3Aissue+is%3Aopen+${package_name}
- license
${root.license}
- author
${root.author}
- format with
sort-package-json
if installed in root repo
- repository:
- copy
/LICENSE.md
into packages - aggregate links of
packages/**/README.md
into/INDEX.md
- 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
- 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.