fix: simplify TinaCMS configuration and build process

Co-Authored-By: G <butaeff@gmail.com>
This commit is contained in:
Devin AIandcato committed 2025-02-12 15:31:28 +00:00
1 parent aa59866875
commit 5686bb4384
2 files changed
+2 -7

No files matched your search

+2 -2
View File
@@ -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"
-5
View File
@@ -5,11 +5,6 @@ export default defineConfig({
outputFolder: "admin",
publicFolder: "public",
},
backend: {
name: "git-gateway",
branch: "main",
},
local: true,
schema: {
collections: [
{