Skip to content

Commit

Permalink
feat!: vitest as peer dependency for coverage packages (#2836)
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio authored Feb 13, 2023
1 parent 4ae6a79 commit 94247f1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
9 changes: 6 additions & 3 deletions packages/coverage-c8/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,17 @@
"dev": "rollup -c --watch --watch.include 'src/**'",
"prepublishOnly": "pnpm build"
},
"peerDependencies": {
"vitest": ">=0.28.0 <1"
},
"dependencies": {
"c8": "^7.12.0",
"picocolors": "^1.0.0",
"std-env": "^3.3.1",
"vitest": "workspace:*"
"std-env": "^3.3.1"
},
"devDependencies": {
"pathe": "^1.1.0",
"vite-node": "workspace:*"
"vite-node": "workspace:*",
"vitest": "workspace:*"
}
}
9 changes: 6 additions & 3 deletions packages/coverage-istanbul/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,24 @@
"dev": "rollup -c --watch --watch.include 'src/**'",
"prepublishOnly": "pnpm build"
},
"peerDependencies": {
"vitest": ">=0.28.0 <1"
},
"dependencies": {
"istanbul-lib-coverage": "^3.2.0",
"istanbul-lib-instrument": "^5.2.1",
"istanbul-lib-report": "^3.0.0",
"istanbul-lib-source-maps": "^4.0.1",
"istanbul-reports": "^3.1.5",
"test-exclude": "^6.0.0",
"vitest": "workspace:*"
"test-exclude": "^6.0.0"
},
"devDependencies": {
"@types/istanbul-lib-coverage": "^2.0.4",
"@types/istanbul-lib-instrument": "^1.7.4",
"@types/istanbul-lib-report": "^3.0.0",
"@types/istanbul-lib-source-maps": "^4.0.1",
"@types/istanbul-reports": "^3.0.1",
"pathe": "^1.1.0"
"pathe": "^1.1.0",
"vitest": "workspace:*"
}
}
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 94247f1

Please sign in to comment.