@allohamora/cli
v2.4.2
Published
cli to initialize projects and more
Maintainers
Readme
@allohamora/cli
is a command line interface that helps you to initialize projects and more
Usage
# interactive
npx @allohamora/cli
# args
npx @allohamora/cli <category> <preset> <...options>
npx @allohamora/cli js node:ts prettier eslint # install options for a js project
npx @allohamora/cli --help # show help message
npx @allohamora/cli --version # print version numberRequirements
{
"node": ">=24.14.1",
"npm": ">=11.11.0"
}Categories
| Category | Description | Presets |
| --------------------- | --------------------------------------------- | -------------------------------- |
| js | contains options to initialize js/ts projects | default, node:ts, react:ts |
JS Options
| Option | Description | Integrations |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| commitlint | sets up commitlint with the conventional commits config | husky |
| eslint | sets up eslint with a config and lint scripts | prettier, jest |
| stylelint | sets up stylelint with a config and lint scripts | prettier |
| husky | sets up husky that handles git hooks | |
| lint-staged | sets up lint-staged that runs linters on commit | husky, jest, eslint, prettier, stylelint |
| prettier | sets up prettier with a config and format scripts | |
| publish-workflow | sets up a github publish workflow that publishes the package to npm on a workflow dispatch | nvmrc |
| release-workflow | sets up a github release workflow that creates a release from the conventional-changelog CHANGELOG.md from the default branch on workflow dispatch | nvmrc, publish-workflow |
| jest | sets up jest with a config and test scripts | |
| docker | sets up docker with Dockerfile and .dockerignore files | |
| npmrc | creates a .npmrc file | |
| nvmrc | creates a .nvmrc file from the current node version | |
| check-workflow | sets up a github check workflow that runs available lint, format, typecheck, check, and build scripts on push | eslint, prettier, nvmrc |
| test-workflow | sets up a github test workflow that runs npm run test on push | nvmrc |
| codecov-workflow | sets up a codecov workflow that collects code coverage and sends it to codecov | nvmrc |
| set-pr-title-workflow | sets up a github workflow that sets the PR title to the branch name on open | |
| dependabot | sets up github dependabot that manages dependencies | |
| editorconfig | creates an .editorconfig file | |
| temp-dir | creates a .temp directory with .gitkeep and adds it to .gitignore | |
| dev-engines | sets up devEngines in package.json with the current node and npm versions | |
*Integrations run only if the package is installing or installed.
License
@allohamora/cli is MIT licensed.
