Skip to content

Commit 065c519

Browse files
committed
add perfectionist eslint-react.xyz
1 parent 65169bf commit 065c519

File tree

99 files changed

+3773
-3649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+3773
-3649
lines changed

.cursor/rules/uploadthing.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ alwaysApply: false
1515
- **DB Types:** `types.ts` (`MediaUpload`)
1616
- **Frontend UI:** `page.client.tsx` (`UploadButton`)
1717
- **Media API:** `/api/media/route.ts` (fetch media)
18-
- **Display:** `InteractiveBentoGallery.tsx` (renders images/videos)
18+
- **Display:** `bento-media-gallery.tsx` (renders images/videos)
1919
- **Auth:** `~/lib/auth`
2020

2121
## Core Concepts
@@ -25,7 +25,7 @@ alwaysApply: false
2525
- **DB Insert:** `onUploadComplete` inserts into `uploads` table, sets `type` based on route, uses `createId()` for `id`.
2626
- **Frontend:** `UploadButton` for each endpoint; `onClientUploadComplete` refetches media via `/api/media`.
2727
- **Media Fetch:** `/api/media/route.ts` authenticates, fetches uploads for user, returns JSON.
28-
- **Display:** `InteractiveBentoGallery.tsx` renders `<img>` or `<video>` based on `type`.
28+
- **Display:** `bento-media-gallery.tsx` renders `<img>` or `<video>` based on `type`.
2929

3030
## Tips
3131

.eslintcache

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ tsconfig.tsbuildinfo
22
/auth-schema.ts
33
/node_modules
44
next-env.d.ts
5+
.eslintcache
56
.vercel
67
.next
78
.env

.vscode/extensions.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
{
2-
"recommendations": ["stivo.tailwind-fold"]
2+
"recommendations": [
3+
"usernamehw.errorlens",
4+
"aaron-bond.better-comments",
5+
"biomejs.biome",
6+
"dbaeumer.vscode-eslint",
7+
"chunsen.bracket-select",
8+
"davidanson.vscode-markdownlint"
9+
]
310
}

.vscode/settings.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33
"editor.formatOnSave": true,
44
"editor.codeActionsOnSave": {
55
"source.fixAll": "explicit",
6-
"source.organizeImports": "explicit"
6+
"source.organizeImports": "never"
77
},
88
"editor.defaultFormatter": "biomejs.biome",
99
"[markdown]": { "editor.defaultFormatter": "DavidAnson.vscode-markdownlint" },
10-
"markdownlint.config": { "MD033": false }
10+
"markdownlint.config": { "MD033": false },
11+
"eslint.rules.customizations": [
12+
{ "rule": "readable-tailwind/*", "severity": "off" },
13+
{ "rule": "perfectionist/*", "severity": "off" }
14+
]
1115
}

README.md

Lines changed: 57 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,128 +1,88 @@
11
# 🏬 relivator next.js ecommerce starter
22

3-
> - **Relivator is a robust, production-ready eCommerce template built with Next.js and other modern technologies.**
4-
> - **It's designed for developers who want a fast, modern, and scalable foundation without reinventing the backend.**
5-
> - _🤖 Want to discuss this repo with AI? Reliverse will be happy to chat with you! [💬 Talk here](https://reliverse.org/projects/blefnk/relivator-nextjs-template?chat=true)._
6-
<!-- > - 🎧 _Prefer listening than reading?_ Reliverse Deep Dive on Relivator is live! [▶️ Listen here](./docs/podcast-relivator.mp3). -->
7-
8-
---
9-
10-
<div align="left">
11-
<a alt="GitHub license" href="https://github.com/blefnk/relivator/blob/main/LICENSE">
12-
<picture>
13-
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/github/license/blefnk/relivator?style=flat-square&labelColor=32363B&color=ffffff">
14-
<source media="(prefers-color-scheme: light)" srcset="https://img.shields.io/github/license/blefnk/relivator?style=flat-square&labelColor=EBEEF2&color=000000">
15-
<img alt="relivator license" src="https://img.shields.io/github/license/blefnk/relivator?style=flat-square&labelColor=EBEEF2&color=000000">
16-
</picture>
17-
</a>
18-
<a alt="GitHub issues" href="https://github.com/blefnk/relivator/issues">
19-
<picture>
20-
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/github/issues/blefnk/relivator?style=flat-square&labelColor=32363B&color=ffffff">
21-
<source media="(prefers-color-scheme: light)" srcset="https://img.shields.io/github/issues/blefnk/relivator?style=flat-square&labelColor=EBEEF2&color=000000">
22-
<img alt="relivator issues" src="https://img.shields.io/github/issues/blefnk/relivator?style=flat-square&labelColor=EBEEF2&color=000000">
23-
</picture>
24-
</a>
25-
<a alt="GitHub repo stars" href="https://github.com/blefnk/relivator/stargazers">
26-
<picture>
27-
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/github/stars/blefnk/relivator?style=flat-square&labelColor=32363B&color=ffffff">
28-
<source media="(prefers-color-scheme: light)" srcset="https://img.shields.io/github/stars/blefnk/relivator?style=flat-square&labelColor=EBEEF2&color=000000">
29-
<img alt="relivator stars" src="https://img.shields.io/github/stars/blefnk/relivator?style=flat-square&labelColor=EBEEF2&color=000000">
30-
</picture>
31-
</a>
32-
</div>
33-
34-
---
35-
36-
[Demo](https://relivator.com)[Sponsor](https://github.com/sponsors/blefnk)[Discord](https://discord.gg/Pb8uKbwpsJ)[GitHub](https://github.com/blefnk/relivator)[Docs](https://deepwiki.com/blefnk/relivator-nextjs-template)[Introduction](https://blefnk.reliverse.org/my-projects/relivator)
37-
38-
## Features
39-
40-
The following features are the main Reliverse's stack. You can check the Versator to see Reliverse's another stack variant with Clerk, Stripe, Motion, and more.
41-
42-
-**Framework:** Next.js 15.3 • React 19.1 • TypeScript 5.8
43-
- 🔐 **Auth:** First-class authentication with [Better Auth](https://better-auth.com)
44-
- 🗄️ **Database:** Typed PostgreSQL via [Drizzle ORM](https://orm.drizzle.team) & [Neon](https://neon.tech)
45-
- 📄 **Forms:** Powered by schema-ready [TanStack Form](https://tanstack.com/form) _(🏗️ W.I.P)_
46-
- 📄 **Typesafe APIs:** Typed by [oRPC](https://orpc.unnoq.com) _(🏗️ W.I.P)_
47-
- 💳 **Payments:** Integration with [Polar](https://polar.sh) _(🏗️ W.I.P)_
48-
- 📦 **Storage:** Smooth file uploads via [Uploadthing](https://uploadthing.com)
49-
- 🎨 **Styling:** [shadcn/ui](https://ui.shadcn.com) with Tailwind CSS 4.1
50-
- 🦄 **Animations:** Built-in [Anime.js](https://animejs.com) with a sample banner
51-
- 📊 **Analytics:** Built-in optional [Vercel Analytics](https://vercel.com/docs/analytics)
52-
- 🛠️ **DX Tools:** Preconfigured ESLint 9, [Biome](https://biomejs.dev), [Knip](https://knip.dev)
53-
54-
## Quick Start
55-
56-
To get started:
57-
58-
1. Install [Git](https://git-scm.com), [Node.js](https://nodejs.org), and [Bun](https://bun.sh).
59-
2. Run:
3+
[demo](https://relivator.com)[sponsor](https://github.com/sponsors/blefnk)[discord](https://discord.gg/Pb8uKbwpsJ)[github](https://github.com/blefnk/relivator)[docs](https://deepwiki.com/blefnk/relivator-nextjs-template)
4+
5+
> relivator is a robust ecommerce template built with next.js and other modern technologies. it's designed for developers who want a fast, modern, and scalable foundation without reinventing the backend.
6+
7+
## features
8+
9+
-**framework:** next.js 15.3 + react 19.1 + ts 5.8
10+
- 🔐 **auth:** [better-auth](https://better-auth.com)
11+
- 🗄️ **db:** pg + [drizzle-orm](https://orm.drizzle.team)
12+
- 📦 **storage:** [uploadthing](https://uploadthing.com)
13+
- 🎨 **styling:** tailwind 4.1 + [shadcn](https://ui.shadcn.com)
14+
- 🦄 **animations:** [anime.js](https://animejs.com)
15+
- 📊 **analytics:** [vercel](https://vercel.com/docs/analytics)
16+
- 🛠️ **dx tools:** eslint + [biome](https://biomejs.dev) + [knip](https://knip.dev)
17+
- 💳 **payments:** [polar](https://polar.sh) _(🏗️ w.i.p)_
18+
- 🧬 **api:** next + [orpc](https://orpc.unnoq.com) _(🏗️ w.i.p)_
19+
- 📄 **forms:** [tanstack](https://tanstack.com/form) _(🏗️ w.i.p)_
20+
21+
> these features define the standard reliverse stack. for an alternative setup—featuring clerk, stripe, trpc, and more—check out [versator](https://github.com/blefnk/versator).
22+
23+
## quick start
24+
25+
1. install [git](https://git-scm.com), [node.js](https://nodejs.org), [bun](https://bun.sh).
26+
2. run:
6027

6128
```bash
6229
git clone https://github.com/blefnk/relivator.git
6330
cd relivator
64-
bun install
31+
bun i
6532
copy .env.example .env
6633
```
6734

68-
3. Fill in the required environment variables in the `.env` file.
69-
4. Run:
35+
3. fill in the required environment variables in the `.env` file.
36+
4. run:
7037

7138
```bash
72-
bun dev # Start development server
73-
bun run build # Build production version
39+
bun dev # start development server
40+
bun run build # build production version
7441
```
7542

76-
5. Edit something in the code manually or ask AI to help you.
77-
6. Done. Seriously. You're building now.
43+
5. edit something in the code manually or ask ai to help you.
44+
6. done. seriously. you're building now.
7845

7946
<!--
80-
2. Run:
47+
2. run:
8148
```bash
8249
bun i -g @reliverse/cli
8350
reliverse cli
8451
```
85-
3. Select **"Create a new project"**.
86-
4. Follow prompts to configure your store.
52+
3. select **"create a new project"**.
53+
4. follow prompts to configure your store.
8754
-->
8855

89-
### Commands
56+
### commands
9057

91-
| Command | Description |
58+
| command | description |
9259
|-----------------|--------------------------------|
93-
| `bun dev` | Start local development |
94-
| `bun build` | Create a production build |
95-
| `bun latest` | Sync all dependencies |
96-
| `bun ui` | Add UI components |
97-
| `bun db:push` | Apply DB schema changes |
98-
| `bun db:auth` | Update auth-related tables |
99-
| `bun db:studio` | Open visual DB editor |
100-
101-
## Notes
60+
| `bun dev` | start local development |
61+
| `bun build` | create a production build |
62+
| `bun latest` | install latest deps |
63+
| `bun ui` | add shadcn components |
64+
| `bun db:push` | apply db schema changes |
65+
| `bun db:auth` | update auth-related tables |
66+
| `bun db:studio` | open visual db editor |
10267

103-
- Relivator **1.4.0+** is AI-ready — optimized for AI-powered IDEs like Cursor, making onboarding effortless even for beginners.
104-
- Version **1.3.0** evolved into **Versator**, featuring [Clerk](https://clerk.com) authentication and [Stripe](https://stripe.com) payments. Explore [Versator Demo](https://versator.relivator.com/en), [Repo](https://github.com/blefnk/versator), or [Docs](https://docs.reliverse.org/versator).
68+
## notes
10569

106-
<!--
107-
- ⚙️ **Instant setup**: Just run the CLI
108-
- 🤖 **AI-Ready**: Optimized for tools like [Cursor](https://cursor.sh)
109-
- 🧪 **Battle-tested stack**: Built for actual shipping, not just tutorial clout
110-
- 💡 **Evolving fast**: Frequent updates, including Relivator's variants like [Versator](https://versator.relivator.com)
111-
- -->
70+
- relivator **1.4.0+** is ai-ready — optimized for ai-powered ides like cursor, making onboarding effortless even for beginners.
71+
- version **1.3.0** evolved into **versator**, featuring [clerk](https://clerk.com) authentication and [stripe](https://stripe.com) payments. explore [versator demo](https://versator.relivator.com/en), [repo](https://github.com/blefnk/versator), or [docs](https://docs.reliverse.org/versator).
11272

113-
## Stand with Ukraine
73+
## stand with ukraine
11474

115-
- 💙 Help fund drones, medkits, and victory.
116-
- 💛 Every dollar helps stop [russia's war crimes](https://war.ukraine.ua/russia-war-crimes) and saves lives.
117-
- 👉 [Donate now](https://u24.gov.ua), it matters.
75+
- help fund drones, medkits, and victory.
76+
- every dollar helps stop [russia's war crimes](https://war.ukraine.ua/russia-war-crimes) and saves lives.
77+
- [donate now](https://u24.gov.ua), it matters.
11878

119-
## Stand with Reliverse
79+
## stand with reliverse
12080

121-
- [Star the repo](https://github.com/blefnk/relivator) to help Reliverse community grow.
122-
- 🦄 Follow this project's author, [Nazar Kornienko](https://github.com/blefnk) & [Reliverse](https://github.com/reliverse), to get updates about new projects.
123-
- 💖 [Become a sponsor](https://github.com/sponsors/blefnk) and power the next wave of tools that _just feel right_.
124-
- 🧑‍🚀 Every bit of support helps keep the dream alive: dev tools that don't suck.
81+
- [star the repo](https://github.com/blefnk/relivator) to help the reliverse community grow.
82+
- follow this project's author, [nazar kornienko](https://github.com/blefnk) and his [reliverse](https://github.com/reliverse) ecosystem, to get updates about new projects faster.
83+
- [become a sponsor](https://github.com/sponsors/blefnk) and power the next wave of tools that _just feel right_.
84+
- every bit of support helps keep the dream alive: dev tools that don't suck.
12585

126-
## License
86+
## license
12787

128-
2025 MIT © [blefnk Nazar Kornienko](https://github.com/blefnk) & [Reliverse](https://github.com/reliverse)
88+
mit © 2025 [nazar kornienko (blefnk)](https://github.com/blefnk), [reliverse](https://github.com/reliverse)

biome.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,16 @@
1616
"lineWidth": 80
1717
},
1818
"organizeImports": {
19-
"enabled": true
19+
"enabled": false
2020
},
2121
"linter": {
2222
"enabled": true,
2323
"rules": {
2424
"recommended": true,
25+
"a11y": {
26+
"useKeyWithClickEvents": "off",
27+
"useSemanticElements": "off"
28+
},
2529
"suspicious": {
2630
"noExplicitAny": "off",
2731
"noArrayIndexKey": "off"

bun.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"react": "latest",
4242
"react-day-picker": "latest",
4343
"react-dom": "latest",
44+
"sonner": "latest",
4445
"tailwind-merge": "latest",
4546
"tailwindcss-animate": "latest",
4647
"uploadthing": "latest",
@@ -61,6 +62,7 @@
6162
"@typescript-eslint/parser": "latest",
6263
"drizzle-kit": "latest",
6364
"eslint": "latest",
65+
"eslint-plugin-perfectionist": "latest",
6466
"eslint-plugin-readable-tailwind": "latest",
6567
"execa": "latest",
6668
"knip": "latest",
@@ -570,6 +572,8 @@
570572

571573
"eslint": ["[email protected]", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.20.0", "@eslint/config-helpers": "^0.2.1", "@eslint/core": "^0.13.0", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "9.25.1", "@eslint/plugin-kit": "^0.2.8", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "@types/json-schema": "^7.0.15", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^8.3.0", "eslint-visitor-keys": "^4.2.0", "espree": "^10.3.0", "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "optionalPeers": ["jiti"], "bin": { "eslint": "bin/eslint.js" } }, "sha512-E6Mtz9oGQWDCpV12319d59n4tx9zOTXSTmc8BLVxBx+G/0RdM5MvEEJLU9c0+aleoePYYgVTOsRblx433qmhWQ=="],
572574

575+
"eslint-plugin-perfectionist": ["[email protected]", "", { "dependencies": { "@typescript-eslint/types": "^8.31.0", "@typescript-eslint/utils": "^8.31.0", "natural-orderby": "^5.0.0" }, "peerDependencies": { "eslint": ">=8.45.0" } }, "sha512-V0dmpq6fBbn0BYofHsiRuuY9wgkKMDkdruM0mIRBIJ8XZ8vEaTAZqFsywm40RuWNVnduWBt5HO1ZZ+flE2yqjg=="],
576+
573577
"eslint-plugin-react-debug": ["[email protected]", "", { "dependencies": { "@eslint-react/ast": "1.48.5", "@eslint-react/core": "1.48.5", "@eslint-react/eff": "1.48.5", "@eslint-react/kit": "1.48.5", "@eslint-react/shared": "1.48.5", "@eslint-react/var": "1.48.5", "@typescript-eslint/scope-manager": "^8.31.0", "@typescript-eslint/type-utils": "^8.31.0", "@typescript-eslint/types": "^8.31.0", "@typescript-eslint/utils": "^8.31.0", "string-ts": "^2.2.1", "ts-pattern": "^5.7.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": "^4.9.5 || ^5.3.3" }, "optionalPeers": ["typescript"] }, "sha512-0ohplE9yStl5U45GLzmTioK8eJ5kg5b3ICCDFZWDkvGKnXtX8IGh39u4/NPjXlOsRr/deDuGHTZCETtuhNFELA=="],
574578

575579
"eslint-plugin-react-dom": ["[email protected]", "", { "dependencies": { "@eslint-react/ast": "1.48.5", "@eslint-react/core": "1.48.5", "@eslint-react/eff": "1.48.5", "@eslint-react/kit": "1.48.5", "@eslint-react/shared": "1.48.5", "@eslint-react/var": "1.48.5", "@typescript-eslint/scope-manager": "^8.31.0", "@typescript-eslint/types": "^8.31.0", "@typescript-eslint/utils": "^8.31.0", "compare-versions": "^6.1.1", "string-ts": "^2.2.1", "ts-pattern": "^5.7.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": "^4.9.5 || ^5.3.3" }, "optionalPeers": ["typescript"] }, "sha512-ZjfqZYDSqOM9M/5UD2jpyCn4jROkKawM2pNFXWGzJMoopq4x5eqx6rba6jsIQFayb5inAy3IzRnzXC/may2EPg=="],
@@ -756,6 +760,8 @@
756760

757761
"natural-compare": ["[email protected]", "", {}, "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="],
758762

763+
"natural-orderby": ["[email protected]", "", {}, "sha512-kKHJhxwpR/Okycz4HhQKKlhWe4ASEfPgkSWNmKFHd7+ezuQlxkA5cM3+XkBPvm1gmHen3w53qsYAv+8GwRrBlg=="],
764+
759765
"next": ["[email protected]", "", { "dependencies": { "@next/env": "15.3.1", "@swc/counter": "0.1.3", "@swc/helpers": "0.5.15", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001579", "postcss": "8.4.31", "styled-jsx": "5.1.6" }, "optionalDependencies": { "@next/swc-darwin-arm64": "15.3.1", "@next/swc-darwin-x64": "15.3.1", "@next/swc-linux-arm64-gnu": "15.3.1", "@next/swc-linux-arm64-musl": "15.3.1", "@next/swc-linux-x64-gnu": "15.3.1", "@next/swc-linux-x64-musl": "15.3.1", "@next/swc-win32-arm64-msvc": "15.3.1", "@next/swc-win32-x64-msvc": "15.3.1", "sharp": "^0.34.1" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", "@playwright/test": "^1.41.2", "babel-plugin-react-compiler": "*", "react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0", "react-dom": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0", "sass": "^1.3.0" }, "optionalPeers": ["@opentelemetry/api", "@playwright/test", "babel-plugin-react-compiler", "sass"], "bin": { "next": "dist/bin/next" } }, "sha512-8+dDV0xNLOgHlyBxP1GwHGVaNXsmp+2NhZEYrXr24GWLHtt27YrBPbPuHvzlhi7kZNYjeJNR93IF5zfFu5UL0g=="],
760766

761767
"next-themes": ["[email protected]", "", { "peerDependencies": { "react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc", "react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc" } }, "sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA=="],
@@ -884,6 +890,8 @@
884890

885891
"smol-toml": ["[email protected]", "", {}, "sha512-UOPtVuYkzYGee0Bd2Szz8d2G3RfMfJ2t3qVdZUAozZyAk+a0Sxa+QKix0YCwjL/A1RR0ar44nCxaoN9FxdJGwA=="],
886892

893+
"sonner": ["[email protected]", "", { "peerDependencies": { "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc", "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-njQ4Hht92m0sMqqHVDL32V2Oun9W1+PHO9NDv9FHfJjT3JT22IG4Jpo3FPQy+mouRKCXFWO+r67v6MrHX2zeIA=="],
894+
887895
"source-map": ["[email protected]", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],
888896

889897
"source-map-js": ["[email protected]", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="],

drizzle.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import "dotenv/config";
22
import { defineConfig } from "drizzle-kit";
33

44
export default defineConfig({
5-
schema: "./src/db/schema/index.ts",
6-
dialect: "postgresql",
75
dbCredentials: {
86
url: process.env.DATABASE_URL ?? "",
97
},
8+
dialect: "postgresql",
9+
schema: "./src/db/schema/index.ts",
1010
schemaFilter: ["public"],
1111
});

0 commit comments

Comments
 (0)