Skip to content

Commit

Permalink
Merge pull request #282 from forcedotcom/sm/standardize-plugin-topic-…
Browse files Browse the repository at this point in the history
…separator

feat: plugins have space as oclif.topicSeparator
  • Loading branch information
shetzel authored Jan 12, 2024
2 parents 1bac416 + 2dd90ba commit 934ac37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/standardize-pjson.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 934ac37

Please sign in to comment.