Skip to content

allohamora/cli

Repository files navigation

CLI

npm codecov build codeql test release

The Allohamora CLI is a command line interface with scripts to initialize projects and more. Sorted by categories.

Requirements

{
  "node": ">=16.13.0",
  "npm": ">=8.1.0"
}

Usage

npx @allohamora/cli

Overview

  • js is a category with scripts to initialize js/ts projects, have default and node:ts config options.
    • commitlint is a script to initialize commitlint with conventional commits config. Have husky integration.
    • eslint is a script to initialize eslint with config and lint scripts. Have prettier integration.
    • husky is a script to initialize husky.
    • lint-staged is a script to initialize lint-staged. Have husky, jest, eslint, prettier integrations.
    • prettier is a script to initialize prettier with config and format scripts.
    • release-workflow is script to initialize github release workflow what creates release from conventional-changelog CHANGELOG.md when you push tag like *.*.*(1.1.0, 5.0.0, 0.0.0, etc).
    • standard-version is a script to initialize standard-version with conventional commits config(with repository url if defined or "<repository url>" placeholder), custom options(like removed "v" tag prefix) and release scripts.
    • jest is a script to initialize jest with config and test scripts.
    • test-workflow is a script to initialize github test workflow what runs npm run test on each push to github.
    • build-workflow is a script to initialize github build workflow that runs npm run build on each push to github.
    • codeql-workflow is a script to initialize github codeql workflow what runs codeql with default options on each push to github.
    • dependabot is a script to initialize github dependabot what manages project dependencies vulnerabilities and opens pull requests with fixes.
    • docker is a script to initialize docker with Dockerfile and .dockerignore files

*integrations runs only if package is installing or installed.

License

CLI is MIT licensed.