diff --git a/.yarnrc.yml b/.yarnrc.yml index 3186f3f07..1b4cdb06d 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1 +1,5 @@ nodeLinker: node-modules +packageExtensions: + '@vue/test-utils@*': + peerDependencies: + vue: '*' diff --git a/samples/vue-query/package.json b/samples/vue-query/package.json index 71709cf52..5ac2e8180 100644 --- a/samples/vue-query/package.json +++ b/samples/vue-query/package.json @@ -7,7 +7,7 @@ "serve": "vite preview", "generate-api": "node ../../packages/orval/dist/bin/orval.js", "generate-types": "vue-tsc --declaration --emitDeclarationOnly --module amd --outFile dist/index.d.ts", - "test-types": "yarn generate-types && tsd --typings dist --files **/*.test-d.ts", + "test-types": "yarn generate-types && tsd --typings dist --files src/**/*.test-d.ts", "test": "vue-tsc --noEmit && vitest --run && yarn test-types" }, "dependencies": {