Skip to content

Commit

Permalink
feat: migrate auth to clerk
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Sep 18, 2024
1 parent 2dac90f commit fdfadce
Show file tree
Hide file tree
Showing 44 changed files with 757 additions and 1,239 deletions.
6 changes: 2 additions & 4 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
DATABASE_URL=
supabaseUrl=
supabaseAnonKey=
googleClientIdAndroid=
googleClientIdIOS=
googleClientIdWeb=
expoProjectId=
expoProjectId=
EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY=
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
env:
supabaseUrl: ${{ secrets.supabaseUrl }}
supabaseAnonKey: ${{ secrets.supabaseAnonKey }}
googleClientIdWeb: ${{ secrets.googleClientIdWeb }}
EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ secrets.EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY }}
expoProjectId: ${{ secrets.expoProjectId }}

# Meta tags are not updatable from Expo SDK 49 so add below step
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
env:
supabaseUrl: ${{ secrets.supabaseUrl }}
supabaseAnonKey: ${{ secrets.supabaseAnonKey }}
googleClientIdWeb: ${{ secrets.googleClientIdWeb }}
EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ secrets.EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY }}
expoProjectId: ${{ secrets.expoProjectId }}

# Meta tags are not updatable from Expo SDK 49 so add below step
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@
"Pressable",
"Pretendard",
"svgs"
]
],
"typescript.tsdk": "node_modules/typescript/lib"
}
5 changes: 1 addition & 4 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default ({config}: ConfigContext): ExpoConfig => ({
],
// @ts-ignore
withAndroidLocalizedName,
'expo-secure-store',
'expo-router',
'expo-localization',
[
Expand All @@ -68,7 +69,6 @@ export default ({config}: ConfigContext): ExpoConfig => ({
},
],
'expo-localization',
'@react-native-google-signin/google-signin',
],
experiments: {
typedRoutes: true,
Expand All @@ -81,9 +81,6 @@ export default ({config}: ConfigContext): ExpoConfig => ({
extra: {
supabaseUrl: process.env.supabaseUrl,
supabaseAnonKey: process.env.supabaseAnonKey,
googleClientIdAndroid: process.env.googleClientIdAndroid,
googleClientIdIOS: process.env.googleClientIdIOS,
googleClientIdWeb: process.env.googleClientIdWeb,
eas: {projectId: '1a0107b0-1cef-4913-875f-639c38f59101'},
},
updates: {
Expand Down
10 changes: 0 additions & 10 deletions app/(app)/_layout.tsx

This file was deleted.

Loading

0 comments on commit fdfadce

Please sign in to comment.