Initial Commit

This commit is contained in:
2025-11-12 11:51:12 +01:00
parent 4e1ca3fb74
commit b18d8d6477
11 changed files with 7070 additions and 5946 deletions

8
keystatic.config.ts Normal file
View File

@@ -0,0 +1,8 @@
import { config } from '@keystatic/core';
export default config({
storage: {
kind: 'local',
},
collections: {}
})

5939
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,16 +9,19 @@
"lint": "eslint"
},
"dependencies": {
"@keystatic/core": "^0.5.48",
"@keystatic/next": "^5.0.4",
"@markdoc/markdoc": "^0.5.4",
"next": "16.0.1",
"react": "19.2.0",
"react-dom": "19.2.0",
"next": "16.0.1"
"react-dom": "19.2.0"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "16.0.1"
"eslint-config-next": "16.0.1",
"typescript": "^5"
}
}

7019
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
export default function Page() {
return null;
}

View File

@@ -0,0 +1,6 @@
import { makeRouteHandler } from "@keystatic/next/route-handler";
import { config } from '~/keystatic.config'
export const { POST, GET } = makeRouteHandler({
config
});

View File

@@ -0,0 +1,6 @@
"use client";
import { makePage } from "@keystatic/next/ui/app";
import config from "~/keystatic.config"
export default makePage(config);

View File

@@ -0,0 +1,7 @@
import KeystaticApp from "./keystatic";
export default function Layout() {
return (
<KeystaticApp />
);
}

View File

@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@@ -19,7 +23,12 @@
}
],
"paths": {
"@/*": ["./src/*"]
"@/*": [
"./src/*"
],
"~/*": [
"./*"
]
}
},
"include": [
@@ -30,5 +39,7 @@
".next/dev/types/**/*.ts",
"**/*.mts"
],
"exclude": ["node_modules"]
"exclude": [
"node_modules"
]
}