Skip to content

Commit

Permalink
feat: lock @tiptap to 2.0.0-beta.220
Browse files Browse the repository at this point in the history
  • Loading branch information
robertu7 committed Mar 24, 2023
1 parent e184da4 commit dda372e
Show file tree
Hide file tree
Showing 17 changed files with 821 additions and 519 deletions.
1,263 changes: 784 additions & 479 deletions package-lock.json

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@matters/matters-editor",
"version": "0.2.0-alpha.24",
"version": "0.2.0-alpha.25",
"description": "Editor for matters.news",
"author": "https://github.com/thematters",
"homepage": "https://github.com/thematters/matters-editor",
Expand Down Expand Up @@ -32,26 +32,26 @@
"react-dom": ">=17.0.0"
},
"dependencies": {
"@tiptap/core": "^2.0.0-beta.220",
"@tiptap/extension-blockquote": "^2.0.0-beta.220",
"@tiptap/extension-bullet-list": "^2.0.0-beta.220",
"@tiptap/extension-code": "^2.0.0-beta.220",
"@tiptap/extension-code-block": "^2.0.0-beta.220",
"@tiptap/extension-document": "^2.0.0-beta.220",
"@tiptap/extension-gapcursor": "^2.0.0-beta.220",
"@tiptap/extension-hard-break": "^2.0.0-beta.220",
"@tiptap/extension-heading": "^2.0.0-beta.220",
"@tiptap/extension-history": "^2.0.0-beta.220",
"@tiptap/extension-horizontal-rule": "^2.0.0-beta.220",
"@tiptap/extension-list-item": "^2.0.0-beta.220",
"@tiptap/extension-ordered-list": "^2.0.0-beta.220",
"@tiptap/extension-paragraph": "^2.0.0-beta.220",
"@tiptap/extension-placeholder": "^2.0.0-beta.220",
"@tiptap/extension-strike": "^2.0.0-beta.220",
"@tiptap/extension-text": "^2.0.0-beta.220",
"@tiptap/pm": "^2.0.0-beta.220",
"@tiptap/react": "^2.0.0-beta.220",
"@tiptap/suggestion": "^2.0.0-beta.220",
"@tiptap/core": "2.0.0-beta.220",
"@tiptap/extension-blockquote": "2.0.0-beta.220",
"@tiptap/extension-bullet-list": "2.0.0-beta.220",
"@tiptap/extension-code": "2.0.0-beta.220",
"@tiptap/extension-code-block": "2.0.0-beta.220",
"@tiptap/extension-document": "2.0.0-beta.220",
"@tiptap/extension-gapcursor": "2.0.0-beta.220",
"@tiptap/extension-hard-break": "2.0.0-beta.220",
"@tiptap/extension-heading": "2.0.0-beta.220",
"@tiptap/extension-history": "2.0.0-beta.220",
"@tiptap/extension-horizontal-rule": "2.0.0-beta.220",
"@tiptap/extension-list-item": "2.0.0-beta.220",
"@tiptap/extension-ordered-list": "2.0.0-beta.220",
"@tiptap/extension-paragraph": "2.0.0-beta.220",
"@tiptap/extension-placeholder": "2.0.0-beta.220",
"@tiptap/extension-strike": "2.0.0-beta.220",
"@tiptap/extension-text": "2.0.0-beta.220",
"@tiptap/pm": "2.0.0-beta.220",
"@tiptap/react": "2.0.0-beta.220",
"@tiptap/suggestion": "2.0.0-beta.220",
"hast-util-to-html": "^8.0.4",
"linkifyjs": "^4.1.0",
"mdast-util-gfm-strikethrough": "^1.0.3",
Expand All @@ -71,24 +71,24 @@
"remark-rehype": "^10.1.0",
"remark-stringify": "^10.0.2",
"unified": "^10.1.2",
"zeed-dom": "^0.10.3"
"zeed-dom": "^0.10.4"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/fs-extra": "^11.0.1",
"@types/jest": "^29.4.0",
"@types/jest": "^29.5.0",
"@types/natural-compare-lite": "^1.4.0",
"@types/node": "^18.14.2",
"@types/node": "^18.15.6",
"@types/react": "^17.0.53",
"@types/react-dom": "^17.0.19",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"benny": "^3.7.1",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard-with-typescript": "^34.0.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-promise": "^6.1.1",
Expand All @@ -98,14 +98,14 @@
"http-server": "^14.1.1",
"husky": "^8.0.3",
"natural-compare-lite": "^1.4.0",
"prettier": "^2.8.4",
"rollup": "^3.20.0",
"prettier": "^2.8.6",
"rollup": "^3.20.1",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-generate-package-json": "^3.2.0",
"ts-node": "^10.9.1",
"tslib": "^2.5.0",
"typescript": "^4.9.5",
"vitest": "^0.29.1"
"typescript": "^5.0.2",
"vitest": "^0.29.7"
},
"prettier": {
"singleQuote": true,
Expand Down
7 changes: 2 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ import generatePackageJson from 'rollup-plugin-generate-package-json'

const packageJson = require('./package.json')
const sourcemap = false
const external = [
...Object.keys(packageJson.peerDependencies),
// /@tiptap\/*/
]
const external = [...Object.keys(packageJson.peerDependencies), /@tiptap\/*/]
const plugins = [
resolve(),
commonjs(),
typescript({ tsconfig: './tsconfig.json' }),
terser(),
// terser(),
]

export default [
Expand Down
2 changes: 1 addition & 1 deletion src/editors/Article.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { EditorOptions } from '@tiptap/react'
import {
makeArticleEditorExtensions,
MakeArticleEditorExtensionsProps,
} from '../extensions'
} from './extensions'

type UseArticleEditorProps = {
content: string
Expand Down
2 changes: 1 addition & 1 deletion src/editors/Comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { EditorOptions, useEditor } from '@tiptap/react'
import {
makeCommentEditorExtensions,
MakeCommentEditorExtensionsProps,
} from '../extensions'
} from './extensions'

type UseCommentEditorProps = {
content: string
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/transformers/normalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { createHTMLDocument, parseHTML, VHTMLDocument } from 'zeed-dom'
import {
makeArticleEditorExtensions,
makeCommentEditorExtensions,
} from '../extensions'
} from '../editors/extensions'

export const makeNormalizer = (extensions: Extensions) => {
const schema = getSchema(extensions)
Expand Down

0 comments on commit dda372e

Please sign in to comment.