Skip to content

Commit

Permalink
Merge pull request #606 from salesforcecli/devScripts2023-10-26
Browse files Browse the repository at this point in the history
refactor: devScripts update
  • Loading branch information
svc-cli-bot authored Oct 27, 2023
2 parents 1be8630 + 97dde95 commit c3b539d
Show file tree
Hide file tree
Showing 5 changed files with 384 additions and 311 deletions.
6 changes: 3 additions & 3 deletions messages/describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ This command displays metadata for Salesforce objects by default. Use the --use-

<%= config.bin %> <%= command.id %> --sobject Account

- Display the metadata of the "MyObject__c" custom object in the org with alias "my-scratch-org":
- Display the metadata of the "MyObject\_\_c" custom object in the org with alias "my-scratch-org":

<%= config.bin %> <%= command.id %> --sobject MyObject__c --target-org my-scratch-org
<%= config.bin %> <%= command.id %> --sobject MyObject\_\_c --target-org my-scratch-org

- Display the metadata of the ApexCodeCoverage Tooling API object in your default org:

Expand All @@ -26,6 +26,6 @@ This command displays metadata for Salesforce objects by default. Use the --use-

API name of the object to describe.

# flags.tooling-api.summary
# flags.use-tooling-api.summary

Use Tooling API to display metadata for Tooling API objects.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@
"@oclif/plugin-help": "^5.2.20",
"@salesforce/cli-plugins-testkit": "^4.4.7",
"@salesforce/dev-config": "^4.0.1",
"@salesforce/dev-scripts": "^5.11.0",
"@salesforce/dev-scripts": "^5.12.0",
"@salesforce/plugin-command-reference": "^3.0.43",
"@salesforce/prettier-config": "^0.0.3",
"@salesforce/ts-sinon": "1.4.17",
"@swc/core": "^1.3.32",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.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": "^43.0.5",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-sf-plugin": "^1.16.11",
"husky": "^7.0.4",
"mocha": "^9.1.3",
Expand All @@ -42,7 +42,7 @@
"shx": "0.3.4",
"sinon": "10.0.0",
"ts-node": "^10.0.0",
"typescript": "^4.9.5",
"typescript": "^5.2.2",
"wireit": "^0.14.1"
},
"config": {},
Expand Down
2 changes: 1 addition & 1 deletion src/commands/sobject/describe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class SObjectDescribe extends SfCommand<DescribeSObjectResult> {
}),
'use-tooling-api': Flags.boolean({
char: 't',
summary: messages.getMessage('flags.tooling-api.summary'),
summary: messages.getMessage('flags.use-tooling-api.summary'),
aliases: ['usetoolingapi'],
}),
};
Expand Down
2 changes: 1 addition & 1 deletion test/schema.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
import * as path from 'path';
import * as path from 'node:path';
import { strict as assert } from 'node:assert';
import { expect } from 'chai';
import { DescribeSObjectResult } from 'jsforce';
Expand Down
Loading

0 comments on commit c3b539d

Please sign in to comment.