1.6.0 โข Published 1 year ago
@odg/test v1.6.0
Table of Contents
๐ Benefits
- ๐ Speed start new project or package using typescript
- ๐จ Over 300 rules for pattern, possible errors and errors in Linter
- ๐ Code quality guaranteed
- ๐ข AutoReview when opening a pull-request/merge
- ๐งช Automatic Test when opening pull-request/merge
๐ Libraries
๐ Dependencies
- Node.js 16 or later
- Yarn Optional/Recommended
- ODG TsConfig Last Version
โฉ Get Started
๐ Use Template
Click in use this template button and clone your template project
๐ Configure Github Token
๐ Create Github Token
Before create new GITHUB_TOKEN in
๐ Create project Environment
- On GitHub.com, navigate to the main page of the repository.
- Under your repository name, click
โ๏ธ Settings
. - 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.
๐ป 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
andyarn start
again
yarn build && yarn start
# or
yarn dev
๐งช Teste Code
To Test execute this command
yarn test
# or
yarn test:watch