https://github.com/flarebyte/baldrick-dev-ts
CLI for TypeScript package development
https://github.com/flarebyte/baldrick-dev-ts
cli experimental npm-cli
Last synced: over 1 year ago
JSON representation
CLI for TypeScript package development
- Host: GitHub
- URL: https://github.com/flarebyte/baldrick-dev-ts
- Owner: flarebyte
- License: mit
- Created: 2021-08-25T15:38:18.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-08-15T08:01:52.000Z (almost 4 years ago)
- Last Synced: 2025-02-04T16:08:31.626Z (over 1 year ago)
- Topics: cli, experimental, npm-cli
- Language: TypeScript
- Homepage:
- Size: 385 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Baldrick-dev-ts
 




> CLI for the package development of Typescript library in ESM format.
The main motivation is to reduce the amount of dev dependencies that needs to
be installed and configured individually.
- **Typescript** the strongly typed alternative to Javascript.
- **Reduced configuration** the CLI should be ready go without further
configuration.
- **ESLint** under the hood for linting.
- **Jest** under the hood for testing (very experimental)
- **ES2021** or later.
## Usage
Statically analyzes the default source folder to quickly find problems:
`baldrick lint check`
Fix problems in the default source folder:
`baldrick lint fix`
Run unit tests:
`baldrick test check`
Update snapshots for unit test:
`baldrick test fix`
## Acknowledgements
`baldrick-dev-ts` was initially created as a fork of the brilliant
[tsdx](https://github.com/jaredpalmer/tsdx) project.
Eventually, the code has been massively refactored to match the new
requirements, and very little remain of the `tsdx` starting point, except our
gratitude to this initial project.
## Documentation and links
- [Code Maintenance](MAINTENANCE.md)
- [Code Of Conduct](CODE_OF_CONDUCT.md)
- [Api for baldrick-dev-ts](API.md)
- [Contributing](CONTRIBUTING.md)
- [Glossary](GLOSSARY.md)
- [Diagram for the code base](INTERNAL.md)
- [Vocabulary used in the code base](CODE_VOCABULARY.md)
- [Architectural Decision Records](DECISIONS.md)
- [Contributors](https://github.com/flarebyte/baldrick-dev-ts/graphs/contributors)
- [Dependencies](https://github.com/flarebyte/baldrick-dev-ts/network/dependencies)
## Installation
This package is [ESM
only](https://blog.sindresorhus.com/get-ready-for-esm-aa53530b3f77).
```bash
yarn global add baldrick-dev-ts
baldrick --help
```
Or alternatively run it:
```bash
npx baldrick-dev-ts --help
```
If you want to tun the latest version from github. Mostly useful for dev:
```bash
git clone git@github.com:flarebyte/baldrick-dev-ts.git
yarn global add `pwd`
```