Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: artifacts, artifactmanager, improve cache, tests #10

Draft
wants to merge 90 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 66 commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
d6882ba
artifacts
Jul 2, 2021
7ad4d3b
fix(artifactmanager): minor fix and renamed action.ts to actions.ts
GmBodhi Jul 2, 2021
0209caf
feat(rawdata): raw data from api (minor updates)
GmBodhi Jul 2, 2021
9a7e113
fix(rawData): minor fixes and added types
GmBodhi Jul 2, 2021
fbcdaff
Update README.md
Crispy-Cream Jul 2, 2021
eb95898
fix(blocks): minor
GmBodhi Jul 3, 2021
e57af10
Update README.md
GmBodhi Jul 3, 2021
e99daa4
feat(gist): starter gist class and forkmanager.
GmBodhi Jul 3, 2021
bd798a3
Update README.md
GmBodhi Jul 4, 2021
4ff8a2c
feat(rawdata): Added rawdata types dependency
GmBodhi Jul 5, 2021
1e20e54
feat(repo): added some props and minor fix
GmBodhi Jul 5, 2021
1aeb1ea
feat(build script): minor
GmBodhi Jul 7, 2021
062ef50
feat(tests): minor
GmBodhi Jul 10, 2021
25e90d4
feat: tests
GmBodhi Jul 10, 2021
44e88f5
feat(tests): minor
GmBodhi Jul 10, 2021
ffa80ad
feat: tests automation
GmBodhi Jul 10, 2021
7869663
fix: tests automation
GmBodhi Jul 10, 2021
13895ed
feat(test): minor
GmBodhi Jul 11, 2021
9fca4a9
feat(tests): fix?
GmBodhi Jul 11, 2021
406b023
feat(test): increased timeout
GmBodhi Jul 11, 2021
5f5c316
feat(tests): invokation
GmBodhi Jul 11, 2021
4af1d9a
feat(docs): generate docs according to versions
GmBodhi Jul 12, 2021
3796016
feat(actions): added automated docs generation on push
GmBodhi Jul 12, 2021
11e4cd9
feat: minor
GmBodhi Jul 12, 2021
f33ae2b
feat: minor
GmBodhi Jul 12, 2021
295e236
automated(docs): docs json file generated (actions)
GmBodhi Jul 12, 2021
537c52e
feat: minor
GmBodhi Jul 12, 2021
6a9c9fb
automated(docs): docs json file generated (actions)
GmBodhi Jul 12, 2021
a7b0f1e
feat(tests): improved tests login and better success rate
GmBodhi Jul 12, 2021
88a623c
Delete codescan-analysis.yml
GmBodhi Jul 12, 2021
abf7986
feat: lint setup
GmBodhi Jul 14, 2021
c3288fd
feat: lint improvement and tests
GmBodhi Jul 14, 2021
938dee8
fix(build error)
GmBodhi Jul 14, 2021
59055a1
fix(build): minor
GmBodhi Jul 14, 2021
b5e0c63
automated(docs): docs json file generated (actions)
GmBodhi Jul 14, 2021
5e951a6
fix(test): minor
GmBodhi Jul 14, 2021
fb59ed2
Merge branch 'dev' of https://github.com/GmBodhi/github-api into dev
GmBodhi Jul 14, 2021
d3cb0df
fix(test): test001
GmBodhi Jul 14, 2021
68aab43
fix(test): test002
GmBodhi Jul 14, 2021
ea0e650
automated(docs): docs json file generated (actions)
GmBodhi Jul 14, 2021
8687aa3
feat(lint): added cron
GmBodhi Jul 15, 2021
a3066b6
fix(lint): minor
GmBodhi Jul 15, 2021
203659d
fix(lint): typo fix
GmBodhi Jul 15, 2021
c904e7e
automated(docs): docs json file generated (actions)
GmBodhi Jul 15, 2021
df5fbdb
fix: partial lint fix
GmBodhi Jul 18, 2021
511dd40
automated(docs): docs json file generated (actions)
GmBodhi Jul 18, 2021
e31b359
feat: vscode setup
GmBodhi Jul 24, 2021
e8bdcf0
fix(lint): fixing lint errors
GmBodhi Jul 27, 2021
2137d5c
automated(docs): docs json file generated (actions)
GmBodhi Jul 27, 2021
1260e89
Merge pull request #11 from GmBodhi/fixing-lint
GmBodhi Jul 28, 2021
41a3a29
feat(tests): added some minor tests
GmBodhi Jul 28, 2021
55b5015
Create LICENSE
GmBodhi Jul 29, 2021
72deaff
Create CODE_OF_CONDUCT.md
GmBodhi Jul 29, 2021
01328fd
fix(tests): minor
GmBodhi Jul 29, 2021
f997e05
Merge branch 'dev' of https://github.com/GmBodhi/github-api into dev
GmBodhi Jul 29, 2021
27c3514
Create CONTRIBUTING.md
GmBodhi Jul 29, 2021
d0c65fc
Merge pull request #17 from GmBodhi/add-license-1
GmBodhi Jul 29, 2021
e819aa8
Update CONTRIBUTING.md
GmBodhi Jul 29, 2021
439727f
Update CONTRIBUTING.md
GmBodhi Jul 29, 2021
a1b10e0
Update CONTRIBUTING.md
GmBodhi Jul 29, 2021
2f69c18
Merge pull request #18 from GmBodhi/contributing_guide
GmBodhi Jul 29, 2021
253cf70
Update README.md
GmBodhi Jul 29, 2021
75098ab
DELETE(CodeQL): I don't know why I added this even
GmBodhi Jul 29, 2021
aaab6eb
feat: added ._patch method
GmBodhi Jul 29, 2021
ad26b0d
Merge branch 'dev' of https://github.com/GmBodhi/github-api into dev
GmBodhi Jul 29, 2021
1df67a9
automated(docs): docs json file generated (actions)
GmBodhi Jul 29, 2021
2a029ec
feat: schedule tests and minor
GmBodhi Aug 3, 2021
591e59a
Delete .yarnrc.yml
GmBodhi Aug 3, 2021
f171821
fix: tests
GmBodhi Aug 3, 2021
8c6f818
fix: tests
GmBodhi Aug 3, 2021
49b055a
Merge branch 'dev' of https://github.com/GmBodhi/github-api into dev
GmBodhi Aug 3, 2021
1c807da
fix: tests 001
GmBodhi Aug 3, 2021
7889dee
feat: minor
GmBodhi Aug 4, 2021
6443486
automated(docs): docs json file generated (actions)
GmBodhi Aug 4, 2021
7fe8480
feat(tests): minor update
GmBodhi Aug 4, 2021
65a8d3e
feat: docs generated
GmBodhi Aug 7, 2021
fcb2001
automated(docs): docs json file generated (actions)
GmBodhi Aug 7, 2021
af1f753
feat: minro
GmBodhi Aug 8, 2021
d093dbf
Update docs.yml
GmBodhi Aug 10, 2021
ee4d551
Update docs.yml
GmBodhi Aug 10, 2021
1c4af2e
Update README.md
GmBodhi Sep 20, 2021
4c92cd4
Update README.md
GmBodhi Oct 14, 2021
fa6dfac
build(deps): bump node-fetch from 2.6.1 to 3.1.1
dependabot[bot] Jan 22, 2022
ecbfdb4
Merge pull request #20 from GmBodhi/dependabot/npm_and_yarn/node-fetc…
GmBodhi Jan 23, 2022
143a489
build(deps): bump minimist from 1.2.5 to 1.2.6
dependabot[bot] Mar 30, 2022
0eb6f7c
Merge pull request #21 from GmBodhi/dependabot/npm_and_yarn/minimist-…
GmBodhi Apr 3, 2022
5b10e7b
build(deps): bump ansi-regex from 3.0.0 to 3.0.1
dependabot[bot] Apr 3, 2022
c0beef0
build(deps): bump shell-quote from 1.7.2 to 1.7.3
dependabot[bot] Jun 24, 2022
48efc2e
Merge pull request #23 from GmBodhi/dependabot/npm_and_yarn/shell-quo…
GmBodhi Jul 7, 2022
bfa8be3
Merge pull request #22 from GmBodhi/dependabot/npm_and_yarn/ansi-rege…
GmBodhi Jul 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
tests
docs
17 changes: 17 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules":{
"no-console": 2,
"@typescript-eslint/explicit-function-return-type": 2,
"@typescript-eslint/no-explicit-any":2,
"@typescript-eslint/no-unused-vars":2 }
}
71 changes: 0 additions & 71 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/codescan-analysis.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Docs

on: push

jobs:
Docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Node v14
uses: actions/setup-node@v2
with:
node-version: 14
- name: Install dependencies
run: yarn
- name: Run Docs
run: yarn docs
- name: Commit docs
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "automated(docs): docs json file generated (actions)"
file_pattern: docs/*.json typedoc.json
skip_dirty_check: false
skip_fetch: false
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint

on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"

jobs:
Lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Node v14
uses: actions/setup-node@v2
with:
node-version: 14
- name: Install dependencies
run: yarn
- name: Run Lint
run: yarn lint
24 changes: 24 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Tests

on:
push:
branches: [dev]

jobs:
Test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Node v14
uses: actions/setup-node@v2
with:
node-version: 14
- name: Install dependencies
run: yarn
- name: Build
run: yarn build
- name: Run Tests
run: yarn test
env:
TEST: ${{ secrets.TEST }}
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
test.js
dist
dist
.env
inspect.js
Binary file added .npmignore
Binary file not shown.
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
GmBodhi marked this conversation as resolved.
Show resolved Hide resolved
"esbenp.prettier-vscode"
]
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
128 changes: 128 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[Gm#1000 (Discord)](https://discord.com/users/830394727684898856) or at contact@eximstudio.com.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
36 changes: 36 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Contributing Guide

Thank you for considering contributing to this repository!

Please note that by participating, you are expected to uphold the [Contributor Covenant Code of Conduct](./CODE_OF_CONDUCT.md).

We're currently interested in covering all the available endpoints.


## Setting up local environment

#### fork the repo
#### clone
```shell
git clone https://github.com/yourusername/github-api.git
```
#### install dependencies
```shell
yarn
```
or
```shell
npm i
```
#### IDE
We recommend using the ESLint and Prettier extensions with VSCode (or alternative editor of your preference) \
In case if your system is unresponsive (disable ESLint)

#### Committing
We encourage you to follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0-beta.4/).

## Making PR
You'll have to pass [Lint](https://github.com/GmBodhi/github-api/actions/workflows/lint.yml) \
Run `yarn lint` after making changes to know whether it'll break or not

Chears..!
Loading