From ac7021758da5368849e9d33d8152dc47525405a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gergely=20Hortob=C3=A1gyi?= Date: Fri, 28 Nov 2025 20:46:45 +0100 Subject: [PATCH] chore: add project configuration and build setup --- apps/fabrikanabytok/.gitignore | 32 ++++++ apps/fabrikanabytok/capacitor.config.ts | 9 ++ apps/fabrikanabytok/components.json | 21 ++++ apps/fabrikanabytok/next.config.mjs | 21 ++++ apps/fabrikanabytok/package.json | 125 ++++++++++++++++++++++++ apps/fabrikanabytok/postcss.config.mjs | 8 ++ apps/fabrikanabytok/tsconfig.json | 41 ++++++++ 7 files changed, 257 insertions(+) create mode 100644 apps/fabrikanabytok/.gitignore create mode 100644 apps/fabrikanabytok/capacitor.config.ts create mode 100644 apps/fabrikanabytok/components.json create mode 100644 apps/fabrikanabytok/next.config.mjs create mode 100644 apps/fabrikanabytok/package.json create mode 100644 apps/fabrikanabytok/postcss.config.mjs create mode 100644 apps/fabrikanabytok/tsconfig.json diff --git a/apps/fabrikanabytok/.gitignore b/apps/fabrikanabytok/.gitignore new file mode 100644 index 0000000..d7ddaee --- /dev/null +++ b/apps/fabrikanabytok/.gitignore @@ -0,0 +1,32 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules + +# next.js +/.next/ +/out/ + +# production +/build + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# env files +.env* + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts +.vercel + +# android +android/ +certificates \ No newline at end of file diff --git a/apps/fabrikanabytok/capacitor.config.ts b/apps/fabrikanabytok/capacitor.config.ts new file mode 100644 index 0000000..f19bd1c --- /dev/null +++ b/apps/fabrikanabytok/capacitor.config.ts @@ -0,0 +1,9 @@ +import type { CapacitorConfig } from '@capacitor/cli'; + +const config: CapacitorConfig = { + appId: 'com.fabrikanabytok.com', + appName: 'fabrikanabytok', + webDir: 'out' +}; + +export default config; diff --git a/apps/fabrikanabytok/components.json b/apps/fabrikanabytok/components.json new file mode 100644 index 0000000..4ee62ee --- /dev/null +++ b/apps/fabrikanabytok/components.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://ui.shadcn.com/schema.json", + "style": "new-york", + "rsc": true, + "tsx": true, + "tailwind": { + "config": "", + "css": "app/globals.css", + "baseColor": "neutral", + "cssVariables": true, + "prefix": "" + }, + "aliases": { + "components": "@/components", + "utils": "@/lib/utils", + "ui": "@/components/ui", + "lib": "@/lib", + "hooks": "@/hooks" + }, + "iconLibrary": "lucide" +} diff --git a/apps/fabrikanabytok/next.config.mjs b/apps/fabrikanabytok/next.config.mjs new file mode 100644 index 0000000..9124b2d --- /dev/null +++ b/apps/fabrikanabytok/next.config.mjs @@ -0,0 +1,21 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + typescript: { + ignoreBuildErrors: true, + }, + images: { + unoptimized: true, + }, + webpack: (config) => { + // Handle GLSL shaders for Three.js + config.module.rules.push({ + test: /\.(glsl|vs|fs|vert|frag)$/, + exclude: /node_modules/, + use: ['raw-loader', 'glslify-loader'], + }) + return config + }, + turbopack: {} +} + +export default nextConfig diff --git a/apps/fabrikanabytok/package.json b/apps/fabrikanabytok/package.json new file mode 100644 index 0000000..21f8713 --- /dev/null +++ b/apps/fabrikanabytok/package.json @@ -0,0 +1,125 @@ +{ + "name": "fabrikanabytok", + "version": "0.1.0", + "private": true, + "scripts": { + "build": "next build", + "dev": "tsx server.ts", + "lint": "eslint .", + "start": "cross-env NODE_ENV=production tsx server.ts" + }, + "engine": { + "node": ">=22.12.0" + }, + "dependencies": { + "@ai-sdk/openai": "latest", + "@ai-sdk/react": "^2.0.97", + "@auth/core": "0.34.3", + "@auth/mongodb-adapter": "latest", + "@aws-sdk/credential-providers": "latest", + "@capacitor/android": "^7.4.4", + "@capacitor/core": "^7.4.4", + "@hookform/resolvers": "^3.10.0", + "@mongodb-js/zstd": "latest", + "@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-collapsible": "1.1.2", + "@radix-ui/react-context-menu": "2.2.4", + "@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-label": "2.1.1", + "@radix-ui/react-menubar": "1.1.4", + "@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-radio-group": "1.2.2", + "@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-toggle": "1.1.1", + "@radix-ui/react-toggle-group": "1.1.1", + "@radix-ui/react-tooltip": "1.1.6", + "@react-three/drei": "latest", + "@react-three/fiber": "latest", + "@react-three/postprocessing": "^2.16.3", + "@react-three/xr": "^6.2.5", + "@stripe/react-stripe-js": "latest", + "@stripe/stripe-js": "latest", + "@types/jspdf": "^1.3.3", + "@types/xlsx": "^0.0.35", + "@vercel/analytics": "1.3.1", + "@vercel/blob": "^2.0.0", + "autoprefixer": "^10.4.20", + "bcryptjs": "latest", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "cmdk": "1.0.4", + "crypto": "latest", + "date-fns": "^4.1.0", + "embla-carousel-react": "8.5.1", + "expo": "latest", + "expo-asset": "latest", + "expo-file-system": "latest", + "expo-gl": "latest", + "gcp-metadata": "latest", + "http": "latest", + "input-otp": "1.4.1", + "jspdf": "^3.0.3", + "kerberos": "latest", + "lucide-react": "^0.454.0", + "mongodb": "latest", + "mongodb-client-encryption": "latest", + "next": "latest", + "next-auth": "^5.0.0-beta.30", + "next-intl": "latest", + "next-themes": "latest", + "nodemailer": "latest", + "react": "latest", + "react-day-picker": "latest", + "react-dom": "latest", + "react-hook-form": "latest", + "react-native": "latest", + "react-resizable-panels": "^2.1.7", + "recharts": "latest", + "snappy": "latest", + "socket.io": "latest", + "socket.io-client": "latest", + "socks": "latest", + "sonner": "latest", + "swr": "latest", + "tailwind-merge": "^2.5.5", + "tailwindcss-animate": "^1.0.7", + "three": "^0.170.0", + "three-effectcomposer": "^0.0.1", + "url": "latest", + "vaul": "^0.9.9", + "xlsx": "^0.18.5", + "zod": "3.25.76", + "zustand": "^5.0.8" + }, + "devDependencies": { + "@capacitor/cli": "^7.4.4", + "@tailwindcss/postcss": "^4.1.9", + "@types/bcryptjs": "^2.4.6", + "@types/node": "^22", + "@types/react": "^19", + "@types/react-dom": "^19", + "@types/three": "^0.170.0", + "postcss": "^8.5", + "swr": "latest", + "tailwindcss": "^4.1.9", + "tsx": "latest", + "tw-animate-css": "1.3.3", + "typescript": "^5", + "vercel": "latest" + } +} diff --git a/apps/fabrikanabytok/postcss.config.mjs b/apps/fabrikanabytok/postcss.config.mjs new file mode 100644 index 0000000..a869506 --- /dev/null +++ b/apps/fabrikanabytok/postcss.config.mjs @@ -0,0 +1,8 @@ +/** @type {import('postcss-load-config').Config} */ +const config = { + plugins: { + '@tailwindcss/postcss': {}, + }, +} + +export default config diff --git a/apps/fabrikanabytok/tsconfig.json b/apps/fabrikanabytok/tsconfig.json new file mode 100644 index 0000000..a67e4b2 --- /dev/null +++ b/apps/fabrikanabytok/tsconfig.json @@ -0,0 +1,41 @@ +{ + "compilerOptions": { + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "allowJs": true, + "target": "ES2022", + "skipLibCheck": true, + "strict": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "react-jsx", + "incremental": true, + "plugins": [ + { + "name": "next" + } + ], + "paths": { + "@/*": [ + "./*" + ] + } + }, + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + ".next/dev/types/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +}