Skip to content

Commit

Permalink
fix: 🐛 instantiate extension ctor error
Browse files Browse the repository at this point in the history
close #183
  • Loading branch information
Leecason committed Aug 17, 2020
1 parent 91915b9 commit ec03fcd
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"@babel/preset-env": "^7.7.6",
"@rollup/plugin-alias": "^3.0.1",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-replace": "^2.3.3",
"@semantic-release/changelog": "^5.0.0",
Expand Down Expand Up @@ -68,6 +67,7 @@
"node-sass": "^4.12.0",
"postcss-preset-env": "^6.7.0",
"rollup": "^2.15.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-dts": "^1.4.7",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-replace": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import path from 'path';
import vue from 'rollup-plugin-vue';
import babel from '@rollup/plugin-babel';
import { terser } from 'rollup-plugin-terser';
import commonjs from '@rollup/plugin-commonjs';
import commonjs from 'rollup-plugin-commonjs';
import { nodeResolve } from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';
import postcss from 'rollup-plugin-postcss';
Expand Down
3 changes: 2 additions & 1 deletion src/components/MenuCommands/Image/EditImageCommandButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

<script lang="ts">
import { Component, Prop, Inject, Vue } from 'vue-property-decorator';
import { Dialog, Form, FormItem, Input, Col } from 'element-ui';
import { Dialog, Form, FormItem, Input, Col, Button } from 'element-ui';
import { Node as ProsemirrorNode } from 'prosemirror-model';
import CommandButton from '../CommandButton.vue';
Expand All @@ -93,6 +93,7 @@ import CommandButton from '../CommandButton.vue';
[FormItem.name]: FormItem,
[Input.name]: Input,
[Col.name]: Col,
[Button.name]: Button,
CommandButton,
},
})
Expand Down
3 changes: 2 additions & 1 deletion src/components/MenuCommands/Link/AddLinkCommandButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

<script lang="ts">
import { Component, Prop, Inject, Vue, Watch } from 'vue-property-decorator';
import { Dialog, Form, FormItem, Input, Checkbox } from 'element-ui';
import { Dialog, Form, FormItem, Input, Checkbox, Button } from 'element-ui';
import { MenuData } from 'tiptap';
import CommandButton from '../CommandButton.vue';
Expand All @@ -74,6 +74,7 @@ import CommandButton from '../CommandButton.vue';
[FormItem.name]: FormItem,
[Input.name]: Input,
[Checkbox.name]: Checkbox,
[Button.name]: Button,
CommandButton,
},
})
Expand Down
3 changes: 2 additions & 1 deletion src/components/MenuCommands/Link/EditLinkCommandButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

<script lang="ts">
import { Component, Prop, Inject, Vue } from 'vue-property-decorator';
import { Dialog, Form, FormItem, Input, Checkbox } from 'element-ui';
import { Dialog, Form, FormItem, Input, Checkbox, Button } from 'element-ui';
import { MenuData } from 'tiptap';
import CommandButton from '../CommandButton.vue';
Expand All @@ -72,6 +72,7 @@ import CommandButton from '../CommandButton.vue';
[FormItem.name]: FormItem,
[Input.name]: Input,
[Checkbox.name]: Checkbox,
[Button.name]: Button,
CommandButton,
},
})
Expand Down
26 changes: 12 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1094,19 +1094,6 @@
"@babel/helper-module-imports" "^7.7.4"
"@rollup/pluginutils" "^3.0.8"

"@rollup/plugin-commonjs@^14.0.0":
version "14.0.0"
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-14.0.0.tgz#4285f9ec2db686a31129e5a2b415c94aa1f836f0"
integrity sha512-+PSmD9ePwTAeU106i9FRdc+Zb3XUWyW26mo5Atr2mk82hor8+nPwkztEjFo8/B1fJKfaQDg9aM2bzQkjhi7zOw==
dependencies:
"@rollup/pluginutils" "^3.0.8"
commondir "^1.0.1"
estree-walker "^1.0.1"
glob "^7.1.2"
is-reference "^1.1.2"
magic-string "^0.25.2"
resolve "^1.11.0"

"@rollup/plugin-node-resolve@^8.4.0":
version "8.4.0"
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-8.4.0.tgz#261d79a680e9dc3d86761c14462f24126ba83575"
Expand Down Expand Up @@ -11011,6 +10998,17 @@ ripemd160@^2.0.0, ripemd160@^2.0.1:
hash-base "^3.0.0"
inherits "^2.0.1"

rollup-plugin-commonjs@^10.1.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/rollup-plugin-commonjs/-/rollup-plugin-commonjs-10.1.0.tgz#417af3b54503878e084d127adf4d1caf8beb86fb"
integrity sha512-jlXbjZSQg8EIeAAvepNwhJj++qJWNJw1Cl0YnOqKtP5Djx+fFGkp3WRh+W0ASCaFG5w1jhmzDxgu3SJuVxPF4Q==
dependencies:
estree-walker "^0.6.1"
is-reference "^1.1.2"
magic-string "^0.25.2"
resolve "^1.11.0"
rollup-pluginutils "^2.8.1"

rollup-plugin-dts@^1.4.7:
version "1.4.7"
resolved "https://registry.yarnpkg.com/rollup-plugin-dts/-/rollup-plugin-dts-1.4.7.tgz#6255147ac777314c0725a1efcb42df10fe282243"
Expand Down Expand Up @@ -11082,7 +11080,7 @@ rollup-plugin-vue@^5.1.4:
source-map "0.7.3"
vue-runtime-helpers "^1.1.2"

rollup-pluginutils@^2.6.0, rollup-pluginutils@^2.8.2:
rollup-pluginutils@^2.6.0, rollup-pluginutils@^2.8.1, rollup-pluginutils@^2.8.2:
version "2.8.2"
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"
integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==
Expand Down

0 comments on commit ec03fcd

Please sign in to comment.