Files
emdash-patch-imageupload/packages/auth/package.json
kunthawat 2d1be52177 Emdash source with visual editor image upload fix
Fixes:
1. media.ts: wrap placeholder generation in try-catch
2. toolbar.ts: check r.ok, display error message in popover
2026-05-03 10:44:54 +07:00

72 lines
1.8 KiB
JSON

{
"name": "@emdash-cms/auth",
"version": "0.9.0",
"description": "Passkey-first authentication for EmDash",
"type": "module",
"main": "dist/index.mjs",
"files": [
"dist",
"src"
],
"exports": {
".": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"./passkey": {
"types": "./dist/passkey/index.d.mts",
"default": "./dist/passkey/index.mjs"
},
"./adapters/kysely": {
"types": "./dist/adapters/kysely.d.mts",
"default": "./dist/adapters/kysely.mjs"
},
"./oauth/github": {
"types": "./dist/oauth/providers/github.d.mts",
"default": "./dist/oauth/providers/github.mjs"
},
"./oauth/google": {
"types": "./dist/oauth/providers/google.d.mts",
"default": "./dist/oauth/providers/google.mjs"
}
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm --ignore-rules=no-resolution",
"test": "vitest",
"typecheck": "tsgo --noEmit"
},
"dependencies": {
"@oslojs/crypto": "catalog:",
"@oslojs/encoding": "catalog:",
"@oslojs/webauthn": "catalog:",
"ulidx": "^2.4.1",
"zod": "^4.3.5"
},
"peerDependencies": {
"astro": ">=6.0.0-beta.0",
"kysely": "^0.27.0"
},
"peerDependenciesMeta": {
"kysely": {
"optional": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "catalog:",
"@types/node": "catalog:",
"astro": "catalog:",
"publint": "catalog:",
"tsdown": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
},
"repository": {
"type": "git",
"url": "git+https://github.com/emdash-cms/emdash.git",
"directory": "packages/auth"
},
"author": "Matt Kane",
"license": "MIT"
}