Skip to content

Commit

Permalink
lint and format all files
Browse files Browse the repository at this point in the history
  • Loading branch information
aabassiouni committed May 27, 2024
1 parent df480f4 commit 4e86326
Show file tree
Hide file tree
Showing 140 changed files with 5,326 additions and 5,467 deletions.
6 changes: 2 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"rust-analyzer.linkedProjects": [
"apps/realtime/Cargo.toml"
]
}
"rust-analyzer.linkedProjects": ["apps/realtime/Cargo.toml"]
}
2 changes: 1 addition & 1 deletion apps/web/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
"components": "@/components",
"utils": "@/lib/utils"
}
}
}
14 changes: 7 additions & 7 deletions apps/web/drizzle.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import type { Config } from "drizzle-kit";
dotenv.config({ path: ".env.local" });

export default {
schema: "./src/lib/db/schema.ts",
out: "./drizzle/migrations",
driver: "pg",
dbCredentials: {
connectionString: process.env.DATABASE_URL!,
},
verbose: true,
schema: "./src/lib/db/schema.ts",
out: "./drizzle/migrations",
driver: "pg",
dbCredentials: {
connectionString: process.env.DATABASE_URL!,
},
verbose: true,
} satisfies Config;
34 changes: 17 additions & 17 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
optimizePackageImports: ['@radix-ui/react-icons'],
experimental: {
optimizePackageImports: ["@radix-ui/react-icons"],
},
logging: {
fetches: {
fullUrl: true,
},
logging: {
fetches: {
fullUrl: true,
},
},
images: {
remotePatterns: [
{
hostname: 'utfs.io',
protocol: 'https',
}
]
},
}
},
images: {
remotePatterns: [
{
hostname: "utfs.io",
protocol: "https",
},
],
},
};

module.exports = nextConfig
module.exports = nextConfig;
158 changes: 79 additions & 79 deletions apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,81 +1,81 @@
{
"name": "@entrybase/web",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"db:migrate": "drizzle-kit generate:pg",
"db:push": "tsx src/lib/db/migrate.ts"
},
"dependencies": {
"@clerk/nextjs": "^4.29.3",
"@clerk/types": "^3.60.0",
"@entrybase/db": "workspace:^",
"@entrybase/id": "workspace:^",
"@hookform/resolvers": "^3.3.2",
"@neoconfetti/react": "^0.1.1",
"@neondatabase/serverless": "^0.6.0",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-progress": "^1.0.3",
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-tooltip": "^1.0.7",
"@react-email/components": "^0.0.14",
"@tanstack/react-table": "^8.10.7",
"@uploadthing/react": "^6.0.2",
"@upstash/redis": "^1.24.0",
"base-x": "^4.0.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"csv": "^6.3.6",
"dotenv": "^16.3.1",
"drizzle-orm": "^0.28.6",
"embla-carousel-react": "8.0.0-rc17",
"isomorphic-dompurify": "^2.3.0",
"lucide-react": "^0.287.0",
"next": "14.2.3",
"next-themes": "^0.2.1",
"react": "^18",
"react-colorful": "^5.6.1",
"react-dom": "^18",
"react-email": "2.0.0",
"react-hook-form": "^7.49.2",
"recharts": "^2.9.0",
"resend": "^3.1.0",
"stripe": "^14.9.0",
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.7",
"uploadthing": "^6.1.0",
"zod": "^3.22.4",
"zustand": "^4.5.2"
},
"devDependencies": {
"@types/dompurify": "^3.0.5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.4.17",
"drizzle-kit": "^0.19.13",
"pg": "^8.11.3",
"postcss": "^8.4.33",
"postgres": "^3.4.3",
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.6",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
"name": "@entrybase/web",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"db:migrate": "drizzle-kit generate:pg",
"db:push": "tsx src/lib/db/migrate.ts"
},
"dependencies": {
"@clerk/nextjs": "^4.29.3",
"@clerk/types": "^3.60.0",
"@entrybase/db": "workspace:^",
"@entrybase/id": "workspace:^",
"@hookform/resolvers": "^3.3.2",
"@neoconfetti/react": "^0.1.1",
"@neondatabase/serverless": "^0.6.0",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-progress": "^1.0.3",
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-tooltip": "^1.0.7",
"@react-email/components": "^0.0.14",
"@tanstack/react-table": "^8.10.7",
"@uploadthing/react": "^6.0.2",
"@upstash/redis": "^1.24.0",
"base-x": "^4.0.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"csv": "^6.3.6",
"dotenv": "^16.3.1",
"drizzle-orm": "^0.28.6",
"embla-carousel-react": "8.0.0-rc17",
"isomorphic-dompurify": "^2.3.0",
"lucide-react": "^0.287.0",
"next": "14.2.3",
"next-themes": "^0.2.1",
"react": "^18",
"react-colorful": "^5.6.1",
"react-dom": "^18",
"react-email": "2.0.0",
"react-hook-form": "^7.49.2",
"recharts": "^2.9.0",
"resend": "^3.1.0",
"stripe": "^14.9.0",
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.7",
"uploadthing": "^6.1.0",
"zod": "^3.22.4",
"zustand": "^4.5.2"
},
"devDependencies": {
"@types/dompurify": "^3.0.5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.4.17",
"drizzle-kit": "^0.19.13",
"pg": "^8.11.3",
"postcss": "^8.4.33",
"postgres": "^3.4.3",
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.6",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}
2 changes: 1 addition & 1 deletion apps/web/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ module.exports = {
tailwindcss: {},
autoprefixer: {},
},
}
};
20 changes: 10 additions & 10 deletions apps/web/src/app/(authenticated)/(auth)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import TextLogo from "@/components/text-logo";

function AuthLayout({ children }: { children: React.ReactNode }) {
return (
<div className="h-screen sm:flex">
<main className="flex flex-col-reverse md:!grid w-full sm:grid-cols-2">
<div className="flex items-center bg-black md:bg-transparent justify-center">{children}</div>
<div className="flex md:h-full py-10 items-center justify-center bg-black">
<TextLogo />
</div>
</main>
</div>
);
return (
<div className="h-screen sm:flex">
<main className="md:!grid flex w-full flex-col-reverse sm:grid-cols-2">
<div className="flex items-center justify-center bg-black md:bg-transparent">{children}</div>
<div className="flex items-center justify-center bg-black py-10 md:h-full">
<TextLogo />
</div>
</main>
</div>
);
}

export default AuthLayout;
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ import Link from "next/link";
import React from "react";

function AccountPage() {
return (
<>
<PageHeading>
<Link href="/dashboard">
<ArrowLeftCircle className="mr-4" />
</Link>
Account
</PageHeading>
<div className="w-full">
<div className="flex justify-center">
<UserProfile />
</div>
</div>
</>
);
return (
<>
<PageHeading>
<Link href="/dashboard">
<ArrowLeftCircle className="mr-4" />
</Link>
Account
</PageHeading>
<div className="w-full">
<div className="flex justify-center">
<UserProfile />
</div>
</div>
</>
);
}

export default AccountPage;
Loading

0 comments on commit 4e86326

Please sign in to comment.