Skip to content

Commit

Permalink
build: inherit volta config from root
Browse files Browse the repository at this point in the history
  • Loading branch information
apaleslimghost committed Jul 25, 2024
1 parent 9330206 commit 3c24d34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/monorepo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"node": "18.x || 20.x",
"npm": "7.x || 8.x || 9.x"
},
"volta": {
"extends": "../../package.json"
},
"peerDependencies": {
"dotcom-tool-kit": "4.0.0-beta.5"
},
Expand Down
3 changes: 3 additions & 0 deletions scripts/create-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ pkg.engines = {
node: '18.x || 20.x',
npm: '7.x || 8.x || 9.x'
}
pkg.volta = {
extends: '../../package.json'
}
pkg.peerDependencies = {
'dotcom-tool-kit': '3.x'
}
Expand Down

0 comments on commit 3c24d34

Please sign in to comment.