Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and feature #85

Open
wants to merge 52 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
80163b5
update #80 #70
chralp Jan 26, 2022
5ffbf25
test code, new way to calculate
chralp Jan 27, 2022
5ef828f
update
chralp Jan 28, 2022
e89acb3
Update
chralp Jan 29, 2022
4de5147
update of test for calc.ts
chralp Jan 29, 2022
2b141d5
update of test
chralp Jan 29, 2022
f32aa5d
update
chralp Jan 30, 2022
9aea2cd
move out utils.ts to seperat files
chralp Jan 30, 2022
65d02c4
update
chralp Jan 30, 2022
b5cbf18
update
chralp Jan 30, 2022
7af53bc
update
chralp Jan 31, 2022
69da8a0
new way to setup and seed test db
chralp Feb 1, 2022
c661044
new way to setup and test db
chralp Feb 1, 2022
d529364
as seperat file
chralp Feb 1, 2022
efd3ad5
lint
chralp Feb 1, 2022
879debd
remove throw
chralp Feb 1, 2022
bd6b8cd
lint
chralp Feb 1, 2022
bccf9ae
update of conf
chralp Feb 1, 2022
64c530a
remove interface
chralp Feb 1, 2022
1dfd987
update
chralp Feb 1, 2022
1b552b7
update
chralp Feb 1, 2022
a257449
update
chralp Feb 2, 2022
8e16d27
update
chralp Feb 2, 2022
825f916
fix test
chralp Feb 2, 2022
830f307
update
chralp Feb 3, 2022
77e6c35
added two commands to @heyburrito message
chralp Feb 3, 2022
9851b17
moving interfaces to right files
chralp Feb 4, 2022
d4a40a6
remove old burritostore
chralp Feb 4, 2022
5dd17f7
formatting
chralp Feb 4, 2022
d34acec
adding interface
chralp Feb 4, 2022
4794a4a
adding interface
chralp Feb 4, 2022
790509e
formatting
chralp Feb 4, 2022
ce7aac6
style of slack message
chralp Feb 4, 2022
ccfd21b
adding .env.<NODE_ENV>
chralp Feb 4, 2022
fc94700
load conf depending on NODE_ENV
chralp Feb 5, 2022
6a91dc4
change of sendDM args
chralp Feb 5, 2022
11f65ab
import interface from mapper
chralp Feb 5, 2022
439c0df
import slackMock from conf.slack
chralp Feb 5, 2022
897ecd9
loading from diffrent .env.<NODE_ENV>
chralp Feb 5, 2022
a34e44d
update
chralp Feb 5, 2022
d802450
Adding today as paramter to getScoreBoard
chralp Feb 5, 2022
223b771
update
chralp Feb 5, 2022
5c3aba9
update
chralp Apr 30, 2022
f24da54
update
chralp Apr 30, 2022
fbe07e0
upgrade to gallium
chralp May 1, 2022
e21ddf6
formatting
chralp May 1, 2022
f0251a1
remove code to load diffrent .env files
chralp May 1, 2022
42cba24
formatting
chralp May 1, 2022
a68bed8
formatting
chralp May 1, 2022
9f241fd
formatting
chralp May 1, 2022
f89f853
remove old give function
chralp May 1, 2022
51f2377
Merge branch 'master' into updateAndFeature
chralp May 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ conf-localhost.json

.filedb
.env

# ignore all node_modules, no matter where, like when having a monorepo
**/node_modules
8 changes: 5 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ end_of_line = lf

trim_trailing_whitespace = true
insert_final_newline = true

indent_style = space

[*.ts]
indent_size = 4
indent_size = 2

[*.js]
indent_size = 4
indent_size = 2

[*.json]
indent_size = 2

[package.json]
indent_size = 2
Expand Down
13 changes: 6 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
module.exports = {
extends: ['airbnb-typescript/base'],
"rules": {
"max-len": ["warn", { "code": 140 }],
"quotes": [2, "single", { "avoidEscape": true }],
"@typescript-eslint/indent": ["error", 4],

}
extends: ['airbnb-typescript/base'],
"rules": {
"max-len": ["warn", { "code": 140 }],
"quotes": [2, "single", { "avoidEscape": true }],
"@typescript-eslint/indent": ["error", 2],
}
};
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ tmp
data/*

.env
.env.testing
.env.development
.env.production
.tern*
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/erbium
lts/gallium
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

FROM node:erbium
FROM node:gallium

RUN apt-get update && apt-get install -y
RUN apt-get update && apt-get install libcurl4 -y

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN npm install --production
RUN npm install
COPY . /usr/src/app
CMD [ "npm", "start" ]
19 changes: 0 additions & 19 deletions declarations.d.ts

This file was deleted.

11 changes: 11 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
clearMocks: true,
setupFilesAfterEnv: ['<rootDir>/test/setup.ts'],
roots: [
"<rootDir>/test"
],
transform: {
"^.+\\.(ts|js)x?$": "ts-jest"
},
reporters: ['default'],
};
Loading