Skip to content

Commit

Permalink
fix: trpc wrapper fix on approuter implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseKoldewijn committed Aug 12, 2023
1 parent 6ec6bcf commit 7013f42
Show file tree
Hide file tree
Showing 30 changed files with 771 additions and 2,801 deletions.
8 changes: 2 additions & 6 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
*/
await import("./src/env.mjs");

const withPWA = require('next-pwa')({
dest: 'public'
})
if (!process.env.SKIP_ENV_VALIDATION) await import("./src/env.mjs");

/** @type {import("next").NextConfig} */
const config = withPWA({
const config = {
reactStrictMode: true,
};

Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbo",
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand All @@ -14,22 +14,23 @@
"@glitchtech-dev/react-motion": "^1.4.4",
"@planetscale/database": "^1.10.0",
"@t3-oss/env-nextjs": "^0.6.0",
"@tanstack/react-query": "^4.32.6",
"@tanstack/react-query-devtools": "^4.32.6",
"@tanstack/react-query-next-experimental": "5.0.0-alpha.80",
"@trpc/client": "^10.37.1",
"@trpc/next": "^10.37.1",
"@trpc/react-query": "^10.37.1",
"@trpc/server": "^10.37.1",
"drizzle-orm": "^0.28.2",
"nanoid": "^4.0.2",
"next": "13.4.13",
"next-pwa": "^5.6.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"next": "13.4.14-canary.2",
"react": "18.3.0-canary-533fc28c1-20230810",
"react-dom": "18.3.0-canary-533fc28c1-20230810",
"superjson": "^1.13.1",
"zod": "^3.21.4"
},
"devDependencies": {
"@types/eslint": "^8.44.2",
"@types/node": "^20.4.9",
"@types/prettier": "^3.0.0",
"@types/node": "^20.4.10",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.3.0",
Expand Down
Loading

0 comments on commit 7013f42

Please sign in to comment.