This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Commit 5ebe340
vue-template-compiler as a peer dependency (#126)
* vue-template-compiler as a peer dependency
`vue-template-compiler` is now a peer dependency instead of a direct dependency.
This allows the user to pin `vue-template-compiler` to a specific version instead of relying on the implicit upgrades from a semver caret range.
Without this change, updating Vue.js to version 2.4.2 can result in
errors like this:
Vue packages version mismatch:
- vue@2.4.2
- vue-template-compiler@2.4.1
This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.
This was first reported in
[vue-loader](vuejs/vue-loader#470) and later
[fixed in version
10.0.0](https://gist.github.com/yyx990803/faebe22e8763f5b17572b35ed96f52fe#vue-loader1000).
There is also [an open issue on
vueify](vuejs/vueify#159) but it's not
currently fixed.
* Install vue-template-compiler as a dev dependency
This is needed so that the tests work as expected
* Don't point to internal npm registry
* chore: remove unnecessary log statement
* fix: use any vue-template-compiler version which is >= 2.0
* chore: remove CHANGELOG.md; using release notes for change log.
[ci skip] [skip ci]1 parent ea1459a commit 5ebe340
4 files changed
+5
-29
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | | - | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3437 | 3437 | | |
3438 | 3438 | | |
3439 | 3439 | | |
3440 | | - | |
3441 | | - | |
3442 | | - | |
| 3440 | + | |
| 3441 | + | |
| 3442 | + | |
3443 | 3443 | | |
3444 | 3444 | | |
3445 | 3445 | | |
| |||
0 commit comments