Emdash source with visual editor image upload fix
Fixes: 1. media.ts: wrap placeholder generation in try-catch 2. toolbar.ts: check r.ok, display error message in popover
This commit is contained in:
53
packages/gutenberg-to-portable-text/package.json
Normal file
53
packages/gutenberg-to-portable-text/package.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"name": "@emdash-cms/gutenberg-to-portable-text",
|
||||
"version": "0.9.0",
|
||||
"description": "Convert WordPress Gutenberg blocks to Portable Text",
|
||||
"type": "module",
|
||||
"main": "dist/index.mjs",
|
||||
"types": "dist/index.d.mts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.mts",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsdown src/index.ts --format esm --dts --clean",
|
||||
"dev": "tsdown src/index.ts --format esm --dts --watch",
|
||||
"test": "vitest",
|
||||
"prepublishOnly": "node --run build",
|
||||
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm",
|
||||
"typecheck": "tsgo --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@wordpress/block-serialization-default-parser": "^5.13.0",
|
||||
"parse5": "^7.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@arethetypeswrong/cli": "catalog:",
|
||||
"publint": "catalog:",
|
||||
"tsdown": "catalog:",
|
||||
"typescript": "catalog:",
|
||||
"vitest": "catalog:"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/emdash-cms/emdash.git",
|
||||
"directory": "packages/gutenberg-to-portable-text"
|
||||
},
|
||||
"homepage": "https://github.com/emdash-cms/emdash",
|
||||
"keywords": [
|
||||
"wordpress",
|
||||
"gutenberg",
|
||||
"portable-text",
|
||||
"migration",
|
||||
"blocks"
|
||||
],
|
||||
"author": "Matt Kane",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {},
|
||||
"optionalDependencies": {}
|
||||
}
|
||||
Reference in New Issue
Block a user