jest-vue-preprocessor
jest-vue-preprocessor copied to clipboard
fix: add missing dependencies
trafficstars
What kind of change does this PR introduce?
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:
What is the current behavior?
jest-vue-preprocessor is trying to use @babel/template, @babel/core, and pug without declaring them as dependencies. This causes it to rely on the user to install them and hoisting to make them available which is not guaranteed
What is the new behavior?
@babel/templateand@babel/corehave been moved fromdevDependenciestodependenciespughas been added as an optional peer dependency
Does this PR introduce a breaking change?
[ ] Yes
[x] No