1.1.2 • Published 2 years ago

@pain-org/template v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Check ESLINT Configuration

eslint --print-config .\.eslintrc.js

ESLINT Fix

eslint --fix .

Check TS Config

tsc --showConfig

Fix With Prettier

yarn prettier --write .


npm install @pain-org/template -g

Plugin Commands

Usage: pain-template [options] [command]

Options:
  -V, --version        output the version number
  -h, --help           display help for command

Commands:
  workspace [options]
  node [options]
  help [command]       display help for command

Workspace Options

Usage: pain-template workspace [options]

Options:
  -n --name <value>                       Specify Package/Folder Name
  -s --scope <value>                      Specify Scope Name. eg: @google
  -c --cli <true|false>                   Add Command Options cli (commander) (default: false)
  -cc --conventional-commit <true|false>  With: Husky, Conventional-Commit, Lint-Staged (default: true)
  -p --packages <items>                   Specify Packages With <,> Separators
  -h, --help                              display help for command

Lerna Workspace Eg:

pain-template workspace -n FOLDER_NAME -p "one,two,three" -s "@scope_name" -c true

Node Options

Usage: pain-template node [options]

Options:
  -n --name <value>                       Specify Package/Folder Name
  -s --scope <value>                      Specify Scope Name. eg: @google
  -c --cli <true|false>                   Add Command Options cli (commander) (default: false)
  -cc --conventional-commit <true|false>  With: Husky, Conventional-Commit, Lint-Staged (default: true)
  -h, --help                              display help for command

Lerna Workspace Eg With Scope:

pain-template node -n APP_NAME -s "@scope_name" -c true

Lerna Workspace Eg WithOut Scope:

pain-template node -n APP_NAME -c true

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago