-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
178 changed files
with
52,163 additions
and
2 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,4 @@ | ||
RELEASE_TESTING=true | ||
SKIP_PREFLIGHT_CHECK=true | ||
ESLINT_NO_DEV_ERRORS=true | ||
DISABLE_ESLINT_PLUGIN=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,23 @@ | ||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
/src_old | ||
|
||
# production | ||
/build | ||
/release | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
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,85 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": ["airbnb", "prettier", "plugin:prettier/recommended"], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"settings": { | ||
"import/resolver": { | ||
"alias": { | ||
"map": [ | ||
["^ui$", "./src/ui"], | ||
["app", "./src/app/"], | ||
["common", "./src/common"] | ||
], | ||
"extensions": [".js", ".jsx", ".json", ".svg", ".png", ".jpg"] | ||
} | ||
} | ||
}, | ||
"parser": "babel-eslint", | ||
"plugins": [ | ||
"react", | ||
"prettier", | ||
"compat", | ||
"import", | ||
"jsx-a11y", | ||
"promise", | ||
"react-hooks" | ||
], | ||
"rules": { | ||
"prettier/prettier": "error", | ||
"jsx-a11y/aria-role": "off", | ||
"no-restricted-syntax": "off", | ||
"no-unused-vars": "error", | ||
"no-unused-expressions": "error", | ||
"consistent-return": "off", | ||
"jsx-a11y/no-static-element-interactions": "off", | ||
"jsx-a11y/click-events-have-key-events": "off", | ||
"no-underscore-dangle": "off", | ||
"no-console": "off", | ||
"no-use-before-define": "off", | ||
"no-await-in-loop": "off", | ||
"promise/param-names": "error", | ||
"promise/always-return": "error", | ||
"promise/catch-or-return": "error", | ||
"promise/no-native": "off", | ||
"react/sort-comp": [ | ||
"error", | ||
{ | ||
"order": [ | ||
"type-annotations", | ||
"static-methods", | ||
"lifecycle", | ||
"everything-else", | ||
"render" | ||
] | ||
} | ||
], | ||
"react/jsx-no-bind": "off", | ||
"react/jsx-filename-extension": "off", | ||
"react/prop-types": "off", | ||
"react/forbid-dom-props": [2, { "forbid": ["style"] }], | ||
"import/no-anonymous-default-export": [ | ||
"error", | ||
{ | ||
"allowArray": false, | ||
"allowArrowFunction": false, | ||
"allowAnonymousClass": false, | ||
"allowAnonymousFunction": false, | ||
"allowCallExpression": true, | ||
"allowLiteral": false, | ||
"allowObject": true | ||
} | ||
], | ||
"react/jsx-pascal-case": [2, { "allowAllCaps": false }], | ||
"react/prefer-stateless-function": "off", | ||
"import/no-unresolved": "off", | ||
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }], | ||
"jsx-a11y/anchor-is-valid": "off" | ||
} | ||
} |
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 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**Launcher Version** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. |
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,17 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. |
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,17 @@ | ||
## Purpose | ||
_Describe the problem or feature in addition to a link to the issues when possible._ | ||
|
||
## Approach | ||
_How does this change address the problem?_ | ||
|
||
#### Open Questions and Pre-Merge TODOs | ||
- [ ] Use github checklists. When solved, check the box and explain the answer. | ||
|
||
## Learning | ||
_Describe the research stage_ | ||
|
||
_Links to blog posts, patterns, libraries or addons used to solve this problem_ | ||
|
||
#### Blog Posts | ||
- [A Complete Guide to useEffect](https://overreacted.io/a-complete-guide-to-useeffect/) Learn how to use useeffect. | ||
|
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,99 @@ | ||
name: rPLauncher Next CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- releases | ||
- native-refactor | ||
pull_request: | ||
branches: | ||
- master | ||
- releases | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [macos-latest, windows-latest, ubuntu-latest] | ||
|
||
steps: | ||
- name: Context | ||
env: | ||
GITHUB_CONTEXT: ${{ toJson(github) }} | ||
run: echo "$GITHUB_CONTEXT" | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
- name: Use Node.js 14.16.0 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '14.16.0' | ||
|
||
- name: npm run install | ||
run: | | ||
npm i | ||
- name: npm run lint | ||
run: | | ||
npm run lint | ||
- name: npm run release for windows | ||
if: matrix.os == 'windows-latest' && github.event_name == 'push' | ||
env: | ||
CI: '' | ||
TRAVIS_TAG: '' | ||
APPVEYOR_REPO_TAG_NAME: '' | ||
CIRCLE_TAG: '' | ||
BITRISE_GIT_TAG: '' | ||
CI_BUILD_TAG: '' | ||
RELEASE_TESTING: false | ||
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} | ||
CSC_LINK: ${{ secrets.CSC_LINK }} | ||
run: | | ||
npm run release | ||
- name: npm run release for mac and linux | ||
if: matrix.os != 'windows-latest' || github.event_name != 'push' | ||
env: | ||
CI: '' | ||
TRAVIS_TAG: '' | ||
APPVEYOR_REPO_TAG_NAME: '' | ||
CIRCLE_TAG: '' | ||
BITRISE_GIT_TAG: '' | ||
CI_BUILD_TAG: '' | ||
RELEASE_TESTING: false | ||
run: | | ||
npm run release | ||
- name: upload release to gh releases | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/releases' | ||
env: | ||
GH_ACCESS_TOKEN_RELEASES: ${{ secrets.GH_ACCESS_TOKEN_RELEASES }} | ||
run: | | ||
npm run upload | ||
- uses: actions/upload-artifact@v1 | ||
if: matrix.os == 'macos-latest' | ||
with: | ||
name: MacOs Release | ||
path: deploy | ||
|
||
- uses: actions/upload-artifact@v1 | ||
if: matrix.os == 'windows-latest' | ||
with: | ||
name: Windows Release | ||
path: deploy | ||
|
||
- uses: actions/upload-artifact@v1 | ||
if: matrix.os == 'ubuntu-latest' | ||
with: | ||
name: Linux Release | ||
path: deploy | ||
|
||
- uses: actions/setup-ruby@v1 | ||
- name: Send Webhook Notification | ||
if: matrix.os == 'macos-latest' | ||
env: | ||
JOB_STATUS: ${{ job.status }} | ||
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }} | ||
run: | | ||
git clone https://github.com/gorilla-devs/github-actions-discord-webhook.git webhook | ||
bash webhook/send.sh $JOB_STATUS $WEBHOOK_URL | ||
shell: bash |
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,34 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
/data | ||
|
||
# production | ||
/build | ||
/release | ||
/deploy | ||
|
||
# IDEs | ||
.idea | ||
*.iml | ||
.eslintcache | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.electron-builder.env | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
signCertificate.pfx |
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 @@ | ||
_ |
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,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm run lint --fix |
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 @@ | ||
engine-strict=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,16 @@ | ||
{ | ||
"trailingComma": "none", | ||
"endOfLine": "auto", | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"arrow-parens": "off", | ||
"consistent-return": "off", | ||
"comma-dangle": "off", | ||
"no-underscore-dangle": "off", | ||
"generator-star-spacing": "off", | ||
"no-shadow": "off", | ||
"no-console": "off", | ||
"no-use-before-define": "off", | ||
"no-multi-assign": "off", | ||
"arrowParens": "avoid" | ||
} |
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,3 @@ | ||
{ | ||
"CurrentProjectSetting": null | ||
} |
Binary file not shown.
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
Oops, something went wrong.