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.
87 lines
2.6 KiB
JSON
87 lines
2.6 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"analyze": "ANALYZE=true pnpm run build",
|
|
"build": "pnpm with-env next build",
|
|
"clean": "git clean -xdf .next .turbo node_modules",
|
|
"dev": "pnpm with-env next dev --turbo",
|
|
"next:lint": "next lint",
|
|
"format": "prettier --check \"**/*.{js,cjs,mjs,ts,tsx,md,json}\"",
|
|
"start": "pnpm with-env next start",
|
|
"typecheck": "tsc --noEmit",
|
|
"with-env": "dotenv -e ./.env.local --"
|
|
},
|
|
"dependencies": {
|
|
"@epic-web/invariant": "^1.0.0",
|
|
"@hookform/resolvers": "^3.3.4",
|
|
"@kit/accounts": "workspace:^",
|
|
"@kit/admin": "workspace:^",
|
|
"@kit/auth": "workspace:^",
|
|
"@kit/billing": "workspace:^",
|
|
"@kit/billing-gateway": "workspace:^",
|
|
"@kit/database-webhooks": "workspace:^",
|
|
"@kit/email-templates": "workspace:^",
|
|
"@kit/i18n": "workspace:^",
|
|
"@kit/mailers": "workspace:^",
|
|
"@kit/shared": "workspace:^",
|
|
"@kit/supabase": "workspace:^",
|
|
"@kit/team-accounts": "workspace:^",
|
|
"@kit/ui": "workspace:^",
|
|
"@next/mdx": "^14.1.4",
|
|
"@radix-ui/react-icons": "^1.3.0",
|
|
"@supabase/ssr": "^0.1.0",
|
|
"@supabase/supabase-js": "^2.41.1",
|
|
"@tanstack/react-query": "5.28.6",
|
|
"@tanstack/react-query-next-experimental": "^5.28.9",
|
|
"@tanstack/react-table": "^8.15.0",
|
|
"contentlayer": "0.3.4",
|
|
"date-fns": "^3.6.0",
|
|
"edge-csrf": "^1.0.9",
|
|
"i18next": "^23.10.1",
|
|
"i18next-resources-to-backend": "^1.2.0",
|
|
"next": "14.2.0-canary.48",
|
|
"next-contentlayer": "0.3.4",
|
|
"next-sitemap": "^4.2.3",
|
|
"next-themes": "0.3.0",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"react-hook-form": "^7.51.2",
|
|
"react-i18next": "^14.1.0",
|
|
"recharts": "^2.12.3",
|
|
"rehype-autolink-headings": "^7.1.0",
|
|
"rehype-slug": "^6.0.0",
|
|
"sonner": "^1.4.41",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@kit/eslint-config": "workspace:^",
|
|
"@kit/prettier-config": "workspace:^",
|
|
"@kit/tailwind-config": "workspace:^",
|
|
"@kit/tsconfig": "workspace:^",
|
|
"@next/bundle-analyzer": "canary",
|
|
"@types/mdx": "^2.0.12",
|
|
"@types/node": "^20.11.30",
|
|
"@types/react": "^18.2.73",
|
|
"@types/react-dom": "^18.2.22",
|
|
"autoprefixer": "^10.4.19",
|
|
"dotenv-cli": "^7.4.1",
|
|
"eslint": "^8.57.0",
|
|
"prettier": "^3.2.5",
|
|
"tailwindcss": "3.4.1",
|
|
"typescript": "^5.4.3"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@kit/eslint-config/base",
|
|
"@kit/eslint-config/nextjs",
|
|
"@kit/eslint-config/react"
|
|
]
|
|
},
|
|
"prettier": "@kit/prettier-config"
|
|
}
|