This commit updates various components in the billing flow due to a new schema that supports multiple line items per plan. The added flexibility rendered 'line-items-mapper.ts' redundant, which has been removed. Additionally, webhooks have been created for handling account membership insertions and deletions, as well as handling subscription deletions when an account is deleted. This message also introduces a new service to handle sending out invitation emails. Lastly, the validation of the billing provider has been improved for increased security and stability.
57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
{
|
|
"name": "@kit/team-accounts",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"clean": "git clean -xdf .turbo node_modules",
|
|
"format": "prettier --check \"**/*.{ts,tsx}\"",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"exports": {
|
|
"./components": "./src/components/index.ts",
|
|
"./webhooks": "./src/server/services/account-invitations-webhook.service.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@hookform/resolvers": "^3.3.4",
|
|
"@kit/accounts": "workspace:^",
|
|
"@kit/billing-gateway": "workspace:*",
|
|
"@kit/email-templates": "workspace:^",
|
|
"@kit/eslint-config": "workspace:*",
|
|
"@kit/mailers": "workspace:^",
|
|
"@kit/prettier-config": "workspace:*",
|
|
"@kit/shared": "workspace:^",
|
|
"@kit/supabase": "workspace:^",
|
|
"@kit/tailwind-config": "workspace:*",
|
|
"@kit/tsconfig": "workspace:*",
|
|
"@kit/ui": "workspace:^",
|
|
"@tanstack/react-query": "5.28.6",
|
|
"lucide-react": "^0.363.0",
|
|
"react-i18next": "^14.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@kit/accounts": "0.1.0",
|
|
"@kit/email-templates": "0.1.0",
|
|
"@kit/mailers": "0.1.0",
|
|
"@kit/shared": "0.1.0",
|
|
"@kit/supabase": "0.1.0",
|
|
"@kit/ui": "0.1.0",
|
|
"lucide-react": "^0.363.0"
|
|
},
|
|
"prettier": "@kit/prettier-config",
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@kit/eslint-config/base",
|
|
"@kit/eslint-config/react"
|
|
]
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"src/*"
|
|
]
|
|
}
|
|
}
|
|
}
|