1.7.1 โ€ข Published 7 months ago

@odg/command v1.7.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

codecov Stargazers Made by ODGodinho Forks Repository size GitHub last commit License StyleCI

Table of Contents


๐ŸŽ‡ Benefits

  • ๐Ÿš€ Speed start new project or package using typescript
  • ๐Ÿšจ Over 800 rules for pattern, possible errors and errors in Linter
  • ๐ŸŽ‡ Code quality guaranteed
  • ๐Ÿ“ข AutoReview when opening a pull-request/merge AutoReview Comment example
  • ๐Ÿงช Automatic Test when opening pull-request/merge
  • ๐Ÿ“ˆ Automatic Code Coverage when opening pull-request/merge Code Coverage example
  • ๐Ÿ“ฆ Automatic Package and release generate on merge

๐Ÿ“— Libraries

๐Ÿ“ Dependencies

โฉ Get Started


๐Ÿ”˜ Use Template

Click in use this template button and clone your template project

Use Template

๐Ÿ”‘ Configure Github Secrets

๐Ÿ™ˆ Create Github Token

Before create new GITHUB_TOKEN in

๐Ÿ€ Code Coverage

Add Code Coverage support in your project

  1. Install CodeCov in your account https://github.com/apps/codecov
  2. Enter In https://app.codecov.io/gh/+ and search your repository
  3. Click setup repo
  4. Copy CODECOV_TOKEN and create a secret called CODECOV_TOKEN

๐Ÿ“ฆ Create NPM Token

if you want to generate packages create a secret called IS_PACKAGE = true AND create new NPM_TOKEN in

๐Ÿ” Create project Environment

  • On GitHub.com, navigate to the main page of the repository.
  • Under your repository name, click โš™๏ธ Settings. Github Setting images example
  • In the "Security" section of the sidebar, select โœณ๏ธ Secrets, then click Actions.
  • Click New repository secret.
  • Type a name with: GH_TOKEN
  • Enter with your access secret token ghp_Dsfde....
  • Click Add secret.
  • If you are going to publish package:
    • create IS_PACKAGE = true
    • create NPM_TOKEN = npm_szxw......
    • create CODECOV_TOKEN = 00000000-0000-0000-0000-000000000000

๐Ÿ’ป Prepare To Develop

Copy .env.example to .env and add the values according to your needs.

๐Ÿ“ Start Project

First install dependencies with the following command

yarn install
# or
npm install

๐Ÿ“จ Build and Run

To build the project, you can use the following command

if you change files, you need to run yarn build and yarn start again

yarn build && yarn start
# or
yarn dev

๐Ÿงช Teste Code

To Test execute this command

yarn test
# or
yarn test:watch
1.7.1

7 months ago

1.7.0

7 months ago

1.6.0

1 year ago

1.5.0

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago