Skip to content

Commit

Permalink
Merge branch 'main' into apple_expo_handling
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge authored Jan 25, 2025
2 parents 4d103ee + 0ce1b91 commit 08c7581
Show file tree
Hide file tree
Showing 8 changed files with 159 additions and 139 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions apps/nextjs/src/app/api/auth/[...nextauth]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { NextRequest, NextResponse } from "next/server";

import { handlers, isSecureContext } from "@acme/auth";

export const runtime = "edge";

const EXPO_COOKIE_NAME = "__acme-expo-redirect-state";
const AUTH_COOKIE_PATTERN = /authjs\.session-token=([^;]+)/;

Expand Down
2 changes: 0 additions & 2 deletions apps/nextjs/src/app/api/trpc/[trpc]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { fetchRequestHandler } from "@trpc/server/adapters/fetch";
import { appRouter, createTRPCContext } from "@acme/api";
import { auth } from "@acme/auth";

export const runtime = "edge";

/**
* Configure basic CORS headers
* You should extend this to match your needs
Expand Down
2 changes: 0 additions & 2 deletions apps/nextjs/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import {
PostList,
} from "./_components/posts";

export const runtime = "edge";

export default function HomePage() {
// You can await this here if you don't want to show Suspense fallback below
void api.post.all.prefetch();
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
},
"devDependencies": {
"@acme/prettier-config": "workspace:*",
"@turbo/gen": "^2.3.1",
"@turbo/gen": "^2.3.3",
"prettier": "catalog:",
"turbo": "^2.3.1",
"turbo": "^2.3.3",
"typescript": "catalog:"
},
"prettier": "@acme/prettier-config"
Expand Down
286 changes: 156 additions & 130 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tooling/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-turbo": "^2.3.1",
"eslint-plugin-turbo": "^2.3.3",
"typescript-eslint": "^8.15.0"
},
"devDependencies": {
Expand Down

0 comments on commit 08c7581

Please sign in to comment.