Skip to content

Commit 41591e0

Browse files
RedStar071codesmith-bot
authored andcommitted
feat(config): add Nuxt Studio integration and update environment variables
- Added Nuxt Studio module to nuxt.config.ts. - Updated .env.example to include GitHub OAuth credentials for Nuxt Studio. - Added nuxt-studio dependency to package.json and pnpm-lock.yaml, specifying version 1.7.0.
1 parent ae69d61 commit 41591e0

4 files changed

Lines changed: 214 additions & 12 deletions

File tree

.env.example

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,14 @@ NUXT_BETTER_AUTH_SECRET=
2525
# Session cookie name — MUST differ per deployment to prevent cookie bleed across subdomains
2626
# Production (wolfstar.rocks): leave blank (defaults to wolfstar-session)
2727
# Beta/staging (beta.wolfstar.rocks): wolfstar-session-beta
28-
NUXT_SESSION_COOKIE_NAME=
29-
30-
# Secret for generating OG images (generate a secure random string)
28+
NUXT_SESSION_COOKIE_NAME=
29+
30+
# Nuxt Studio GitHub OAuth credentials
31+
# Configure the callback URL as https://your-domain.example/__nuxt_studio/auth/github
32+
NUXT_STUDIO_AUTH_GITHUB_CLIENT_ID=
33+
NUXT_STUDIO_AUTH_GITHUB_CLIENT_SECRET=
34+
35+
# Secret for generating OG images (generate a secure random string)
3136
# You can use: openssl rand -base64 32
3237
NUXT_IMAGE_PROXY_SECRET=
3338
# ===================================

nuxt.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default defineNuxtConfig({
1616
modules: [
1717
"@nuxt/ui",
1818
"@nuxt/content",
19+
"nuxt-studio",
1920
"@nuxt/image",
2021
"@nuxt/hints",
2122
"@nuxt/fonts",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
"nuxt-og-image": "6.5.1",
103103
"nuxt-security": "^2.5.1",
104104
"nuxt-skew-protection": "^1.3.0",
105+
"nuxt-studio": "1.7.0",
105106
"nuxt-vitalizer": "^2.0.0",
106107
"postcss-nested": "^7.0.2",
107108
"simple-git": "^3.32.3",

0 commit comments

Comments
 (0)