mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:21:09 +02:00
- userAgent utils: parseUserAgent, getDeviceType, formatUserAgent (17 tests) - guestWelcome utils: shouldShow, markSeen, reset (8 tests) - jwtUtils: decodeToken, isTokenValid, getUserFromToken, B2B (27 tests) - mana-apps: hasAppAccess, getTierLevel, getAccessibleManaApps (16 tests) Also fixes iOS detection bug in userAgent parser (iPhone UA contains "Mac OS X" — mobile check must come before desktop OS check). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
42 lines
924 B
JSON
42 lines
924 B
JSON
{
|
|
"name": "@manacore/shared-auth-ui",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Shared authentication UI components for Mana apps",
|
|
"type": "module",
|
|
"svelte": "./src/index.ts",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"svelte": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"src"
|
|
],
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"peerDependencies": {
|
|
"@manacore/shared-auth": "workspace:*",
|
|
"@manacore/shared-branding": "workspace:*",
|
|
"@manacore/shared-icons": "workspace:*",
|
|
"svelte": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/qrcode": "^1.5.5",
|
|
"svelte": "^5.16.0",
|
|
"typescript": "^5.7.3"
|
|
},
|
|
"dependencies": {
|
|
"@zxcvbn-ts/core": "^3.0.4",
|
|
"@zxcvbn-ts/language-common": "^3.0.4",
|
|
"@zxcvbn-ts/language-de": "^3.0.2",
|
|
"qrcode": "^1.5.4"
|
|
}
|
|
}
|