-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into decks-support
- Loading branch information
Showing
2,089 changed files
with
26,646 additions
and
7,525 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"files": [ | ||
"README.md" | ||
], | ||
"imageSize": 100, | ||
"commit": false, | ||
"badgeTemplate": "<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square\" alt=\"All Contributors Badge\" /></a>", | ||
"contributors": [ | ||
{ | ||
"login": "Aviortheking", | ||
"name": "Avior", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/15822031?v=4", | ||
"profile": "https://www.avior.me/", | ||
"contributions": [ | ||
"code", | ||
"data" | ||
] | ||
}, | ||
{ | ||
"login": "JuneTwooo", | ||
"name": "June", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/1458019?v=4", | ||
"profile": "https://github.com/JuneTwooo", | ||
"contributions": [ | ||
"bug" | ||
] | ||
}, | ||
{ | ||
"login": "Kevin-Adrea", | ||
"name": "Kevin-Adrea", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/36231620?v=4", | ||
"profile": "https://github.com/Kevin-Adrea", | ||
"contributions": [ | ||
"bug" | ||
] | ||
}, | ||
{ | ||
"login": "Maxopoly", | ||
"name": "Maxopoly", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/12138136?v=4", | ||
"profile": "https://github.com/Maxopoly", | ||
"contributions": [ | ||
"data" | ||
] | ||
} | ||
], | ||
"contributorsPerLine": 7, | ||
"projectName": "cards-database", | ||
"projectOwner": "tcgdex", | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"skipCi": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
node_modules | ||
|
||
|
||
# misc | ||
.DS_Store | ||
.env* | ||
|
||
# debug | ||
npm-debug.log* | ||
|
||
dist/ | ||
*.asc | ||
|
||
/data/**/*.js | ||
|
||
|
||
# production | ||
/server/dist | ||
/server/generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: API Issue Report | ||
description: Use this when you found an issue involving the TCGdex Server | ||
title: "issue:" | ||
labels: [issue, server] | ||
body: | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to help advance the project witg your issue report! | ||
- type: checkboxes | ||
id: issue-location | ||
validations: | ||
required: true | ||
attributes: | ||
label: Where are you having the issue | ||
options: | ||
- label: GraphQL | ||
- label: JSON API | ||
|
||
- type: checkboxes | ||
id: issue-item | ||
attributes: | ||
label: Is the issue affecting one of the two elements below ? | ||
options: | ||
- label: Translations | ||
- label: Definitions Files (Open API, GraphQL Schema, etc) | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: What is happening | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: TCGdex Discord | ||
url: https://discord.gg/NehYTAhsZE | ||
about: You can post user code related issues here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Database Issue Report | ||
description: Use this when you found an issue involving the TCGdex Datas | ||
title: "issue:" | ||
labels: [issue, database] | ||
body: | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to help advance the project witg your issue report! | ||
Note: if the issue is affecting translations or definitions files the correct issue report as the API one | ||
- type: dropdown | ||
id: data-type | ||
validations: | ||
required: true | ||
attributes: | ||
label: What seems to be the issue | ||
description: Select the types of data that seems to be causing issues | ||
options: | ||
- label: Card | ||
- label: Set | ||
- label: Serie | ||
- label: Other | ||
- type: input | ||
id: fields | ||
attributes: | ||
label: Field(s) | ||
description: Tell which field(s) have the issue | ||
placeholder: "ex: the Regulation Mark field" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: Describe Your problem | ||
placeholder: "ex: The cards have an incorrect name" | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!-- | ||
Thanks for your Pull Request, Please provide the related Issue using "Fix #0" or describe the change(s) you made. | ||
The issue title must follow Conventional Commit (verified by Github Actions) conventionalcommits.org. | ||
More informations at https://github.com/tcgdex/cards-database/blob/master/CONTRIBUTING.md | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Build | ||
|
||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
# Publish semver tags as releases. | ||
tags: [ 'v*.*.*' ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
env: | ||
# Use docker.io for Docker Hub if empty | ||
REGISTRY: ghcr.io | ||
# github.repository as <account>/<repo> | ||
IMAGE_NAME: tcgdex/server | ||
|
||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
# Login against a Docker registry except on PR | ||
# https://github.com/docker/login-action | ||
- name: Log into registry ${{ env.REGISTRY }} | ||
if: github.event_name != 'pull_request' | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Extract metadata (tags, labels) for Docker | ||
# https://github.com/docker/metadata-action | ||
- name: Extract Docker metadata | ||
id: meta | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | ||
|
||
# Build and push Docker image with Buildx (don't push on PR) | ||
# https://github.com/docker/build-push-action | ||
- name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Conventionnal Commit | ||
on: pull_request | ||
jobs: | ||
conventional: | ||
name: Conventional PR | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
- uses: beemojs/conventional-pr-action@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
config-preset: angular |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.js | ||
|
||
node_modules/ | ||
dist/ |
Oops, something went wrong.