-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* moving src/example out and add contribution guide * adding tsconfig for example folder, and makeing some changes to root package.json and example's package.json
- Loading branch information
Showing
7 changed files
with
54 additions
and
3 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,26 @@ | ||
# Contributing to GAME SDK | ||
|
||
There are various ways you can contribute to the GAME SDK, whether it's fixing bugs, adding new plugins, or improving the documentation. | ||
|
||
### Submitting Code (e.g. plugins) | ||
1. **Fork** the repository and clone it to your local machine. | ||
2. **Create a Branch** for your changes. | ||
3. **Make Changes** to address the issue or add the feature. | ||
4. **Commit** with a message that clearly explains your change. | ||
5. **Push** the branch to your fork and submit a pull request. | ||
6. **Label** the pull request appropriately based on the [label definitions](#label-definitions) | ||
|
||
### Reporting Bugs | ||
- Open an issue in the [Issues](https://github.com/game-by-virtuals/game-python/issues) tab and tag it as a `bug`. | ||
|
||
### Suggesting Enhancements | ||
- Open an issue in the [Issues](https://github.com/your-username/my-project/issues) tab and tag it as an `enhancement`. | ||
|
||
## Label Definitions | ||
|
||
Please tag issues and pull requests appropriately, based on the definition below: | ||
- **plugin**: A plugin contribution. | ||
- **bug**: A problem that needs fixing. | ||
- **enhancement**: A requested enhancement. | ||
- **help wanted**: A task that is open for anyone to work on. | ||
- **documentation**: Documentation changes. |
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,13 @@ | ||
{ | ||
"name": "examples", | ||
"private": true, | ||
"dependencies": { | ||
"@virtuals-protocol/game": "^0.1.6", | ||
"twitter-api-v2": "^1.15.0", | ||
"@virtuals-protocol/game-twitter-plugin": "^0.1.1" | ||
}, | ||
"scripts": { | ||
"start": "ts-node -P ./tsconfig.json", | ||
"build": "tsc -p ./tsconfig.json" | ||
} | ||
} |
File renamed without changes.
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,11 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"compilerOptions": { | ||
"rootDir": "../", // Look up one directory to include everything | ||
"outDir": "./dist" | ||
}, | ||
"include": [ | ||
"./**/*", // Include all example files | ||
"../plugins/**/example.ts" // Include plugin examples | ||
] | ||
} |
File renamed without changes.
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