Skip to content

Commit

Permalink
chore: bump versions in plugin creation script
Browse files Browse the repository at this point in the history
  • Loading branch information
ivomurrell committed Apr 28, 2023
1 parent 3b55c79 commit 4db704c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/create-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ pkg.bugs = 'https://github.com/financial-times/dotcom-tool-kit/issues'
pkg.homepage = `https://github.com/financial-times/dotcom-tool-kit/tree/main/${directory}`
pkg.author = 'FT.com Platforms Team <platforms-team.customer-products@ft.com>'
pkg.files = ['/lib', '.toolkitrc.yml']
pkg.engines = {
node: '16.x || 18.x',
npm: '7.x || 8.x || 9.x'
}
pkg.peerDependencies = {
'dotcom-tool-kit': '2.x'
'dotcom-tool-kit': '3.x'
}

fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2))
Expand Down

0 comments on commit 4db704c

Please sign in to comment.