Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
warengonzaga committed Mar 31, 2022
2 parents df6cd31 + 86c2c70 commit b2470c8
Show file tree
Hide file tree
Showing 17 changed files with 4,500 additions and 1,730 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: '2.1'
version: 2.1
orbs:
node: circleci/node@4.2.1
node: circleci/node@5.0.2
jobs:
build-and-test:
docker:
Expand Down
60 changes: 60 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: 🐛 Bug Report
description: Found a bug? Let us know!
labels: ["bug","pending"]
assignees:
- warengonzaga
body:

# not existing bug block
- type: checkboxes
id: bug-confirm
attributes:
label: 🤔 Not Existing Bug?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: Yes, I'm sure that this is a bug!
required: true

# current results block
- type: textarea
id: bug-current-behavior
attributes:
label: 👀 Current Behavior
description: A concise description of what you're experiencing.
placeholder: I see bugs flying around ewww... please help! 😭
validations:
required: true

# expected behavior block
- type: textarea
id: bug-expected-behavior
attributes:
label: 🎯 Expected Behavior
description: A concise description of what you expected to happen.
placeholder: Bugs supposed to crawl not fly... peaceful life! 🥰
validations:
required: true

# steps to reproduce block
- type: textarea
id: bug-steps-to-reproduce
attributes:
label: 📋 Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. I go outside and see a bug. 😁
2. The bug starts to crawl and fly, like wtf! 😱
3. Run!!! 🏃
4. Bugs chasing me while flying! 😫
validations:
required: false

# terms block
- type: checkboxes
id: bug-terms
attributes:
label: 📜 Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/wareneutron/covid19-tracker-cli/blob/main/CODE_OF_CONDUCT.md).
options:
- label: I agree to follow this project's [Code of Conduct](https://github.com/wareneutron/covid19-tracker-cli/blob/main/CODE_OF_CONDUCT.md).
required: true
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/CONFIG.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: 🙏 Q&A Forum
url: https://github.com/wareneutron/covid19-tracker-cli/discussions/new?category=q-a
about: Have a question? Let us know!
- name: 🧠 Suggestions
url: https://github.com/wareneutron/covid19-tracker-cli/discussions/new?category=brainstorm
about: Have an idea or suggestion? Let us know!
- name: 📚 Documentation
url: https://docs.wareneutron.com/covid19-tracker-cli
about: Official Documentation for COVID-19 Tracker & CLI
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: 🚀 Feature Request
description: Have a feature request? Let us know!
labels: ["feature","pending"]
assignees:
- warengonzaga
body:

# new feature request block
- type: checkboxes
id: feature-confirm-notexist
attributes:
label: 🤔 Not Existing Feature Request?
description: Please search to see if your feature request already exist.
options:
- label: Yes, I'm sure, this is a new requested feature!
required: true

# not idea or suggestion block
- type: checkboxes
id: feature-confirm-notsuggestion
attributes:
label: 🤔 Not an Idea or Suggestion?
description: |
Please make sure that you're submitting a request not just an idea or suggestion.
If this is an idea or suggestion I would recommend going [here](https://github.com/wareneutron/covid19-tracker-cli/discussions/new?category=brainstorm) first before submitting a request.
options:
- label: Yes, I'm sure, this is not idea or suggestion!
required: true

# details block
- type: textarea
id: feature-details
attributes:
label: 📋 Request Details
description: A concise description of your feature request.
placeholder: Add some rainbows and unicorns to it! 🌈🦄
validations:
required: true

# terms block
- type: checkboxes
id: feature-terms
attributes:
label: 📜 Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/wareneutron/covid19-tracker-cli/blob/main/CODE_OF_CONDUCT.md).
options:
- label: I agree to follow this project's [Code of Conduct](https://github.com/wareneutron/covid19-tracker-cli/blob/main/CODE_OF_CONDUCT.md).
required: true
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,16 @@ dist/
.DS_Store
.now
.env
.dccache

# yarn
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# vercel
.vercel
546 changes: 546 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

785 changes: 785 additions & 0 deletions .yarn/releases/yarn-3.2.0.cjs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.2.0.cjs
File renamed without changes.
4 changes: 2 additions & 2 deletions contributing.md → CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Any contributions are welcome, encouraged, and valued. See the following informa

## 📋 Code of Conduct

This project and everyone participating in it is governed by the COVID-19 Tracker & CLI [Code of Conduct](https://github.com/wareneutron/covid19-tracker-cli/blob/main/code_of_conduct.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to <[email protected]>.
This project and everyone participating in it is governed by the COVID-19 Tracker & CLI [Code of Conduct](https://github.com/wareneutron/covid19-tracker-cli/blob/main/CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to <[email protected]>.

## 💖 How to Contribute

Expand All @@ -24,7 +24,7 @@ Answering a question in [Discussions](https://github.com/wareneutron/covid19-tra

### 🐞 Reporting Bugs

For any security bugs or issues, please read the [security policy](./security.md).
For any security bugs or issues, please read the [security policy](./SECURITY.md).

---

Expand Down
32 changes: 17 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# COVID-19 Tracker & CLI [![mentioned in awesome coronavirus](https://awesome.re/mentioned-badge-flat.svg)](https://github.com/soroushchehresa/awesome-coronavirus) [![huntr](https://cdn.huntr.dev/huntr_security_badge_mono.svg)](https://huntr.dev)

[![created by](https://img.shields.io/badge/created%20by-Waren%20Gonzaga-blue.svg?longCache=true&style=flat-square)](https://github.com/warengonzaga) [![maintained by](https://img.shields.io/badge/maintained%20by-Wareneutron%20Developers-blue.svg?longCache=true&style=flat-square)](https://wareneutron.com) [![Build](https://img.shields.io/circleci/build/github/wareneutron/covid19-tracker-cli/main?style=flat-square)](https://github.com/wareneutron/covid19-tracker-cli) [![Release](https://img.shields.io/github/release/wareneutron/covid19-tracker-cli.svg?style=flat-square)](https://github.com/wareneutron/covid19-tracker-cli/releases) [![Star](https://img.shields.io/github/stars/wareneutron/covid19-tracker-cli.svg?style=flat-square)](https://github.com/wareneutron/covid19-tracker-cli/stargazers) [![License](https://img.shields.io/github/license/wareneutron/covid19-tracker-cli.svg?style=flat-square)](https://github.com/wareneutron/covid19-tracker-cli/blob/main/LICENSE)
[![created by](https://img.shields.io/badge/created%20by-Waren%20Gonzaga-blue.svg?longCache=true&style=flat-square)](https://github.com/warengonzaga) [![maintained by](https://img.shields.io/badge/maintained%20by-Wareneutron%20Developers-blue.svg?longCache=true&style=flat-square)](https://wareneutron.com) ![status](https://img.shields.io/badge/status-Maintenance-yellow.svg?longCache=true&style=flat-square) [![Build](https://img.shields.io/circleci/build/github/wareneutron/covid19-tracker-cli/main?style=flat-square)](https://github.com/wareneutron/covid19-tracker-cli) [![Release](https://img.shields.io/github/release/wareneutron/covid19-tracker-cli.svg?style=flat-square)](https://github.com/wareneutron/covid19-tracker-cli/releases) [![Star](https://img.shields.io/github/stars/wareneutron/covid19-tracker-cli.svg?style=flat-square)](https://github.com/wareneutron/covid19-tracker-cli/stargazers) [![License](https://img.shields.io/github/license/wareneutron/covid19-tracker-cli.svg?style=flat-square)](https://github.com/wareneutron/covid19-tracker-cli/blob/main/LICENSE)

> 📢 Nominate ([@WarenGonzaga](https://warengonzaga.com)) as **[GitHub Star](https://stars.github.com/nominate)**. If you appreciate his hardwork and dedication to open source.
[![Banner](.github/wareneutron_covid19_tracker_cli_github_banner.png)](https://docs.wareneutron.com/covid19-tracker-cli)

Expand All @@ -20,31 +22,29 @@ The complete documentation can be found here:

## 🎯 Contributing

Contributions are welcome, create a pull request to this repo and we'll review your code. Please consider submitting your pull request to the ```dev``` branch. Thank you!
Contributions are welcome, create a pull request to this repo and we will review your code. Please consider to submit your pull request to the ```dev``` branch. Thank you!

Read the project's [contributing guide](./contributing.md) for more info.
Read the project's [contributing guide](./CONTRIBUTING.md) for more info.

## 🐛 Issues
## 💬 Discussions

If you're facing a problem in using COVID-19 Tracker & CLI please let us know by [creating an issue here](https://github.com/wareneutron/covid19-tracker-cli/issues/new). We are happy to help you! Don't forget to provide us some screenshot or errors of it, thank you!
For any questions, suggestions, ideas, or simply you want to share your experience in using this project, feel free to share and discuss it to the [community](https://github.com/wareneutron/covid19-tracker-cli/discussions)!

## 🏆 Sponsors and Supporters
## 🐛 Issues

[![vercel](https://wrngnz.ga/badge-vercel)](https://vercel.com) [![circleci](https://wrngnz.ga/badge-circleci)](https://circleci.com) [![gitbook](https://wrngnz.ga/badge-gitbook)](https://gitbook.io) [![digital ocean](https://wrngnz.ga/badge-digitalocean)](https://digitalocean.com) [![netlify](https://wrngnz.ga/badge-netlify)](https://netlify.com)
Please report any issues and bugs by [creating a new issue here](https://github.com/wareneutron/covid19-tracker-cli/issues/new/choose), also make sure you're reporting an issue that doesn't exist. Any help to improve the project would be appreciated. Thanks! 🙏✨

> Love what we do? **[Send us some coffees](https://buymeacoff.ee/wareneutron)**!
>
> Your coffee donation and support will help us to continue working on open-source projects like this.
## 🍀 Sponsors and Supporters

## 🌏 Community
[![Vercel](https://img.shields.io/badge/Vercel-%23000.svg?&style=for-the-badge&logo=vercel&logoColor=white)](https://vercel.com) [![CircleCI](https://img.shields.io/badge/CircleCI-%23000.svg?&style=for-the-badge&logo=CircleCI&logoColor=white)](https://vercel.com) [![GitBook](https://img.shields.io/badge/GitBook-%233884FF.svg?&style=for-the-badge&logo=gitbook&logoColor=white)](https://gitbook.io) [![Digital Ocean](https://img.shields.io/badge/Digital%20Ocean-%230080ff.svg?&style=for-the-badge&logo=digitalocean&logoColor=white)](https://digitalocean.com) [![StackHawk](https://img.shields.io/badge/Stackhawk-%2300CBC6.svg?&style=for-the-badge&logoColor=white)](https://stackhawk.com)

Wanna become one of us? Join today and contribute!

[![community](https://discordapp.com/api/guilds/694612151444439081/widget.png?style=banner2)](https://wareneutron.com/discord) [![community](https://discordapp.com/api/guilds/659684980137656340/widget.png?style=banner2)](https://wrngnz.ga/discord)
> Love what we do? **[Send me some coffees](https://buymeacoff.ee/wareneutron)**! ☕☕☕
>
> Your coffee donation and support will us to continue working on open-source projects like this. 🙏😇
## 📋 Code of Conduct

Read the project's [code of conduct](./code_of_conduct.md).
Read the project's [code of conduct](./CODE_OF_CONDUCT.md).

## 📃 License

Expand All @@ -54,6 +54,8 @@ COVID-19 Tracker & CLI is licensed under [GNU General Public License v3.0](https

COVID-19 Tracker & CLI is created by **[Waren Gonzaga](https://github.com/warengonzaga)**, developed and maintained by [Wareneutron Developers](https://wareneutron.com) with the help of awesome [contributors](https://github.com/wareneutron/covid19-tracker-cli/graphs/contributors).

[![contributors](https://contrib.rocks/image?repo=wareneutron/covid19-tracker-cli)](https://github.com/wareneutron/covid19-tracker-cli/graphs/contributors)

---

💻 Made with 💖 and ☕ by [Wareneutron Developers](https://wareneutron.com)
File renamed without changes.
29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "covid19trackercli",
"version": "4.1.1",
"version": "4.1.2",
"description": "Track global COVID-19 cases from command line interface.",
"main": "dist/api.js",
"scripts": {
Expand Down Expand Up @@ -29,28 +29,29 @@
"author": "Waren Gonzaga",
"license": "GPL-3.0",
"devDependencies": {
"@types/asciichart": "^1.5.4",
"@types/blessed": "^0.1.17",
"@types/express": "^4.17.11",
"@types/minimist": "^1.2.1",
"@types/morgan": "^1.9.2",
"@types/node": "^14.14.35",
"nodemon": "^2.0.7",
"ts-node": "^9.1.1"
"@types/asciichart": "^1.5.6",
"@types/blessed": "^0.1.19",
"@types/express": "^4.17.13",
"@types/minimist": "^1.2.2",
"@types/morgan": "^1.9.3",
"@types/node": "15.9.0",
"nodemon": "^2.0.15",
"ts-node": "^10.7.0"
},
"bin": {
"covid": "./dist/cli.js"
},
"dependencies": {
"asciichart": "^1.5.25",
"axios": "^0.21.2",
"axios": "^0.26.1",
"blessed": "^0.1.81",
"blessed-contrib": "^4.8.21",
"blessed-contrib": "^4.11.0",
"colors": "^1.4.0",
"express": "^4.17.1",
"express": "^4.17.3",
"minimist": "^1.2.6",
"morgan": "^1.10.0",
"typescript": "^4.2.3",
"typescript": "^4.6.3",
"world-countries": "^4.0.0"
}
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { lines } from "./utils/libs/getResponses";
const port = parseInt(process.env.PORT!) || 7070;

const app = express();
app.use(morgan("common"));
app.use(morgan("tiny"));
app.use("/history/web/charts", dashboardRouter);

app.use(userAgentMiddleware);
Expand Down
2 changes: 1 addition & 1 deletion src/utils/libs/getResponses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const lines = {
helpMessage: `Help: Try to append the URL with /help to learn more...`,
sponsorMessage: `Love this project? Help us to help others by means of coffee!\n`,
BMCLink: `Buy Us a Coffee - wareneutron.com/donate`,
twitterPlug: `Follow the lead dev on twitter for more updates!\n`,
twitterPlug: `Follow the lead maintainer on twitter for more updates!\n`,
handleHashtag: ["@warengonzaga", "#covid19trackercli"],
docsLink: "Docs: docs.wareneutron.com/covid19-tracker-cli",
WNrepoLink: "Repo: repo.wareneutron.com/covid19-tracker-cli",
Expand Down
4 changes: 2 additions & 2 deletions now.json → vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"headers": {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
"Access-Control-Allow-Methods": "GET",
"Access-Control-Allow-Headers": "X-Requested-With, Content-Type, Accept"
},
"src": "/.*",
Expand All @@ -21,4 +21,4 @@
"VERSION": "1",
"FORCE_COLOR": "1"
}
}
}
Loading

1 comment on commit b2470c8

@vercel
Copy link

@vercel vercel bot commented on b2470c8 Mar 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.