From 68a31e59284adc9cdda6cb91704ab4e6dbe19ef2 Mon Sep 17 00:00:00 2001 From: Kara Brightwell Date: Thu, 25 Jul 2024 12:19:17 +0100 Subject: [PATCH] build: inherit volta config from root --- plugins/monorepo/package.json | 3 +++ scripts/create-plugin.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/plugins/monorepo/package.json b/plugins/monorepo/package.json index e82e23505..6b4aea759 100644 --- a/plugins/monorepo/package.json +++ b/plugins/monorepo/package.json @@ -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" }, diff --git a/scripts/create-plugin.js b/scripts/create-plugin.js index f33e804ed..d0339f1a3 100755 --- a/scripts/create-plugin.js +++ b/scripts/create-plugin.js @@ -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' }