From d3b834b79fae752c1db59b29b21fdf2f06f16891 Mon Sep 17 00:00:00 2001 From: Jorge Luis Calleja Alvarado Date: Fri, 20 Sep 2024 14:53:35 -0600 Subject: [PATCH] fix(core): Lint --- package.json | 2 +- src/app/(features)/authjs/manage-subscription.tsx | 10 ++++++++++ src/app/(features)/authjs/page.tsx | 1 - src/libs/payments/stripe/checkout/config.ts | 2 +- tsconfig.json | 3 --- 5 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 src/app/(features)/authjs/manage-subscription.tsx diff --git a/package.json b/package.json index 0342d93..6fd3ad5 100644 --- a/package.json +++ b/package.json @@ -99,5 +99,5 @@ "vite-tsconfig-paths": "5.0.1", "vitest": "2.0.5" }, - "packageManager": "pnpm@9.10.0" + "packageManager": "pnpm@9.11.0" } diff --git a/src/app/(features)/authjs/manage-subscription.tsx b/src/app/(features)/authjs/manage-subscription.tsx new file mode 100644 index 0000000..af2982d --- /dev/null +++ b/src/app/(features)/authjs/manage-subscription.tsx @@ -0,0 +1,10 @@ +import Button from '@design-system/button'; + +export function ManageSubscription() { + return ( +
+

Current Plan: Base

+ +
+ ); +} diff --git a/src/app/(features)/authjs/page.tsx b/src/app/(features)/authjs/page.tsx index a80b88e..4b36b16 100644 --- a/src/app/(features)/authjs/page.tsx +++ b/src/app/(features)/authjs/page.tsx @@ -32,7 +32,6 @@ export default async function AuthjsPage() {

{session?.user?.email}

{formattedDate}

-
diff --git a/src/libs/payments/stripe/checkout/config.ts b/src/libs/payments/stripe/checkout/config.ts index 12f69e5..a716af6 100644 --- a/src/libs/payments/stripe/checkout/config.ts +++ b/src/libs/payments/stripe/checkout/config.ts @@ -1,6 +1,6 @@ import Stripe from 'stripe'; -import pgk from '~/pgk'; +import pgk from '~/pkg'; export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, { // https://github.com/stripe/stripe-node#configuration diff --git a/tsconfig.json b/tsconfig.json index c4af74e..c53462e 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,9 +17,6 @@ "incremental": true, "noUncheckedIndexedAccess": true, "paths": { - "~/env": ["./env.ts"], - "~/app/*": ["./src/app/*"], - "~/api/*": ["./src/app/api/*"], "@design-system/*": ["./src/@design-system/*"], "@/*": ["./src/*"], "#/state/*": ["./src/state/*"],