Skip to content

Commit

Permalink
init monornorepo afk
Browse files Browse the repository at this point in the history
  • Loading branch information
MSghais committed Aug 4, 2024
0 parents commit 1eef438
Show file tree
Hide file tree
Showing 460 changed files with 37,828 additions and 0 deletions.
223 changes: 223 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
{
"projectName": "joyboy",
"projectOwner": "keep-starknet-strange",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 100,
"commit": true,
"commitConvention": "gitmoji",
"contributors": [
{
"login": "AbdelStark",
"name": "Abdel @ StarkWare ",
"avatar_url": "https://avatars.githubusercontent.com/u/45264458?v=4",
"profile": "https://github.com/AbdelStark",
"contributions": [
"code"
]
},
{
"login": "maciejka",
"name": "Maciej Kamiński @ StarkWare",
"avatar_url": "https://avatars.githubusercontent.com/u/190855?v=4",
"profile": "https://github.com/maciejka",
"contributions": [
"code"
]
},
{
"login": "MSghais",
"name": "MSG",
"avatar_url": "https://avatars.githubusercontent.com/u/59928086?v=4",
"profile": "https://github.com/MSghais",
"contributions": [
"code"
]
},
{
"login": "kateberryd",
"name": "Catherine Jonathan",
"avatar_url": "https://avatars.githubusercontent.com/u/35270183?v=4",
"profile": "https://github.com/kateberryd",
"contributions": [
"code"
]
},
{
"login": "ayushtom",
"name": "Ayush Tomar",
"avatar_url": "https://avatars.githubusercontent.com/u/41674634?v=4",
"profile": "https://github.com/ayushtom",
"contributions": [
"code"
]
},
{
"login": "mubarak23",
"name": "Mubarak Muhammad Aminu",
"avatar_url": "https://avatars.githubusercontent.com/u/7858376?v=4",
"profile": "http://mubarak23.github.io/",
"contributions": [
"code"
]
},
{
"login": "ugur-eren",
"name": "Uğur Eren",
"avatar_url": "https://avatars.githubusercontent.com/u/86152092?v=4",
"profile": "https://ugureren.net/",
"contributions": [
"code"
]
},
{
"login": "Oshioke-Salaki",
"name": "Oshioke Salaki",
"avatar_url": "https://avatars.githubusercontent.com/u/105825121?v=4",
"profile": "https://github.com/Oshioke-Salaki",
"contributions": [
"code"
]
},
{
"login": "bhavyagosai",
"name": "Bhavya Gosai",
"avatar_url": "https://avatars.githubusercontent.com/u/64588227?v=4",
"profile": "https://github.com/bhavyagosai",
"contributions": [
"code"
]
},
{
"login": "BlackStarkGoku",
"name": "BlackStarkGoku",
"avatar_url": "https://avatars.githubusercontent.com/u/165695008?v=4",
"profile": "https://github.com/BlackStarkGoku",
"contributions": [
"code"
]
},
{
"login": "Israelrex9",
"name": "IsraelRex",
"avatar_url": "https://avatars.githubusercontent.com/u/46507005?v=4",
"profile": "https://github.com/Israelrex9",
"contributions": [
"design"
]
},
{
"login": "EjembiEmmanuel",
"name": "Emmaunuel Ejembi",
"avatar_url": "https://avatars.githubusercontent.com/u/83036156?v=4",
"profile": "https://github.com/EjembiEmmanuel",
"contributions": [
"code"
]
},
{
"login": "Ayoazeez26",
"name": "Abdulhakeem Abdulazeez Ayodeji",
"avatar_url": "https://avatars.githubusercontent.com/u/44169294?v=4",
"profile": "https://github.com/Ayoazeez26",
"contributions": [
"code"
]
},
{
"login": "josephchimebuka",
"name": "Joseph Chimebuka",
"avatar_url": "https://avatars.githubusercontent.com/u/87217051?v=4",
"profile": "https://github.com/josephchimebuka",
"contributions": [
"code"
]
},
{
"login": "omahs",
"name": "omahs",
"avatar_url": "https://avatars.githubusercontent.com/u/73983677?v=4",
"profile": "https://github.com/omahs",
"contributions": [
"code"
]
},
{
"login": "Calebux",
"name": "Caleb ",
"avatar_url": "https://avatars.githubusercontent.com/u/119738245?v=4",
"profile": "https://github.com/Calebux",
"contributions": [
"code"
]
},
{
"login": "benbaruka",
"name": "Ben Ickah",
"avatar_url": "https://avatars.githubusercontent.com/u/89651828?v=4",
"profile": "https://developer.mozilla.org/",
"contributions": [
"code"
]
},
{
"login": "Shoetan",
"name": "Emmanuel Soetan",
"avatar_url": "https://avatars.githubusercontent.com/u/17912134?v=4",
"profile": "https://soetandev.netlify.app/",
"contributions": [
"code"
]
},
{
"login": "princeibs",
"name": "princeibs",
"avatar_url": "https://avatars.githubusercontent.com/u/64266194?v=4",
"profile": "https://github.com/princeibs",
"contributions": [
"code"
]
},
{
"login": "goofylfg",
"name": "goofylfg",
"avatar_url": "https://avatars.githubusercontent.com/u/165781272?v=4",
"profile": "https://github.com/goofylfg",
"contributions": [
"code"
]
},
{
"login": "lfgtwo",
"name": "lfg2",
"avatar_url": "https://avatars.githubusercontent.com/u/171595475?v=4",
"profile": "https://github.com/lfgtwo",
"contributions": [
"code"
]
},
{
"login": "devcollinss",
"name": "Collins Ikechukwu (devcollins)",
"avatar_url": "https://avatars.githubusercontent.com/u/90073781?v=4",
"profile": "https://github.com/devcollinss",
"contributions": [
"code"
]
},
{
"login": "petersssong",
"name": "petersssong",
"avatar_url": "https://avatars.githubusercontent.com/u/171840752?v=4",
"profile": "https://github.com/petersssong",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
"linkToUsage": false
}
45 changes: 45 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Contributor Guidelines

- Claiming a task

- Comment on the task you would like to take, include the estimated delivery timeline (start date and estimated completion date), describe how you would approach this task and a include brief summary of relevant skills.
- Join the Telegram group for updates and discussions. https://t.me/JoyboyStarknet

- Task Assignment

- Easy/Medium tasks will be assigned on a first-come, first-served basis. No further assignment required.
- Complex tasks will be assigned based on the proposals submitted by the prospective assignees to ensure optimal match and prioritization.
- You should create your first commit within 48 hours of being assigned to a task. If no commits are made or you are unreachable, we reserve the right to reassign the task.

- Submission Guidelines
- Submit a pull request from your forked repository.
- Ensure to rebase on the current master branch before creating the PR.
- If there are any, fix the conflicts before submitting the PR.
- Clearly describe the changes you made in the PR description.
- Include screenshots if necessary.

## Contributing to the Mobile App

### Setup

- Clone the repository
- Navigate to the JoyboyCommunity directory. `cd JoyboyCommunity`
- Install the dependencies using yarn `yarn install`
- Start the development server `yarn start`
- Open the app in your browser / device / emulator.

### Development

- Create a new branch for your feature `git checkout -b feat/your-feature`
- Make your changes
- Create a pull request and follow the Submission Guidelines above.

### Requirements

- The app must run without errors.
- The app must be responsive and work on all devices.
- The app must use the already defined styles and components if possible.
- Styling should be made using StyleSheet or ThemedStyleSheet.
- Theming should be used for all colors. Spacings should use the Spacing object.
- Texts should be made using the Text component so that they can use the correct font and be themed.
- Icons should be added to assets/icons.tsx and used from there. If the icon has a single color, it should use currentColor, and usage should define the color.
5 changes: 5 additions & 0 deletions .github/workflows/config/typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[default.extend-words]
ba = "ba"

[files]
extend-exclude = ["/**/patches/**", "/**/assets/**"]
44 changes: 44 additions & 0 deletions .github/workflows/joyboy-community.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI

on:
push:
branches:
- main
paths:
- "JoyboyCommunity/**"
pull_request:
branches:
- main
paths:
- "JoyboyCommunity/**"

jobs:
check-app:
runs-on: ubuntu-latest

defaults:
run:
working-directory: ./JoyboyCommunity

steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20.x"
cache: "yarn"
cache-dependency-path: ./JoyboyCommunity/yarn.lock

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Prettier Format Check
run: yarn format:check

- name: ESLint Check
run: yarn lint

- name: TypeScript Check
run: yarn ts:check
36 changes: 36 additions & 0 deletions .github/workflows/starknet-contracts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Starknet Contracts

on: [push, pull_request]

permissions: read-all

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- name: Scarb version
run: scarb --version
working-directory: onchain
- name: Check cairo format
run: scarb fmt --check
working-directory: onchain
- name: Build cairo programs
run: scarb build
working-directory: onchain
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- name: Scarb version
run: scarb --version
working-directory: onchain
- uses: actions/checkout@v3
- uses: foundry-rs/setup-snfoundry@v3
with:
starknet-foundry-version: '0.25.0'
- name: Run cairo tests
run: snforge test
working-directory: onchain
17 changes: 17 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Typo Check

on:
push:
branches: [main]
pull_request:

jobs:
typos:
name: Spell Check with Typos
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Use typos with config file
uses: crate-ci/[email protected]
with:
config: .github/workflows/config/typos.toml
Loading

0 comments on commit 1eef438

Please sign in to comment.