Vuelidate/Validators v2 implicit dependency on Vue - JSPM module broken
See original GitHub issuevuelidate@next and validators@next package.json
don’t declare their dependency on Vue 3. (vuelidate only declares it as one of its devDependencies
)
As a result JSPM is unable to correctly create a working module. This can clearly be seen by comparing:
vue-router@4 (working - vue resolved to import "/npm:vue@3"
)
vuelidate@2 (broken - vue resolved to import "/npm:vue!cjs"
)
validators@2 (broken - vue resolved to import "/npm:vue!cjs"
)
Here is a codepen that illusrates the issue. Would be great to push out alpha 1 to npm
with this fix.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think we could move it to peerDependencies right?
Hey, I’ve never used those services, so sorry bout that.
I suppose Vue 3 would have to be a dependency, as we use it’s composition API functions, correct?