Skip to content

Commit 58f7d15

Browse files
mdonnalleymshanemc
andauthored
feat: use oclif/core v4 (#604)
* feat: use oclif/core v4 * perf: use performance import * chore: bump deps for xnuts --------- Co-authored-by: mshanemc <shane.mclaughlin@salesforce.com>
1 parent ea50fd9 commit 58f7d15

File tree

5 files changed

+71
-187
lines changed

5 files changed

+71
-187
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
"node": ">=18.0.0"
5050
},
5151
"dependencies": {
52-
"@oclif/core": "^3.26.6",
53-
"@salesforce/core": "^7.3.9",
52+
"@oclif/core": "^4.0.3",
53+
"@salesforce/core": "^7.3.10",
5454
"@salesforce/kit": "^3.1.2",
5555
"@salesforce/source-deploy-retrieve": "^11.6.5",
5656
"@salesforce/ts-types": "^2.0.9",
@@ -61,7 +61,7 @@
6161
},
6262
"devDependencies": {
6363
"@salesforce/cli-plugins-testkit": "^5.3.8",
64-
"@salesforce/dev-scripts": "^9.1.2",
64+
"@salesforce/dev-scripts": "^10.1.0",
6565
"@types/graceful-fs": "^4.1.9",
6666
"eslint-plugin-sf-plugin": "^1.18.5",
6767
"ts-node": "^10.9.2",

src/shared/local/localShadowRepo.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { NamedPackageDir, Lifecycle, Logger, SfError } from '@salesforce/core';
1212
import { env } from '@salesforce/kit';
1313
// @ts-expect-error isogit has both ESM and CJS exports but node16 module/resolution identifies it as ESM
1414
import git from 'isomorphic-git';
15-
import { Performance } from '@oclif/core';
15+
import { Performance } from '@oclif/core/performance';
1616
import { RegistryAccess } from '@salesforce/source-deploy-retrieve';
1717
import { chunkArray, excludeLwcLocalOnlyTest, folderContainsPath } from '../functions';
1818
import { filenameMatchesToMap, getMatches } from './moveDetection';

src/shared/local/moveDetection.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
// @ts-expect-error isogit has both ESM and CJS exports but node16 module/resolution identifies it as ESM
1616
import git from 'isomorphic-git';
1717
import * as fs from 'graceful-fs';
18-
import { Performance } from '@oclif/core';
18+
import { Performance } from '@oclif/core/performance';
1919
import { sourceComponentGuard } from '../guards';
2020
import { isDeleted, isAdded, ensureWindows, toFilenames } from './functions';
2121
import { AddAndDeleteMaps, FilenameBasenameHash, StatusRow, StringMap } from './types';

src/sourceTracking.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {
2828
} from '@salesforce/source-deploy-retrieve';
2929
// this is not exported by SDR (see the comments in SDR regarding its limitations)
3030
import { filePathsFromMetadataComponent } from '@salesforce/source-deploy-retrieve/lib/src/utils/filePathGenerator';
31-
import { Performance } from '@oclif/core';
31+
import { Performance } from '@oclif/core/performance';
3232
import { RemoteSourceTrackingService, remoteChangeElementToChangeResult } from './shared/remoteSourceTrackingService';
3333
import { ShadowRepo } from './shared/local/localShadowRepo';
3434
import { throwIfConflicts, findConflictsInComponentSet, getDedupedConflictsFromChanges } from './shared/conflicts';

0 commit comments

Comments
 (0)