Skip to content

Commit

Permalink
feature: Game engine (#64)
Browse files Browse the repository at this point in the history
* misc: added better login and game dialog

* core: added command system

* feat: added authjs drizzle adapter

* feat: added dialog options

* fix: remove ts 5.3 syntax not compatible with prettier
  • Loading branch information
Sawangg committed Dec 8, 2023
1 parent 48bc4c4 commit c14996d
Show file tree
Hide file tree
Showing 42 changed files with 3,502 additions and 28,748 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = {
"plugin:jsx-a11y/recommended",
"plugin:prettier/recommended",
"plugin:tailwindcss/recommended",
"plugin:drizzle/recommended",
"next/core-web-vitals",
],
rules: {
Expand Down
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.format": true
"source.fixAll.eslint": "explicit",
"source.fixAll.format": "explicit"
},
}
2 changes: 0 additions & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { env } from "./src/env.mjs";
const nextConfig = {
productionBrowserSourceMaps: true,
images: {
dangerouslyAllowSVG: env.NODE_ENV !== "production" ? true : false,
contentDispositionType: env.NODE_ENV !== "production" ? "attachment" : undefined,
remotePatterns: [
{
protocol: "https",
Expand Down
37 changes: 20 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,56 +16,59 @@
"db:studio": "cross-env SKIP_ENV_VALIDATION=true drizzle-kit studio --host 127.0.0.1 --port 3001"
},
"dependencies": {
"@auth/drizzle-adapter": "^0.3.9",
"@formatjs/intl-localematcher": "^0.5.2",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-aspect-ratio": "^1.0.3",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tabs": "^1.0.4",
"@react-three/drei": "^9.89.0",
"@react-three/fiber": "^8.15.11",
"@react-three/drei": "^9.90.0",
"@react-three/fiber": "^8.15.12",
"@t3-oss/env-nextjs": "^0.7.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"drizzle-orm": "^0.29.1",
"drizzle-zod": "^0.5.1",
"framer-motion": "^10.16.9",
"framer-motion": "^10.16.15",
"lucide-react": "^0.294.0",
"next": "^14.0.3",
"next-auth": "5.0.0-beta.3",
"next-auth": "5.0.0-beta.4",
"postgres": "^3.4.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwind-merge": "^2.0.0",
"tailwindcss": "^3.3.5",
"tailwind-merge": "^2.1.0",
"tailwindcss": "^3.3.6",
"tailwindcss-animate": "^1.0.7",
"three": "^0.159.0",
"typescript": "^5.3.2",
"zod": "^3.22.4"
"three-stdlib": "^2.28.7",
"typescript": "^5.3.3",
"zod": "^3.22.4",
"zustand": "^4.4.7"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.1.1",
"@next/bundle-analyzer": "^14.0.3",
"@types/eslint": "^8.44.8",
"@types/node": "^20.10.1",
"@types/react": "^18.2.39",
"@types/node": "^20.10.4",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@types/three": "^0.159.0",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"autoprefixer": "^10.4.16",
"cross-env": "^7.0.3",
"drizzle-kit": "^0.20.6",
"eslint": "^8.54.0",
"eslint": "^8.55.0",
"eslint-config-next": "^14.0.3",
"eslint-config-prettier": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-drizzle": "^0.2.2",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-tailwindcss": "^3.13.0",
"pg": "^8.11.3",
"postcss": "^8.4.31",
"postcss": "^8.4.32",
"prettier": "^3.1.0",
"prettier-plugin-tailwindcss": "^0.5.7"
"prettier-plugin-tailwindcss": "^0.5.9"
}
}
Loading

0 comments on commit c14996d

Please sign in to comment.