Commit graph

23 commits

Author SHA1 Message Date
Jordan Eldredge
1e0a9114dd Upgrade ts (#952)
* Upgrade Typescript

* Upgrade prettier

* Upgrade eslint-typescript

* Don't abide extra else

* Remove eslint plugin that we don't use any more

* Remove unused Webpack plugin

* Remove eslint rule that we don't really need

* Remove unused Jest plugin

* Remove redundant package

* Prettier fixes
2019-11-30 13:42:53 -08:00
Jordan Eldredge
d09293c975 Fix lints 2019-11-30 13:42:53 -08:00
Jordan Eldredge
4a2a08b628 Improve skin database 2019-11-30 13:42:53 -08:00
Jordan Eldredge
e0f8555df1 Remove duplicate import 2019-11-30 13:42:53 -08:00
Jordan Eldredge
d4e5b91229 Move all s3 APIs into the database interface 2019-11-30 13:42:53 -08:00
Jordan Eldredge
f2c6835ee1 Throw explicit error when we can't find a skin. 2019-11-30 13:42:53 -08:00
Jordan Eldredge
2b882d3f1f Add back missing imports 2019-11-30 13:42:53 -08:00
Jordan Eldredge
6034d80d86 Log more stuff to Discord 2019-11-30 13:42:53 -08:00
Jordan Eldredge
10b4c558d3 Consolidate Discord logger setup 2019-11-30 13:42:53 -08:00
Jordan Eldredge
46d1cb9874 Fix getting a tweetable skin, and stats 2019-11-30 13:42:53 -08:00
Jordan Eldredge
86c3883af6 logger.warn only takes two arguments, unlike console.warn 2019-11-30 13:42:53 -08:00
Jordan Eldredge
646753526b Fix lints 2019-11-30 13:42:53 -08:00
Jordan Eldredge
02df797b40 Fix lint errors in skin-database 2019-11-30 13:42:53 -08:00
Jordan Eldredge
79ac60f1f1 Modern integration (#833)
* Make modern part of the code base

`yarn modern` will now start a dev server with the modern app running.

The debugger is not yet setup

`yarn test` will run all the tests, both Webamp and "modern".

* Let debug work

* Prettier

* Ignore lint errors for now

* Point test at the now skin location
2019-11-30 13:42:53 -08:00
Jordan Eldredge
ba3a4fdb25 Allow Discord bot to query skins by item name 2019-11-30 13:42:53 -08:00
Jordan Eldredge
2d6fd75540 Start playing with a Winston client that DMs me 2019-11-30 13:42:53 -08:00
Jordan Eldredge
2186d2eb11 Improve logging 2019-11-30 13:42:53 -08:00
Jordan Eldredge
041d56616c Fix lint errors 2019-11-30 13:42:53 -08:00
Jordan Eldredge
3d8876f771 Small improvements 2019-11-30 13:42:53 -08:00
Jordan Eldredge
333e85ae23 Unify discord-bot and skin-database 2019-11-30 13:42:41 -08:00
Jordan Eldredge
3226d7820e Fix path 2019-06-07 21:28:23 -07:00
Jordan Eldredge
a60e4cb5d3 Add screenshot and other Discord bot improvements 2019-06-07 21:27:38 -07:00
Jordan Eldredge
90b7a1e4f7 Pull discord-bot into skin-database
Also make the cli for the skin-database the canonical way to tweet

This opens the door for moving the state of which tweets have been
approved/denied/tweeted into the MongoDB database and not S3
2019-06-07 21:10:19 -07:00