AI-Newsletter / frontend /.pnpmfile.cjs
Richard Lai
first commit
4024eae
raw
history blame contribute delete
327 Bytes
// pnpm configuration for the AI Newsletter frontend
module.exports = {
hooks: {
readPackage(pkg) {
// Ensure React types compatibility
if (pkg.name === '@types/react') {
pkg.peerDependencies = {
...pkg.peerDependencies,
'react': '*'
}
}
return pkg
}
}
}