Skip to content

Commit

Permalink
chore: bump sf-plugins-core, update NUTs
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Oct 21, 2024
1 parent 38bd3b3 commit 3a11f3a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bugs": "https://github.com/forcedotcom/cli/issues",
"dependencies": {
"@salesforce/core": "^8.5.7",
"@salesforce/sf-plugins-core": "^12.0.2"
"@salesforce/sf-plugins-core": "^12.0.4"
},
"devDependencies": {
"@oclif/core": "^4.0.29",
Expand Down
4 changes: 2 additions & 2 deletions test/commands/display.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ describe('Limits display', () => {
});

it('Displays the limits (json)', () => {
const output = execCmd<ListApiDisplayOutput>(`limits:api:display -u ${username} --json`, {
const output = execCmd<ListApiDisplayOutput>(`org:list:limits -o ${username} --json`, {
ensureExitCode: 0,
}).jsonOutput;
expect(output?.result).length.greaterThan(0);
expect(output?.status).to.equal(0);
});

it('Displays the limits (human readable)', () => {
const command = `limits:api:display -u ${username}`;
const command = `org:list:limits -o ${username}`;
const result = execCmd(command, { ensureExitCode: 0 });
const output = getString(result, 'shellOutput.stdout');
expect(output).to.include('ActiveScratchOrgs');
Expand Down
6 changes: 3 additions & 3 deletions test/commands/recordcounts.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('recordcounts:display', () => {
});

it('Displays the records (json)', () => {
const output = execCmd<RecordCount[]>(`limits:recordcounts:display -s Account,Contact -u ${username} --json`, {
const output = execCmd<RecordCount[]>(`org list sobject record-counts -s Account,Contact -o ${username} --json`, {
ensureExitCode: 0,
}).jsonOutput;
expect(output?.result).length.greaterThan(0);
Expand All @@ -36,7 +36,7 @@ describe('recordcounts:display', () => {
});

it('Displays all records (json)', () => {
const output = execCmd<RecordCount[]>(`limits:recordcounts:display -u ${username} --json`, {
const output = execCmd<RecordCount[]>(`org list sobject record-counts -o ${username} --json`, {
ensureExitCode: 0,
}).jsonOutput;

Expand All @@ -45,7 +45,7 @@ describe('recordcounts:display', () => {
});

it('Displays the records (human readable)', () => {
const command = `limits:recordcounts:display -s Account -u ${username}`;
const command = `org list sobject record-counts -s Account -o ${username}`;
const result = execCmd(command, { ensureExitCode: 0 });
const output = getString(result, 'shellOutput.stdout');
expect(output).to.include('Account');
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1521,10 +1521,10 @@
http-call "^5.2.2"
lodash "^4.17.21"

"@oclif/table@^0.1.22":
version "0.1.22"
resolved "https://registry.yarnpkg.com/@oclif/table/-/table-0.1.22.tgz#d2f85f2da6141a02afb8efa9ac05651850ef4df8"
integrity sha512-2qW47gCfFqj/OhIMAA+ZE2mfeQ9ub3Sv3hrachwXJ9o8d6bfBKlgHbfJ5+SxJlur+ecXL+GdZWkR9RFhbIuZdA==
"@oclif/table@^0.1.24":
version "0.1.24"
resolved "https://registry.yarnpkg.com/@oclif/table/-/table-0.1.24.tgz#97cc9fc0e65cf4ceb7628084c73eb6ca30bf19b1"
integrity sha512-HC5lIdy8Q0crW+ImJhzux3lQ2UobcDM//Tw4+HjTcYi9xzgy1hnKQZ7mYSofgRO42bwN7iZulaLvb8dG1giz0g==
dependencies:
"@oclif/core" "^4"
"@types/react" "^18.3.11"
Expand Down Expand Up @@ -1676,15 +1676,15 @@
string-width "^7.2.0"
terminal-link "^3.0.0"

"@salesforce/sf-plugins-core@^12.0.2":
version "12.0.2"
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.0.2.tgz#77e1132678f384ead342c58fdb63326642e95b0c"
integrity sha512-7i/Qsp/4eN9kSA0Ix+OdMmlokPHb+QkPCreiJW9hO737GtHKd6lAbT6kdoD/SjrYGQKYUIwJcOCWQ9i9UM9lPw==
"@salesforce/sf-plugins-core@^12.0.4":
version "12.0.4"
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.0.4.tgz#b78aa0747ab0b861268bf72b2743217a6b0275c5"
integrity sha512-fIzr6AZbeY5mqFfDHPyN09eVH0qYkkKVf2jB375YaWZZ8WKTqtYQnwaKd3Gi9asggvMKnmI91ov6aFGKCdA1qg==
dependencies:
"@inquirer/confirm" "^3.1.22"
"@inquirer/password" "^2.2.0"
"@oclif/core" "^4.0.27"
"@oclif/table" "^0.1.22"
"@oclif/table" "^0.1.24"
"@salesforce/core" "^8.5.1"
"@salesforce/kit" "^3.2.3"
"@salesforce/ts-types" "^2.0.12"
Expand Down

0 comments on commit 3a11f3a

Please sign in to comment.