diff --git a/.gitignore b/.gitignore index 5f649c1..8780e2b 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ test-results # vite-plus .vite-hooks + +packages/web/.data \ No newline at end of file diff --git a/README.md b/README.md index b352ea2..69fa359 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ You can now directly visit `http://localhost:3000//` ### Preset repo -By default, in local development, we'll also index `nuxt/nuxt` and `nitrojs/nitro` so you don't have to register the GitHub app on any repository in order to see and play around with the cluster algorithm. +By default, in local development, we'll also index `nuxt/module-builder` and `nuxt/cli` so you don't have to register the GitHub app on any repository in order to see and play around with the cluster algorithm. If you want to customise this, you can configure the `DEV_REPOS_TO_INDEX` environment variable. diff --git a/packages/web/.env.example b/packages/web/.env.example index dfd9d70..5656caa 100644 --- a/packages/web/.env.example +++ b/packages/web/.env.example @@ -1,4 +1,11 @@ NUXT_WEBHOOK_GITHUB_SECRET_KEY= NUXT_GITHUB_APP_ID= NUXT_GITHUB_PRIVATE_KEY= +NUXT_OAUTH_GITHUB_CLIENT_ID= +NUXT_OAUTH_GITHUB_CLIENT_SECRET= +NUXT_SESSION_PASSWORD= DEV_REPOS_TO_INDEX= + +# Cloudflare AI REST API (for local dev without Workers bindings) +NUXT_CLOUDFLARE_ACCOUNT_ID= +NUXT_CLOUDFLARE_API_TOKEN= diff --git a/packages/web/app/app.vue b/packages/web/app/app.vue index 5ea5113..22759f2 100644 --- a/packages/web/app/app.vue +++ b/packages/web/app/app.vue @@ -18,13 +18,14 @@ if (import.meta.server) { } const { data: repos } = useRepos() +const { user, clear } = useUserSession()