Skip to content

Commit 776ed1e

Browse files
author
Philip Paetz
committed
chore: ran 'bbk init'
1 parent 6252121 commit 776ed1e

Some content is hidden

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

68 files changed

+48654
-350
lines changed

.browserslistrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Browsers we support
2+
> 1%
3+
not dead
4+
not ie <= 11
5+
not op_mini all

.dockerignore

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
node_modules
5+
package-lock.json
6+
yarn-error.log
7+
npm-debug.log
8+
data
9+
10+
# dev dependencies
11+
.browserslistrc
12+
.dockerignore
13+
.eslintrc.js
14+
.eslintignore
15+
.flowconfig
16+
.markdownlint.json
17+
.prettierrc
18+
.prettierignore
19+
commitlint.config.js
20+
/Dockerfile
21+
/docker-compose.yml
22+
/flow-typed
23+
24+
# CI / Deployment
25+
.gitlab-ci.yml
26+
/chart
27+
28+
# Docs
29+
README.md
30+
31+
# test
32+
coverage
33+
codeclimate.html
34+
35+
# database
36+
/data
37+
38+
# build output
39+
build
40+
41+
# git
42+
/.git
43+
.gitignore
44+
45+
# misc
46+
.DS_Store
47+
.env
48+
*.log
49+
.truffle-solidity-loader
50+
51+
# secrets
52+
*.crt
53+
*.key
54+
*.rsa
55+
.env
56+
.env.example
57+
.ci-env
58+
59+
# tmp files
60+
~*
61+
.#*
62+
.editorconfig
63+
.cache-loader
64+
.gitlab-ci
65+
.vscode
66+
Session.vim

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
coverage
2+
flow-typed/npm
3+
node_modules

.eslintrc.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
extends: [
3+
'@brickblock/eslint-config-base',
4+
'@brickblock/eslint-config-react',
5+
],
6+
rules: {
7+
'react/jsx-no-literals': 'off'
8+
}
9+
}

.flowconfig

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[ignore]
2+
.cache/.*
3+
./build/.*
4+
./dist/.*
5+
.*/node_modules/jsonlint/.*
6+
7+
[include]
8+
9+
[libs]
10+
flow-typed
11+
node_modules/flow-inlinestyle/index.js
12+
13+
[lints]
14+
all=warn
15+
16+
[options]
17+
emoji=true
18+
suppress_comment= \\(.\\|\n\\)*\\$FlowExpectError
19+
suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
20+
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
21+
module.name_mapper='.*\(.graphql\)' -> 'empty/object'
22+
module.system.node.resolve_dirname=node_modules
23+
module.system.node.resolve_dirname=./src
24+
25+
[strict]

.gitignore

+34-12
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,45 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

33
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.js
4+
.npmrc
5+
.yarnrc
6+
node_modules
7+
package-lock.json
8+
npm-shrinkwrap.json
9+
*-debug.log*
10+
*-error.log*
711

812
# testing
13+
/.nyc_output
914
/coverage
1015

11-
# production
16+
# build output
1217
/build
18+
/dist
19+
/storybook-static
20+
21+
# secrets
22+
*.crt
23+
*.key
24+
*.rsa
25+
.env
26+
.ci-env
27+
28+
# editor files
29+
.editorconfig
30+
.idea
31+
.vscode
32+
33+
# cli files
34+
oclif.manifest.json
35+
36+
# tmp files
37+
/tmp
38+
~*
39+
.#*
40+
.cache*
41+
.gitlab-ci
1342

1443
# misc
1544
.DS_Store
16-
.env.local
17-
.env.development.local
18-
.env.test.local
19-
.env.production.local
20-
21-
npm-debug.log*
22-
yarn-debug.log*
23-
yarn-error.log*
45+
*.log

.gitlab-ci.yml

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
image: 'node:10.14'
2+
3+
variables:
4+
APP_PORT: '8080'
5+
HAS_GANACHE: 'false'
6+
HAS_DB: 'false'
7+
DB_SHOULD_DELETE: 'false'
8+
HAS_INGRESS: 'true'
9+
REPLICAS: '3'
10+
11+
stages:
12+
- setup
13+
- test
14+
- build
15+
- review
16+
- tag
17+
- deploy
18+
- e2e-test
19+
- release
20+
- publish
21+
- post-deploy
22+
- run-jobs
23+
24+
templates_version:
25+
stage: setup
26+
variables:
27+
GIT_STRATEGY: none
28+
script:
29+
- 'echo "Templates at last CI file update: https://git.brickblock.sh/devops/project-templates/tree/e3a87db1ab48a5c61d6a2e0a01d7f1d247c1fe45"'
30+
except:
31+
refs:
32+
- tags
33+
- master
34+
variables:
35+
- '$CI_COMMIT_MESSAGE =~ /[ci-release]/'
36+
dependencies: []
37+
cache: {}
38+
39+
check_env_vars:
40+
stage: setup
41+
variables:
42+
GIT_STRATEGY: none
43+
script:
44+
- ': "${REVIEW_DOMAIN:?Environment variable REVIEW_DOMAIN needs to be set as a CI variable in the GitLab repo settings before running this script}"'
45+
- ': "${STAGING_DOMAIN:?Environment variable STAGING_DOMAIN needs to be set as a CI variable in the GitLab repo settings before running this script}"'
46+
- ': "${PRODUCTION_DOMAIN:?Environment variable PRODUCTION_DOMAIN needs to be set as a CI variable in the GitLab repo settings before running this script}"'
47+
- ': "${REVIEW_SUBDOMAIN:?Environment variable REVIEW_SUBDOMAIN needs to be set as a CI variable in the GitLab repo settings before running this script}"'
48+
- ': "${STAGING_SUBDOMAIN:?Environment variable STAGING_SUBDOMAIN needs to be set as a CI variable in the GitLab repo settings before running this script}"'
49+
- ': "${PRODUCTION_SUBDOMAIN:?Environment variable PRODUCTION_SUBDOMAIN needs to be set as a CI variable in the GitLab repo settings before running this script}"'
50+
- ': "${ZONE:?Environment variable ZONE needs to be set as a CI variable in the GitLab repo settings before running this script}"'
51+
- ': "${SLACK_WEBHOOK_URL:?Environment variable SLACK_WEBHOOK_URL needs to be set as a CI variable in the GitLab repo settings before running this script}"'
52+
dependencies: []
53+
cache: {}
54+
except:
55+
refs:
56+
- tags
57+
- master
58+
variables:
59+
- '$CI_COMMIT_MESSAGE =~ /[ci-release]/'
60+
61+
include:
62+
- 'https://git.brickblock.sh/devops/project-templates/raw/master/gitlab-ci/cache.yml'
63+
- 'https://git.brickblock.sh/devops/project-templates/raw/master/gitlab-ci/setup.yml'
64+
- 'https://git.brickblock.sh/devops/project-templates/raw/master/gitlab-ci/lint.yml'
65+
- 'https://git.brickblock.sh/devops/project-templates/raw/master/gitlab-ci/test.yml'
66+
- 'https://git.brickblock.sh/devops/project-templates/raw/master/gitlab-ci/flow.yml'
67+
- 'https://git.brickblock.sh/devops/project-templates/raw/master/gitlab-ci/flow-coverage.yml'
68+
- 'https://git.brickblock.sh/devops/project-templates/raw/master/gitlab-ci/build-image.yml'
69+
- 'https://git.brickblock.sh/devops/project-templates/raw/master/gitlab-ci/review.yml'
70+
- 'https://git.brickblock.sh/devops/project-templates/raw/master/gitlab-ci/staging.yml'
71+
- 'https://git.brickblock.sh/devops/project-templates/raw/master/gitlab-ci/production.yml'
72+
- 'https://git.brickblock.sh/devops/project-templates/raw/master/gitlab-ci/purge.yml'
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Description
2+
3+
Provide a short description of the feature that was implemented
4+
5+
## What it should look like
6+
7+
Add screenshots, invision links, or animated GIFs showing the new feature in action
8+
9+
## Related issues
10+
11+
e.g. Fixes https://trello.com/c/{card-id}
12+
13+
## Done
14+
15+
* [x] List
16+
* [x] of
17+
* [x] done
18+
* [x] Tasks
19+
20+
## Open Tasks
21+
22+
* [ ] List
23+
* [ ] of
24+
* [ ] open
25+
* [ ] Tasks
26+
27+
## How to test this MR
28+
29+
1. Detailed Instructions
30+
1. for reviewers
31+
1. on how to test
32+
1. the new feature
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Description
2+
3+
Provide a short description on what was wrong
4+
5+
## Related issues
6+
7+
e.g. Fixes https://trello.com/c/{card-id}
8+
9+
## Steps to reproduce the problem
10+
11+
1. How can
12+
1. reviewers
13+
1. reproduce
14+
1. the problem
15+
16+
## Steps to see the fix
17+
18+
1. How can
19+
1. reviewers
20+
1. see your
21+
1. fix

.huskyrc.js

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// @flow
2+
module.exports = {
3+
hooks: {
4+
'commit-msg:comment':
5+
'Ensure that commit messages adhere to the conventionalcommits.org standard',
6+
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
7+
'post-merge:comment':
8+
"Automatically run 'yarn install' on post-merge if `yarn.lock` changed",
9+
'post-merge': '$(pwd)/scripts/post-merge-or-rebase-githook.sh',
10+
'post-rewrite:comment':
11+
"Automatically run 'yarn install' on post-rewrite if `yarn.lock` changed",
12+
'post-rewrite': '$(pwd)/scripts/post-merge-or-rebase-githook.sh',
13+
'pre-commit:comment': "Makes sure we don't commit bad code",
14+
'pre-commit': 'lint-staged',
15+
'pre-push:comment':
16+
'Run healthcheck on prepush to ensure no bad code makes it to GitLab',
17+
'pre-push': 'yarn health',
18+
},
19+
}

.markdownlint.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"default": true,
3+
"MD013": {
4+
"line_length": 160
5+
},
6+
"no-inline-html": false,
7+
"no-bare-urls": false
8+
}

.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
coverage
2+
package.json
3+
flow-typed/npm

.yarnclean

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# test directories
2+
__tests__
3+
test
4+
tests
5+
powered-test
6+
7+
# asset directories
8+
docs
9+
doc
10+
website
11+
images
12+
13+
# examples
14+
example
15+
examples
16+
17+
# code coverage directories
18+
coverage
19+
.nyc_output
20+
21+
# build scripts
22+
Makefile
23+
Gulpfile.js
24+
Gruntfile.js
25+
26+
# configs
27+
.tern-project
28+
.gitattributes
29+
.editorconfig
30+
.*ignore
31+
.eslintrc
32+
.jshintrc
33+
.flowconfig
34+
.documentup.json
35+
.yarn-metadata.json
36+
.*.yml
37+
*.yml
38+
commitlint.config.js
39+
40+
# misc
41+
*.gz
42+
*.md
43+
44+
# explicitly DON'T delete the following files and folders
45+
!.svgo.yml
46+
!esm.js.gz
47+
!cypress/**/*

Caddyfile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
0.0.0.0:8080 {
2+
root /srv
3+
gzip
4+
rewrite / {
5+
to {path} {path}/ /
6+
}
7+
}

0 commit comments

Comments
 (0)