chore: add project configuration and build setup
This commit is contained in:
32
apps/fabrikanabytok/.gitignore
vendored
Normal file
32
apps/fabrikanabytok/.gitignore
vendored
Normal file
@@ -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
|
||||
9
apps/fabrikanabytok/capacitor.config.ts
Normal file
9
apps/fabrikanabytok/capacitor.config.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { CapacitorConfig } from '@capacitor/cli';
|
||||
|
||||
const config: CapacitorConfig = {
|
||||
appId: 'com.fabrikanabytok.com',
|
||||
appName: 'fabrikanabytok',
|
||||
webDir: 'out'
|
||||
};
|
||||
|
||||
export default config;
|
||||
21
apps/fabrikanabytok/components.json
Normal file
21
apps/fabrikanabytok/components.json
Normal file
@@ -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"
|
||||
}
|
||||
21
apps/fabrikanabytok/next.config.mjs
Normal file
21
apps/fabrikanabytok/next.config.mjs
Normal file
@@ -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
|
||||
125
apps/fabrikanabytok/package.json
Normal file
125
apps/fabrikanabytok/package.json
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
8
apps/fabrikanabytok/postcss.config.mjs
Normal file
8
apps/fabrikanabytok/postcss.config.mjs
Normal file
@@ -0,0 +1,8 @@
|
||||
/** @type {import('postcss-load-config').Config} */
|
||||
const config = {
|
||||
plugins: {
|
||||
'@tailwindcss/postcss': {},
|
||||
},
|
||||
}
|
||||
|
||||
export default config
|
||||
41
apps/fabrikanabytok/tsconfig.json
Normal file
41
apps/fabrikanabytok/tsconfig.json
Normal file
@@ -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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user