The commit introduces the '@markdoc/markdoc' library to the Keystatic CMS. It modifies related functions and components such as 'KeystaticDocumentRenderer' and 'keystatic-client' to transform and render content using Markdoc. Additionally, the commit refactors 'keystatic.config.ts' file for more legible content field setup and adds related dependencies in the package.
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"name": "@kit/keystatic",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"clean": "git clean -xdf .turbo node_modules",
|
|
"format": "prettier --check \"**/*.{ts,tsx}\"",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"prettier": "@kit/prettier-config",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./admin": "./src/keystatic-admin.tsx",
|
|
"./route-handler": "./src/keystatic-route-handler.ts"
|
|
},
|
|
"dependencies": {
|
|
"@keystatic/core": "0.5.14",
|
|
"@keystatic/next": "5.0.0",
|
|
"@markdoc/markdoc": "^0.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@kit/cms": "workspace:^",
|
|
"@kit/eslint-config": "workspace:*",
|
|
"@kit/prettier-config": "workspace:*",
|
|
"@kit/tsconfig": "workspace:*",
|
|
"@kit/ui": "workspace:^",
|
|
"@types/node": "^20.12.8",
|
|
"@types/react": "^18.3.1",
|
|
"react": "18.3.1",
|
|
"zod": "^3.23.6"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@kit/eslint-config/base",
|
|
"@kit/eslint-config/react"
|
|
]
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"src/*"
|
|
]
|
|
}
|
|
}
|
|
} |