Created a new package named billing-gateway which implements interfaces for different billing providers and provides a centralized service for payments. This will potentially help to maintain cleaner code by reducing direct dependencies on specific payment providers in the core application code. Additionally, made adjustments in existing services, like Stripe, to comply with this change. The relevant interfaces and types have been exported and imported accordingly.
122 lines
4.1 KiB
JSON
122 lines
4.1 KiB
JSON
{
|
|
"name": "@kit/ui",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"clean": "git clean -xdf .turbo node_modules",
|
|
"format": "prettier --check \"**/*.{ts,tsx}\"",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-avatar": "^1.0.4",
|
|
"@radix-ui/react-checkbox": "^1.0.4",
|
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
"@radix-ui/react-label": "^2.0.2",
|
|
"@radix-ui/react-popover": "^1.0.7",
|
|
"@radix-ui/react-scroll-area": "^1.0.5",
|
|
"@radix-ui/react-select": "^2.0.0",
|
|
"@radix-ui/react-slot": "^1.0.2",
|
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
"@radix-ui/react-toast": "^1.1.5",
|
|
"@radix-ui/react-icons": "1.3.0",
|
|
"@radix-ui/react-tooltip": "1.0.7",
|
|
"@radix-ui/react-radio-group": "^1.1.3",
|
|
"@radix-ui/react-alert-dialog": "^1.0.5",
|
|
"@radix-ui/react-navigation-menu": "^1.1.4",
|
|
"@radix-ui/react-separator": "^1.0.3",
|
|
"class-variance-authority": "^0.7.0",
|
|
"react-top-loading-bar": "2.3.1",
|
|
"clsx": "^2.1.0",
|
|
"cmdk": "^0.2.0",
|
|
"lucide-react": "0.307.0",
|
|
"sonner": "^1.4.41",
|
|
"tailwind-merge": "^2.2.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@tanstack/react-table": "^8.10.7",
|
|
"react-i18next": "^14.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@kit/eslint-config": "0.2.0",
|
|
"@kit/prettier-config": "0.1.0",
|
|
"@kit/tailwind-config": "0.1.0",
|
|
"@kit/tsconfig": "0.1.0",
|
|
"@tanstack/react-table": "^8.11.3",
|
|
"@types/react": "^18.2.48",
|
|
"@types/react-dom": "^18.2.18",
|
|
"date-fns": "^3.2.0",
|
|
"eslint": "^8.56.0",
|
|
"prettier": "^3.2.4",
|
|
"react": "18.2.0",
|
|
"react-day-picker": "^8.10.0",
|
|
"react-dom": "18.2.0",
|
|
"react-hook-form": "^7.49.2",
|
|
"tailwindcss": "3.4.1",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@kit/eslint-config/base",
|
|
"@kit/eslint-config/react"
|
|
]
|
|
},
|
|
"prettier": "@kit/prettier-config",
|
|
"exports": {
|
|
"./avatar": "./src/shadcn/avatar.tsx",
|
|
"./button": "./src/shadcn/button.tsx",
|
|
"./calendar": "./src/shadcn/calendar.tsx",
|
|
"./card": "./src/shadcn/card.tsx",
|
|
"./checkbox": "./src/shadcn/checkbox.tsx",
|
|
"./command": "./src/shadcn/command.tsx",
|
|
"./data-table": "./src/shadcn/data-table.tsx",
|
|
"./dialog": "./src/shadcn/dialog.tsx",
|
|
"./dropdown-menu": "./src/shadcn/dropdown-menu.tsx",
|
|
"./navigation-menu": "./src/shadcn/navigation-menu.tsx",
|
|
"./form": "./src/shadcn/form.tsx",
|
|
"./icons": "./src/shadcn/icons.tsx",
|
|
"./input": "./src/shadcn/input.tsx",
|
|
"./label": "./src/shadcn/label.tsx",
|
|
"./popover": "./src/shadcn/popover.tsx",
|
|
"./scroll-area": "./src/shadcn/scroll-area.tsx",
|
|
"./select": "./src/shadcn/select.tsx",
|
|
"./sheet": "./src/shadcn/sheet.tsx",
|
|
"./table": "./src/shadcn/table.tsx",
|
|
"./tabs": "./src/shadcn/tabs.tsx",
|
|
"./tooltip": "./src/shadcn/tooltip.tsx",
|
|
"./sonner": "./src/shadcn/sonner.tsx",
|
|
"./heading": "./src/shadcn/heading.tsx",
|
|
"./alert": "./src/shadcn/alert.tsx",
|
|
"./badge": "./src/shadcn/badge.tsx",
|
|
"./radio-group": "./src/shadcn/radio-group.tsx",
|
|
"./separator": "./src/shadcn/separator.tsx",
|
|
"./utils": "./src/utils/index.ts",
|
|
"./if": "./src/makerkit/if.tsx",
|
|
"./trans": "./src/makerkit/trans.tsx",
|
|
"./divider": "./src/makerkit/divider.tsx",
|
|
"./sidebar": "./src/makerkit/sidebar.tsx",
|
|
"./sidebar-schema": "./src/makerkit/sidebar-schema.ts",
|
|
"./spinner": "./src/makerkit/spinner.tsx",
|
|
"./page": "./src/makerkit/page.tsx",
|
|
"./image-uploader": "./src/makerkit/image-uploader.tsx",
|
|
"./global-loader": "./src/makerkit/global-loader.tsx",
|
|
"./error-boundary": "./src/makerkit/error-boundary.tsx",
|
|
"./auth-change-listener": "./src/makerkit/auth-change-listener.tsx",
|
|
"./otp-input": "./src/makerkit/otp-input.tsx",
|
|
"./loading-overlay": "./src/makerkit/loading-overlay.tsx",
|
|
"./profile-avatar": "./src/makerkit/profile-avatar.tsx",
|
|
"./mdx": "./src/makerkit/mdx/mdx-renderer.tsx"
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"src/*"
|
|
]
|
|
}
|
|
}
|
|
}
|