From 5686bb4384fdbe60ab0cc1ddfe33cd8f88535e61 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 12 Feb 2025 15:31:28 +0000 Subject: [PATCH] fix: simplify TinaCMS configuration and build process Co-Authored-By: G --- package.json | 4 ++-- tina/config.ts | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index a85c53e..a8518e5 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "version": "1.0.0", "private": true, "scripts": { - "dev": "tinacms dev -c \"next dev\"", - "build": "TINA_PUBLIC_IS_LOCAL=true next build && cp -r netlify/functions . && cp public/_redirects out/ && cp -r public/admin out/", + "dev": "next dev", + "build": "next build && cp -r netlify/functions . && cp public/_redirects out/ && cp -r public/admin out/", "start": "next start", "test": "jest", "test:watch": "jest --watch" diff --git a/tina/config.ts b/tina/config.ts index f59f912..5395500 100644 --- a/tina/config.ts +++ b/tina/config.ts @@ -5,11 +5,6 @@ export default defineConfig({ outputFolder: "admin", publicFolder: "public", }, - backend: { - name: "git-gateway", - branch: "main", - }, - local: true, schema: { collections: [ {