From b1960d52e74d08345aff3d271541dd5917f4d413 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Sun, 29 Oct 2023 06:54:47 +0000 Subject: [PATCH 1/3] chore: updates from devScripts --- package.json | 10 +- src/commands/commandreference/generate.ts | 18 +- src/ditamap/command.ts | 2 +- src/ditamap/ditamap.ts | 4 +- src/ditamap/topic-commands.ts | 2 +- src/ditamap/topic-ditamap.ts | 2 +- src/docs.ts | 2 +- src/utils.ts | 4 +- test/unit/endtoend.test.ts | 6 +- test/unit/utils.test.ts | 2 +- yarn.lock | 670 ++++++++++++---------- 11 files changed, 383 insertions(+), 339 deletions(-) diff --git a/package.json b/package.json index db394f2c..10c9b1e4 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@oclif/plugin-help": "^5.2.20", "@salesforce/dev-config": "^4.0.1", - "@salesforce/dev-scripts": "^5.11.0", + "@salesforce/dev-scripts": "^5.12.2", "@salesforce/plugin-auth": "^2.8.25", "@salesforce/prettier-config": "^0.0.3", "@types/debug": "^4.1.10", @@ -25,14 +25,14 @@ "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.61.0", "chai": "^4.3.10", - "eslint": "^8.51.0", + "eslint": "^8.52.0", "eslint-config-prettier": "^8.10.0", "eslint-config-salesforce": "^2.0.2", "eslint-config-salesforce-license": "^0.2.0", - "eslint-config-salesforce-typescript": "^1.1.2", + "eslint-config-salesforce-typescript": "^2.0.0", "eslint-plugin-header": "^3.1.1", "eslint-plugin-import": "^2.28.1", - "eslint-plugin-jsdoc": "^44.2.7", + "eslint-plugin-jsdoc": "^46.8.2", "eslint-plugin-sf-plugin": "^1.16.9", "husky": "^8.0.3", "mocha": "^10.2.0", @@ -43,7 +43,7 @@ "shx": "^0.3.3", "sinon": "10.0.0", "ts-node": "^10.0.0", - "typescript": "^4.9.5", + "typescript": "^5.2.2", "wireit": "^0.14.1" }, "engines": { diff --git a/src/commands/commandreference/generate.ts b/src/commands/commandreference/generate.ts index 8c30679a..6e2febda 100644 --- a/src/commands/commandreference/generate.ts +++ b/src/commands/commandreference/generate.ts @@ -5,8 +5,8 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import * as os from 'os'; -import { resolve } from 'path'; +import * as os from 'node:os'; +import { resolve } from 'node:path'; import { Flags, SfCommand } from '@salesforce/sf-plugins-core'; // eslint-disable-next-line sf-plugin/no-oclif-flags-command-import import { Command, Config, Interfaces } from '@oclif/core'; @@ -34,35 +34,35 @@ export default class CommandReferenceGenerate extends SfCommand Date: Mon, 30 Oct 2023 11:12:10 -0500 Subject: [PATCH 2/3] chore(lint): flag naming conventions --- messages/main.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/messages/main.md b/messages/main.md index ff97f683..60b9bd1c 100644 --- a/messages/main.md +++ b/messages/main.md @@ -6,31 +6,31 @@ generate the command reference guide located generate the command reference guide located -# pluginFlagSummary +# flags.plugins.summary comma separated list of plugin names to be part of the generation. Defaults to the oclif plugin in the current working directory -# allFlagSummary +# flags.all.summary include all relevant plugins in the generation -# hiddenFlagSummary +# flags.hidden.summary show hidden commands -# outputdirFlagSummary +# flags.output-dir.summary output directory to put generated files -# erroronwarningFlagSummary +# flags.error-on-warnings.summary fail the command if there are any warnings -# ditamapSuffixFlagSummary +# flags.ditamap-suffix.summary unique suffix to append to generated ditamap -# configPathFlagSummary +# flags.config-path.summary A path to the directory containing a plugin or cli From 11888a7d92a2464d6aaf3d2468cf6e1d9e26330e Mon Sep 17 00:00:00 2001 From: mshanemc Date: Mon, 30 Oct 2023 11:15:53 -0500 Subject: [PATCH 3/3] chore: deps bump --- package.json | 2 +- yarn.lock | 26 +++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d6c5d2df..830b1036 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "bugs": "https://github.com/salesforcecli/plugin-command-reference/issues", "dependencies": { "@oclif/core": "^2.15.0", - "@salesforce/core": "^5.3.10", + "@salesforce/core": "^5.3.16", "@salesforce/kit": "^3.0.15", "@salesforce/sf-plugins-core": "^3.1.28", "@salesforce/ts-types": "^2.0.9", diff --git a/yarn.lock b/yarn.lock index 81b3b4ac..14f94cee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -872,7 +872,7 @@ dependencies: "@octokit/openapi-types" "^11.2.0" -"@salesforce/core@^5.3.1", "@salesforce/core@^5.3.10", "@salesforce/core@^5.3.14", "@salesforce/core@^5.3.5": +"@salesforce/core@^5.3.1", "@salesforce/core@^5.3.14", "@salesforce/core@^5.3.5": version "5.3.15" resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-5.3.15.tgz#3da2b3b3bd34aebfdad281cfe3d69d4b17e21581" integrity sha512-71MFjO+8K8LQFDgY3BzwjfH4jqxccoAmFyLfBzwpK9spiFbn4/PlV9HbRjOeBBaY6FY4V8y5DS7Upqr5UZi8CQ== @@ -896,6 +896,30 @@ semver "^7.5.4" ts-retry-promise "^0.7.1" +"@salesforce/core@^5.3.16": + version "5.3.16" + resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-5.3.16.tgz#93987b0bbe37b73146929ceab658b653215adbe6" + integrity sha512-Q5BOFPwACXe/ebwROzpacwPA/WSRfOM7W63exX4b0Gv2rQoMB2NZLxHBQP3FZ4eH4PMHvBB16IzmtNq8vSJktw== + dependencies: + "@salesforce/kit" "^3.0.15" + "@salesforce/schemas" "^1.6.1" + "@salesforce/ts-types" "^2.0.9" + "@types/semver" "^7.5.3" + ajv "^8.12.0" + change-case "^4.1.2" + faye "^1.4.0" + form-data "^4.0.0" + js2xmlparser "^4.0.1" + jsforce "^2.0.0-beta.28" + jsonwebtoken "9.0.2" + jszip "3.10.1" + pino "^8.16.0" + pino-abstract-transport "^1.0.0" + pino-pretty "^10.2.3" + proper-lockfile "^4.1.2" + semver "^7.5.4" + ts-retry-promise "^0.7.1" + "@salesforce/dev-config@^4.0.1", "@salesforce/dev-config@^4.1.0": version "4.1.0" resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.1.0.tgz#e529576466d074e7a5f1441236510fef123da01e"