Skip to content

Commit

Permalink
More updates!
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpangalos committed Aug 3, 2023
1 parent 2a13bec commit aaac95b
Show file tree
Hide file tree
Showing 7 changed files with 1,415 additions and 2,016 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml binary
Binary file not shown.
10 changes: 5 additions & 5 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
"description": "",
"main": "index.js",
"scripts": {
"dev": "wrangler dev --config wrangler-dev.toml",
"dev": "wrangler dev --config wrangler-dev.toml --remote",
"type-check": "tsc"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@cloudflare/workers-types": "^3.19.0",
"@types/uuid": "^8.3.4",
"wrangler": "^2.19.0"
"@types/uuid": "^9.0.2",
"wrangler": "^3.4.0"
},
"dependencies": {
"@ssttevee/multipart-parser": "^0.1.9",
"hono": "^2.7.8",
"toucan-js": "^2.7.0",
"uuid": "^8.3.2"
"toucan-js": "^3.2.1",
"uuid": "^9.0.0"
}
}
3 changes: 2 additions & 1 deletion api/src/middleware/sentry.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MiddlewareHandler } from "@/types";
import Toucan, { Options as ToucanOptions } from "toucan-js";
import { Toucan, Options as ToucanOptions } from "toucan-js";

declare module "hono" {
interface ContextVariableMap {
Expand All @@ -12,6 +12,7 @@ export function sentry(
): MiddlewareHandler<void> {
return async (c, next) => {
if (c.env.ENV !== "production") return await next();

const sentry = new Toucan({
request: c.req,
context: c.executionCtx,
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"lint": "pnpm run -r lint"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.40.0",
"eslint-plugin-react": "^7.32.2",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"eslint": "^8.46.0",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.0.8",
"husky": "^3.0.0",
"lint-staged": "^9.2.0",
"prettier": "^1.18.2",
"typescript": "^4.9.5"
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"prettier": "^3.0.1",
"typescript": "^5.1.6"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit aaac95b

Please sign in to comment.