0.3.4 • Published 11 months ago
@i-am/pkg v0.3.4
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 checkOptions:
--fix: Automatically fix linting and formatting errors.
lint
Lint your code to ensure it meets quality standards.
npx @i-am/pkg lintOptions:
--fix: Automatically fix linting errors.
format
Format your code for consistent style.
npx @i-am/pkg formatOptions:
--fix: Automatically fix formatting errors.
commit
Commit the current stashed work with a guided process.
npx @i-am/pkg commitrelease
Release packages by bumping versions, generating a changelog, and creating git tags.
npx @i-am/pkg releaseOptions:
-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-checkOptions:
--package <package>: Check a single package in the monorepo.
publish
Publish packages to npm.
npx @i-am/pkg publishOptions:
--package <package>: Publish a single package in the monorepo.