Repository navigation
feat(migrate): make clerk migrate generally available #594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: migrate/telemetry
Are you sure you want to change the base?
Changes from all commits
5251e71
b30ddc0
d2608a5
a47634c
5aae9a9
ddc5792
fce1f12
e22c6a2
370ed23
52c2c1a
17d3667
ae51184
d72b59b
176b6a7
1ade536
527d70d
10fc7e7
d4e5bc5
a9ae69b
8572283
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| "clerk": minor | ||
| --- | ||
|
|
||
| Make `clerk migrate` available without `CLERK_EXPERIMENTAL=migrate`: it now shows in `clerk --help` and shell completion. | ||
|
|
||
| - `clerk migrate export` gets users out of Clerk, Supabase, Firebase, Auth0, WorkOS, Better Auth, or Auth.js into a run, and `clerk migrate import` checks every user against your instance, asks before it writes, and continues a run that stopped partway. | ||
| - `clerk migrate runs` shows what each run did, `clerk migrate undo` deletes the users an import created, and `clerk migrate sources` shows what each source brings across. `--source ./my-source.ts` imports with a source you wrote. | ||
| - Firebase phones import verified, because Firebase has no phone-verified field. `clerk migrate sources firebase` and the README say so. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,32 +27,32 @@ const AUTH_LIBRARY_SCANS: AuthLibraryScan[] = [ | |
| { | ||
| packages: ["next-auth"], | ||
| name: "NextAuth / Auth.js", | ||
| docsUrl: "https://clerk.com/docs/migrations/nextauth", | ||
| docsUrl: "https://clerk.com/docs/guides/development/migrating/authjs", | ||
| }, | ||
| { | ||
| packages: ["@auth0/nextjs-auth0", "auth0"], | ||
| name: "Auth0", | ||
| docsUrl: "https://clerk.com/docs/migrations/auth0", | ||
| docsUrl: "https://clerk.com/docs/guides/development/migrating/auth0", | ||
| }, | ||
| { | ||
| packages: ["@supabase/ssr", "@supabase/auth-helpers-nextjs"], | ||
| name: "Supabase Auth", | ||
| docsUrl: "https://clerk.com/docs/migrations/supabase", | ||
| docsUrl: "https://clerk.com/docs/guides/development/migrating/supabase", | ||
| }, | ||
| { | ||
| packages: ["firebase"], | ||
| name: "Firebase", | ||
| docsUrl: "https://clerk.com/docs/migrations/firebase", | ||
| docsUrl: "https://clerk.com/docs/guides/development/migrating/firebase", | ||
| }, | ||
| { | ||
| packages: ["passport"], | ||
| name: "Passport.js", | ||
| docsUrl: "https://clerk.com/docs/migrations/overview", | ||
| docsUrl: "https://clerk.com/docs/guides/development/migrating/custom-source", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Already done in 08d4197, which hadn't been pushed when you reviewed. |
||
| }, | ||
| { | ||
| packages: ["better-auth"], | ||
| name: "Better Auth", | ||
| docsUrl: "https://clerk.com/docs/migrations/overview", | ||
| docsUrl: "https://clerk.com/docs/guides/development/migrating/better-auth", | ||
| }, | ||
| { | ||
| // AuthKit only: `@workos-inc/node` also serves SSO, Directory Sync and | ||
|
|
@@ -65,12 +65,12 @@ const AUTH_LIBRARY_SCANS: AuthLibraryScan[] = [ | |
| "@workos-inc/authkit-js", | ||
| ], | ||
| name: "WorkOS", | ||
| docsUrl: "https://clerk.com/docs/guides/development/migrating/overview", | ||
| docsUrl: "https://clerk.com/docs/guides/development/migrating/workos", | ||
| }, | ||
| { | ||
| packages: ["@kinde-oss/kinde-auth-nextjs"], | ||
| name: "Kinde", | ||
| docsUrl: "https://clerk.com/docs/migrations/overview", | ||
| docsUrl: "https://clerk.com/docs/guides/development/migrating/custom-source", | ||
| }, | ||
| ]; | ||
|
|
||
|
|
@@ -129,7 +129,7 @@ const CODE_SCANS: CodeScan[] = [ | |
| // out. The `sso` and `directorySync` modules alone hold no users. | ||
| pattern: "\\bworkos\\.userManagement\\b", | ||
| message: "WorkOS User Management still in use", | ||
| docsUrl: "https://clerk.com/docs/guides/development/migrating/overview", | ||
| docsUrl: "https://clerk.com/docs/guides/development/migrating/workos", | ||
| }, | ||
| { | ||
| pattern: "getServerSession\\s*\\(", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.