[](https://clerk.com/discord)
@@ -22,89 +21,40 @@
·
[Request a Feature](https://feedback.clerk.com/roadmap)
·
-[Ask a Question](https://github.com/clerk/javascript/discussions)
+[Get help](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_react)
----
-
-## Overview
-
-Clerk is the easiest way to add authentication and user management to your React application. Add sign up, sign in, and profile management to your application in minutes.
-
## Getting Started
+[Clerk](https://clerk.com/?utm_source=github&utm_medium=clerk_react) is the easiest way to add authentication and user management to your React application. Add sign up, sign in, and profile management to your application in minutes.
+
### Prerequisites
-- React v18+
+- React 18 or later
- Node.js `>=18.17.0` or later
+- An existing Clerk application. [Create your account for free](https://dashboard.clerk.com/sign-up?utm_source=github&utm_medium=clerk_react).
### Installation
-```sh
-npm install @clerk/clerk-react
-```
-
-### Build
-
-```sh
-npm run build
-```
-
-To build the package in watch mode, run the following:
+The fastest way to get started with Clerk is by following the [React Quickstart](https://clerk.com/docs/quickstarts/react?utm_source=github&utm_medium=clerk_react).
-```sh
-npm run dev
-```
+You'll learn how to create a new React application, install `@clerk/clerk-react`, set up your environment keys, add ``, and use Clerk's prebuilt components.
## Usage
-Clerk requires your application to be wrapped in the `` context.
-
-If using Vite, set `VITE_CLERK_PUBLISHABLE_KEY` to your Publishable key in your `.env.local` file to make the environment variable accessible on `process.env` and pass it as the `publishableKey` prop.
-
-```jsx
-import { render } from 'react-dom';
-
-import { ClerkProvider, SignedIn, SignedOut, SignInButton, UserButton } from '@clerk/clerk-react';
-
-const publishableKey = process.env.VITE_CLERK_PUBLISHABLE_KEY;
-
-render(
-
-
- ,
- document.getElementById('root'),
-);
-
-function App() {
- return (
- <>
- Hello Clerk!
-
-
-
-
-
-
- >
- );
-}
-```
-
-_For further details and examples, please refer to our [Documentation](https://clerk.com/docs?utm_source=github&utm_medium=clerk_react)._
+For further information, guides, and examples visit the [React reference documentation](https://clerk.com/docs/references/react/overview?utm_source=github&utm_medium=clerk_react).
## Support
You can get in touch with us in any of the following ways:
- Join our official community [Discord server](https://clerk.com/discord)
-- Create a [GitHub Discussion](https://github.com/clerk/javascript/discussions)
-- Contact options listed on [our Support page](https://clerk.com/support?utm_source=github&utm_medium=clerk_react)
+- On [our support page](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_react)
## Contributing
-We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md).
+We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md) and [code of conduct](https://github.com/clerk/javascript/blob/main/docs/CODE_OF_CONDUCT.md).
## Security
diff --git a/packages/remix/README.md b/packages/remix/README.md
index 492b6ab3d8d..7321ce2ef47 100644
--- a/packages/remix/README.md
+++ b/packages/remix/README.md
@@ -6,10 +6,9 @@
+ @clerk/remix
-# @clerk/remix
-
[](https://clerk.com/discord)
@@ -22,114 +21,41 @@
·
[Request a Feature](https://feedback.clerk.com/roadmap)
·
-[Ask a Question](https://github.com/clerk/javascript/discussions)
+[Get help](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_remix)
----
-
-## Overview
-
-Clerk is the easiest way to add authentication and user management to your Remix application. Add sign up, sign in, and profile management to your application in minutes.
-
## Getting Started
+[Clerk](https://clerk.com/?utm_source=github&utm_medium=clerk_remix) is the easiest way to add authentication and user management to your Remix application. Add sign up, sign in, and profile management to your application in minutes.
+
### Prerequisites
- Remix `^2.0.0` or later
- React 18 or later
- Node.js `>=18.17.0` or later
+- An existing Clerk application. [Create your account for free](https://dashboard.clerk.com/sign-up?utm_source=github&utm_medium=clerk_remix).
### Installation
-```sh
-npm install @clerk/remix
-```
-
-### Build
+The fastest way to get started with Clerk is by following the [Remix Quickstart](https://clerk.com/docs/quickstarts/remix?utm_source=github&utm_medium=clerk_remix).
-To build the package locally with the TypeScript compiler, run:
-
-```sh
-npm run build
-```
-
-To build the package in watch mode, run the following:
-
-```sh
-npm run dev
-```
+You'll learn how to install `@clerk/remix`, set up your environment keys, configure `rootAuthLoader` & `ClerkApp`, and protect your pages.
## Usage
-Make sure the following environment variables are set in a `.env` file:
-
-```sh
-CLERK_PUBLISHABLE_KEY=[publishable-key]
-CLERK_SECRET_KEY=[backend-secret-key]
-```
-
-You can get these from the [API Keys](https://dashboard.clerk.com/last-active?path=api-keys) screen in your Clerk dashboard.
-
-To initialize Clerk with your Remix application, you will need to make three modifications to `app/root.jsx`:
-
-1. Export `rootAuthLoader` as `loader`
-1. Wrap the default export with `ClerkApp`
-
-```jsx
-import { rootAuthLoader } from '@clerk/remix/ssr.server';
-import { ClerkApp } from '@clerk/remix';
-
-export const loader = args => rootAuthLoader(args);
-
-function App() {
- return [...];
-}
-
-export default ClerkApp(App);
-```
-
-After those changes are made, you can use Clerk components in your routes.
-
-For example, in `app/routes/index.jsx`:
-
-```jsx
-import { SignedIn, SignedOut, SignInButton, UserButton } from '@clerk/remix';
-
-export default function Index() {
- return (
-
-
Hello Clerk!
-
-
-
-
-
-
-
- );
-}
-```
-
-_For further details and examples, please refer to our [Documentation](https://clerk.com/docs/quickstarts/remix?utm_source=github&utm_medium=clerk_remix)._
+For further information, guides, and examples visit the [Remix reference documentation](https://clerk.com/docs/references/remix/clerk-app?utm_source=github&utm_medium=clerk_remix).
## Support
You can get in touch with us in any of the following ways:
- Join our official community [Discord server](https://clerk.com/discord)
-- Create a [GitHub Discussion](https://github.com/clerk/javascript/discussions)
-- Contact options listed on [our Support page](https://clerk.com/support?utm_source=github&utm_medium=clerk_remix)
+- On [our support page](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_remix)
## Contributing
-We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md).
+We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md) and [code of conduct](https://github.com/clerk/javascript/blob/main/docs/CODE_OF_CONDUCT.md).
## Security
diff --git a/packages/sdk-node/README.md b/packages/sdk-node/README.md
index fe1e015d537..e1fdedb1b9d 100644
--- a/packages/sdk-node/README.md
+++ b/packages/sdk-node/README.md
@@ -6,10 +6,9 @@
+ @clerk/clerk-sdk-node
-# @clerk/clerk-sdk-node
-
[](https://clerk.com/discord)
@@ -22,66 +21,37 @@
·
[Request a Feature](https://feedback.clerk.com/roadmap)
·
-[Ask a Question](https://github.com/clerk/javascript/discussions)
+[Get help](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_sdk_node)
----
-
-## Overview
-
-[Clerk](https://clerk.com?utm_source=github&utm_medium=clerk_sdk_node) is the easiest way to add authentication and user management to your Node.js application. To gain a better understanding of the Clerk Backend API and SDK, refer to
-the Node SDK and Backend API documentation.
+## Getting Started
-## Getting started
+[Clerk](https://clerk.com/?utm_source=github&utm_medium=clerk_sdk_node) is the easiest way to add authentication and user management to your Node.js application. Add sign up, sign in, and profile management to your application in minutes.
### Prerequisites
- Node.js `>=18.17.0` or later
+- An existing Clerk application. [Create your account for free](https://dashboard.clerk.com/sign-up?utm_source=github&utm_medium=clerk_sdk_node).
-## Installation
-
-```sh
-npm install @clerk/clerk-sdk-node
-```
-
-To build the package locally with the TypeScript compiler, run:
+### Installation
-```sh
-npm run build
-```
+The fastest way to get started with Clerk is by following the [Clerk Node.js Quickstart](https://clerk.com/docs/references/nodejs/overview?utm_source=github&utm_medium=clerk_sdk_node).
## Usage
-Retrieve your Backend API key from the [API Keys](https://dashboard.clerk.com/last-active?path=api-keys) screen in your Clerk dashboard and set it as an environment variable in a `.env` file:
-
-```sh
-CLERK_PUBLISHABLE_KEY=pk_*******
-CLERK_SECRET_KEY=sk_******
-```
-
-You will then be able to access all the available methods.
-
-```js
-import 'dotenv/config'; // To read CLERK_SECRET_KEY
-import clerk from '@clerk/clerk-sdk-node';
-
-const { data: userList } = await clerk.users.getUserList();
-```
-
-_For further details and examples, please refer to our [Documentation](https://clerk.com/docs/reference/node/getting-started?utm_source=github&utm_medium=clerk_sdk_node)._
+You can use all [available methods](https://clerk.com/docs/references/nodejs/available-methods?utm_source=github&utm_medium=clerk_sdk_node) from the Backend SDK.
## Support
You can get in touch with us in any of the following ways:
- Join our official community [Discord server](https://clerk.com/discord)
-- Create a [GitHub Discussion](https://github.com/clerk/javascript/discussions)
-- Contact options listed on [our Support page](https://clerk.com/support?utm_source=github&utm_medium=clerk_sdk_node)
+- On [our support page](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_sdk_node)
## Contributing
-We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md).
+We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md) and [code of conduct](https://github.com/clerk/javascript/blob/main/docs/CODE_OF_CONDUCT.md).
## Security
diff --git a/packages/tanstack-start/README.md b/packages/tanstack-start/README.md
index e0cf63f553c..0b1fa24ca7e 100644
--- a/packages/tanstack-start/README.md
+++ b/packages/tanstack-start/README.md
@@ -6,39 +6,38 @@
+ @clerk/tanstack-start
-# @clerk/tanstack-start
-
[](https://clerk.com/discord)
[](https://clerk.com/docs?utm_source=github&utm_medium=clerk_tanstack_start)
[](https://twitter.com/intent/follow?screen_name=ClerkDev)
-[Changelog](https://github.com/clerk/javascript/blob/main/packages/nextjs/CHANGELOG.md)
+[Changelog](https://github.com/clerk/javascript/blob/main/packages/tanstack-start/CHANGELOG.md)
·
[Report a Bug](https://github.com/clerk/javascript/issues/new?assignees=&labels=needs-triage&projects=&template=BUG_REPORT.yml)
·
[Request a Feature](https://feedback.clerk.com/roadmap)
·
-[Ask a Question](https://github.com/clerk/javascript/discussions)
+[Get help](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_tanstack_start)
----
-
-## Overview
+## Getting Started
-Clerk is the easiest way to add authentication and user management to your TanStack Start application. Add sign up, sign in,
-and profile management to your application in minutes.
+[Clerk](https://clerk.com/?utm_source=github&utm_medium=clerk_tanstack_start) is the easiest way to add authentication and user management to your Tanstack Start application. Add sign up, sign in, and profile management to your application in minutes.
-## Getting Started
+> [!WARNING] > `@clerk/tanstack-start` is currently in beta. It's not recommended to use it in production just yet, but it would be much appreciated if you give it a try.
### Prerequisites
+- Tanstack Start `^1.49.1` or later
+- Tanstack Router `^1.49.1` or later
- React 18 or later
- Node.js `>=18.17.0` or later
+- An existing Clerk application. [Create your account for free](https://dashboard.clerk.com/sign-up?utm_source=github&utm_medium=clerk_tanstack_start).
### Installation
@@ -46,34 +45,18 @@ and profile management to your application in minutes.
npm install @clerk/tanstack-start
```
-### Build
-
-To build the package locally with the TypeScript compiler, run:
-
-```sh
-npm run build
-```
-
-To build the package in watch mode, run the following:
-
-```sh
-npm run dev
-```
-
## Usage
Make sure the following environment variables are set in a `.env` file:
```sh
-CLERK_PUBLISHABLE_KEY=[publishable-key]
-CLERK_SECRET_KEY=[backend-secret-key]
+CLERK_PUBLISHABLE_KEY=pk_test_xxx
+CLERK_SECRET_KEY=sk_test_xxx
```
You can get these from the [API Keys](https://dashboard.clerk.com/last-active?path=api-keys) screen in your Clerk dashboard.
-To initialize Clerk with your TanStack Start application, you will need to make one modification to `app/routes/_root.tsx`:
-
-- Wrap the children of the `RootComponent` with ``
+To initialize Clerk with your TanStack Start application, you will need to make one modification to `app/routes/_root.tsx`. Wrap the children of the `RootComponent` with ``
```tsx
import { ClerkProvider } from '@clerk/tanstack-start'
@@ -180,26 +163,22 @@ function Home() {
You can get in touch with us in any of the following ways:
- Join our official community [Discord server](https://clerk.com/discord)
-- Create a [GitHub Discussion](https://github.com/clerk/javascript/discussions)
-- Contact options listed on [our Support page](https://clerk.com/support?utm_source=github&utm_medium=clerk_tanstack_start)
+- On [our support page](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_tanstack_start)
## Contributing
-We're open to all community contributions! If you'd like to contribute in any way, please
-read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md))
-.
+We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md) and [code of conduct](https://github.com/clerk/javascript/blob/main/docs/CODE_OF_CONDUCT.md).
## Security
-`@clerk/nextjs` follows good practices of security, but 100% security cannot be assured.
+`@clerk/tanstack-start` follows good practices of security, but 100% security cannot be assured.
-`@clerk/nextjs` is provided **"as is"** without any **warranty**. Use at your own risk.
+`@clerk/tanstack-start` is provided **"as is"** without any **warranty**. Use at your own risk.
-_For more information and to report security issues, please refer to
-our [security documentation](https://github.com/clerk/javascript/blob/main/docs/SECURITY.md)._
+_For more information and to report security issues, please refer to our [security documentation](https://github.com/clerk/javascript/blob/main/docs/SECURITY.md)._
## License
This project is licensed under the **MIT license**.
-See [LICENSE](https://github.com/clerk/javascript/blob/main/packages/nextjs/LICENSE) for more information.
+See [LICENSE](https://github.com/clerk/javascript/blob/main/packages/tanstack-start/LICENSE) for more information.
diff --git a/packages/testing/README.md b/packages/testing/README.md
index c6b0588bec1..c0741cd9769 100644
--- a/packages/testing/README.md
+++ b/packages/testing/README.md
@@ -5,11 +5,10 @@
-
+
+ @clerk/testing
-# @clerk/testing
-
[](https://clerk.com/discord)
@@ -22,13 +21,11 @@
·
[Request a Feature](https://feedback.clerk.com/roadmap)
·
-[Ask a Question](https://github.com/clerk/javascript/discussions)
+[Get help](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_testing)
----
-
-## Overview
+## Getting started
This package provides utilities for testing Clerk applications.
@@ -37,8 +34,6 @@ It currently supports the following testing frameworks:
- [Playwright](https://playwright.dev/), a Node.js library to automate browsers and web pages.
- [Cypress](https://www.cypress.io/), a JavaScript-based end-to-end testing framework.
-## Getting started
-
### Prerequisites
- Node.js `>=18.17.0` or later
@@ -52,189 +47,21 @@ npm install @clerk/testing --save-dev
## Usage
-### Playwright
-
-Firstly, add your Clerk keys (`CLERK_PUBLISHABLE_KEY` and `CLERK_SECRET_KEY`) to your environment variables file (e.g. `.env.local` or `.env.`).
-You can find these keys in your Clerk Dashboard.
-
-All Playwright related utilities are exported from `@clerk/testing/playwright`. Make sure that your import paths are correct!
-
-In your global setup file for Playwright, you must use the `clerkSetup` function to set up Clerk for your tests.
-
-```typescript
-// global-setup.ts
-import { clerkSetup } from '@clerk/testing/playwright';
-import { test as setup } from '@playwright/test';
-
-setup('global setup', async ({ }) => {
- await clerkSetup();
- ...
-});
-```
-
-Then, you can use the `setupClerkTestingToken` function to bypass bot protection in your tests.
-
-```typescript
-// my-test.spec.ts
-import { setupClerkTestingToken } from "@clerk/testing/playwright";
-import { test } from "@playwright/test";
-
-test("sign up", async ({ page }) => {
- await setupClerkTestingToken({ page });
-
- await page.goto("/sign-up");
- ...
-});
-```
-
-### Cypress
-
-⚠️ **Please note:** Its intended usage is for **end-to-end** testing only. This package does not support unit testing with Cypress.
-
-Firstly, add your Clerk keys (`CLERK_PUBLISHABLE_KEY` and `CLERK_SECRET_KEY`) to your environment variables file (e.g. `.env.local` or `.env.`).
-You can find these keys in your Clerk Dashboard.
-
-All Cypress related utilities are exported from `@clerk/testing/cypress`. Make sure that your import paths are correct!
-
-In your `cypress.config.ts`, you must use the `clerkSetup` function to set up Clerk for your tests.
-Keep in mind that you must pass the Cypress `config` object to the `clerkSetup` function and also return the new config object from the `setupNodeEvents` function.
-
-```typescript
-// cypress.config.ts
-import { clerkSetup } from '@clerk/testing/cypress';
-import { defineConfig } from 'cypress';
-
-export default defineConfig({
- e2e: {
- setupNodeEvents(on, config) {
- return clerkSetup({ config });
- },
- baseUrl: 'http://localhost:3000', // your app's URL
- },
-});
-```
-
-Then, you can use the `setupClerkTestingToken` function to bypass bot protection in your tests.
-
-```typescript
-// cypress/e2e/app.cy.ts
-import { setupClerkTestingToken } from "@clerk/testing/cypress";
-
-it("sign up", () => {
- setupClerkTestingToken();
-
- cy.visit('/sign-up');
- ...
-});
-```
-
-## Cypress Custom commands
-
-This package also provides custom commands to sign in/sign out with Clerk in your Cypress tests without having to interact with the UI.
-To use these commands, you must import them in your `cypress/support/commands.ts` file.
-
-```ts
-// cypress/support/commands.ts
-///
-import { addClerkCommands } from '@clerk/testing/cypress';
-addClerkCommands({ Cypress, cy });
+Learn how to use `@clerk/testing` with different frameworks:
-export {};
-```
-
-### `cy.clerkSignIn`
-
-The `cy.clerkSignIn` command is used to sign in a user using Clerk. This custom command supports only the following first factor strategies:
-
-- Password
-- Phone code
-- Email code
-
-**Note:** Multi-factor authentication is not supported.
-
-This helper internally uses the `setupClerkTestingToken`, so you don't need to call it separately.
-
-**Prerequisites**
-
-- You must call `cy.visit` before calling this command.
-- Navigate to a non-protected page that loads Clerk before using this command.
-
-**Parameters**
-
-- `signInParams`: The sign-in object.
- - `strategy`: The sign-in strategy. Supported strategies are `'password'`, `'phone_code'`, and `'email_code'`.
- - `identifier`: The user's identifier. This could be a username, a phone number, or an email.
- - `password`: The user's password. This is required only if the strategy is `'password'`.
-
-**Strategy Specifics**
-
-- **Password:** The command will sign in the user using the provided password and identifier.
-- **Phone Code:** You must have a user with a test phone number as an identifier (e.g., `+15555550100`).
-- **Email Code:** You must have a user with a test email as an identifier (e.g., `your_email+clerk_test@example.com`).
-
-**Example**
-
-```ts
-it('sign in', () => {
- cy.visit(`/`);
- cy.clerkSignIn({ strategy: 'phone_code', identifier: '+15555550100' });
- cy.visit('/protected');
-});
-```
-
-### `cy.clerkSignOut`
-
-The `cy.clerkSignOut` command is used to sign out the current user using Clerk.
-
-**Prerequisites**
-
-- You must call `cy.visit` before calling this command.
-- Navigate to a page that loads Clerk before using this command.
-
-**Parameters**
-
-- `signOutOptions`: A `SignOutOptions` object.
-
-**Example**
-
-```ts
-it('sign out', () => {
- cy.visit(`/`);
- cy.clerkSignIn({ strategy: 'phone_code', identifier: '+15555550100' });
- cy.visit('/protected');
- cy.clerkSignOut();
-});
-```
-
-### `cy.clerkLoaded`
-
-The `cy.clerkLoaded` command asserts that Clerk has been loaded.
-
-**Prerequisites**
-
-- You must call `cy.visit` before calling this command.
-- Navigate to a page that loads Clerk before using this command.
-
-**Example**
-
-```ts
-it('check Clerk loaded', () => {
- cy.visit(`/`);
- cy.clerkLoaded();
-});
-```
+- [Testing with Playwright](https://clerk.com/docs/testing/playwright?utm_source=github&utm_medium=clerk_testing)
+- [Testing with Cypress](https://clerk.com/docs/testing/cypress?utm_source=github&utm_medium=clerk_testing)
## Support
You can get in touch with us in any of the following ways:
- Join our official community [Discord server](https://clerk.com/discord)
-- Create a [GitHub Discussion](https://github.com/clerk/javascript/discussions)
-- Contact options listed on [our Support page](https://clerk.com/support?utm_source=github&utm_medium=clerk_testing)
+- On [our support page](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_testing)
## Contributing
-We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md).
+We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md) and [code of conduct](https://github.com/clerk/javascript/blob/main/docs/CODE_OF_CONDUCT.md).
## Security
diff --git a/packages/themes/README.md b/packages/themes/README.md
index 9dc2fca65fc..80efdbda980 100644
--- a/packages/themes/README.md
+++ b/packages/themes/README.md
@@ -6,10 +6,9 @@
+ @clerk/themes
-# @clerk/themes
-
[](https://clerk.com/discord)
@@ -22,45 +21,40 @@
·
[Request a Feature](https://feedback.clerk.com/roadmap)
·
-[Ask a Question](https://github.com/clerk/javascript/discussions)
+[Get help](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_themes)
----
-
-## Overview
+## Getting Started
-Clerk is the easiest way to add authentication and user management to your themes application. Add sign up, sign in, and profile management to your React Native application in minutes.
+[Clerk](https://clerk.com/?utm_source=github&utm_medium=clerk_themes) is the easiest way to add authentication and user management to your application. Add sign up, sign in, and profile management to your application in minutes.
-## Getting Started
+You can customize the appearance of Clerk components by using the [appearance prop](https://clerk.com/docs/customization/overview?utm_source=github&utm_medium=clerk_themes). `@clerk/themes` offers prebuilt themes.
### Prerequisites
-TODO
+- An existing Clerk application. [Create your account for free](https://dashboard.clerk.com/sign-up?utm_source=github&utm_medium=clerk_themes).
### Installation
-TODO
-
-### Build
-
-TODO
+```shell
+npm install @clerk/themes
+```
## Usage
-TODO
+Learn how to [apply custom themes](https://clerk.com/docs/customization/themes#usage?utm_source=github&utm_medium=clerk_themes) in the reference documentation.
## Support
You can get in touch with us in any of the following ways:
- Join our official community [Discord server](https://clerk.com/discord)
-- Create a [GitHub Discussion](https://github.com/clerk/javascript/discussions)
-- Contact options listed on [our Support page](https://clerk.com/support?utm_source=github&utm_medium=clerk_themes)
+- On [our support page](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_themes)
## Contributing
-We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md).
+We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md) and [code of conduct](https://github.com/clerk/javascript/blob/main/docs/CODE_OF_CONDUCT.md).
## Security
diff --git a/packages/types/README.md b/packages/types/README.md
index 38a690e7f21..6e712b40bb1 100644
--- a/packages/types/README.md
+++ b/packages/types/README.md
@@ -6,10 +6,9 @@
+ @clerk/types
-# @clerk/types
-
[](https://clerk.com/discord)
@@ -22,41 +21,28 @@
·
[Request a Feature](https://feedback.clerk.com/roadmap)
·
-[Ask a Question](https://github.com/clerk/javascript/discussions)
+[Get help](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_types)
---
-## Overview
-
-This package provides the TypeScript type declarations for Clerk libraries.
-
## Getting Started
-It is worth noting that Clerk packages automatically include their type declarations when installed so adding this package manually is not typically necessary.
-
-### Installation
-
-```sh
-npm install --save-dev @clerk/types
-```
-
-### Build
+This package provides the TypeScript type declarations for Clerk's SDKs.
-```sh
-npm run build
-```
+> [!NOTE]
+> Clerk's SDKs automatically include their own type definitions so typically it's not necessary to install `@clerk/types` separately.
-To build types in watch mode, run the following:
+### Installation
```sh
-npm run dev
+npm install @clerk/types --save-dev
```
## Usage
-Example implementation:
+Import types from `@clerk/types` like so:
```ts
import type { OAuthStrategy } from '@clerk/types';
@@ -68,19 +54,18 @@ export type OAuthProps = {
};
```
-_For further details and examples, please refer to our [Documentation](https://clerk.com/docs?utm_source=github&utm_medium=clerk_types)._
+You can also [override Clerk interfaces with custom types](https://clerk.com/docs/guides/custom-types?utm_source=github&utm_medium=clerk_types).
## Support
You can get in touch with us in any of the following ways:
- Join our official community [Discord server](https://clerk.com/discord)
-- Create a [GitHub Discussion](https://github.com/clerk/javascript/discussions)
-- Contact options listed on [our Support page](https://clerk.com/support?utm_source=github&utm_medium=clerk_types)
+- On [our support page](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_types)
## Contributing
-We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md).
+We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md) and [code of conduct](https://github.com/clerk/javascript/blob/main/docs/CODE_OF_CONDUCT.md).
## Security
diff --git a/packages/upgrade/README.md b/packages/upgrade/README.md
index 23df9f0b989..4ad77099c75 100644
--- a/packages/upgrade/README.md
+++ b/packages/upgrade/README.md
@@ -6,10 +6,9 @@
+ @clerk/upgrade
-# @clerk/upgrade
-
[](https://clerk.com/discord)
@@ -22,29 +21,29 @@
·
[Request a Feature](https://feedback.clerk.com/roadmap)
·
-[Ask a Question](https://github.com/clerk/javascript/discussions)
+[Get help](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_upgrade)
----
-
-## Overview
+## Getting Started
A tool that helps with upgrading major versions of Clerk's SDKs.
-## Getting Started
-
### Prerequisites
- Node.js `>=18.17.0` or later
-### Usage
+## Usage
+
+Navigate to the application you want to upgrade and run the following in your terminal:
```sh
npx @clerk/upgrade
```
-## Caveats
+Fill out the questionnaire and the CLI will show you the required changes.
+
+### Caveats
This tool uses regular expressions to scan for patterns that match breaking changes. This makes it run substantially faster and makes it more accessible for us at Clerk to author matchers for each breaking change, however it means that _we cannot gurarantee 100% accuracy of the results_. As such, it's important to treat this as a tool that can help you to complete your major version upgrades, rather than an automatic fix to all issues.
@@ -65,12 +64,11 @@ Overall, there's a very good chance that this tool catches everything, but it's
You can get in touch with us in any of the following ways:
- Join our official community [Discord server](https://clerk.com/discord)
-- Create a [GitHub Discussion](https://github.com/clerk/javascript/discussions)
-- Contact options listed on [our Support page](https://clerk.com/support?utm_source=github&utm_medium=clerk_upgrade)
+- On [our support page](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_upgrade)
## Contributing
-We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md).
+We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md) and [code of conduct](https://github.com/clerk/javascript/blob/main/docs/CODE_OF_CONDUCT.md).
## Security