Skip to content

Commit

Permalink
Fixes lucia installer
Browse files Browse the repository at this point in the history
  • Loading branch information
OllieJT committed Jul 7, 2024
1 parent 70a84da commit 2d8f056
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/spotty-houses-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-sva": patch
---

Fixes lucia installer - missing file
4 changes: 4 additions & 0 deletions cli/src/installers/installer.lucia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ export const lucia_installer: Installer = ({ project_dir, database_solution }) =
const auth_oauth_provider_dest = path.join(auth_dir, "oauth.ts");
fs.copySync(auth_oauth_provider_src, auth_oauth_provider_dest, { overwrite: true });

const auth_oauth_github_src = path.join(template_dir, `lib/oauth.github.ts`);
const auth_oauth_github_dest = path.join(auth_dir, "oauth.github.ts");
fs.copySync(auth_oauth_github_src, auth_oauth_github_dest, { overwrite: true });

const auth_use_oauth_src = path.join(template_dir, `lib/use-oauth.ts`);
const auth_use_oauth_dest = path.join(auth_dir, "use-oauth.ts");
fs.copySync(auth_use_oauth_src, auth_use_oauth_dest, { overwrite: true });
Expand Down

0 comments on commit 2d8f056

Please sign in to comment.