Skip to content

Commit 533220e

Browse files
authored
Revert "chore: workers"
1 parent acfe892 commit 533220e

File tree

10 files changed

+3245
-8333
lines changed

10 files changed

+3245
-8333
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,3 @@ yarn-error.log*
3030

3131
# vercel
3232
.vercel
33-
34-
.open-next

app/challenges/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ export default async function Page({
3838

3939
const { challenges, limit, total } = await getChallenges(dataParams);
4040

41-
console.log(challenges.find(challenge => challenge.id === 52));
42-
4341
return (
4442
<section className="flex flex-col">
4543
<div className="flex flex-wrap items-center gap-3 lg:gap-5 mb-10">

app/challenges/revalidate/route.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

next.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
3+
images: {
4+
remotePatterns: [
5+
{
6+
protocol: 'https',
7+
hostname: 'avatars.githubusercontent.com'
8+
}
9+
],
10+
loader: 'custom',
11+
loaderFile: './lib/loader-image.ts'
12+
}
13+
};
14+
15+
module.exports = nextConfig;

next.config.mjs

Lines changed: 0 additions & 19 deletions
This file was deleted.

open-next.config.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88
"start": "next start",
99
"lint": "next lint",
1010
"export": "next export",
11-
"prepare": "husky install",
12-
"preview": "opennextjs-cloudflare && wrangler dev",
13-
"deploy": "opennextjs-cloudflare && wrangler deploy",
14-
"cf-typegen": "wrangler types --env-interface CloudflareEnv cloudflare-env.d.ts"
11+
"prepare": "husky install"
1512
},
1613
"dependencies": {
1714
"@auth/drizzle-adapter": "^0.5.0",
@@ -52,15 +49,13 @@
5249
"devDependencies": {
5350
"@commitlint/config-conventional": "^17.2.0",
5451
"@ianvs/prettier-plugin-sort-imports": "^3.7.1",
55-
"@opennextjs/cloudflare": "^0.5.11",
5652
"@types/node": "18.15.0",
5753
"@types/react": "^18.2.51",
5854
"drizzle-kit": "^0.20.14",
5955
"husky": "^8.0.3",
6056
"lint-staged": "^15.2.1",
6157
"prettier": "^2.8.0",
6258
"prettier-plugin-tailwindcss": "^0.2.1",
63-
"typescript": "^5.3.3",
64-
"wrangler": "^4.0.0"
59+
"typescript": "^5.3.3"
6560
}
6661
}

0 commit comments

Comments
 (0)