Merge pull request #5209 from payloadcms/feat/next-poc-ci

ci: next-poc updates
This commit is contained in:
Elliot DeNolf
2024-02-29 12:27:26 -05:00
committed by GitHub
38 changed files with 102 additions and 61 deletions

View File

@@ -14,7 +14,7 @@
"build:types": "tsc --emitDeclarationOnly --outDir dist",
"clean": "rimraf {dist,*.tsbuildinfo}",
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
"prepublishOnly": "pnpm clean && pnpm build"
"prepublishOnly": "pnpm clean && pnpm turbo build"
},
"dependencies": {
"@faceless-ui/modal": "2.0.1",

View File

@@ -11,8 +11,6 @@ export const getCommonBlock = (editor: Editor, match?: NodeMatch<Node>): NodeEnt
const [common, path] = Node.common(editor, range.anchor.path, range.focus.path)
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
if (isBlockElement(editor, common) || Editor.isEditor(common)) {
return [common, path]
}