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

feat: Added botkit-karma-simple #5

Merged
merged 962 commits into from
Dec 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
962 commits
Select commit Hold shift + click to select a range
72470dd
fix(deps): update dependency @sentry/node to v5.5.0
renovate-bot Jul 5, 2019
30cf061
chore(package) use @typescript-eslint/parser
9renpoto Jul 6, 2019
d78575b
Merge pull request #399 from 9renpoto/renovate/9renpoto-eslint-config…
9renpoto Jul 6, 2019
08939a9
chore(deps): update dependency eslint to v6
renovate-bot Jul 6, 2019
c3e0b1c
Update dependency lint-staged to v9.1.0
renovate-bot Jul 6, 2019
719338b
chore(deps): update dependency lint-staged to v9.1.0
renovate-bot Jul 6, 2019
bb41a68
Merge pull request #388 from 9renpoto/renovate/eslint-6.x
9renpoto Jul 7, 2019
bad9236
chore(deps): update dependency @types/lodash to v4.14.136
renovate-bot Jul 8, 2019
c467afa
chore(deps): update dependency typescript to v3.5.3
renovate-bot Jul 8, 2019
01d8b37
fix(deps): update dependency lodash to v4.17.13
renovate-bot Jul 9, 2019
0666ee5
fix(deps): update dependency lodash to v4.17.14
renovate-bot Jul 10, 2019
30762cb
Update dependency lint-staged to v9.2.0
renovate-bot Jul 10, 2019
f1431c1
chore(deps): update dependency lint-staged to v9.2.0
renovate-bot Jul 10, 2019
845bd9e
chore(deps): bump lodash.merge from 4.6.1 to 4.6.2
dependabot[bot] Jul 10, 2019
e12e0de
Merge pull request #317 from 9renpoto/dependabot/npm_and_yarn/lodash.…
9renpoto Jul 11, 2019
c9ea42a
chore(deps): bump axios from 0.18.0 to 0.18.1
dependabot[bot] Jul 11, 2019
804f470
chore(deps): bump lodash.merge from 4.6.0 to 4.6.2
dependabot[bot] Jul 11, 2019
2230cd6
Merge pull request #318 from 9renpoto/dependabot/npm_and_yarn/axios-0…
9renpoto Jul 11, 2019
c0fea3c
Merge pull request #407 from 9renpoto/dependabot/npm_and_yarn/lodash.…
9renpoto Jul 11, 2019
538cf1d
chore(deps): update dependency @typescript-eslint/parser to v1.12.0
renovate-bot Jul 12, 2019
9491817
Merge pull request #408 from 9renpoto/renovate/typescript-eslint-mono…
9renpoto Jul 12, 2019
28830ff
chore(deps): update dependency @types/node to v10.14.13
renovate-bot Jul 17, 2019
0335599
chore(deps): update dependency flow-bin to v0.103.0
renovate-bot Jul 18, 2019
6e760e6
chore(deps): update dependency husky to v3.0.1
renovate-bot Jul 18, 2019
052a5ab
chore(deps): update dependency husky to v3.0.1
renovate-bot Jul 18, 2019
4495b85
fix(deps): update dependency lodash to v4.17.15
renovate-bot Jul 19, 2019
b2a5ee0
chore(deps): update dependency eslint to v6.1.0
renovate-bot Jul 21, 2019
dc656d1
chore(deps): update dependency eslint to v6.1.0
renovate-bot Jul 21, 2019
b4d9521
chore(deps): update dependency @typescript-eslint/parser to v1.13.0
renovate-bot Jul 21, 2019
eaa5c44
chore(deps): update dependency botkit to v4.5.0
renovate-bot Jul 24, 2019
04b46cc
chore(deps): update dependency lint-staged to v9.2.1
renovate-bot Jul 25, 2019
0ea2285
chore(deps): update dependency flow-bin to v0.104.0
renovate-bot Jul 26, 2019
eee37d3
chore(deps): update dependency husky to v3.0.2
renovate-bot Jul 29, 2019
0d1f2dd
chore(deps): update dependency husky to v3.0.2
renovate-bot Jul 29, 2019
3fd145e
chore(deps): update dependency lint-staged to v9.2.1
renovate-bot Jul 29, 2019
9d29f95
chore(deps): update dependency @types/node to v10.14.14
renovate-bot Jul 31, 2019
f4af9aa
chore(deps): update dependency gh-pages to v2.1.0
renovate-bot Jul 31, 2019
e7284da
fix(deps): update dependency @sentry/node to v5.6.0
renovate-bot Aug 7, 2019
e17558b
chore(deps): update dependency @types/node to v10.14.15
renovate-bot Aug 7, 2019
8ad6387
fix(deps): update dependency @sentry/node to v5.6.1
renovate-bot Aug 8, 2019
0620d88
chore(deps): update dependency husky to v3.0.3
renovate-bot Aug 8, 2019
aeb53c5
chore(deps): update dependency husky to v3.0.3
renovate-bot Aug 8, 2019
ff7628c
Merge pull request #327 from 9renpoto/renovate/husky-3.x
9renpoto Aug 9, 2019
f3bd021
Merge pull request #418 from 9renpoto/renovate/node-10.x
9renpoto Aug 9, 2019
6be7ab9
chore(deps): update dependency gh-pages to v2.1.1
renovate-bot Aug 9, 2019
6c7c91a
chore(deps): update dependency flow-bin to v0.105.1
renovate-bot Aug 11, 2019
a493cf1
chore(deps): update dependency flow-bin to v0.105.2
renovate-bot Aug 13, 2019
dcdd802
chore(deps): update dependency @typescript-eslint/parser to v2
renovate-bot Aug 13, 2019
38d63d2
Merge pull request #421 from 9renpoto/renovate/major-typescript-eslin…
9renpoto Aug 13, 2019
f1e1f20
chore(deps): update dependency rimraf to v2.7.0
renovate-bot Aug 14, 2019
c52fe05
chore(deps): update dependency rimraf to v2.7.0
renovate-bot Aug 14, 2019
2c04015
chore(deps): update dependency rimraf to v2.7.1
renovate-bot Aug 14, 2019
e874868
chore(deps): update dependency rimraf to v2.7.1
renovate-bot Aug 14, 2019
f3f3d98
chore(deps): update dependency rimraf to v3
renovate-bot Aug 14, 2019
0570ae8
chore(deps): update dependency rimraf to v3
renovate-bot Aug 14, 2019
1d52435
Merge pull request #424 from 9renpoto/renovate/rimraf-3.x
9renpoto Aug 16, 2019
608869c
Merge pull request #333 from 9renpoto/renovate/rimraf-3.x
9renpoto Aug 16, 2019
3198c7e
chore(deps): update dependency @types/lodash to v4.14.137
renovate-bot Aug 16, 2019
48934f2
chore(deps): update dependency husky to v3.0.4
renovate-bot Aug 17, 2019
f0a421a
chore(deps): update dependency husky to v3.0.4
renovate-bot Aug 17, 2019
6ca34c8
chore(deps): update dependency lint-staged to v9.2.2
renovate-bot Aug 17, 2019
b675d4b
chore(deps): update dependency lint-staged to v9.2.2
renovate-bot Aug 17, 2019
cea5854
chore(deps): update dependency lint-staged to v9.2.3
renovate-bot Aug 17, 2019
7e6f431
chore(deps): update dependency lint-staged to v9.2.3
renovate-bot Aug 17, 2019
cd5b4e7
chore(deps): update dependency eslint to v6.2.0
renovate-bot Aug 18, 2019
1e154d3
chore(deps): update dependency eslint to v6.2.0
renovate-bot Aug 18, 2019
d3c3003
fix(deps): update dependency @sentry/node to v5.6.2
renovate-bot Aug 19, 2019
f1e81fc
chore(deps): update dependency eslint to v6.2.1
renovate-bot Aug 20, 2019
f910557
chore(deps): update dependency eslint to v6.2.1
renovate-bot Aug 20, 2019
dac9e63
chore(deps): update dependency @types/node to v10.14.16
renovate-bot Aug 20, 2019
37b1162
chore(deps): update dependency flow-bin to v0.106.0
renovate-bot Aug 22, 2019
faddc03
chore(deps): update dependency flow-bin to v0.106.1
renovate-bot Aug 24, 2019
2263e2e
chore(deps): update dependency eslint to v6.2.2
renovate-bot Aug 24, 2019
7c4e00e
chore(deps): update dependency eslint to v6.2.2
renovate-bot Aug 24, 2019
2e66fe2
chore(deps): update dependency lint-staged to v9.2.4
renovate-bot Aug 25, 2019
46dcdad
chore(deps): update dependency lint-staged to v9.2.4
renovate-bot Aug 25, 2019
a740feb
chore(deps): update dependency flow-bin to v0.106.2
renovate-bot Aug 26, 2019
d64bfa0
chore(deps): update dependency lint-staged to v9.2.5
renovate-bot Aug 27, 2019
7e8f5d2
chore(deps): update dependency lint-staged to v9.2.5
renovate-bot Aug 27, 2019
5d16e92
chore(deps): update dependency @types/lodash to v4.14.138
renovate-bot Aug 27, 2019
adcb107
chore(deps): update dependency typescript to v3.6.2
renovate-bot Aug 28, 2019
4112ee4
chore(deps): bump mixin-deep from 1.3.1 to 1.3.2
dependabot[bot] Aug 28, 2019
13e826b
Merge pull request #347 from 9renpoto/dependabot/npm_and_yarn/mixin-d…
9renpoto Aug 28, 2019
8c2ebc8
chore(deps): update dependency flow-bin to v0.106.3
renovate-bot Aug 29, 2019
adda1ae
chore(deps): update dependency @types/node to v10.14.17
renovate-bot Aug 30, 2019
7a95e3c
chore(deps): update dependency eslint to v6.3.0
renovate-bot Aug 30, 2019
789d183
chore(deps): update dependency eslint to v6.3.0
renovate-bot Aug 30, 2019
738fbc6
chore(deps): update dependency husky to v3.0.5
renovate-bot Sep 1, 2019
686bdf6
chore(deps): update dependency husky to v3.0.5
renovate-bot Sep 1, 2019
41066bd
chore(deps): update dependency @typescript-eslint/parser to v2.1.0
renovate-bot Sep 2, 2019
28b2aaf
chore(deps): update dependency flow-bin to v0.107.0
renovate-bot Sep 5, 2019
adea353
fix(deps): update dependency cron to v1.7.2
renovate-bot Sep 7, 2019
1dd573d
chore(deps): update dependency @typescript-eslint/parser to v2.2.0
renovate-bot Sep 9, 2019
47aaeb1
chore(deps): update dependency typescript to v3.6.3
renovate-bot Sep 10, 2019
43f1e34
chore(deps): update dependency @types/node to v10.14.18
renovate-bot Sep 11, 2019
132c41b
chore(deps): update dependency eslint to v6.4.0
renovate-bot Sep 14, 2019
3bb0605
chore(deps): update dependency eslint to v6.4.0
renovate-bot Sep 14, 2019
2e967d7
chore(deps): update dependency ts-node to v8.4.1
renovate-bot Sep 16, 2019
938fcf5
chore(deps): update dependency @typescript-eslint/parser to v2.3.0
renovate-bot Sep 16, 2019
93ece62
chore(deps): update dependency flow-bin to v0.108.0
renovate-bot Sep 19, 2019
ff327f3
chore(deps): update dependency codecov to v3.6.0
renovate-bot Sep 20, 2019
ec9b392
chore(deps): update dependency codecov to v3.6.1
renovate-bot Sep 20, 2019
c0937a4
chore(deps): update dependency @9renpoto/eslint-config to v5.0.1
renovate-bot Sep 21, 2019
02b69f3
chore(deps): update dependency @9renpoto/eslint-config-flowtype to v5…
renovate-bot Sep 21, 2019
26e1c1a
fix: use eslint
9renpoto Sep 21, 2019
93ba190
Added badge
9renpoto Sep 21, 2019
9197269
Added prettierrc
9renpoto Sep 21, 2019
85992be
Merge pull request #453 from 9renpoto/fix/lint
9renpoto Sep 21, 2019
cbc5029
chore(deps): update dependency @9renpoto/eslint-config-flowtype to v5…
renovate-bot Sep 22, 2019
3c5f1e9
chore(deps): update dependency @9renpoto/eslint-config to v5.1.0
renovate-bot Sep 22, 2019
5738ad8
fixed: import sort
9renpoto Sep 22, 2019
fbd308f
Upgrade env
9renpoto Sep 22, 2019
44105ac
Merge pull request #356 from 9renpoto/renovate/9renpoto-eslint-config…
9renpoto Sep 22, 2019
9c6e5fb
chore(deps): pin dependencies
renovate-bot Sep 22, 2019
ce48b51
Merge pull request #357 from 9renpoto/renovate/pin-dependencies
9renpoto Sep 22, 2019
b54dcbd
Merge pull request #454 from 9renpoto/renovate/9renpoto-eslint-config…
9renpoto Sep 22, 2019
dfe92ee
chore(deps): update dependency lint-staged to v9.3.0
renovate-bot Sep 22, 2019
01a0089
chore(deps): update dependency lint-staged to v9.3.0
renovate-bot Sep 22, 2019
e536023
chore(deps): update dependency @9renpoto/eslint-config-flowtype to v5…
renovate-bot Sep 23, 2019
35d4806
chore(deps): update dependency @9renpoto/eslint-config to v5.2.0
renovate-bot Sep 23, 2019
bab048c
use typescript lint
9renpoto Sep 23, 2019
39d2f0a
Merge pull request #457 from 9renpoto/fix/config
9renpoto Sep 23, 2019
2fac533
chore(deps): update babel monorepo to v7.6.2
renovate-bot Sep 23, 2019
95a0152
chore(deps): update dependency @types/node to v12.7.7
renovate-bot Sep 24, 2019
74af650
chore(deps): update dependency @types/node to v12.7.8
renovate-bot Sep 25, 2019
a71ab4b
chore(deps): update dependency lint-staged to v9.4.0
renovate-bot Sep 26, 2019
dd14767
chore(deps): update dependency lint-staged to v9.4.0
renovate-bot Sep 26, 2019
e36a3f2
fix(deps): update dependency @types/redis to v2.8.14
renovate-bot Sep 26, 2019
6a602db
chore(deps): update dependency husky to v3.0.7
renovate-bot Sep 28, 2019
96d70e2
chore(deps): update dependency husky to v3.0.7
renovate-bot Sep 28, 2019
d3a48b4
chore(deps): update dependency eslint to v6.5.0
renovate-bot Sep 29, 2019
fb51a8a
chore(deps): update dependency eslint to v6.5.0
renovate-bot Sep 29, 2019
10f262c
chore(deps): update dependency eslint to v6.5.1
renovate-bot Oct 1, 2019
ffdff64
chore(deps): update dependency eslint to v6.5.1
renovate-bot Oct 1, 2019
5125079
chore(deps): update dependency lint-staged to v9.4.1
renovate-bot Oct 1, 2019
4d542c4
chore(deps): update dependency lint-staged to v9.4.1
renovate-bot Oct 1, 2019
8935043
chore(deps): update dependency mocha to v6
renovate-bot Oct 1, 2019
5d4b939
chore(deps): update dependency @types/node to v12.7.9
renovate-bot Oct 2, 2019
ce3d497
chore(deps): update dependency husky to v3.0.8
renovate-bot Oct 2, 2019
bed92fc
chore(deps): update dependency husky to v3.0.8
renovate-bot Oct 2, 2019
5fa175d
chore(deps): update dependency flow-bin to v0.109.0
renovate-bot Oct 2, 2019
c08e0cd
Merge pull request #289 from 9renpoto/renovate/mocha-6.x
9renpoto Oct 3, 2019
78e546c
chore(deps): update dependency @types/faker to v4.1.6
renovate-bot Oct 3, 2019
9d2462a
chore(deps): update dependency @types/node to v12.7.11
renovate-bot Oct 3, 2019
5449116
chore(deps): update dependency lint-staged to v9.4.2
renovate-bot Oct 8, 2019
1bb7e19
chore(deps): update dependency @types/node to v12.7.12
renovate-bot Oct 8, 2019
54f1c68
chore(deps): update babel monorepo to v7.6.3
renovate-bot Oct 8, 2019
d288efe
chore(deps): update dependency lint-staged to v9.4.2
renovate-bot Oct 8, 2019
111958a
chore(deps): update dependency typescript to v3.6.4
renovate-bot Oct 9, 2019
8f47970
fix(deps): update dependency @sentry/node to v5.7.0
renovate-bot Oct 10, 2019
b18de37
chore(deps): update babel monorepo to v7.6.4
renovate-bot Oct 10, 2019
bdf1508
chore(deps): update dependency @9renpoto/eslint-config-flowtype to v5…
renovate-bot Oct 12, 2019
724739f
chore(deps): update dependency @9renpoto/eslint-config-typescript to …
renovate-bot Oct 12, 2019
0ba44c5
chore(deps): update dependency husky to v3.0.9
renovate-bot Oct 12, 2019
624dd31
chore(deps): update dependency husky to v3.0.9
renovate-bot Oct 13, 2019
2a1c036
fix(deps): update dependency @sentry/node to v5.7.1
renovate-bot Oct 15, 2019
d5eee07
chore(deps): update dependency @types/node to v12.11.1
renovate-bot Oct 16, 2019
b1b8c68
Merge pull request #477 from 9renpoto/renovate/node-12.x
9renpoto Oct 16, 2019
6e207e4
chore(deps): update dependency mocha to v6.2.2
renovate-bot Oct 18, 2019
eb20d30
chore(deps): update dependency @types/node to v12.11.2
renovate-bot Oct 21, 2019
4f92489
chore(deps): update dependency flow-bin to v0.110.0
renovate-bot Oct 21, 2019
fb37b97
chore(deps): update dependency @types/node to v12.11.5
renovate-bot Oct 22, 2019
3a2a542
chore(deps): update dependency @types/node to v12.11.6
renovate-bot Oct 23, 2019
50f61f6
chore(deps): update dependency flow-bin to v0.110.1
renovate-bot Oct 24, 2019
814a3ac
chore(deps): update dependency @types/node to v12.11.7
renovate-bot Oct 24, 2019
2646241
chore(deps): update dependency eslint to v6.6.0
renovate-bot Oct 25, 2019
2d3c027
chore(deps): update dependency eslint to v6.6.0
renovate-bot Oct 25, 2019
289553b
chore(deps): update dependency @types/faker to v4.1.7
renovate-bot Oct 29, 2019
7a6c084
chore(deps): update dependency @types/node to v12.12.0
renovate-bot Oct 29, 2019
472dc3b
chore(deps): update dependency @types/node to v12.12.3
renovate-bot Oct 30, 2019
c386e08
chore(deps): update dependency flow-bin to v0.111.0
renovate-bot Oct 31, 2019
9c97783
chore(deps): update dependency @9renpoto/eslint-config-typescript to …
renovate-bot Oct 31, 2019
582d963
chore(deps): update dependency @9renpoto/eslint-config-flowtype to v5…
renovate-bot Oct 31, 2019
29b54c6
chore(deps): update dependency @types/node to v12.12.5
renovate-bot Nov 1, 2019
38cc780
chore(deps): update dependency flow-bin to v0.111.1
renovate-bot Nov 1, 2019
c2b0a12
chore(deps): update dependency botkit to v4.6.1
renovate-bot Nov 1, 2019
a6b3e9a
chore(deps): update babel monorepo to v7.7.0
renovate-bot Nov 5, 2019
e525cfc
chore(deps): update dependency @babel/preset-env to v7.7.1
renovate-bot Nov 5, 2019
50e507c
chore(deps): update dependency typescript to v3.7.2
renovate-bot Nov 5, 2019
676ab47
chore(deps): update dependency @types/node to v12.12.6
renovate-bot Nov 5, 2019
84a2030
chore(deps): update dependency flow-bin to v0.111.3
renovate-bot Nov 6, 2019
965d403
chore(deps): update dependency @babel/core to v7.7.2
renovate-bot Nov 7, 2019
05cc5b5
chore(deps): update dependency @types/node to v12.12.7
renovate-bot Nov 8, 2019
1eb1c4b
chore(deps): update dependency prettier to v1.19.0
renovate-bot Nov 9, 2019
bae5873
chore(deps): update dependency prettier to v1.19.1
renovate-bot Nov 9, 2019
a7ae9f3
chore(deps): update dependency ts-node to v8.5.0
renovate-bot Nov 11, 2019
0775fc5
fix(deps): update dependency @sentry/node to v5.8.0
renovate-bot Nov 11, 2019
72b1d84
chore(deps): update dependency flow-bin to v0.112.0
renovate-bot Nov 12, 2019
1b7af38
fix(deps): update dependency @sentry/node to v5.9.0
renovate-bot Nov 13, 2019
193af25
chore(deps): update dependency lint-staged to v9.4.3
renovate-bot Nov 13, 2019
1dfd562
chore(deps): update dependency lint-staged to v9.4.3
renovate-bot Nov 13, 2019
cd89a5d
chore(deps): update dependency ts-node to v8.5.2
renovate-bot Nov 15, 2019
4f939ee
chore(deps): update dependency @types/node to v12.12.8
renovate-bot Nov 15, 2019
7c76046
chore(deps): update dependency husky to v3.1.0
renovate-bot Nov 18, 2019
c459037
chore(deps): update dependency husky to v3.1.0
renovate-bot Nov 18, 2019
4908cf3
chore(deps): update dependency @types/node to v12.12.9
renovate-bot Nov 18, 2019
6922810
chore(deps): update dependency @types/node to v12.12.11
renovate-bot Nov 19, 2019
9e29aed
chore(deps): update dependency eslint to v6.7.0
renovate-bot Nov 22, 2019
95cc121
chore(deps): update dependency eslint to v6.7.0
renovate-bot Nov 22, 2019
2d2953e
chore(deps): update babel monorepo to v7.7.4
renovate-bot Nov 22, 2019
212baa6
chore(deps): update dependency @types/node to v12.12.12
renovate-bot Nov 23, 2019
147c6d1
chore(deps): update dependency eslint to v6.7.1
renovate-bot Nov 25, 2019
147766b
chore(deps): update dependency eslint to v6.7.1
renovate-bot Nov 25, 2019
96005fc
chore(deps): update dependency @types/node to v12.12.14
renovate-bot Nov 25, 2019
6e7e3b1
chore(deps): update dependency lint-staged to v9.5.0
renovate-bot Nov 27, 2019
50ae2c3
chore(deps): update dependency lint-staged to v9.5.0
renovate-bot Nov 27, 2019
cb8e074
chore(deps): update dependency @types/faker to v4.1.8
renovate-bot Nov 27, 2019
504388a
chore(deps): update dependency ts-node to v8.5.3
renovate-bot Nov 28, 2019
421183f
chore(deps): update dependency ts-node to v8.5.4
renovate-bot Nov 28, 2019
af0554a
chore(deps): bump lodash from 4.17.4 to 4.17.15
dependabot[bot] Nov 28, 2019
779eead
Merge pull request #509 from 9renpoto/dependabot/npm_and_yarn/lodash-…
9renpoto Nov 28, 2019
354667a
chore(deps): update dependency @9renpoto/eslint-config-typescript to …
renovate-bot Nov 30, 2019
e825782
chore(deps): update dependency @9renpoto/eslint-config-flowtype to v5…
renovate-bot Nov 30, 2019
27de6b7
chore: js-lib
9renpoto Nov 30, 2019
fb41761
Merge pull request #511 from 9renpoto/fix/renobate
9renpoto Nov 30, 2019
237604e
Bump v0.3.1
9renpoto Nov 30, 2019
453edcd
Merge pull request #512 from 9renpoto/release
9renpoto Nov 30, 2019
9fca3a2
chore(deps): update dependency eslint to v6.7.2
renovate-bot Nov 30, 2019
6fb1683
Update dependency eslint to v6.7.2
renovate-bot Nov 30, 2019
d0ecd10
chore(deps): update dependency flow-bin to v0.113.0
renovate-bot Dec 3, 2019
68d73bf
Update dependency typescript to v3.7.3
renovate-bot Dec 4, 2019
0b87533
chore(deps): update babel monorepo to v7.7.5
renovate-bot Dec 6, 2019
f213df3
Update dependency @types/power-assert to v1.5.1
renovate-bot Dec 7, 2019
92e44bb
chore(deps): update dependency @babel/preset-env to v7.7.6
renovate-bot Dec 7, 2019
779792f
Update dependency @types/power-assert to v1.5.2
renovate-bot Dec 8, 2019
eed6647
Update dependency @types/node to v12.12.15
renovate-bot Dec 9, 2019
0dbe007
Update dependency @types/node to v12.12.16
renovate-bot Dec 9, 2019
7475f2c
Update dependency @types/node to v12.12.17
renovate-bot Dec 10, 2019
eccabcc
chore(deps): update dependency flow-bin to v0.114.0
renovate-bot Dec 13, 2019
8857365
Update dependency @types/node to v12.12.18
renovate-bot Dec 16, 2019
bf6207e
Update dependency @types/node to v12.12.19
renovate-bot Dec 17, 2019
1b4cff4
Update dependency @types/node to v12.12.20
renovate-bot Dec 17, 2019
0e3df22
Update dependency @types/node to v12.12.21
renovate-bot Dec 18, 2019
0081ad9
chore(deps): update babel monorepo to v7.7.7
renovate-bot Dec 19, 2019
4f8f263
Update dependency eslint to v6.8.0
renovate-bot Dec 20, 2019
e918062
chore(deps): update dependency eslint to v6.8.0
renovate-bot Dec 20, 2019
b2c1ecd
Update dependency typescript to v3.7.4
renovate-bot Dec 20, 2019
dc9815d
Update dependency nyc to v15
renovate-bot Dec 23, 2019
5bf87c8
Update dependency @types/node to v12.12.22
renovate-bot Dec 23, 2019
6610e9e
Merge pull request #526 from 9renpoto/renovate/nyc-15.x
9renpoto Dec 24, 2019
66b9099
Add 'packages/botkit-karma-simple/' from commit 'e91806213cc98c829d95…
9renpoto Dec 30, 2019
9ddc5f8
fix: use typescript
9renpoto Dec 30, 2019
1a2bea4
Add 'packages/karma-store-redis/' from commit '6610e9eac0ac74b57572bb…
9renpoto Dec 30, 2019
b2619d6
fix: use jest
9renpoto Dec 30, 2019
e0a927d
fix: pokemon exception errors
9renpoto Dec 30, 2019
a8c872d
docs: Added badge
9renpoto Dec 30, 2019
ab5fd80
fix: typo
9renpoto Dec 30, 2019
5ea7304
fix: remove unused commands
9renpoto Dec 30, 2019
a8da4cc
refactor: apply prettier
9renpoto Dec 30, 2019
ffa9b77
fix: use redis
9renpoto Dec 30, 2019
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
7 changes: 7 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ jobs:
matrix:
node-version: [10.x, 12.x]

services:
redis:
image: redis
ports:
- 6379:6379
options: --entrypoint redis-server

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# bot

![Actions Status](https://github.com/9renpoto/bot/workflows/Node%20CI/badge.svg)
[![codecov](https://codecov.io/gh/9renpoto/bot/branch/master/graph/badge.svg)](https://codecov.io/gh/9renpoto/bot)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

## Packages
Expand All @@ -24,6 +23,8 @@ This repository is managed as monorepo.
| Package | Version |
| :---------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------- |
| **[slack-channel-active-reminder](./packages/slack-channel-active-reminder)** | [![npm version](https://badge.fury.io/js/slack-channel-active-reminder.svg)](https://www.npmjs.com/package/slack-channel-active-reminder) |
| **[botkit-karma-simple](./packages/botkit-karma-simple)** | [![npm version](https://badge.fury.io/js/botkit-karma-simple.svg)](https://badge.fury.io/js/botkit-karma-simple) |
| **[karma-store-redis](./packages/karma-store-redis)** | [![npm version](https://badge.fury.io/js/karma-store-redis.svg)](https://badge.fury.io/js/karma-store-redis) |

## Install

Expand Down
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
version: '3'

services:
image:
app: &app
build:
context: .
dockerfile: example/Dockerfile
dockerfile: ./Dockerfile
env_file:
.env
command: ash -c "yarn workspace @mybot/example start"
karma:
<<: *app
env_file:
.env
command: ash -c "yarn workspace @mybot/karma start"
3 changes: 0 additions & 3 deletions example/tsconfig.json

This file was deleted.

12 changes: 12 additions & 0 deletions examples/botkit-karma-simple/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "@mybot/karma",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "ts-node src/slack.ts"
},
"dependencies": {
"botbuilder-adapter-slack": "^1.0.7",
"botkit": "^4.6.1"
}
}
12 changes: 12 additions & 0 deletions examples/botkit-karma-simple/src/slack.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { Botkit } from "botkit";
import KarmaBot from "botkit-karma-simple";
import { SlackAdapter } from "botbuilder-adapter-slack";

const adapter = new SlackAdapter({
botToken: process.env.SLACK_TOKEN,
redirectUri: "TODO"
});
const controller = new Botkit({ adapter });

const instance = new KarmaBot(controller);
instance.listen();
3 changes: 3 additions & 0 deletions examples/botkit-karma-simple/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mybot/example",
"version": "0.0.1",
"license": "MIT",
"private": true,
"scripts": {
"start": "ts-node src/index.ts"
},
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions examples/slack-active-reminder/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"packages": ["packages/*", "example"],
"packages": ["packages/*", "examples/*"],
"changelog": {
"labels": {
"enhancement": ":rocket: Enhancement",
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"author": "github.com/9renpoto",
"scripts": {
"build": "lerna run build --parallel",
"build": "lerna run build --include-dependents",
"bump": "lerna version --no-git-tag-version --no-push && lerna-changelog",
"clean": "lerna run clean --parallel && lerna clean",
"lint": "run-s -l lint:*",
Expand All @@ -23,18 +23,19 @@
"devDependencies": {
"@9renpoto/eslint-config-typescript": "5.4.0",
"@9renpoto/textlint-config-ja": "5.4.0",
"@types/jest": "24.0.25",
"@types/faker": "^4.1.8",
"@types/jest": "^24.0.25",
"doctoc": "1.4.0",
"faker": "^4.1.0",
"husky": "3.1.0",
"jest": "24.9.0",
"jest": "^24.9.0",
"lerna-changelog": "1.0.0",
"lint-staged": "9.5.0",
"prettier-eslint-cli": "5.0.0",
"prettier-plugin-package": "0.3.1",
"rimraf": "3.0.0",
"textlint": "11.5.0",
"ts-jest": "24.2.0",
"typedoc": "0.15.6"
"ts-jest": "24.2.0"
},
"husky": {
"hooks": {
Expand Down Expand Up @@ -70,6 +71,6 @@
},
"workspaces": [
"packages/*",
"example"
"examples/*"
]
}
21 changes: 21 additions & 0 deletions packages/botkit-karma-simple/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 Keisuke Kan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
23 changes: 23 additions & 0 deletions packages/botkit-karma-simple/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*

- [botkit-karma-simple](#botkit-karma-simple)
- [Install](#install)
- [License](#license)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

# botkit-karma-simple

botkit++

[![npm version](https://badge.fury.io/js/botkit-karma-simple.svg)](https://badge.fury.io/js/botkit-karma-simple)

## Install

npm install botkit-karma-simple --save

## License

MIT
30 changes: 30 additions & 0 deletions packages/botkit-karma-simple/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "botkit-karma-simple",
"version": "0.3.0",
"description": "increment things",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/9renpoto/bot.git"
},
"author": "@9renpoto",
"homepage": "https://github.com/9renpoto/bot/packages/botkit-karma-simple#readme",
"bugs": {
"url": "https://github.com/9renpoto/bot/issues"
},
"main": "lib/index.js",
"scripts": {
"build": "tsc -p . --outDir lib",
"clean": "rimraf lib",
"lint": "tsc -p . --noEmit"
},
"files": [
"lib"
],
"keywords": [
"karma"
],
"dependencies": {
"karma-store-redis": "^0.3.0"
}
}
97 changes: 97 additions & 0 deletions packages/botkit-karma-simple/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
import { Botkit } from "botkit";
import KarmaStore from "karma-store-redis";

function format(data: string, length = 2): string {
if (data.length === length) {
return data;
}

if (data.length < length) {
length -= data.length;
for (let i = 0; i < length; i++) {
data = "0" + data;
}
}
return data;
}

function formatRank(firstMsg: string, data: string[]): string[] {
const response = [firstMsg];
for (let i = 0; i < data.length; i += 2) {
response.push(
`${format((i / 2 + 1).toString())}. ${data[i]}: ${data[i + 1]}`
);
}
return response;
}

export default class KarmaBot {
private readonly botkit: Botkit;
_store: KarmaStore;
constructor(botkit: Botkit, storeName: string = "karmastore") {
this.botkit = botkit;
this._store = new KarmaStore(storeName);
}
protected thingWrapper(thing: string): string {
return thing;
}
private plus() {
this.botkit.hears(
new RegExp("([^+\\s])\\+\\+(\\s|$)"),
["ambient"],
async (bot, msg) => {
const thing = this.thingWrapper(
(msg.text!.match(
/(\S+[^+\s])\+\+(\s|$)/
) as string[])[1].toLowerCase()
);
const n = 1;
this._store.up(thing, n, karma => {
bot.reply(msg, `level up! ${thing}: +${n} (Karma: ${karma})`);
});
}
);
}
private minus(): void {
this.botkit.hears(["([^-s])--(s|$)"], ["ambient"], async (bot, msg) => {
const thing = this.thingWrapper(
(msg.text!.match(/(\S+[^-\s])--(\s|$)/) as string[])[1].toLowerCase()
);
const n = 1;
this._store.down(thing, n, karma => {
bot.reply(msg, `oops! ${thing}: -${n} (Karma: ${karma})`);
});
});
}
private showTop(cnt: number = 5): void {
this.botkit.hears(
"karma best",
["direct_mention", "mention"],
async (bot, msg) => {
this._store.top(cnt, (_, top) => {
bot.reply(msg, formatRank(`The Best:`, top).join("\n"));
});
}
);
}
private showWorst(cnt: number = 5): void {
this.botkit.hears(
"karma worst",
["direct_mention", "mention"],
async (bot, msg) => {
this._store.lowest(cnt, (_, worst) => {
if (worst) {
bot.reply(msg, formatRank(`The Worst:`, worst).join("\n"));
}
return [];
});
}
);
}
listen(): void {
this.plus();
this.minus();
this.showTop();
this.showWorst();
}
}
8 changes: 8 additions & 0 deletions packages/botkit-karma-simple/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./lib",
"rootDir": "src",
"noEmit": false
}
}
21 changes: 21 additions & 0 deletions packages/karma-store-redis/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2016 - 2018 Keisuke Kan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
26 changes: 26 additions & 0 deletions packages/karma-store-redis/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->


- [karma-store-redis](#karma-store-redis)
- [Install](#install)
- [License](#license)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

# karma-store-redis

Karma Store

[![npm version](https://badge.fury.io/js/karma-store-redis.svg)](https://badge.fury.io/js/karma-store-redis)
[![codecov](https://codecov.io/gh/9renpoto/bot/branch/master/graph/badge.svg)](https://codecov.io/gh/9renpoto/bot)

## Install

```sh
npm install karma-store-redis --save
```

## License

MIT
Loading