-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(package.json): update devDependencies (#173)
fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): update import paths for db and schema fix(page.tsx): chore(newsletter.tsx): fix id attribute case from 'id='email'' to 'id="email"' chore(root-layout.tsx): change variable declarations to use const instead of let chore(root-layout.tsx): change variable declarations to use const instead of let chore(root-layout.tsx): change variable declarations to use const instead of let chore(root-layout.tsx): change variable declarations to use const instead of let chore(root-layout.tsx): change variable declarations to use const instead of let chore(root-layout.tsx): change variable declarations to use const instead of let chore(root-layout.tsx): change variable declarations to use const instead of let chore(root-layout.tsx): change variable declarations to use const instead of let chore(root-layout.tsx): change variable declarations to use const instead of let chore(root-layout.tsx): change variable declarations to use const instead of let chore(root chore(web): update dependencies in package.json fix(web): update import path for db module in update-stripe-usage.ts fix(web): update import path for db module in webhooks.ts chore(nextjs): update dependencies in package.json chore(root): update devDependencies in package.json chore(db): update dependencies in package.json chore(db): remove unused db.ts file fix(db): update import paths and types in index.ts and types.ts chore(db): remove tsup.config.js file chore(emails): update devDependencies versions chore(id): update devDependencies versions chore(nuxt): update dependencies and devDependencies versions chore(policies): update devDependencies versions chore(sdk): update devDependencies versions chore(bootstrap): update dependencies and devDependencies versions chore(k6): update k6 dependency version chore(migrate): update dependencies and devDependencies versions
- Loading branch information
Showing
54 changed files
with
1,733 additions
and
2,646 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
apps/web/app/(authenticated)/(app)/app/[apiId]/keys/[keyId]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
apps/web/app/(authenticated)/(app)/app/[apiId]/keys/new/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { drizzle } from "drizzle-orm/planetscale-serverless"; | ||
|
||
import { connect } from "@planetscale/database"; | ||
import { schema } from "@unkey/db"; | ||
import { env } from "@/lib/env"; | ||
|
||
export const db = drizzle( | ||
connect({ | ||
host: env.DATABASE_HOST, | ||
username: env.DATABASE_USERNAME, | ||
password: env.DATABASE_PASSWORD, | ||
// rome-ignore lint/suspicious/noExplicitAny: TODO | ||
fetch: (url: string, init: any) => { | ||
// rome-ignore lint/suspicious/noExplicitAny: TODO | ||
(init as any)["cache"] = undefined; // Remove cache header | ||
return fetch(url, init); | ||
}, | ||
}), | ||
{ | ||
schema, | ||
}, | ||
); | ||
export * from "@unkey/db"; | ||
export * from "drizzle-orm"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
7ad7011
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
unkey – ./
unkey.vercel.app
unkey-git-main-unkey.vercel.app
unkey-unkey.vercel.app
www.unkey.dev
unkey.dev