auth in backend and frontend

This commit is contained in:
echo committed 2025-03-24 02:32:57 +01:00
1 parent 39d2698f28
commit 9857acd4c1
65 files changed
+1632 -3923

No files matched your search

+13 -19
View File
@@ -1,33 +1,27 @@
{
"name": "@mono/auth-ui",
"version": "0.1.0",
"version": "0.0.1",
"private": true,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsup src/index.tsx --format cjs,esm --dts",
"dev": "tsup src/index.tsx --format cjs,esm --dts --watch",
"clean": "rm -rf dist",
"lint": "eslint src/",
"check-types": "tsc --noEmit"
"build": "tsc",
"dev": "tsc --watch",
"lint": "eslint .",
"clean": "rm -rf dist"
},
"dependencies": {
"@hookform/resolvers": "^3.10.0",
"@mono/auth-core": "0.1.0",
"react-hook-form": "^7.50.0",
"zod": "^3.24.2",
"zustand": "^4.5.0"
"@mono/auth-core": "file:../auth-core",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.51.0",
"@hookform/resolvers": "^3.3.4",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"tsup": "^8.0.2",
"@types/react": "^18.2.64",
"@types/react-dom": "^18.2.21",
"typescript": "^5.3.3"
},
"peerDependencies": {
"next": "^14.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
}
}
+10 -3
View File
@@ -3,11 +3,18 @@
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"jsx": "react-jsx",
"composite": true,
"preserveSymlinks": true
"declaration": true,
"declarationMap": true,
"tsBuildInfoFile": "./dist/.tsbuildinfo",
"jsx": "react-jsx",
"baseUrl": "../..",
"paths": {
"@mono/auth-core": ["packages/auth-core/src"]
}
},
"include": ["src"],
"include": ["src/**/*"],
"exclude": ["dist", "node_modules"],
"references": [
{ "path": "../auth-core" }
]