Skip to content

Commit

Permalink
feat: refactor to graphql api (#350)
Browse files Browse the repository at this point in the history
* chore: update dependencies

* chore: move legacy codebase

* feat: setup bot rewrite

* feat: add records command

* feat: add records by user command option

* chore: remove empty file

* ci: update tests

---------

Signed-off-by: James Harris <3440094+wopian@users.noreply.github.com>
  • Loading branch information
wopian authored Jan 9, 2024
1 parent 4aae73c commit 1ae6850
Show file tree
Hide file tree
Showing 125 changed files with 2,664 additions and 699 deletions.
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"editor.tabSize": 2,
"editor.insertSpaces": true
}
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,51 +2,51 @@
"type": "module",
"version": "0.0.0",
"scripts": {
"dev": "pnpm migrate && tsx watch src/index.ts",
"start": "pnpm migrate && tsx src/index.ts",
"dev": "pnpm migrate && tsx watch --env-file=.env src/index.ts",
"start": "pnpm migrate && tsx --env-file=.env src/index.ts",
"build": "tsc",
"lint": "eslint . --ext .js,.cjs,.mjs,.ts,.cts,.mts --fix --ignore-path .gitignore",
"lint:ci": "eslint . --ext .js,.cjs,.mjs,.ts,.cts,.mts --ignore-path .gitignore",
"test": "ava",
"coverage": "c8 --all --src=dist --skip-full ava",
"test": "ava src/",
"coverage": "c8 --all --src=dist --skip-full ava src/",
"migrate": "knex migrate:latest",
"make": "knex migrate:make"
},
"dependencies": {
"@twurple/api": "6.2.1",
"@twurple/auth": "6.2.1",
"@zeepkist/gtr-api": "3.12.1",
"date-fns": "3.0.6",
"discord.js": "14.14.1",
"dotenv": "16.3.1",
"knex": "3.1.0",
"ky": "1.1.3",
"mysql2": "3.6.5",
"winston": "3.11.0",
"winston-daily-rotate-file": "4.7.1"
"@twurple/api": "~7.0.6",
"@twurple/auth": "~7.0.6",
"@zeepkist/graphql": "~1.8.0",
"date-fns": "~2.30.0",
"discord.js": "~14.14.1",
"dotenv": "~16.3.1",
"knex": "~3.0.1",
"ky": "~1.1.3",
"mysql2": "~3.6.5",
"winston": "~3.11.0",
"winston-daily-rotate-file": "~4.7.1"
},
"devDependencies": {
"@ava/typescript": "~4.1.0",
"@rushstack/eslint-patch": "~1.6.0",
"@semantic-release/changelog": "~6.0.3",
"@semantic-release/commit-analyzer": "~11.1.0",
"@semantic-release/github": "~9.2.0",
"@semantic-release/github": "~9.2.4",
"@semantic-release/release-notes-generator": "~12.1.0",
"@types/node": "~20.10.0",
"@typescript-eslint/eslint-plugin": "~6.15.0",
"@typescript-eslint/parser": "~6.15.0",
"@types/node": "~20.10.3",
"@typescript-eslint/eslint-plugin": "~6.13.2",
"@typescript-eslint/parser": "~6.13.2",
"ava": "~6.0.0",
"c8": "~8.0.0",
"eslint": "~8.56.0",
"c8": "~8.0.1",
"eslint": "~8.55.0",
"eslint-config-prettier": "~9.1.0",
"eslint-plugin-import": "~2.29.0",
"eslint-plugin-prettier": "~5.1.0",
"eslint-plugin-prettier": "~5.0.1",
"eslint-plugin-simple-import-sort": "~10.0.0",
"eslint-plugin-unicorn": "~49.0.0",
"prettier": "~3.1.0",
"semantic-release": "~22.0.0",
"tsx": "~4.7.0",
"typescript": "~5.3.0"
"semantic-release": "~22.0.10",
"tsx": "~4.6.2",
"typescript": "~5.3.3"
},
"ava": {
"utilizeParallelBuilds": true,
Expand Down
Loading

0 comments on commit 1ae6850

Please sign in to comment.