* feat: setup onboarding and select plan page * feat: add workspace details step * refactor: optimize board rendering in workspace details * feat: tweak padding in boards mockup * fix: validate/convert slug input * refactor: tweak onboarding steps UX * feat: add team to workspace plans * feat: allow setting description when creating a workspace * feat: add logging to next api routes * feat: create worspace on checkout.session.completed * chore: update types * refactor: improve webhook logs * feat: create workspace on successful activation * feat: set slug on workspace name change * feat: add returnUrl params
75 lines
1.9 KiB
JSON
75 lines
1.9 KiB
JSON
{
|
|
"name": "@kan/api",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./root": {
|
|
"types": "./dist/root.d.ts",
|
|
"default": "./src/root.ts"
|
|
},
|
|
"./trpc": {
|
|
"types": "./dist/trpc.d.ts",
|
|
"default": "./src/trpc.ts"
|
|
},
|
|
"./types": {
|
|
"types": "./dist/types.d.ts",
|
|
"default": "./src/types/router.types.ts"
|
|
},
|
|
"./openapi": {
|
|
"types": "./dist/openapi.d.ts",
|
|
"default": "./src/openapi.ts"
|
|
},
|
|
"./utils/rateLimit": {
|
|
"types": "./dist/utils/rateLimit.d.ts",
|
|
"default": "./src/utils/rateLimit.ts"
|
|
},
|
|
"./utils/apiLogging": {
|
|
"types": "./dist/utils/apiLogging.d.ts",
|
|
"default": "./src/utils/apiLogging.ts"
|
|
},
|
|
"./utils/permissions": {
|
|
"types": "./dist/utils/permissions.d.ts",
|
|
"default": "./src/utils/permissions.ts"
|
|
}
|
|
},
|
|
"license": "GPL-3.0",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"clean": "git clean -xdf .cache .turbo dist node_modules",
|
|
"dev": "tsc",
|
|
"format": "prettier --check . --ignore-path ../../.gitignore",
|
|
"lint": "eslint",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
|
|
},
|
|
"dependencies": {
|
|
"@kan/auth": "workspace:*",
|
|
"@kan/db": "workspace:*",
|
|
"@kan/email": "workspace:^",
|
|
"@kan/logger": "workspace:^",
|
|
"@kan/shared": "workspace:^",
|
|
"@kan/stripe": "workspace:^",
|
|
"@trpc/server": "catalog:",
|
|
"rate-limiter-flexible": "^9.0.1",
|
|
"superjson": "2.2.1",
|
|
"trpc-to-openapi": "^2.3.2",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@kan/eslint-config": "workspace:*",
|
|
"@kan/prettier-config": "workspace:*",
|
|
"@kan/tsconfig": "workspace:*",
|
|
"eslint": "catalog:",
|
|
"prettier": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vitest": "^3.0.0"
|
|
},
|
|
"prettier": "@kan/prettier-config"
|
|
}
|