Skip to content

Commit

Permalink
fix(deps): make vue-template-compiler a peer dependency (#158)
Browse files Browse the repository at this point in the history
Close #157
  • Loading branch information
Kocal committed Dec 24, 2018
1 parent 853d003 commit 229756f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ JSDoc for VueJS
$ npm install --save-dev jsdoc-vuejs
```

You also need to install `vue-template-compiler` that match your Vue version:

```bash
# if you use Vue 2.5.21
$ npm install --save-dev vue-template-compiler@2.5.21
```

## Usage

Your should update your JSDoc configuration to enable JSDoc-VueJS:
Expand Down
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
"homepage": "https://github.com/Kocal/jsdoc-vuejs#readme",
"dependencies": {
"ejs": "^2.6.1",
"jsdoc": "^3.5.5",
"vue-template-compiler": "^2.5.16"
"jsdoc": "^3.5.5"
},
"peerDependencies": {
"vue-template-compiler": ">= 2.0.0"
},
"devDependencies": {
"@kocal/semantic-release-preset": "^1.1.0",
Expand All @@ -44,6 +46,7 @@
"eslint-plugin-cypress": "^2.0.1",
"eslint-plugin-import": "^2.13.0",
"jest": "^23.4.2",
"semantic-release": "^15.12.1"
"semantic-release": "^15.12.1",
"vue-template-compiler": "^2.5.21"
}
}
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3048,9 +3048,9 @@ has@^1.0.1:
function-bind "^1.1.1"

he@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
integrity sha1-k0EP0hsAlzUVH4howvJx80J+I/0=
version "1.2.0"
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==

home-or-tmp@^2.0.0:
version "2.0.0"
Expand Down Expand Up @@ -7662,10 +7662,10 @@ verror@1.10.0:
core-util-is "1.0.2"
extsprintf "^1.2.0"

vue-template-compiler@^2.5.16:
version "2.5.19"
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.19.tgz#c23fcbea22fe6c116814141d2e6680023d6456f2"
integrity sha512-SIoE8gvl0UjZ/wccwHhj0HUqL+kLkJNy/8v7TXElz6rqxqKOKLoAynVV4L78qHZOHhLoyRl5BOmUFQPPdcD5qw==
vue-template-compiler@^2.5.21:
version "2.5.21"
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.21.tgz#a57ceb903177e8f643560a8d639a0f8db647054a"
integrity sha512-Vmk5Cv7UcmI99B9nXJEkaK262IQNnHp5rJYo+EwYpe2epTAXqcVyExhV6pk8jTkxQK2vRc8v8KmZBAwdmUZvvw==
dependencies:
de-indent "^1.0.2"
he "^1.1.0"
Expand Down

0 comments on commit 229756f

Please sign in to comment.