Skip to content

Commit

Permalink
fix(ava): vue-template-compiler version conflict on require-extension…
Browse files Browse the repository at this point in the history
…-hooks-vue
  • Loading branch information
clarkdo committed Oct 2, 2022
1 parent ae72f76 commit 6757cb8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/cna-template/template/frameworks/ava/package.js
@@ -0,0 +1,15 @@
module.exports = {
apply (pkg, generator) {
const { pm } = generator.answers
if (pm === 'npm') {
// Temporary fix for https://github.com/jackmellis/require-extension-hooks-vue/issues/49
// Remove this when the issue is fixed
pkg.overrides = {
'require-extension-hooks-vue': {
'vue-template-compiler': '$vue-template-compiler'
}
}
}
return pkg
}
}
Binary file modified packages/create-nuxt-app/test/snapshots/index.test.js.snap
Binary file not shown.

0 comments on commit 6757cb8

Please sign in to comment.