mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 14:59:27 +08:00
chore: update package versions for prosemirror
This commit is contained in:
parent
1c9e2f6417
commit
045d9871f1
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16]
|
||||
node-version: [20]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.4
|
||||
@ -66,7 +66,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16]
|
||||
node-version: [20]
|
||||
test-spec:
|
||||
- { name: "Integration", spec: "./tests/cypress/integration/**/*.spec.{js,ts}" }
|
||||
#- { name: "Demos/Commands", spec: "./demos/src/Commands/**/*.spec.{js,ts}" }
|
||||
@ -131,7 +131,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16]
|
||||
node-version: [20]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.4
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
- uses: actions/checkout@v4.1.4
|
||||
- uses: actions/setup-node@v4.0.0
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: npm ci
|
||||
- run: npm run publish
|
||||
|
2
demos/package-lock.json
generated
2
demos/package-lock.json
generated
@ -37,7 +37,7 @@
|
||||
"sass": "^1.49.7",
|
||||
"svelte": "^3.49.0",
|
||||
"tailwindcss": "^3.3.2",
|
||||
"typescript": "4.7.4",
|
||||
"typescript": "^5.4.5",
|
||||
"uuid": "^8.3.2",
|
||||
"vite": "^2.9.18",
|
||||
"vite-plugin-checker": "^0.3.4",
|
||||
|
@ -2,6 +2,7 @@
|
||||
"name": "tiptap-demos",
|
||||
"version": "2.4.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "vite --host",
|
||||
"build:demos": "npm run ts && vite build",
|
||||
@ -24,10 +25,10 @@
|
||||
"yjs": "^13.6.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.49",
|
||||
"@sveltejs/vite-plugin-svelte": "^2.0.0",
|
||||
"@types/uuid": "^8.3.4",
|
||||
"@vitejs/plugin-react": "^1.3.1",
|
||||
"@vitejs/plugin-vue": "^1.10.2",
|
||||
"@vitejs/plugin-react": "^1.3.2",
|
||||
"@vitejs/plugin-vue": "^5.0.5",
|
||||
"autoprefixer": "^10.4.2",
|
||||
"iframe-resizer": "^4.3.2",
|
||||
"postcss": "^8.4.31",
|
||||
@ -38,10 +39,10 @@
|
||||
"sass": "^1.49.7",
|
||||
"svelte": "^3.49.0",
|
||||
"tailwindcss": "^3.3.2",
|
||||
"typescript": "4.7.4",
|
||||
"typescript": "^5.4.5",
|
||||
"uuid": "^8.3.2",
|
||||
"vite": "^2.9.18",
|
||||
"vite-plugin-checker": "^0.3.4",
|
||||
"vite": "^4.0.0",
|
||||
"vite-plugin-checker": "^0.6.4",
|
||||
"vue": "^3.0.5",
|
||||
"vue-router": "^4.0.11"
|
||||
}
|
||||
|
@ -47,6 +47,9 @@ const includeDependencies = fs.readFileSync('./includeDependencies.txt')
|
||||
.filter(value => value)
|
||||
|
||||
export default defineConfig({
|
||||
server: {
|
||||
port: 3000,
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: includeDependencies,
|
||||
},
|
||||
@ -65,7 +68,9 @@ export default defineConfig({
|
||||
// checker({ typescript: { tsconfigPath: './tsconfig.vue-2.json' } }),
|
||||
// checker({ typescript: { tsconfigPath: './tsconfig.vue-3.json' } }),
|
||||
vue(),
|
||||
// @ts-ignore
|
||||
react(),
|
||||
// @ts-ignore
|
||||
svelte(),
|
||||
|
||||
{
|
||||
|
@ -2,7 +2,6 @@
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"useWorkspaces": true,
|
||||
"command": {
|
||||
"publish": {
|
||||
"conventionalCommits": true
|
||||
|
14029
package-lock.json
generated
14029
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
65
package.json
65
package.json
@ -39,47 +39,50 @@
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@atomico/rollup-plugin-sizes": "^1.1.4",
|
||||
"@babel/core": "^7.17.0",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"@babel/preset-react": "^7.16.7",
|
||||
"@babel/core": "^7.24.7",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
|
||||
"@babel/preset-env": "^7.24.7",
|
||||
"@babel/preset-react": "^7.24.7",
|
||||
"@commitlint/cli": "^19.3.0",
|
||||
"@commitlint/config-conventional": "^19.2.2",
|
||||
"@cypress/webpack-preprocessor": "^5.11.0",
|
||||
"@cypress/webpack-preprocessor": "^5.17.1",
|
||||
"@lerna/batch-packages": "^3.16.0",
|
||||
"@lerna/filter-packages": "^5.6.2",
|
||||
"@lerna/project": "^5.6.2",
|
||||
"@rollup/plugin-babel": "^5.3.0",
|
||||
"@rollup/plugin-commonjs": "^21.0.1",
|
||||
"@rollup/plugin-node-resolve": "^13.1.3",
|
||||
"@types/react": "^18.2.14",
|
||||
"@types/react-dom": "^18.2.6",
|
||||
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
||||
"@typescript-eslint/parser": "^5.10.2",
|
||||
"babel-loader": "^8.2.3",
|
||||
"cypress": "^10.8.0",
|
||||
"@lerna/filter-packages": "^6.4.1",
|
||||
"@lerna/project": "^6.4.1",
|
||||
"@rollup/plugin-babel": "^6.0.4",
|
||||
"@rollup/plugin-commonjs": "^26.0.1",
|
||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||
"@types/react": "^18.3.3",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
||||
"@typescript-eslint/parser": "^5.62.0",
|
||||
"babel-loader": "^9.1.3",
|
||||
"cypress": "^10.11.0",
|
||||
"cz-conventional-changelog": "^3.3.0",
|
||||
"eslint": "^8.17.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
"eslint-plugin-cypress": "^2.15.2",
|
||||
"eslint-plugin-html": "^6.2.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-simple-import-sort": "^7.0.0",
|
||||
"eslint-plugin-vue": "^9.1.0",
|
||||
"husky": "^8.0.1",
|
||||
"lerna": "^6.6.1",
|
||||
"lint-staged": "^13.0.3",
|
||||
"minimist": "^1.2.7",
|
||||
"rollup": "^2.67.0",
|
||||
"eslint-plugin-vue": "^9.26.0",
|
||||
"husky": "^8.0.3",
|
||||
"lerna": "^8.1.3",
|
||||
"lint-staged": "^13.3.0",
|
||||
"minimist": "^1.2.8",
|
||||
"rollup": "^4.18.0",
|
||||
"rollup-plugin-auto-external": "^2.0.0",
|
||||
"rollup-plugin-sizes": "^1.0.6",
|
||||
"rollup-plugin-sourcemaps": "^0.6.3",
|
||||
"rollup-plugin-typescript2": "^0.31.2",
|
||||
"rollup-plugin-typescript2": "^0.36.0",
|
||||
"ts-loader": "9.3.1",
|
||||
"tsup": "^6.5.0",
|
||||
"typescript": "^4.5.5",
|
||||
"webpack": "^5.68.0"
|
||||
"tsup": "^8.1.0",
|
||||
"typescript": "^5.4.5",
|
||||
"webpack": "^5.91.0"
|
||||
},
|
||||
"overrides": {
|
||||
"@rollup/pluginutils": "^5.0.2"
|
||||
},
|
||||
"name": "tiptap",
|
||||
"config": {
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -20,6 +20,7 @@ import { mergeDeep } from './utilities/mergeDeep.js'
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface ExtensionConfig<Options = any, Storage = any> {
|
||||
// @ts-ignore - this is a dynamic key
|
||||
[key: string]: any
|
||||
|
||||
/**
|
||||
|
@ -23,6 +23,7 @@ import { mergeDeep } from './utilities/mergeDeep.js'
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
export interface MarkConfig<Options = any, Storage = any> {
|
||||
// @ts-ignore - this is a dynamic key
|
||||
[key: string]: any
|
||||
|
||||
/**
|
||||
|
@ -23,6 +23,7 @@ import { mergeDeep } from './utilities/mergeDeep.js'
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface NodeConfig<Options = any, Storage = any> {
|
||||
// @ts-ignore - this is a dynamic key
|
||||
[key: string]: any
|
||||
|
||||
/**
|
||||
|
@ -1,4 +1,6 @@
|
||||
import { MarkSpec, NodeSpec, Schema } from '@tiptap/pm/model'
|
||||
import {
|
||||
MarkSpec, NodeSpec, Schema, TagParseRule,
|
||||
} from '@tiptap/pm/model'
|
||||
|
||||
import { Editor, MarkConfig, NodeConfig } from '../index.js'
|
||||
import { AnyConfig, Extensions } from '../types.js'
|
||||
@ -93,7 +95,7 @@ export function getSchemaByResolvedExtensions(extensions: Extensions, editor?: E
|
||||
)
|
||||
|
||||
if (parseHTML) {
|
||||
schema.parseDOM = parseHTML.map(parseRule => injectExtensionAttributesToParseRule(parseRule, extensionAttributes))
|
||||
schema.parseDOM = parseHTML.map(parseRule => injectExtensionAttributesToParseRule(parseRule, extensionAttributes)) as TagParseRule[]
|
||||
}
|
||||
|
||||
const renderHTML = getExtensionField<NodeConfig['renderHTML']>(
|
||||
|
@ -13,13 +13,13 @@ export function injectExtensionAttributesToParseRule(
|
||||
parseRule: ParseRule,
|
||||
extensionAttributes: ExtensionAttribute[],
|
||||
): ParseRule {
|
||||
if (parseRule.style) {
|
||||
if ('style' in parseRule) {
|
||||
return parseRule
|
||||
}
|
||||
|
||||
return {
|
||||
...parseRule,
|
||||
getAttrs: node => {
|
||||
getAttrs: (node: HTMLElement) => {
|
||||
const oldAttributes = parseRule.getAttrs ? parseRule.getAttrs(node) : parseRule.attrs
|
||||
|
||||
if (oldAttributes === false) {
|
||||
@ -28,8 +28,8 @@ export function injectExtensionAttributesToParseRule(
|
||||
|
||||
const newAttributes = extensionAttributes.reduce((items, item) => {
|
||||
const value = item.attribute.parseHTML
|
||||
? item.attribute.parseHTML(node as HTMLElement)
|
||||
: fromString((node as HTMLElement).getAttribute(item.name))
|
||||
? item.attribute.parseHTML(node)
|
||||
: fromString((node).getAttribute(item.name))
|
||||
|
||||
if (value === null || value === undefined) {
|
||||
return items
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { Mark, mergeAttributes } from '@tiptap/core'
|
||||
import type { StyleParseRule } from '@tiptap/pm/model'
|
||||
|
||||
export interface SubscriptExtensionOptions {
|
||||
/**
|
||||
@ -60,7 +61,7 @@ export const Subscript = Mark.create<SubscriptExtensionOptions>({
|
||||
// If it falls through we’ll match, and this mark will be applied.
|
||||
return null
|
||||
},
|
||||
},
|
||||
} satisfies StyleParseRule,
|
||||
]
|
||||
},
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { Mark, mergeAttributes } from '@tiptap/core'
|
||||
import type { StyleParseRule } from '@tiptap/pm/model'
|
||||
|
||||
export interface SuperscriptExtensionOptions {
|
||||
/**
|
||||
@ -60,7 +61,7 @@ export const Superscript = Mark.create<SuperscriptExtensionOptions>({
|
||||
// If it falls through we’ll match, and this mark will be applied.
|
||||
return null
|
||||
},
|
||||
},
|
||||
} satisfies StyleParseRule,
|
||||
]
|
||||
},
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -131,19 +131,19 @@
|
||||
"prosemirror-commands": "^1.5.2",
|
||||
"prosemirror-dropcursor": "^1.8.1",
|
||||
"prosemirror-gapcursor": "^1.3.2",
|
||||
"prosemirror-history": "^1.3.2",
|
||||
"prosemirror-inputrules": "^1.3.0",
|
||||
"prosemirror-history": "^1.4.0",
|
||||
"prosemirror-inputrules": "^1.4.0",
|
||||
"prosemirror-keymap": "^1.2.2",
|
||||
"prosemirror-markdown": "^1.12.0",
|
||||
"prosemirror-markdown": "^1.13.0",
|
||||
"prosemirror-menu": "^1.2.4",
|
||||
"prosemirror-model": "^1.19.4",
|
||||
"prosemirror-model": "1.21.0",
|
||||
"prosemirror-schema-basic": "^1.2.2",
|
||||
"prosemirror-schema-list": "^1.3.0",
|
||||
"prosemirror-schema-list": "^1.4.0",
|
||||
"prosemirror-state": "^1.4.3",
|
||||
"prosemirror-tables": "^1.3.5",
|
||||
"prosemirror-tables": "^1.3.7",
|
||||
"prosemirror-trailing-node": "^2.0.8",
|
||||
"prosemirror-transform": "^1.8.0",
|
||||
"prosemirror-view": "^1.32.7"
|
||||
"prosemirror-transform": "^1.9.0",
|
||||
"prosemirror-view": "^1.33.7"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -1,12 +1,12 @@
|
||||
import sizes from '@atomico/rollup-plugin-sizes'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import autoExternal from 'rollup-plugin-auto-external'
|
||||
import sizes from 'rollup-plugin-sizes'
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps'
|
||||
import typescript from 'rollup-plugin-typescript2'
|
||||
|
||||
import pkg from './package.json'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
export default {
|
||||
external: [/@tiptap\/pm\/.*/],
|
||||
|
@ -9,7 +9,7 @@
|
||||
"@tiptap/*": ["packages/*/dist", "packages/*/src"],
|
||||
"@tiptap/pm/*": ["../../pm/*/dist"]
|
||||
},
|
||||
"typeRoots": ["../../node_modules/@types"]
|
||||
"typeRoots": ["../../node_modules/@types", "../../node_modules/"],
|
||||
},
|
||||
"include": ["./*/*.ts", "../../**/*.ts"],
|
||||
"exclude": [
|
||||
|
Loading…
Reference in New Issue
Block a user