Skip to content

Commit

Permalink
refactor: allow any cache type
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Nov 30, 2023
1 parent 1453967 commit 587a0a5
Show file tree
Hide file tree
Showing 11 changed files with 991 additions and 745 deletions.
12 changes: 6 additions & 6 deletions apps/report/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rehype-highlight": "^7.0.0",
"rehype-ignore": "^2.0.0",
"rehype-ignore": "^2.0.2",
"rehype-parse": "^9.0.0",
"rehype-raw": "^7.0.0",
"rehype-slug": "^6.0.0",
"remark-gfm": "^3.0.1",
"sharp": "^0.32.6",
"undici": "^5.27.2",
"sharp": "^0.33.0",
"undici": "^5.28.1",
"unified": "11.0.3",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@next/bundle-analyzer": "^14.0.3",
"@testing-library/react": "^14.1.2",
"@types/node": "^18.18.10",
"@types/react-dom": "^18.2.15",
"@types/node": "^18.18.14",
"@types/react-dom": "^18.2.17",
"@vercel/node": "^3.0.11",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/coverage-v8": "^0.34.6",
Expand All @@ -59,7 +59,7 @@
"happy-dom": "^12.10.3",
"mdast": "^3.0.0",
"prettier": "^3.1.0",
"typescript": "^5.2.2",
"typescript": "^5.3.2",
"vitest": "^0.34.6"
},
"engines": {
Expand Down
16 changes: 8 additions & 8 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@
"license": "AGPL-3.0",
"private": true,
"dependencies": {
"@lukeed/ms": "^2.0.1",
"@lukeed/ms": "^2.0.2",
"@tanstack/react-table": "^8.10.7",
"next": "^14.0.3",
"next-themes": "^0.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sharp": "^0.32.6"
"sharp": "^0.33.0"
},
"devDependencies": {
"@next/bundle-analyzer": "^14.0.3",
"@testing-library/react": "^14.1.2",
"@types/node": "^18.18.10",
"@types/react-dom": "^18.2.15",
"@unocss/cli": "^0.57.5",
"@unocss/reset": "^0.57.5",
"@types/node": "^18.18.14",
"@types/react-dom": "^18.2.17",
"@unocss/cli": "^0.57.7",
"@unocss/reset": "^0.57.7",
"@vercel/node": "^3.0.11",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/coverage-v8": "^0.34.6",
Expand All @@ -51,8 +51,8 @@
"happy-dom": "^12.10.3",
"prettier": "^3.1.0",
"prettier-plugin-tailwindcss": "^0.5.7",
"typescript": "^5.2.2",
"unocss": "^0.57.5",
"typescript": "^5.3.2",
"unocss": "^0.57.7",
"vitest": "^0.34.6"
},
"engines": {
Expand Down
20 changes: 10 additions & 10 deletions apps/yuudachi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@aero/sanitizer": "^1.3.2",
"@discordjs/rest": "^2.2.0",
"@fastify/helmet": "^11.1.1",
"@fastify/jwt": "^7.2.3",
"@fastify/jwt": "^7.2.4",
"@fastify/sensible": "^5.5.0",
"@naval-base/ms": "^3.1.0",
"@skyra/i18next-backend": "^2.0.4",
Expand All @@ -45,28 +45,28 @@
"env-cmd": "^10.1.0",
"fastest-levenshtein": "^1.0.16",
"fastify": "^4.24.3",
"i18next": "^23.7.6",
"i18next": "^23.7.7",
"ioredis": "^5.3.2",
"kleur": "^4.1.5",
"nanoid": "^5.0.3",
"postgres": "^3.4.3",
"prom-client": "^15.0.0",
"re2": "^1.20.8",
"re2": "^1.20.9",
"readdirp": "^3.6.0",
"redis": "^4.6.10",
"redis": "^4.6.11",
"reflect-metadata": "^0.1.13",
"tsyringe": "^4.8.0",
"undici": "^5.27.2",
"undici": "^5.28.1",
"utf-8-validate": "^6.0.3",
"ws": "^8.14.2"
},
"devDependencies": {
"@swc/cli": "^0.1.63",
"@swc/core": "^1.3.96",
"@swc/core": "^1.3.99",
"@types/common-tags": "^1.8.4",
"@types/diff": "^5.0.8",
"@types/node": "^18.18.10",
"@types/ws": "^8.5.9",
"@types/node": "^18.18.14",
"@types/ws": "^8.5.10",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"del-cli": "^5.1.0",
Expand All @@ -75,8 +75,8 @@
"eslint-formatter-pretty": "^5.0.0",
"ley": "^0.8.1",
"prettier": "^3.1.0",
"type-fest": "^4.8.1",
"typescript": "^5.2.2"
"type-fest": "^4.8.2",
"typescript": "^5.3.2"
},
"engines": {
"node": ">=16.0.0"
Expand Down
2 changes: 2 additions & 0 deletions apps/yuudachi/src/commands/moderation/lockdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default class extends Command<typeof LockdownCommand> {
if (args.lock.channel && args.lock.channel.type === ChannelType.GuildText) {
throw new Error(
i18next.t("command.mod.common.errors.not_a_text_channel", {
// eslint-disable-next-line @typescript-eslint/no-base-to-string
channel: `${args.lock.channel.toString()} - ${args.lock.channel.name} (${args.lock.channel.id})`,
lng: locale,
}),
Expand Down Expand Up @@ -73,6 +74,7 @@ export default class extends Command<typeof LockdownCommand> {
if (args.lift.channel && args.lift.channel.type !== ChannelType.GuildText) {
throw new Error(
i18next.t("command.mod.common.errors.not_a_text_channel", {
// eslint-disable-next-line @typescript-eslint/no-base-to-string
channel: `${args.lift.channel.toString()} - ${args.lift.channel.name} (${args.lift.channel.id})`,
lng: locale,
}),
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"lint-staged": "^15.1.0",
"typescript": "^5.2.2",
"vercel": "^32.5.5"
"typescript": "^5.3.2",
"vercel": "^32.5.6"
},
"engines": {
"node": ">=16.0.0"
Expand Down
8 changes: 4 additions & 4 deletions packages/framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
"readdirp": "^3.6.0",
"reflect-metadata": "^0.1.13",
"tsyringe": "^4.8.0",
"type-fest": "^4.8.1"
"type-fest": "^4.8.2"
},
"devDependencies": {
"@swc/cli": "^0.1.63",
"@swc/core": "^1.3.96",
"@types/node": "^18.18.10",
"@swc/core": "^1.3.99",
"@types/node": "^18.18.14",
"cross-env": "^7.0.3",
"del-cli": "^5.1.0",
"eslint": "^8.54.0",
Expand All @@ -57,7 +57,7 @@
"ioredis": "^5.3.2",
"postgres": "^3.4.3",
"prettier": "^3.1.0",
"typescript": "^5.2.2"
"typescript": "^5.3.2"
},
"engines": {
"node": ">=16.0.0"
Expand Down
Loading

2 comments on commit 587a0a5

@vercel
Copy link

@vercel vercel bot commented on 587a0a5 Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

yuudachi – ./apps/website

yuudachi.vercel.app
yuudachi-discordjs.vercel.app
yuudachi-git-main-discordjs.vercel.app
www.yuudachi.dev
yuudachi.dev

@vercel
Copy link

@vercel vercel bot commented on 587a0a5 Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

yuudachi-report – ./apps/report

yuudachi-report-discordjs.vercel.app
yuudachi-report-git-main-discordjs.vercel.app
yuudachi-report.vercel.app

Please sign in to comment.