Skip to content

Commit

Permalink
remove @nuxthub/core
Browse files Browse the repository at this point in the history
  • Loading branch information
chihebnabil committed Nov 10, 2024
1 parent 8fb3021 commit b7fe99a
Show file tree
Hide file tree
Showing 14 changed files with 184 additions and 226 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ logs
.env
.env.*
!.env.example

database.db
2 changes: 0 additions & 2 deletions components/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
</UButton>

<div class="hidden group-hover:flex gap-1">
<UButton :loading="loader" size="xs" color="gray" variant="ghost" icon="i-heroicons-pencil-square"
@click="editThread(thread.id)" />
<UButton :loading="loader" size="xs" color="red" variant="ghost" icon="i-heroicons-trash"
@click="deleteThread(thread.id)" />
</div>
Expand Down
3 changes: 3 additions & 0 deletions drizzle.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ export default {
dialect: "sqlite",
schema: "./server/database/schema.ts",
out: "./server/database/migrations",
dbCredentials: {
url: process.env.DATABASE_URL,
},
} satisfies Config;
6 changes: 2 additions & 4 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
export default defineNuxtConfig({
compatibilityDate: "2024-04-03",
devtools: { enabled: true },
modules: ["@nuxt/ui", "@nuxthub/core"],
modules: ["@nuxt/ui"],
runtimeConfig: {
anthropicKey: process.env.ANTHROPIC_KEY,
},
hub: {
database: true,
databaseUrl: process.env.DATABASE_URL,
},
});
126 changes: 22 additions & 104 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b7fe99a

Please sign in to comment.