From 2dd90ba388d42e35485ab37a803aea1ea4e96665 Mon Sep 17 00:00:00 2001 From: mshanemc Date: Thu, 11 Jan 2024 15:37:53 -0600 Subject: [PATCH] feat: plugins have space as oclif.topicSeparator --- utils/standardize-pjson.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/standardize-pjson.js b/utils/standardize-pjson.js index 9519d5c5..35eeae04 100644 --- a/utils/standardize-pjson.js +++ b/utils/standardize-pjson.js @@ -11,6 +11,7 @@ const { resolveConfig } = require('./sf-config'); const { semverIsLessThan } = require('./semver'); const PackageJson = require('./package-json'); +const { isPlugin } = require('./project-type'); module.exports = (packageRoot = require('./package-path')) => { const config = resolveConfig(packageRoot); @@ -22,6 +23,9 @@ module.exports = (packageRoot = require('./package-path')) => { pjson.actions.push(`updating license`); } + if (isPlugin(packageRoot)) { + pjson.contents.oclif.topicSeparator = ' '; + } // GENERATE SCRIPTS const scriptList = Object.entries(config.scripts); const wireitList = Object.entries(config.wireit);