Skip to content

Commit 385ee19

Browse files
committed
Initial Release
0 parents  commit 385ee19

120 files changed

Lines changed: 19118 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.react-router
2+
build
3+
node_modules
4+
README.md

.gitattributes

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.github/FUNDING.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# These are supported funding model platforms
2+
github: phalcode
3+
ko_fi: phalcode
4+
liberapay: phalcode
5+
custom: "https://paypal.me/phalcode"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: 🪲 Report a Bug
3+
about: Does something not work correctly?
4+
labels: ["🎛️ server", "🪲 bug"]
5+
projects: "Phalcode/4"
6+
---
7+
8+
**Describe the bug**
9+
A clear and concise description of what the bug is.
10+
11+
**To Reproduce**
12+
Steps to reproduce the behavior:
13+
1. Go to '...'
14+
2. Click on '....'
15+
3. Scroll down to '....'
16+
4. See error
17+
18+
**Expected behavior**
19+
A clear and concise description of what you expected to happen.
20+
21+
**Screenshots**
22+
If applicable, add screenshots to help explain your problem.
23+
24+
**Desktop (please complete the following information):**
25+
- OS: [e.g. iOS]
26+
- Browser [e.g. chrome, safari]
27+
- Version [e.g. 22]
28+
29+
**Smartphone (please complete the following information):**
30+
- Device: [e.g. iPhone6]
31+
- OS: [e.g. iOS8.1]
32+
- Browser [e.g. stock browser, safari]
33+
- Version [e.g. 22]
34+
35+
**Additional context**
36+
Add any other context about the problem here.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: 🔧 Request a Feature
3+
about: Do you have a Feature Request?
4+
labels: ["🎛️ server", "🔧 feature"]
5+
projects: "Phalcode/4"
6+
---
7+
8+
**Is your feature request related to a problem? Please describe.**
9+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10+
11+
**Describe the solution you'd like**
12+
A clear and concise description of what you want to happen.
13+
14+
**Describe alternatives you've considered**
15+
A clear and concise description of any alternative solutions or features you've considered.
16+
17+
**Additional context**
18+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: ❓ Question
3+
about: Do you have a Question?
4+
labels: ["🎛️ server","❓ question"]
5+
projects: "Phalcode/4"
6+
---
7+
8+
**Your Question**
9+
10+
Ask your question or seek clarification here.
11+
12+
**Additional Context**
13+
14+
Add any additional context or information that may be helpful.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Add issues to project
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
7+
jobs:
8+
add-to-project:
9+
name: Add issue to project
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/add-to-project@v0.5.0
13+
with:
14+
project-url: https://github.com/orgs/Phalcode/projects/4
15+
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Build and Deploy for Develop (Unstable Release)
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
8+
jobs:
9+
docker:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
15+
- name: Setup pnpm
16+
uses: pnpm/action-setup@v4
17+
with:
18+
version: latest
19+
20+
- name: Install dependencies
21+
run: pnpm install --frozen-lockfile --strict-peer-dependencies
22+
23+
- name: Build
24+
run: pnpm run build
25+
26+
- name: Zip dist folder
27+
run: |
28+
zip -r gamevault-frontend.zip dist/*
29+
30+
- name: Upload gamevault-frontend.zip to unstable release
31+
uses: svenstaro/upload-release-action@v2
32+
with:
33+
repo_token: ${{ secrets.GITHUB_TOKEN }}
34+
file: gamevault-frontend.zip
35+
asset_name: gamevault-frontend.zip
36+
tag: unstable
37+
overwrite: true
38+
prerelease: true
39+
# sonarcloud:
40+
# name: SonarCloud
41+
# runs-on: ubuntu-latest
42+
# steps:
43+
# - uses: actions/checkout@v3
44+
# with:
45+
# fetch-depth: 0
46+
#
47+
# - name: SonarCloud Scan
48+
# uses: SonarSource/sonarcloud-github-action@master
49+
# env:
50+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Build and Deploy for Master
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
docker:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
15+
- name: Fetch Current Package Version
16+
id: package-version
17+
uses: martinbeentjes/npm-get-version-action@v1.3.1
18+
19+
- name: Setup pnpm
20+
uses: pnpm/action-setup@v4
21+
with:
22+
version: latest
23+
24+
- name: Install dependencies
25+
run: pnpm install --frozen-lockfile --strict-peer-dependencies
26+
27+
- name: Build
28+
run: pnpm run build
29+
30+
- name: Zip dist folder
31+
run: |
32+
zip -r gamevault-frontend.zip dist
33+
34+
- name: Create Github Tag & Release
35+
id: release
36+
uses: CupOfTea696/gh-action-auto-release@v1.0.2
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
with:
40+
tag: "$semver.0"
41+
42+
- name: Upload Release Artifact
43+
id: upload
44+
uses: actions/upload-release-asset@v1
45+
with:
46+
asset_path: gamevault-frontend.zip
47+
asset_name: gamevault-frontend.zip
48+
asset_content_type: application/zip
49+
upload_url: ${{steps.release.outputs.upload_url}}
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
53+
notify_discord:
54+
needs: deploy
55+
runs-on: ubuntu-latest
56+
steps:
57+
- name: Send Discord Notification
58+
id: discord
59+
uses: Ilshidur/action-discord@master
60+
env:
61+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_BOT_WEBHOOK }}
62+
with:
63+
args: "<@&1128857090090340382> New Release: ${{ github.event.repository.full_name }} v${{ needs.deploy.outputs.version }}.0 has been deployed. Here are the changes: https://github.com/${{ github.event.repository.full_name }}/releases/tag/${{ needs.deploy.outputs.version }}.0"

.gitignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
# Generated API
11+
src/api
12+
13+
node_modules
14+
dist
15+
dist-ssr
16+
*.local
17+
18+
# Editor directories and files
19+
.vscode/*
20+
!.vscode/extensions.json
21+
.vs
22+
.idea
23+
.DS_Store
24+
*.suo
25+
*.ntvs*
26+
*.njsproj
27+
*.sln
28+
*.sw?
29+
30+
# React Router
31+
/.react-router/
32+
/build/

0 commit comments

Comments
 (0)