mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-06 15:07:27 -04:00
15 lines
352 B
JavaScript
15 lines
352 B
JavaScript
module.exports = {
|
|
hooks: {
|
|
readPackage (pkg) {
|
|
if (!pkg.dependencies) return pkg
|
|
if (pkg.dependencies['@commitlint/ensure']) {
|
|
pkg.dependencies['@commitlint/ensure'] = '7.1.2'
|
|
}
|
|
if (pkg.name === '@types/p-any') {
|
|
pkg.dependencies['@types/aggregate-error'] = '1.0.0'
|
|
}
|
|
return pkg
|
|
},
|
|
},
|
|
}
|