Skip to content

Commit 6db6fbb

Browse files
authored
Merge pull request #6 from Wyvarn/beta
Initial Release
2 parents b36c429 + 225adc0 commit 6db6fbb

File tree

137 files changed

+21695
-0
lines changed

Some content is hidden

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

137 files changed

+21695
-0
lines changed

.dockerignore

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
lib-cov
14+
coverage
15+
*.lcov
16+
.nyc_output
17+
.grunt
18+
bower_components
19+
.lock-wscript
20+
build/Release
21+
node_modules/
22+
jspm_packages/
23+
web_modules/
24+
*.tsbuildinfo
25+
.npm
26+
.eslintcache
27+
.rpt2_cache/
28+
.rts2_cache_cjs/
29+
.rts2_cache_es/
30+
.rts2_cache_umd/
31+
.node_repl_history
32+
*.tgz
33+
.yarn-integrity
34+
.env
35+
.env.test
36+
.cache
37+
.parcel-cache
38+
.next
39+
out
40+
.nuxt
41+
dist
42+
.cache/
43+
.vuepress/dist
44+
.serverless/
45+
.fusebox/
46+
.dynamodb/
47+
.tern-port
48+
.vscode-test
49+
.yarn/cache
50+
.yarn/unplugged
51+
.yarn/build-state.yml
52+
.yarn/install-state.gz
53+
.pnp.*
54+
.idea/**/workspace.xml
55+
.idea/**/tasks.xml
56+
.idea/**/usage.statistics.xml
57+
.idea/**/dictionaries
58+
.idea/**/shelf
59+
.idea/**/contentModel.xml
60+
.idea/**/dataSources/
61+
.idea/**/dataSources.ids
62+
.idea/**/dataSources.local.xml
63+
.idea/**/sqlDataSources.xml
64+
.idea/**/dynamic.xml
65+
.idea/**/uiDesigner.xml
66+
.idea/**/dbnavigator.xml
67+
.idea/**/gradle.xml
68+
.idea/**/libraries
69+
cmake-build-*/
70+
.idea/**/mongoSettings.xml
71+
*.iws
72+
out/
73+
.idea_modules/
74+
atlassian-ide-plugin.xml
75+
.idea/replstate.xml
76+
com_crashlytics_export_strings.xml
77+
crashlytics.properties
78+
crashlytics-build.properties
79+
fabric.properties
80+
.idea/httpRequests
81+
.idea/caches/build_file_checksums.ser
82+
build/
83+
/public/env-config.js
84+
env-config.js
85+

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
APOLLO_KEY=service:graph_name:graph
2+
API_URL=http://localhost:4000
3+
SENTRY_DSN=https://123456.ingest.sentry.io/123456

.eslintignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
node_modules/
2+
coverage/
3+
config/
4+
build/
5+
public/
6+
.eslintrc.js
7+
.pretterrc.js
8+
server/
9+
*.test.ts
10+
*.test.tsx
11+
env-config.js
12+
__generated__/globalTypes.ts

.eslintrc.js

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
env: {
4+
browser: true,
5+
es6: true,
6+
node: true,
7+
jest: true
8+
},
9+
globals: {
10+
document: true,
11+
navigator: true,
12+
window: true
13+
},
14+
extends: [
15+
'airbnb',
16+
'eslint:recommended',
17+
'plugin:react/recommended',
18+
'prettier',
19+
'prettier/react',
20+
'prettier/@typescript-eslint',
21+
'plugin:@typescript-eslint/recommended',
22+
'plugin:prettier/recommended'
23+
],
24+
parserOptions: {
25+
// Allows for the parsing of modern ECMAScript features
26+
ecmaVersion: 2020,
27+
ecmaFeatures: {
28+
experimentalObjectRestSpread: true,
29+
jsx: true,
30+
modules: true
31+
},
32+
sourceType: 'module'
33+
},
34+
plugins: [
35+
'react',
36+
'import',
37+
'prettier',
38+
'react-hooks',
39+
'@typescript-eslint'
40+
],
41+
settings: {
42+
react: {
43+
// Tells eslint-plugin-react to automatically detect the version of React to use
44+
version: 'detect',
45+
createClass: 'createClass'
46+
}
47+
},
48+
rules: {
49+
strict: 0,
50+
'import/no-named-as-default': 0,
51+
'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
52+
'no-param-reassign': ['off', { props: false }],
53+
'prettier/prettier': 'warn',
54+
'no-tabs': ['error', { allowIndentationTabs: true }],
55+
'react-hooks/rules-of-hooks': 'error',
56+
'react-hooks/exhaustive-deps': 'warn',
57+
'react/no-did-update-set-state': 0,
58+
'no-unused-expressions': 0,
59+
'no-unused-vars': [
60+
'error',
61+
{
62+
vars: 'all',
63+
args: 'after-used',
64+
ignoreRestSiblings: false,
65+
varsIgnorePattern: 'error',
66+
argsIgnorePattern: '^own[p|P]rops$|^prev[s|S]tate$|^e$|^_$'
67+
}
68+
],
69+
'class-methods-use-this': 0,
70+
'import/extensions': [
71+
'error',
72+
'never',
73+
{
74+
packages: 'always'
75+
}
76+
],
77+
'linebreak-style': 0,
78+
'no-console': 0,
79+
'no-restricted-globals': 'warn',
80+
'prefer-destructuring': ['warn', { object: true, array: false }],
81+
'import/no-unresolved': 0,
82+
'import/no-extraneous-dependencies': [
83+
'error',
84+
{
85+
devDependencies: true
86+
}
87+
],
88+
'jsx-a11y/label-has-associated-control': 0,
89+
'react/jsx-uses-react': 'error',
90+
'react/jsx-uses-vars': 'error',
91+
'react/jsx-filename-extension': [
92+
1,
93+
{
94+
extensions: ['.js', '.jsx', '.tsx', '.ts']
95+
}
96+
],
97+
'react/prefer-stateless-function': [
98+
1,
99+
{
100+
ignorePureComponents: true
101+
}
102+
],
103+
'react/display-name': [
104+
0,
105+
{
106+
ignoreTranspilerName: true
107+
}
108+
],
109+
'react/jsx-props-no-spreading': [
110+
0,
111+
{
112+
html: 0,
113+
custom: 0
114+
}
115+
]
116+
}
117+
}

.github/CODE_OF_CONDUCT.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

.github/CONTRIBUTING.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Contributing
2+
3+
When contributing to this repository, please first discuss the change you wish to make via issue,
4+
email, or any other method with the owners of this repository before making a change.
5+
6+
Please note we have a code of conduct, please follow it in all your interactions with the project.
7+
8+
## Pull Request Process
9+
10+
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
11+
build.
12+
2. Update the README.md with details of changes to the interface, this includes new environment
13+
variables, exposed ports, useful file locations and container parameters.
14+
3. Increase the version numbers in any examples files and the README.md to the new version that this
15+
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
16+
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
17+
do not have permission to do that, you may request the second reviewer to merge it for you.
18+
19+
## Code of Conduct
20+
21+
### Our Pledge
22+
23+
In the interest of fostering an open and welcoming environment, we as
24+
contributors and maintainers pledge to making participation in our project and
25+
our community a harassment-free experience for everyone, regardless of age, body
26+
size, disability, ethnicity, gender identity and expression, level of experience,
27+
nationality, personal appearance, race, religion, or sexual identity and
28+
orientation.
29+
30+
### Our Standards
31+
32+
Examples of behavior that contributes to creating a positive environment
33+
include:
34+
35+
* Using welcoming and inclusive language
36+
* Being respectful of differing viewpoints and experiences
37+
* Gracefully accepting constructive criticism
38+
* Focusing on what is best for the community
39+
* Showing empathy towards other community members
40+
41+
Examples of unacceptable behavior by participants include:
42+
43+
* The use of sexualized language or imagery and unwelcome sexual attention or
44+
advances
45+
* Trolling, insulting/derogatory comments, and personal or political attacks
46+
* Public or private harassment
47+
* Publishing others' private information, such as a physical or electronic
48+
address, without explicit permission
49+
* Other conduct which could reasonably be considered inappropriate in a
50+
professional setting
51+
52+
### Our Responsibilities
53+
54+
Project maintainers are responsible for clarifying the standards of acceptable
55+
behavior and are expected to take appropriate and fair corrective action in
56+
response to any instances of unacceptable behavior.
57+
58+
Project maintainers have the right and responsibility to remove, edit, or
59+
reject comments, commits, code, wiki edits, issues, and other contributions
60+
that are not aligned to this Code of Conduct, or to ban temporarily or
61+
permanently any contributor for other behaviors that they deem inappropriate,
62+
threatening, offensive, or harmful.
63+
64+
### Scope
65+
66+
This Code of Conduct applies both within project spaces and in public spaces
67+
when an individual is representing the project or its community. Examples of
68+
representing a project or community include using an official project e-mail
69+
address, posting via an official social media account, or acting as an appointed
70+
representative at an online or offline event. Representation of a project may be
71+
further defined and clarified by project maintainers.
72+
73+
### Enforcement
74+
75+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
76+
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
77+
complaints will be reviewed and investigated and will result in a response that
78+
is deemed necessary and appropriate to the circumstances. The project team is
79+
obligated to maintain confidentiality with regard to the reporter of an incident.
80+
Further details of specific enforcement policies may be posted separately.
81+
82+
Project maintainers who do not follow or enforce the Code of Conduct in good
83+
faith may face temporary or permanent repercussions as determined by other
84+
members of the project's leadership.
85+
86+
### Attribution
87+
88+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
89+
available at [http://contributor-covenant.org/version/1/4][version]
90+
91+
[homepage]: http://contributor-covenant.org
92+
[version]: http://contributor-covenant.org/version/1/4/

0 commit comments

Comments
 (0)