Skip to content

Commit

Permalink
feat: scaffolding
Browse files Browse the repository at this point in the history
completes ScuffleCloud#20
  • Loading branch information
TroyKomodo committed Feb 13, 2023
1 parent 5a4d2f9 commit 49a2a99
Show file tree
Hide file tree
Showing 76 changed files with 5,951 additions and 92 deletions.
16 changes: 8 additions & 8 deletions .github/ISSUE_TEMPLATE/bugreport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ body:
id: what-happened
attributes:
label: What seems to be the problem?
description: |
A clear and concise description of what needs to be fixed.
*Make sure there are no misunderstandings here. It would be best if you have a video/screenshot for us.*
description: |
A clear and concise description of what needs to be fixed.
*Make sure there are no misunderstandings here. It would be best if you have a video/screenshot for us.*
placeholder: Tell us what you see!
validations:
required: true
Expand Down Expand Up @@ -50,12 +50,12 @@ body:
id: reproduce
attributes:
label: How do we replicate that?
description: |
This includes the steps for reproducing the problem, the expected result, and the actual result.
description: |
This includes the steps for reproducing the problem, the expected result, and the actual result.
placeholder: |
1. ..
2. ..
3. ..
1. ..
2. ..
3. ..
validations:
required: true
- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ blank_issues_enabled: false
contact_links:
- name: Scuffle Discord
url: https://scuffle.tv/discord
about: Join our Discord for general questions as well as direct contact with the developers
about: Join our Discord for general questions as well as direct contact with the developers
2 changes: 1 addition & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ If you believe you have found a security vulnerability in any [Scuffle-owned rep

## Reporting security issues

⚠️ **Please do not report security vulnerabilities through public GitHub issues.** ⚠️
⚠️ **Please do not report security vulnerabilities through public GitHub issues.** ⚠️

Instead, please kindly email us at [email protected]

Expand Down
96 changes: 48 additions & 48 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
- name: 'backlog'
color: '7ef7ef'
- name: 'bug'
color: 'd73a4a'
- name: 'chore'
color: 'ffffff'
- name: 'ci'
color: '0075ca'
- name: 'dependencies'
color: '276bd1'
- name: 'documentation'
color: '0075ca'
- name: 'duplicate'
color: 'cfd3d7'
- name: 'feature request'
color: 'fcf95a'
- name: 'good first issue'
color: '7057ff'
- name: 'has PR'
color: '4b1f8e'
- name: 'help wanted'
color: '008672'
- name: 'in progress'
color: 'ffccd7'
- name: 'in review'
color: 'aed5fc'
- name: 'invalid'
color: 'e4e669'
- name: 'need repro'
color: 'c66037'
- name: 'performance'
color: '80c042'
- name: 'priority:critical'
color: 'b60205'
- name: 'priority:high'
color: 'd93f0b'
- name: 'priority:medium'
color: 'fbca04'
- name: 'priority:low'
color: '0e8a16'
- name: 'refactor'
color: '1d637f'
- name: 'regression'
color: 'ea8785'
- name: 'tests'
color: 'f06dff'
- name: 'wontfix'
color: 'ffffff'
- name: "backlog"
color: "7ef7ef"
- name: "bug"
color: "d73a4a"
- name: "chore"
color: "ffffff"
- name: "ci"
color: "0075ca"
- name: "dependencies"
color: "276bd1"
- name: "documentation"
color: "0075ca"
- name: "duplicate"
color: "cfd3d7"
- name: "feature request"
color: "fcf95a"
- name: "good first issue"
color: "7057ff"
- name: "has PR"
color: "4b1f8e"
- name: "help wanted"
color: "008672"
- name: "in progress"
color: "ffccd7"
- name: "in review"
color: "aed5fc"
- name: "invalid"
color: "e4e669"
- name: "need repro"
color: "c66037"
- name: "performance"
color: "80c042"
- name: "priority:critical"
color: "b60205"
- name: "priority:high"
color: "d93f0b"
- name: "priority:medium"
color: "fbca04"
- name: "priority:low"
color: "0e8a16"
- name: "refactor"
color: "1d637f"
- name: "regression"
color: "ea8785"
- name: "tests"
color: "f06dff"
- name: "wontfix"
color: "ffffff"
4 changes: 2 additions & 2 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Sync Labels
on:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch:
push:
branches:
- main
paths:
- '.github/labels.yml'
- ".github/labels.yml"
jobs:
synclabels:
name: Sync Labels
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
target/
.vscode/
!.vscode/extensions.json
node_modules/
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit "$1"
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

just lint
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
frontend/website/**/*
**/target/**/*
**/pkg/**/*
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"useTabs": true,
"singleQuote": false,
"trailingComma": "all",
"printWidth": 100
}
12 changes: 12 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"recommendations": [
"kokakiwi.vscode-just",
"rust-lang.rust-analyzer",
"serayuzgur.crates",
"bungcip.better-toml",
"prisma.prisma",
"swellaby.rust-pack",
"svelte.svelte-vscode",
"zxh404.vscode-proto3"
]
}
10 changes: 0 additions & 10 deletions CLA.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,21 @@

Thank you for your interest in contributing to open source software projects (“Projects”) made available by Scuffle or its affiliates (“ScuffleTV”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Scuffle in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact [email protected].


You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.


**Copyright License.** You hereby grant, and agree to grant, to Scuffle a non-exclusive, perpetual, irrevocable, worldwide, fully-paid, royalty-free, transferable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute your Contributions and such derivative works, with the right to sublicense the foregoing rights through multiple tiers of sublicensees.


**Patent License.** You hereby grant, and agree to grant, to Scuffle a non-exclusive, perpetual, irrevocable,
worldwide, fully-paid, royalty-free, transferable patent license to make, have made, use, offer to sell, sell,
import, and otherwise transfer your Contributions, where such license applies only to those patent claims
licensable by you that are necessarily infringed by your Contributions alone or by combination of your
Contributions with the Project to which such Contributions were submitted, with the right to sublicense the
foregoing rights through multiple tiers of sublicensees.


**Moral Rights.** To the fullest extent permitted under applicable law, you hereby waive, and agree not to
assert, all of your “moral rights” in or relating to your Contributions for the benefit of Scuffle, its assigns, and
their respective direct and indirect sublicensees.


**Third Party Content/Rights.** If your Contribution includes or is based on any source code, object code, bug
fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or
other works of authorship that were not authored by you (“Third Party Content”) or if you are aware of any
Expand All @@ -34,33 +29,28 @@ third party license terms or restrictions respecting the Third Party Content and
certainty, the foregoing obligations respecting the identification of Third Party Content and Third Party Rights
do not apply to any portion of a Project that is incorporated into your Contribution to that same Project.


**Representations.** You represent that, other than the Third Party Content and Third Party Rights identified by
you in accordance with this Agreement, you are the sole author of your Contributions and are legally entitled
to grant the foregoing licenses and waivers in respect of your Contributions. If your Contributions were
created in the course of your employment with your past or present employer(s), you represent that such
employer(s) has authorized you to make your Contributions on behalf of such employer(s) or such employer
(s) has waived all of their right, title or interest in or to your Contributions.


**Disclaimer.** To the fullest extent permitted under applicable law, your Contributions are provided on an "asis"
basis, without any warranties or conditions, express or implied, including, without limitation, any implied
warranties or conditions of non-infringement, merchantability or fitness for a particular purpose. You are not
required to provide support for your Contributions, except to the extent you desire to provide support.


**No Obligation.** You acknowledge that Scuffle is under no obligation to use or incorporate your Contributions
into any of the Projects. The decision to use or incorporate your Contributions into any of the Projects will be
made at the sole discretion of Scuffle or its authorized delegates.


**Disputes.** This Agreement shall be governed by and construed in accordance with the laws of the State of
Delaware, United States of America, without giving effect to its principles or rules regarding conflicts of laws,
other than such principles directing application of Delaware law. The parties hereby submit to venue in, and
jurisdiction of the courts located in Delaware, Delaware for purposes relating to this Agreement. In the event
that any of the provisions of this Agreement shall be held by a court or other tribunal of competent jurisdiction
to be unenforceable, the remaining portions hereof shall remain in full force and effect.


**Assignment.** You agree that Scuffle may assign this Agreement, and all of its rights, obligations and licenses
hereunder.
20 changes: 10 additions & 10 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ diverse, inclusive, and healthy community.
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,
- 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
- 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
- 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,
- 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
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities
Expand Down
Loading

0 comments on commit 49a2a99

Please sign in to comment.