**BREAKING CHANGE:** This bumps the **minimum required Next.js** version from 15.0.0 to 15.2.3. This update is necessary due to a critical security vulnerability found in earlier Next.js versions, which requires an exception to our standard semantic versioning process. Additionally, this bumps all templates to the latest Next.js and Payload versions.
100 lines
2.9 KiB
JSON
100 lines
2.9 KiB
JSON
{
|
|
"name": "@payloadcms/richtext-slate",
|
|
"version": "3.29.0",
|
|
"description": "The officially supported Slate richtext adapter for Payload",
|
|
"homepage": "https://payloadcms.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/payloadcms/payload.git",
|
|
"directory": "packages/richtext-slate"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Payload <dev@payloadcms.com> (https://payloadcms.com)",
|
|
"maintainers": [
|
|
{
|
|
"name": "Payload",
|
|
"email": "info@payloadcms.com",
|
|
"url": "https://payloadcms.com"
|
|
}
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./src/index.tsx",
|
|
"types": "./src/index.tsx",
|
|
"default": "./src/index.tsx"
|
|
},
|
|
"./client": {
|
|
"import": "./src/exports/client/index.ts",
|
|
"types": "./src/exports/client/index.ts",
|
|
"default": "./src/exports/client/index.ts"
|
|
},
|
|
"./rsc": {
|
|
"import": "./src/exports/server/rsc.ts",
|
|
"types": "./src/exports/server/rsc.ts",
|
|
"default": "./src/exports/server/rsc.ts"
|
|
}
|
|
},
|
|
"main": "./src/index.tsx",
|
|
"types": "./src/index.tsx",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "pnpm copyfiles && pnpm build:types && pnpm build:swc",
|
|
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
|
|
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
"clean": "rimraf -g {dist,*.tsbuildinfo}",
|
|
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"prepublishOnly": "pnpm clean && pnpm turbo build"
|
|
},
|
|
"dependencies": {
|
|
"@payloadcms/translations": "workspace:*",
|
|
"@payloadcms/ui": "workspace:*",
|
|
"is-hotkey": "0.2.0",
|
|
"slate": "0.91.4",
|
|
"slate-history": "0.86.0",
|
|
"slate-hyperscript": "0.81.3",
|
|
"slate-react": "0.92.0"
|
|
},
|
|
"devDependencies": {
|
|
"@payloadcms/eslint-config": "workspace:*",
|
|
"@types/is-hotkey": "^0.1.10",
|
|
"@types/node": "22.5.4",
|
|
"@types/react": "19.0.12",
|
|
"@types/react-dom": "19.0.4",
|
|
"payload": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"payload": "workspace:*",
|
|
"react": "^19.0.0 || ^19.0.0-rc-65a56d0e-20241020"
|
|
},
|
|
"engines": {
|
|
"node": "^18.20.2 || >=20.9.0"
|
|
},
|
|
"publishConfig": {
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./rsc": {
|
|
"import": "./dist/exports/server/rsc.js",
|
|
"types": "./dist/exports/server/rsc.d.ts",
|
|
"default": "./dist/exports/server/rsc.js"
|
|
},
|
|
"./client": {
|
|
"import": "./dist/exports/client/index.js",
|
|
"types": "./dist/exports/client/index.d.ts",
|
|
"default": "./dist/exports/client/index.js"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"registry": "https://registry.npmjs.org/",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
}
|