mirror of
				https://github.com/i701/sarlink-portal.git
				synced 2025-11-04 00:16:59 +00:00 
			
		
		
		
	refactor: update authentication flow to use NextAuth, replace better-auth with axios for API calls, and clean up unused code
This commit is contained in:
		@@ -17,7 +17,6 @@
 | 
			
		||||
	"dependencies": {
 | 
			
		||||
		"@faker-js/faker": "^9.3.0",
 | 
			
		||||
		"@hookform/resolvers": "^3.9.1",
 | 
			
		||||
		"@prisma/client": "^6.1.0",
 | 
			
		||||
		"@radix-ui/react-alert-dialog": "^1.1.2",
 | 
			
		||||
		"@radix-ui/react-checkbox": "^1.1.2",
 | 
			
		||||
		"@radix-ui/react-collapsible": "^1.1.1",
 | 
			
		||||
@@ -31,7 +30,7 @@
 | 
			
		||||
		"@radix-ui/react-slot": "^1.1.0",
 | 
			
		||||
		"@radix-ui/react-tooltip": "^1.1.4",
 | 
			
		||||
		"@tanstack/react-query": "^5.61.4",
 | 
			
		||||
		"better-auth": "^1.1.13",
 | 
			
		||||
		"axios": "^1.8.4",
 | 
			
		||||
		"class-variance-authority": "^0.7.0",
 | 
			
		||||
		"clsx": "^2.1.1",
 | 
			
		||||
		"cmdk": "^1.0.0",
 | 
			
		||||
@@ -41,12 +40,12 @@
 | 
			
		||||
		"moment": "^2.30.1",
 | 
			
		||||
		"motion": "^11.15.0",
 | 
			
		||||
		"next": "15.1.2",
 | 
			
		||||
		"next-auth": "^4.24.11",
 | 
			
		||||
		"next-themes": "^0.4.3",
 | 
			
		||||
		"nextjs-toploader": "^3.7.15",
 | 
			
		||||
		"prisma": "^6.1.0",
 | 
			
		||||
		"react": "19.0.0",
 | 
			
		||||
		"react-aria-components": "^1.5.0",
 | 
			
		||||
		"react-day-picker": "^8.10.1",
 | 
			
		||||
		"react-day-picker": "^9.6.3",
 | 
			
		||||
		"react-dom": "19.0.0",
 | 
			
		||||
		"react-hook-form": "^7.53.2",
 | 
			
		||||
		"react-phone-number-input": "^3.4.9",
 | 
			
		||||
@@ -68,4 +67,4 @@
 | 
			
		||||
		"typescript": "^5.7.2"
 | 
			
		||||
	},
 | 
			
		||||
	"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user