diff --git a/package.json b/package.json index 6c4be89b..a31f9d35 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "husky": "^7.0.4", "mocha": "^9.1.3", "nyc": "^15.1.0", - "oclif": "^3.17.1", + "oclif": "^3.17.2", "prettier": "^2.8.8", "pretty-quick": "^3.1.0", "shx": "0.3.4", diff --git a/src/commands/cli/release/build.ts b/src/commands/cli/release/build.ts index 01e370ed..2adc1e38 100644 --- a/src/commands/cli/release/build.ts +++ b/src/commands/cli/release/build.ts @@ -189,6 +189,10 @@ export default class build extends SfCommand { await this.exec('npx yarn-deduplicate'); // Run an install with deduplicated dependencies (with scripts) await this.exec('yarn install'); + // Generate a new readme with the latest dependencies + await this.exec( + 'yarn oclif readme --no-aliases --repository-prefix "<%- repo %>/blob/<%- version %>/<%- commandPath %>"' + ); this.log('Updates complete'); diff --git a/yarn.lock b/yarn.lock index 3ffef484..a4db34a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6969,10 +6969,10 @@ object.values@^1.1.6: define-properties "^1.1.4" es-abstract "^1.20.4" -oclif@^3.17.1: - version "3.17.1" - resolved "https://registry.yarnpkg.com/oclif/-/oclif-3.17.1.tgz#be210c063d4e78995b8dab594c3a220c4cf17710" - integrity sha512-qwop0W9s5nJJ9tTdLsYXxxvGSNc9xKjXccEAGCXM+x8NmGtZ4P89FwqDY4PIG7IeV9VNpYhZKQArpZNwPGn0CQ== +oclif@^3.17.2: + version "3.17.2" + resolved "https://registry.yarnpkg.com/oclif/-/oclif-3.17.2.tgz#f13756c9b1968047e76b99cb09db9725e96fb2f6" + integrity sha512-+vFXxgmR7dGGz+g6YiqSZu2LXVkBMaS9/rhtsLGkYw45e53CW/3kBgPRnOvxcTDM3Td9JPeBD2JWxXnPKGQW3A== dependencies: "@oclif/core" "^2.11.4" "@oclif/plugin-help" "^5.2.14"