chore: upgrade dependencies, restructure shared libs, and fix UI

- Upgrade Nx 22.1.1 → 22.6.3 and all patch/minor dependencies
- Restructure shared libs: move business logic from utils to service
- Consolidate shadcn-ui into ui lib with atomic design pattern
- Fix container centering for landing app (Tailwind v4 compatibility)
- Fix button styling by updating @source directive in globals.css
- Fix SiCss3 → SiCss rename in react-icons 5.6
- Fix duplicate useSession export conflict
- Remove dead code, comments, and unused files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
maulanasdqn
2026-03-31 01:44:17 +07:00
co-authored by Claude Opus 4.6
parent f68d97188c
commit 3f4461c65c
231 changed files with 6062 additions and 39166 deletions
+82 -81
View File
@@ -36,106 +36,107 @@
},
"private": true,
"dependencies": {
"@ant-design/icons": "^6.0.0",
"@hookform/resolvers": "^5.0.1",
"@iconify/react": "^6.0.0",
"@marsidev/react-turnstile": "^1.1.0",
"@radix-ui/react-label": "^2.1.7",
"@radix-ui/react-slot": "^1.2.0",
"@redocly/ajv": "^8.11.2",
"@tanstack/react-query": "^5.74.4",
"@tanstack/react-store": "^0.8.0",
"@tanstack/react-table": "^8.21.2",
"axios": "^1.8.3",
"@ant-design/icons": "^6.1.1",
"@hookform/resolvers": "^5.2.2",
"@iconify/react": "^6.0.2",
"@marsidev/react-turnstile": "^1.5.0",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@redocly/ajv": "^8.18.1",
"@tanstack/react-query": "^5.95.2",
"@tanstack/react-store": "^0.9.3",
"@tanstack/react-table": "^8.21.3",
"axios": "^1.14.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.13",
"framer-motion": "^12.9.2",
"graphql": "^16.11.0",
"dayjs": "^1.11.20",
"framer-motion": "^12.38.0",
"graphql": "^16.13.2",
"html2canvas": "^1.4.1",
"js-cookie": "^3.0.5",
"next": "^16.0.10",
"next": "16.2.1",
"next-themes": "^0.4.6",
"openapi-fetch": "^0.15.0",
"openapi-react-query": "^0.5.0",
"openapi-fetch": "^0.17.0",
"openapi-react-query": "^0.5.4",
"qrcode": "^1.5.4",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"react-hook-form": "^7.56.4",
"react-icons": "^5.5.0",
"react-is": "^19.2.3",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-hook-form": "^7.72.0",
"react-icons": "^5.6.0",
"react-is": "^19.2.4",
"react-router-dom": "^7.3.0",
"recharts": "^3.1.2",
"sharp": "^0.34.1",
"sonner": "^2.0.3",
"tailwind-merge": "^3.0.2",
"recharts": "^3.8.1",
"sharp": "^0.34.5",
"sonner": "^2.0.7",
"tailwind-merge": "^3.5.0",
"vaul": "^1.1.2",
"zod": "^3.24.2",
"zustand": "^5.0.5"
"zod": "^3.25.76",
"zustand": "^5.0.12"
},
"devDependencies": {
"@babel/core": "^7.14.5",
"@babel/preset-react": "^7.14.5",
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.8.0",
"@next/eslint-plugin-next": "^16.0.3",
"@nx/devkit": "22.1.1",
"@nx/eslint": "22.1.1",
"@nx/eslint-plugin": "22.1.1",
"@nx/js": "22.1.1",
"@nx/next": "22.1.1",
"@nx/playwright": "22.1.1",
"@nx/react": "22.1.1",
"@nx/vite": "22.1.1",
"@nx/web": "22.1.1",
"@nx/workspace": "22.1.1",
"@playwright/test": "^1.36.0",
"@swc-node/register": "~1.9.1",
"@swc/cli": "0.6.0",
"@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
"@tailwindcss/postcss": "^4.0.13",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "16.1.0",
"@babel/core": "^7.29.0",
"@babel/preset-react": "^7.28.5",
"@eslint/compat": "^1.4.1",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^9.39.4",
"@next/eslint-plugin-next": "^16.2.1",
"@nx/devkit": "22.6.3",
"@nx/eslint": "22.6.3",
"@nx/eslint-plugin": "22.6.3",
"@nx/js": "22.6.3",
"@nx/next": "22.6.3",
"@nx/playwright": "22.6.3",
"@nx/react": "22.6.3",
"@nx/vite": "22.6.3",
"@nx/vitest": "22.6.3",
"@nx/web": "22.6.3",
"@nx/workspace": "22.6.3",
"@playwright/test": "^1.58.2",
"@swc-node/register": "1.11.1",
"@swc/cli": "0.8.0",
"@swc/core": "1.15.21",
"@swc/helpers": "0.5.20",
"@tailwindcss/postcss": "^4.2.2",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/js-cookie": "^3.0.6",
"@types/node": "^22.12.0",
"@types/node": "^22.19.15",
"@types/qrcode": "^1.5.6",
"@types/react": "^19.2.7",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/coverage-v8": "^3.0.5",
"@vitest/ui": "^3.0.0",
"ajv": "^6.12.6",
"eslint": "^9.8.0",
"eslint-config-next": "^15.2.4",
"eslint-config-prettier": "10.0.0",
"@vitejs/plugin-react": "^4.7.0",
"@vitest/coverage-v8": "4.1.2",
"@vitest/ui": "4.1.2",
"ajv": "^6.14.0",
"eslint": "^9.39.4",
"eslint-config-next": "16.2.1",
"eslint-config-prettier": "10.1.8",
"eslint-next-config": "^1.0.3",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.1",
"eslint-plugin-playwright": "^1.6.2",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "5.0.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-playwright": "^1.8.3",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "5.2.0",
"file-loader": "^6.2.0",
"h3": "^1.8.2",
"jiti": "2.4.2",
"h3": "^1.15.10",
"jiti": "2.6.1",
"jsdom": "~22.1.0",
"nx": "22.1.1",
"openapi-typescript": "^7.8.0",
"postcss": "^8.5.3",
"prettier": "^2.6.2",
"serve": "^14.2.4",
"tailwindcss": "^4.0.13",
"nx": "22.6.3",
"openapi-typescript": "^7.13.0",
"postcss": "^8.5.8",
"prettier": "^2.8.8",
"serve": "^14.2.6",
"tailwindcss": "^4.2.2",
"ts-node": "^10.9.2",
"tslib": "^2.3.0",
"tw-animate-css": "^1.2.8",
"tslib": "^2.8.1",
"tw-animate-css": "^1.4.0",
"typescript": "5.9.3",
"typescript-eslint": "8.40.0",
"vite": "7.1.3",
"vite-plugin-dts": "~4.5.0",
"vitest": "^3.0.8"
"typescript-eslint": "8.58.0",
"vite": "7.3.1",
"vite-plugin-dts": "~4.5.4",
"vitest": "4.1.2"
},
"nx": {
"includedScripts": []