Some checks failed
Deploy to VPS / deploy (push) Has been cancelled
- Implemented GET and POST endpoints for managing tags in `src/app/api/admin/tags/route.ts`. - Created PUT and DELETE endpoints for timeline events in `src/app/api/admin/timeline/[id]/route.ts`. - Added GET and POST endpoints for timeline management in `src/app/api/admin/timeline/route.ts`. - Developed file upload functionality with validation in `src/app/api/admin/upload/route.ts`. - Introduced PUT and DELETE endpoints for managing uses items in `src/app/api/admin/uses/[id]/route.ts`. - Added GET and POST endpoints for uses management in `src/app/api/admin/uses/route.ts`. feat: enhance admin UI components for better user experience - Created `AdminSidebar` component for navigation in `src/components/admin/AdminSidebar.tsx`. - Developed `ImageUpload` component for handling image uploads in `src/components/admin/ImageUpload.tsx`. - Implemented `RichTextEditor` component for rich text editing in `src/components/admin/RichTextEditor.tsx`. - Added `TagsInput` component for managing tags in `src/components/admin/TagsInput.tsx`. - Created `TiptapRenderer` component for rendering HTML content in `src/components/writing/TiptapRenderer.tsx`. feat: establish database interaction layer with Prisma - Added database connection and session management in `src/lib/db.ts` and `src/lib/auth.ts`. - Implemented CRUD operations for posts, products, projects, settings, timeline events, and uses items in respective files under `src/lib/db/`. - Introduced utility functions for formatting dates and slug generation in `src/lib/types.ts`.
62 lines
1.8 KiB
JSON
62 lines
1.8 KiB
JSON
{
|
|
"name": "biztaghavi",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "next build && next-sitemap",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"db:generate": "prisma generate",
|
|
"db:push": "prisma db push",
|
|
"db:migrate": "prisma migrate deploy",
|
|
"db:studio": "prisma studio"
|
|
},
|
|
"dependencies": {
|
|
"next": "16.2.4",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"next-intl": "^4.1.0",
|
|
"framer-motion": "^12.0.0",
|
|
"@fontsource-variable/vazirmatn": "^5.1.0",
|
|
"@radix-ui/react-slot": "^1.2.0",
|
|
"@radix-ui/react-navigation-menu": "^1.2.0",
|
|
"@radix-ui/react-separator": "^1.1.0",
|
|
"@radix-ui/react-dialog": "^1.1.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"tailwind-merge": "^3.0.0",
|
|
"lucide-react": "^0.501.0",
|
|
"next-sitemap": "^4.2.3",
|
|
"resend": "^4.0.0",
|
|
"@radix-ui/react-accordion": "^1.2.0",
|
|
"@radix-ui/react-tabs": "^1.1.0",
|
|
"@prisma/client": "^6.0.0",
|
|
"iron-session": "^8.0.0",
|
|
"bcryptjs": "^2.4.3",
|
|
"@tiptap/react": "^2.11.0",
|
|
"@tiptap/pm": "^2.11.0",
|
|
"@tiptap/starter-kit": "^2.11.0",
|
|
"@tiptap/extension-placeholder": "^2.11.0",
|
|
"@tiptap/extension-link": "^2.11.0",
|
|
"@tiptap/extension-image": "^2.11.0",
|
|
"@tiptap/extension-text-direction": "^2.11.0",
|
|
"@tiptap/extension-character-count": "^2.11.0"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": ["@parcel/watcher", "@swc/core"]
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.4",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5",
|
|
"prisma": "^6.0.0"
|
|
}
|
|
}
|