Skip to content

Commit

Permalink
Chore/update dependencies (#72)
Browse files Browse the repository at this point in the history
* update packages

* cleanup

* update pnpm version
  • Loading branch information
iamtouha authored Jul 27, 2024
1 parent f3919d0 commit 904d40f
Show file tree
Hide file tree
Showing 7 changed files with 4,365 additions and 3,629 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Type check and lint

on: [push, pull_request]
on: [pull_request]

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand All @@ -13,7 +17,7 @@ jobs:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
version: 9
- uses: actions/setup-node@v3
with:
node-version: 20.x
Expand All @@ -25,15 +29,4 @@ jobs:
- name: Type check and lint
run: pnpm run typecheck && pnpm run lint
env:
# use dummy env variables to bypass t3-env check
DATABASE_URL: postgres://test:xxxx@xxxxxxxxx:3306/test
SMTP_HOST: host
SMTP_PORT: 587
SMTP_USER: user
SMTP_PASSWORD: password
NEXT_PUBLIC_APP_URL: http://localhost:3000
DISCORD_CLIENT_ID: client_id
DISCORD_CLIENT_SECRET: client_secret
STRIPE_API_KEY: stripe_api_key
STRIPE_WEBHOOK_SECRET: stripe_webhook_secret
STRIPE_PRO_MONTHLY_PLAN_ID: stripe_pro_monthly_plan_id
SKIP_ENV_VALIDATION: true
4 changes: 2 additions & 2 deletions drizzle.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { DATABASE_PREFIX } from "@/lib/constants";
export default defineConfig({
schema: "./src/server/db/schema.ts",
out: "./drizzle",
driver: "pg",
dialect: "postgresql",
dbCredentials: {
connectionString: process.env.DATABASE_URL!,
url: process.env.DATABASE_URL!,
},
tablesFilter: [`${DATABASE_PREFIX}_*`],
});
75 changes: 37 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"type": "module",
"scripts": {
"build": "next build",
"db:push": "dotenv drizzle-kit push:pg",
"db:generate": "dotenv drizzle-kit generate:pg",
"db:migrate": "dotenv tsx src/server/db/migrate.ts",
"db:push": "dotenv drizzle-kit push",
"db:generate": "dotenv drizzle-kit generate",
"db:migrate": "dotenv drizzle-kit migrate",
"db:studio": "dotenv drizzle-kit studio",
"dev": "next dev",
"start": "next start",
Expand All @@ -16,15 +16,15 @@
"stripe:listen": "stripe listen --forward-to localhost:3000/api/webhooks/stripe --latest"
},
"dependencies": {
"@hookform/resolvers": "^3.3.4",
"@hookform/resolvers": "^3.9.0",
"@lucia-auth/adapter-drizzle": "1.0.0",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@react-email/components": "^0.0.12",
"@react-email/render": "^0.0.10",
"@t3-oss/env-nextjs": "^0.7.3",
Expand All @@ -33,57 +33,56 @@
"@trpc/next": "^10.45.2",
"@trpc/react-query": "^10.45.2",
"@trpc/server": "^10.45.2",
"arctic": "^1.5.0",
"arctic": "^1.9.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"drizzle-orm": "^0.30.8",
"clsx": "^2.1.1",
"lucia": "3.0.0",
"next": "^14.2.1",
"next": "^14.2.5",
"next-themes": "^0.2.1",
"nodemailer": "^6.9.13",
"oslo": "^1.2.0",
"nodemailer": "^6.9.14",
"oslo": "^1.2.1",
"postgres": "^3.4.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.51.3",
"react-hook-form": "^7.52.1",
"react-markdown": "^9.0.1",
"react-syntax-highlighter": "^15.5.0",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.0",
"server-only": "^0.0.1",
"sonner": "^1.4.41",
"sonner": "^1.5.0",
"stripe": "^14.25.0",
"superjson": "^2.2.1",
"tailwind-merge": "^2.2.2",
"tailwind-merge": "^2.4.0",
"tailwindcss-animate": "^1.0.7",
"vaul": "^0.8.9",
"zod": "^3.22.4"
"zod": "^3.23.8"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.2.1",
"@tailwindcss/typography": "^0.5.12",
"@types/eslint": "^8.56.9",
"@types/node": "^18.19.31",
"@types/nodemailer": "^6.4.14",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@types/react-syntax-highlighter": "^15.5.11",
"@next/eslint-plugin-next": "^14.2.5",
"@tailwindcss/typography": "^0.5.13",
"@types/eslint": "^8.56.11",
"@types/node": "^18.19.42",
"@types/nodemailer": "^6.4.15",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-syntax-highlighter": "^15.5.13",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"autoprefixer": "^10.4.19",
"dotenv-cli": "^7.4.1",
"drizzle-kit": "^0.20.14",
"dotenv-cli": "^7.4.2",
"drizzle-kit": "^0.23.0",
"drizzle-orm": "^0.32.1",
"eslint": "^8.57.0",
"pg": "^8.11.5",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"pg": "^8.12.0",
"postcss": "^8.4.40",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.5.14",
"tailwindcss": "^3.4.3",
"tsx": "^4.7.2",
"typescript": "^5.4.5"
"tailwindcss": "^3.4.7",
"tsx": "^4.16.2",
"typescript": "^5.5.4"
},
"ct3aMetadata": {
"initVersion": "7.24.2"
},
"packageManager": "pnpm@8.11.0"
}
}
Loading

0 comments on commit 904d40f

Please sign in to comment.