diff --git a/.github/workflows/nuxthub.yml b/.github/workflows/nuxthub.yml deleted file mode 100644 index 0215b42..0000000 --- a/.github/workflows/nuxthub.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Deploy to NuxtHub -on: push - -jobs: - deploy: - name: "Deploy to NuxtHub" - runs-on: ubuntu-latest - environment: - name: ${{ github.ref == 'refs/heads/main' && 'production' || 'preview' }} - url: ${{ steps.deploy.outputs.deployment-url }} - permissions: - contents: read - id-token: write - - steps: - - uses: actions/checkout@v4 - - - name: Enable Corepack - run: corepack enable - - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: 'npm' - - - name: Install dependencies - run: npm install - - - name: Ensure NuxtHub module is installed - run: npx nuxthub@latest ensure - - - name: Build application - run: npm run build - - - name: Deploy to NuxtHub - uses: nuxt-hub/action@v1 - id: deploy - with: - project-key: portfolio-s528 diff --git a/bun.lockb b/bun.lockb index b53568a..17918bc 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/nuxt.config.ts b/nuxt.config.ts index 6b9fd34..92ff884 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,4 +1,4 @@ -import { defineNuxtConfig } from 'nuxt/config' +import { defineNuxtConfig } from "nuxt/config" // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ ssr: false, @@ -42,7 +42,15 @@ export default defineNuxtConfig({ }, }, + hub: { + cache: true, + }, + + nitro: { + preset: "cloudflare-pages", + }, + ogImage: { enabled: false }, schemaOrg: { enabled: false }, - compatibilityDate: "2024-09-29", -}) \ No newline at end of file + compatibilityDate: "2025-08-05", +}) diff --git a/package.json b/package.json index 50cd164..41aa91e 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "nuxt-icon": "^0.6.10", "prettier": "3.5.3", "typescript": "5.8.3", - "wrangler": "^4.18.0" + "wrangler": "^4.28.0" }, "version": "0.1.1" }