A Repository Template for TypeScript Command Line Applications / Tools
This is a simple command line tool that lists files matching the provided globs.
-
Install
pnpm
-
pnpm i
-
pnpm test
-
pnpm run app --help
Usage: list-files [options] <files...> List Files Arguments: files Files to scan for injected content. Options: --no-must-find-files No error if files are not found. --cwd <dir> Current Directory --color Force color. --no-color Do not use color. -V, --version output the version number -h, --help display help for command
-
pnpm run app "*"
Example:
Find Files: - LICENSE - README.md - bin.mjs - coverage - cspell.config.yaml - dist - package.json - pnpm-lock.yaml - release-please-config.json - scripts - src - static - tsconfig.json - vitest.config.ts done.
See: https://pnpm.io/
See: https://vitest.dev/
This tools is setup to use ES Modules.
This template includes GitHub Workflows for:
- testing
- code coverage
- lint
- release please (for generating releases)
- CodeQL