diff --git a/.reliverse b/.reliverse index e04bad8..1e5e001 100644 --- a/.reliverse +++ b/.reliverse @@ -1,61 +1,86 @@ { + // Unstable features "experimental": { + "projectName": "@reliverse/cli", + "projectAuthor": "blefnk", + "projectDescription": "This superapp CLI tool can help you easily create new web projects, manage existing projects, and automatically make advanced codebase modifications, with more features coming soon.", + "projectVersion": "1.4.11", + "projectLicense": "MIT", + "projectRepository": "https://github.com/blefnk/reliverse", + + // Project capabilities + "features": { + "i18n": true, + "analytics": false, + "themeMode": "dark-light", + "authentication": false, + "api": false, + "database": false, + "testing": true, + "docker": false, + "ci": true, + "commands": [], + "webview": [], + "language": [ + "typescript" + ], + "themes": [ + "default" + ] + }, + + // Tech stack of your project + "projectFramework": "nextjs", + "projectPackageManager": "bun", + "preferredLibraries": { + "stateManagement": "zustand", + "formManagement": "react-hook-form", + "styling": "tailwind", + "uiComponents": "shadcn-ui", + "testing": "bun", + "authentication": "clerk", + "database": "drizzle", + "api": "trpc" + }, + + // Code style preferences + "codeStyle": { + "dontRemoveComments": true, + "shouldAddComments": true, + "typeOrInterface": "type", + "importOrRequire": "import", + "quoteMark": "double", + "semicolons": true, + "lineWidth": 80, + "indentStyle": "space", + "indentSize": 2, + "importSymbol": "~", + "trailingComma": "all", + "bracketSpacing": true, + "arrowParens": "always", + "tabWidth": 2 + }, + + // Cleaner codemod will ignore these deps + "ignoreDependencies": [], + + // Config revalidation (1h | 1d | 2d | 7d) + "configLastRevalidate": "2025-01-05T23:44:15.803Z", + "configRevalidateFrequency": "2d", + + // Custom rules for Reliverse AI + "customRules": {}, + + // Do you want autoYes/autoNo below? + // Set to true to activate auto-answering. + // This is to ensure there is no unexpected behavior. "skipPromptsUseAutoBehavior": false, + + // Prompts behavior (prompt | autoYes | autoNo) "deployBehavior": "prompt", "depsBehavior": "prompt", "gitBehavior": "prompt", "i18nBehavior": "prompt", "scriptsBehavior": "prompt" - }, - "projectName": "@reliverse/cli", - "projectAuthor": "blefnk", - "projectDescription": "This superapp CLI tool can help you easily create new web projects, manage existing projects, and automatically make advanced codebase modifications, with more features coming soon.", - "projectVersion": "1.4.11", - "projectLicense": "MIT", - "projectRepository": "git+https://github.com/reliverse/cli.git", - "features": { - "i18n": true, - "analytics": false, - "themeMode": "dark-light", - "authentication": true, - "api": true, - "database": true, - "testing": false, - "docker": false, - "ci": false, - "commands": [], - "webview": [], - "language": [], - "themes": [] - }, - "projectFramework": "nextjs", - "projectPackageManager": "bun", - "preferredLibraries": { - "stateManagement": "zustand", - "formManagement": "react-hook-form", - "styling": "tailwind", - "uiComponents": "shadcn-ui", - "testing": "bun", - "authentication": "clerk", - "database": "drizzle", - "api": "trpc" - }, - "codeStyle": { - "dontRemoveComments": true, - "shouldAddComments": true, - "typeOrInterface": "type", - "importOrRequire": "import", - "quoteMark": "double", - "semicolons": true, - "lineWidth": 80, - "indentStyle": "space", - "indentSize": 2, - "importSymbol": "~", - "trailingComma": "all", - "bracketSpacing": true, - "arrowParens": "always", - "tabWidth": 2 - }, - "configLastRevalidate": "2025-01-05T23:00:18.187Z", - "configRevalidateFrequency": "2d" + } } \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 93144ca..5ca69d0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -22,13 +22,9 @@ "workbench.activityBar.orientation": "vertical", "openMultipleFiles.limit": 700, "typescript.tsdk": "node_modules\\typescript\\lib", - "i18n-ally.localesPaths": [ - "messages" - ], - "i18n-ally.enabledFrameworks": [ - "react" - ], + "i18n-ally.localesPaths": ["messages"], + "i18n-ally.enabledFrameworks": ["react"], "i18n-ally.sourceLanguage": "en", "i18n-ally.autoDetection": true, "i18n-ally.keystyle": "nested" -} \ No newline at end of file +} diff --git a/bun.lockb b/bun.lockb index 8294ede..e13e3e2 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/next.config.ts b/next.config.ts index 6ff5fa6..bf0862e 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,8 +2,6 @@ import type { NextConfig } from "next"; import createNextIntlPlugin from "next-intl/plugin"; -import "./src/env.js"; - const withNextIntl = createNextIntlPlugin(); const nextConfig: NextConfig = { diff --git a/package.json b/package.json index 99d1339..eb21599 100644 --- a/package.json +++ b/package.json @@ -27,130 +27,131 @@ "db:studio": "drizzle-kit studio", "email:dev": "email dev --dir src/components/emails -p 3001", "stripe:listen": "stripe listen --forward-to localhost:3000/api/webhooks/stripe --latest", - "unlighthouse": "bunx unlighthouse --site https://reliverse.vercel.app" + "unlighthouse": "bunx unlighthouse --site https://reliverse.vercel.app", + "latest": "bun update --latest" }, "dependencies": { "@auth/drizzle-adapter": "^1.7.4", - "@clerk/elements": "^0.22.0", - "@clerk/nextjs": "^6.9.0", - "@clerk/themes": "^2.2.0", + "@clerk/elements": "^0.22.5", + "@clerk/nextjs": "^6.9.6", + "@clerk/themes": "^2.2.3", "@hookform/resolvers": "^3.9.1", "@loglib/tracker": "^0.8.0", "@mdx-js/loader": "^3.1.0", "@mdx-js/react": "^3.1.0", "@neondatabase/serverless": "^0.10.4", - "@next/mdx": "^15.1.0", - "@radix-ui/react-accordion": "^1.2.1", - "@radix-ui/react-alert-dialog": "^1.1.2", - "@radix-ui/react-aspect-ratio": "^1.1.0", - "@radix-ui/react-avatar": "^1.1.1", - "@radix-ui/react-checkbox": "^1.1.2", - "@radix-ui/react-dialog": "^1.1.2", - "@radix-ui/react-dropdown-menu": "^2.1.2", - "@radix-ui/react-hover-card": "^1.1.2", + "@next/mdx": "^15.1.3", + "@radix-ui/react-accordion": "^1.2.2", + "@radix-ui/react-alert-dialog": "^1.1.4", + "@radix-ui/react-aspect-ratio": "^1.1.1", + "@radix-ui/react-avatar": "^1.1.2", + "@radix-ui/react-checkbox": "^1.1.3", + "@radix-ui/react-dialog": "^1.1.4", + "@radix-ui/react-dropdown-menu": "^2.1.4", + "@radix-ui/react-hover-card": "^1.1.4", "@radix-ui/react-icons": "^1.3.2", - "@radix-ui/react-label": "^2.1.0", - "@radix-ui/react-navigation-menu": "^1.2.1", - "@radix-ui/react-popover": "^1.1.2", - "@radix-ui/react-progress": "^1.1.0", - "@radix-ui/react-scroll-area": "^1.2.1", - "@radix-ui/react-select": "^2.1.2", - "@radix-ui/react-separator": "^1.1.0", - "@radix-ui/react-slider": "^1.2.1", - "@radix-ui/react-slot": "^1.1.0", - "@radix-ui/react-switch": "^1.1.1", - "@radix-ui/react-tabs": "^1.1.1", - "@radix-ui/react-toast": "^1.2.2", - "@radix-ui/react-tooltip": "^1.1.4", + "@radix-ui/react-label": "^2.1.1", + "@radix-ui/react-navigation-menu": "^1.2.3", + "@radix-ui/react-popover": "^1.1.4", + "@radix-ui/react-progress": "^1.1.1", + "@radix-ui/react-scroll-area": "^1.2.2", + "@radix-ui/react-select": "^2.1.4", + "@radix-ui/react-separator": "^1.1.1", + "@radix-ui/react-slider": "^1.2.2", + "@radix-ui/react-slot": "^1.1.1", + "@radix-ui/react-switch": "^1.1.2", + "@radix-ui/react-tabs": "^1.1.2", + "@radix-ui/react-toast": "^1.2.4", + "@radix-ui/react-tooltip": "^1.1.6", "@react-email/components": "^0.0.31", "@react-email/tailwind": "1.0.4", - "@stripe/react-stripe-js": "^3.0.0", - "@stripe/stripe-js": "^5.2.0", + "@stripe/react-stripe-js": "^3.1.1", + "@stripe/stripe-js": "^5.4.0", "@t3-oss/env-nextjs": "^0.11.1", "@tanstack/match-sorter-utils": "^8.19.4", - "@tanstack/react-query": "^5.62.7", - "@tanstack/react-table": "^8.20.5", + "@tanstack/react-query": "^5.62.15", + "@tanstack/react-table": "^8.20.6", "@tremor/react": "^3.18.6", "@types/eslint__js": "^8.42.3", "@types/mdx": "^2.0.13", - "@uploadthing/react": "^7.1.2", + "@uploadthing/react": "^7.1.5", "@vercel/analytics": "^1.4.1", - "@vercel/functions": "^1.5.1", - "better-auth": "^1.0.15", + "@vercel/functions": "^1.5.2", + "better-auth": "^1.1.10", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.0.4", - "consola": "^3.2.3", + "consola": "^3.3.3", "date-fns": "^4.1.0", "dotenv": "^16.4.7", - "drizzle-orm": "^0.38.0", + "drizzle-orm": "^0.38.3", "embla-carousel-react": "8.5.1", - "framer-motion": "^11.13.5", + "framer-motion": "^11.15.0", "geist": "^1.3.1", - "globals": "^15.13.0", - "input-otp": "^1.4.1", - "lucide-react": "^0.468.0", + "globals": "^15.14.0", + "input-otp": "^1.4.2", + "lucide-react": "^0.469.0", "nanoid": "^5.0.9", - "next": "^15.1.0", + "next": "^15.1.3", "next-auth": "^4.24.11", - "next-intl": "^3.26.0", + "next-intl": "^3.26.3", "next-themes": "^0.4.4", - "nuqs": "^2.2.3", + "nuqs": "^2.3.0", "ofetch": "^1.4.1", "pg": "^8.13.1", "postgres": "^3.4.5", "react": "^19.0.0", "react-cropper": "^2.3.3", - "react-day-picker": "^9.4.2", + "react-day-picker": "^9.5.0", "react-dom": "^19.0.0", "react-dropzone": "^14.3.5", "react-email": "^3.0.4", - "react-hook-form": "^7.54.0", - "react-intersection-observer": "^9.13.1", + "react-hook-form": "^7.54.2", + "react-intersection-observer": "^9.14.1", "react-is": "^19.0.0", - "react-markdown": "^9.0.1", - "react-medium-image-zoom": "^5.2.12", + "react-markdown": "^9.0.3", + "react-medium-image-zoom": "^5.2.13", "react-syntax-highlighter": "^15.6.1", "react-textarea-autosize": "^8.5.6", "react-use-measure": "^2.1.1", "react-wrap-balancer": "^1.1.1", - "recharts": "^2.14.1", + "recharts": "^2.15.0", "resend": "^4.0.1", "server-only": "^0.0.1", "sonner": "^1.7.1", - "stripe": "^17.4.0", + "stripe": "^17.5.0", "superjson": "^2.2.2", - "tailwind-merge": "^2.5.5", + "tailwind-merge": "^2.6.0", "tailwindcss-animate": "^1.0.7", - "uploadthing": "^7.4.0", - "vaul": "^1.1.1", - "zod": "^3.24.0" + "uploadthing": "^7.4.4", + "vaul": "^1.1.2", + "zod": "^3.24.1" }, "devDependencies": { "@biomejs/biome": "1.9.4", "@cspell/dict-uk-ua": "^4.0.4", - "@eslint/js": "^9.16.0", + "@eslint/js": "^9.17.0", "@faker-js/faker": "^9.3.0", "@tailwindcss/typography": "^0.5.15", "@total-typescript/ts-reset": "^0.6.1", "@types/eslint": "^9.6.1", - "@types/node": "^22.10.1", + "@types/node": "^22.10.5", "@types/pg": "^8.11.10", - "@types/react": "^19.0.1", + "@types/react": "^19.0.3", "@types/react-dom": "^19.0.2", "@types/react-syntax-highlighter": "^15.5.13", - "@typescript-eslint/eslint-plugin": "^8.18.0", - "@typescript-eslint/parser": "^8.18.0", + "@typescript-eslint/eslint-plugin": "^8.19.0", + "@typescript-eslint/parser": "^8.19.0", "autoprefixer": "^10.4.20", - "cspell": "^8.16.1", - "dotenv-cli": "^7.4.4", - "drizzle-kit": "^0.30.0", - "eslint": "^9.16.0", - "eslint-config-next": "^15.1.0", + "cspell": "^8.17.1", + "dotenv-cli": "^8.0.0", + "drizzle-kit": "^0.30.1", + "eslint": "^9.17.0", + "eslint-config-next": "^15.1.3", "eslint-plugin-drizzle": "^0.2.3", - "eslint-plugin-perfectionist": "^4.2.0", + "eslint-plugin-perfectionist": "^4.6.0", "eslint-plugin-tailwindcss": "^3.17.5", - "knip": "^5.39.4", + "knip": "^5.41.1", "postcss": "^8.4.49", "prettier": "^3.4.2", "prettier-plugin-tailwindcss": "^0.6.9", @@ -163,11 +164,11 @@ "remark-gfm": "^4.0.0", "remark-math": "^6.0.0", "rimraf": "^6.0.1", - "shiki": "^1.24.2", - "tailwindcss": "^3.4.16", + "shiki": "^1.26.1", + "tailwindcss": "^3.4.17", "tsx": "^4.19.2", "typescript": "^5.7.2", - "typescript-eslint": "^8.18.0", + "typescript-eslint": "^8.19.0", "unist-builder": "^4.0.0", "unist-util-visit": "^5.0.0" } diff --git a/src/server/queries/github.ts b/src/server/queries/github.ts index 2997bb0..58d2367 100644 --- a/src/server/queries/github.ts +++ b/src/server/queries/github.ts @@ -5,7 +5,7 @@ export async function getGithubStars() { return await cache( async () => { const response = await fetch( - "https://api.github.com/repos/blefnk/reliverse", + "https://api.github.com/repos/blefnk/relivator", { headers: { Accept: "application/vnd.github+json", diff --git a/src/server/stripe.ts b/src/server/stripe.ts index fc64485..05408cd 100644 --- a/src/server/stripe.ts +++ b/src/server/stripe.ts @@ -3,6 +3,6 @@ import Stripe from "stripe"; import { env } from "~/env.js"; export const stripe = new Stripe(env.STRIPE_API_KEY || "", { - apiVersion: "2024-11-20.acacia", + apiVersion: "2024-12-18.acacia", typescript: true, });