1.5.240 • Published 1 year ago

monogpkgs v1.5.240

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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
  • 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
  • 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.

1.5.123

1 year ago

1.5.240

1 year ago

1.5.0

1 year ago

1.4.1

2 years ago

1.3.2

2 years ago