vuepress / vuepress-community

:bulb: Community supported ecosystem for VuePress
https://vuepress-community.netlify.app
MIT License
81 stars 62 forks source link

[Bug Report] plugin-typescript #49

Closed Mister-Hope closed 4 years ago

Mister-Hope commented 4 years ago

最新的 vue-property-decorator 好像把 vue-class-component 搞成了 peerDependency,这样 vue-class-component 就不会再被安装,造成编译报错。

vue-property-decorator@^8.1.1:
  version "8.4.2"
  resolved "https://registry.yarnpkg.com/vue-property-decorator/-/vue-property-decorator-8.4.2.tgz#016e17f259f73bc547e77a50ce282ba18db4ee41"
  integrity sha512-IqbARlvgPE2pzKfbecKxsu2yEH0Wv7hfHR6m4eZA3LTnNw9hveAX77vDfLFyTeMISS5N7Kucp/xRSHjcQ6bAfQ==
  dependencies:
    vue-class-component "^7.1.0"

vue-property-decorator@^8.1.1:
  version "8.5.0"
  resolved "https://registry.yarnpkg.com/vue-property-decorator/-/vue-property-decorator-8.5.0.tgz#9af64c5301413f4732640cc0d046879417e64994"
  integrity sha512-0RueJN/shPWf5gM8GLUD6bYiXr+q7bu+S1tgr7XwgBSng10H5DLQjVYfJ5XHAOPFo7fBfY1nxljBQ95qryAiWg==

吐槽:真的是坑我,这都不跳主版本号。

修复方式:package.json 添加进 deps 就行了。

这个其实不修也行,留给用户自己添加,但是个人感觉一个vuepress的插件还是应该直接配置好为妙

meteorlxy commented 4 years ago

WTF

image

meteorlxy commented 4 years ago

(最近受伤了都没心思上 GH 了囧。。)

Mister-Hope commented 4 years ago

我们后来反馈之后他又改回去了然后发了9.0 哈哈哈哈,我也觉得挺迷的。

meteorlxy notifications@github.com 于 2020年7月1日周三 18:33写道:

(最近受伤了都没心思上 GH 了囧。。)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vuepress/vuepress-community/issues/49#issuecomment-652338347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH6FX6WYB66VJPL5F5O2SODRZMGGXANCNFSM4N7OVPDQ .