0.3.2 • Published 9 months ago
@i-am/pkg v0.3.2
This project is a CLI utility designed for managing packages in a single/monorepo environment. It provides commands for linting, formatting, committing, releasing, and publishing packages.
This project uses the BIOME toolchain to manage linting rules and formatting code. It also uses the CZ-GIT commitizen tool to guide the commit process.
Usage
check
Run linting and formatting checks on your code.
npx @i-am/pkg check
Options:
--fix
: Automatically fix linting and formatting errors.
lint
Lint your code to ensure it meets quality standards.
npx @i-am/pkg lint
Options:
--fix
: Automatically fix linting errors.
format
Format your code for consistent style.
npx @i-am/pkg format
Options:
--fix
: Automatically fix formatting errors.
commit
Commit the current stashed work with a guided process.
npx @i-am/pkg commit
release
Release packages by bumping versions, generating a changelog, and creating git tags.
npx @i-am/pkg release
Options:
-p, --publish
: Publish to npm after release.--package <package>
: Release a single package in the monorepo.
release-check
Check which packages have unreleased commits.
npx @i-am/pkg release-check
Options:
--package <package>
: Check a single package in the monorepo.
publish
Publish packages to npm.
npx @i-am/pkg publish
Options:
--package <package>
: Publish a single package in the monorepo.