carts
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

carts

CLI Scaffolding tool with modular design for TypeScript developers.

Still under active development, first stable release will be v1.0.0. All suggestions are welcomed!

oclif Version Codecov Downloads/week License

Goals

These are the main design goals:

  • Versatile: front end, back end, HTTP server, library ... supports any type of project
  • Opinionated: only provider one "canonical" solution for each use-case
  • Component-based architecture: modular desgin allows reusing building blocks for quick evolvement

Usage

$ npm install -g carts
$ carts COMMAND
running command...
$ carts (-v|--version|version)
carts/0.3.1 darwin-x64 node-v13.2.0
$ carts --help [COMMAND]
USAGE
  $ carts COMMAND
...

Commands

carts basic NAME [DESTDIR]

Create a basic project.

USAGE
  $ carts basic NAME [DESTDIR]

ARGUMENTS
  NAME     project's name
  DESTDIR  destination directory, using `<NAME>` when omitted

OPTIONS
  -h, --help     show CLI help
  --skipInstall  only write dependencies to `package.json`, skip downloading

EXAMPLE
  $ carts create my-project

See code: src/commands/basic.ts

carts help [COMMAND]

display help for carts

USAGE
  $ carts help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

carts monorepo NAME [DESTDIR]

Create a monorepo library.

USAGE
  $ carts monorepo NAME [DESTDIR]

ARGUMENTS
  NAME     project's name
  DESTDIR  destination directory, using `<NAME>` when omitted

OPTIONS
  -f, --force
  -h, --help         show CLI help
  -s, --scope=scope  package scope for namespacing like `@my-org/my-lib` (`--scope=my-org`), not using scope by default
  --skipInstall      only write dependencies to `package.json`, skip downloading

EXAMPLE
  $ carts monorepo my-monolib --scope=my-org

See code: src/commands/monorepo.ts

Credits

Readme

Keywords

Package Sidebar

Install

npm i carts

Weekly Downloads

2

Version

0.3.1

License

Apache-2.0

Unpacked Size

94 kB

Total Files

120

Last publish

Collaborators

  • aaronjan