Skip to content

Commit

Permalink
feat: jsforce-node, core7
Browse files Browse the repository at this point in the history
* chore: updates from devScripts

* test: testSetup

* refactor: top-level messages import

---------

Co-authored-by: mshanemc <[email protected]>
  • Loading branch information
svc-cli-bot and mshanemc authored Apr 10, 2024
1 parent acbb99a commit 5764f8b
Show file tree
Hide file tree
Showing 8 changed files with 206 additions and 47 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@
"author": "Salesforce",
"bugs": "https://github.com/forcedotcom/cli/issues",
"dependencies": {
"@oclif/core": "^3.26.0",
"@oclif/core": "^3.26.2",
"@salesforce/apex-node": "^4.0.2",
"@salesforce/core": "^6.7.6",
"@salesforce/core": "^7.0.1",
"@salesforce/kit": "^3.1.0",
"@salesforce/plugin-info": "^3.1.0",
"@salesforce/sf-plugins-core": "^8.0.2",
"@salesforce/source-deploy-retrieve": "^10.7.0",
"@salesforce/source-tracking": "^5.2.4",
"@salesforce/sf-plugins-core": "^9.0.0",
"@salesforce/source-deploy-retrieve": "^11.0.0",
"@salesforce/source-tracking": "^6.0.0",
"@salesforce/ts-types": "^2.0.9",
"chalk": "^5.3.0"
},
"devDependencies": {
"@oclif/plugin-command-snapshot": "^5.1.4",
"@salesforce/cli-plugins-testkit": "^5.1.13",
"@salesforce/dev-scripts": "^8.5.0",
"@salesforce/cli-plugins-testkit": "^5.2.0",
"@salesforce/dev-scripts": "^9.0.0",
"@salesforce/plugin-command-reference": "^3.0.73",
"@salesforce/source-testkit": "^2.1.108",
"@salesforce/ts-sinon": "^1.4.19",
"cross-env": "^7.0.3",
"eslint-plugin-sf-plugin": "^1.17.5",
"eslint-plugin-sf-plugin": "^1.18.0",
"oclif": "^4.7.6",
"ts-node": "^10.9.2",
"typescript": "^5.4.3"
Expand Down
2 changes: 1 addition & 1 deletion src/configMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import type { ConfigValue } from '@salesforce/core';
import { Messages } from '@salesforce/core/lib/messages.js';
import { Messages } from '@salesforce/core/messages';

Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
const messages = Messages.loadMessages('@salesforce/plugin-deploy-retrieve', 'config');
Expand Down
2 changes: 1 addition & 1 deletion test/commands/convert/source.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ComponentSetBuilder, ComponentSetOptions, MetadataConverter } from '@sa
import sinon from 'sinon';
import { expect } from 'chai';
import { stubMethod } from '@salesforce/ts-sinon';
import { MockTestOrgData, TestContext } from '@salesforce/core/lib/testSetup.js';
import { MockTestOrgData, TestContext } from '@salesforce/core/testSetup';
import { stubSfCommandUx } from '@salesforce/sf-plugins-core';
import oclifUtils from '@oclif/core/lib/util/fs.js';
import { SfProject } from '@salesforce/core';
Expand Down
2 changes: 1 addition & 1 deletion test/commands/delete/source.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import { Lifecycle, SfProject } from '@salesforce/core';
import { fromStub, stubInterface, stubMethod } from '@salesforce/ts-sinon';
import { Config } from '@oclif/core';
import { MockTestOrgData, TestContext } from '@salesforce/core/lib/testSetup.js';
import { MockTestOrgData, TestContext } from '@salesforce/core/testSetup';
import { SfCommand } from '@salesforce/sf-plugins-core';
import { ComponentProperties } from '@salesforce/source-deploy-retrieve/lib/src/resolve/sourceComponent.js';
import { Source } from '../../../src/commands/project/delete/source.js';
Expand Down
2 changes: 1 addition & 1 deletion test/commands/deploy/start.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import { expect } from 'chai';
import { MockTestOrgData, TestContext } from '@salesforce/core/lib/testSetup.js';
import { MockTestOrgData, TestContext } from '@salesforce/core/testSetup';
import { stubSfCommandUx } from '@salesforce/sf-plugins-core';
import { Messages } from '@salesforce/core';
import DeployMetadata from '../../../src/commands/project/deploy/start.js';
Expand Down
2 changes: 1 addition & 1 deletion test/commands/retrieve/start.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
import { Messages, SfProject } from '@salesforce/core';
import { stubMethod } from '@salesforce/ts-sinon';
import { stubSfCommandUx, stubSpinner, stubUx } from '@salesforce/sf-plugins-core';
import { MockTestOrgData, TestContext } from '@salesforce/core/lib/testSetup.js';
import { MockTestOrgData, TestContext } from '@salesforce/core/testSetup';
import oclifUtils from '@oclif/core/lib/util/fs.js';
import { RetrieveResultFormatter } from '../../../src/formatters/retrieveResultFormatter.js';
import { getRetrieveResult } from '../../utils/retrieveResponse.js';
Expand Down
2 changes: 1 addition & 1 deletion test/hooks/diagnostics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { expect } from 'chai';
import { fromStub, StubbedType, stubInterface, stubMethod } from '@salesforce/ts-sinon';
import { SfDoctor } from '@salesforce/plugin-info';
import { ConfigAggregator, Lifecycle, Messages, Org, SfProject } from '@salesforce/core';
import { TestContext } from '@salesforce/core/lib/testSetup.js';
import { TestContext } from '@salesforce/core/testSetup';
import { hook } from '../../src/hooks/diagnostics.js';
const pluginName = '@salesforce/plugin-deploy-retrieve';

Expand Down
Loading

0 comments on commit 5764f8b

Please sign in to comment.