-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🛀🏼 Add testing, reorganize structure (#9)
- Loading branch information
Showing
435 changed files
with
16,610 additions
and
136,986 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,12 @@ | ||
{ | ||
"env": { | ||
"commonjs": true, | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": ["airbnb-base"], | ||
"parserOptions": { | ||
"ecmaVersion": 12 | ||
}, | ||
"rules": {} | ||
} |
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,54 @@ | ||
name: code quality | ||
|
||
on: push | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: api/node_modules | ||
key: ${{ runner.os }}-cache | ||
|
||
- name: Install dependencies | ||
working-directory: ./ | ||
run: npm install | ||
|
||
- name: Run lint | ||
working-directory: ./ | ||
run: npm run lint | ||
|
||
format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: api/node_modules | ||
key: ${{ runner.os }}-cache | ||
|
||
- name: Install dependencies | ||
working-directory: ./ | ||
run: npm install | ||
|
||
- name: Run format check | ||
working-directory: ./ | ||
run: npm run format:check |
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,29 @@ | ||
name: test | ||
|
||
on: push | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: api/node_modules | ||
key: ${{ runner.os }}-cache | ||
|
||
- name: Install dependencies | ||
working-directory: ./ | ||
run: npm install | ||
|
||
- name: Run tests | ||
working-directory: ./ | ||
run: npm test |
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 @@ | ||
node_modules/* |
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 @@ | ||
dist |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1,125 @@ | ||
{ "blocklist": [ "🕳", "👁🗨", "🗨", "🗯", "🖐", "👁", "🕵", "🕵♂", "🕵♀", "🕴", "⛷", "🏌", "🏌♂", "🏌♀", "⛹", "⛹♂", "⛹♀", "🏋", "🏋♂", "🏋♀", "🗣", "🐿", "🕊", "🕷", "🕸", "🏵", "🌶", "🍽", "🗺", "🏔", "⛰", "🏕", "🏖", "🏜", "🏝", "🏞", "🏟", "🏛", "🏗", "🏘", "🏚", "⛩", "🏙", "🏎", "🏍", "🛣", "🛤", "🛢", "🛳", "⛴", "🛥", "🛩", "🛰", "🛎", "⏱", "⏲", "🕰", "🌡", "⛈", "🌤", "🌥", "🌦", "🌧", "🌨", "🌩", "🌪", "🌫", "🌬", "⛱", "🎗", "🎟", "🎖", "⛸", "🕹", "🖼", "🕶", "🛍", "⛑", "🎙", "🎚", "🎛", "🖥", "🖨", "🖱", "🖲", "🎞", "📽", "🕯", "🗞", "🏷", "🗳", "🖋", "🖊", "🖌", "🖍", "🗂", "🗒", "🗓", "🖇", "🗃", "🗄", "🗑", "🗝", "⛏", "🛠", "🗡", "🛡", "🗜", "⛓", "🛏", "🛋", "🕉", "⏭", "⏯", "⏮", "⏸", "⏹", "⏺", "⚧", "🏳", "🏳⚧"]} | ||
{ | ||
"blocklist": [ | ||
"🕳", | ||
"👁🗨", | ||
"🗨", | ||
"🗯", | ||
"🖐", | ||
"👁", | ||
"🕵", | ||
"🕵♂", | ||
"🕵♀", | ||
"🕴", | ||
"⛷", | ||
"🏌", | ||
"🏌♂", | ||
"🏌♀", | ||
"⛹", | ||
"⛹♂", | ||
"⛹♀", | ||
"🏋", | ||
"🏋♂", | ||
"🏋♀", | ||
"🗣", | ||
"🐿", | ||
"🕊", | ||
"🕷", | ||
"🕸", | ||
"🏵", | ||
"🌶", | ||
"🍽", | ||
"🗺", | ||
"🏔", | ||
"⛰", | ||
"🏕", | ||
"🏖", | ||
"🏜", | ||
"🏝", | ||
"🏞", | ||
"🏟", | ||
"🏛", | ||
"🏗", | ||
"🏘", | ||
"🏚", | ||
"⛩", | ||
"🏙", | ||
"🏎", | ||
"🏍", | ||
"🛣", | ||
"🛤", | ||
"🛢", | ||
"🛳", | ||
"⛴", | ||
"🛥", | ||
"🛩", | ||
"🛰", | ||
"🛎", | ||
"⏱", | ||
"⏲", | ||
"🕰", | ||
"🌡", | ||
"⛈", | ||
"🌤", | ||
"🌥", | ||
"🌦", | ||
"🌧", | ||
"🌨", | ||
"🌩", | ||
"🌪", | ||
"🌫", | ||
"🌬", | ||
"⛱", | ||
"🎗", | ||
"🎟", | ||
"🎖", | ||
"⛸", | ||
"🕹", | ||
"🖼", | ||
"🕶", | ||
"🛍", | ||
"⛑", | ||
"🎙", | ||
"🎚", | ||
"🎛", | ||
"🖥", | ||
"🖨", | ||
"🖱", | ||
"🖲", | ||
"🎞", | ||
"📽", | ||
"🕯", | ||
"🗞", | ||
"🏷", | ||
"🗳", | ||
"🖋", | ||
"🖊", | ||
"🖌", | ||
"🖍", | ||
"🗂", | ||
"🗒", | ||
"🗓", | ||
"🖇", | ||
"🗃", | ||
"🗄", | ||
"🗑", | ||
"🗝", | ||
"⛏", | ||
"🛠", | ||
"🗡", | ||
"🛡", | ||
"🗜", | ||
"⛓", | ||
"🛏", | ||
"🛋", | ||
"🕉", | ||
"⏭", | ||
"⏯", | ||
"⏮", | ||
"⏸", | ||
"⏹", | ||
"⏺", | ||
"⚧", | ||
"🏳", | ||
"🏳⚧" | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.