Skip to content

Commit

Permalink
feat: use oclif/core v4 (#604)
Browse files Browse the repository at this point in the history
* feat: use oclif/core v4

* perf: use performance import

* chore: bump deps for xnuts

---------

Co-authored-by: mshanemc <[email protected]>
  • Loading branch information
mdonnalley and mshanemc authored Jun 7, 2024
1 parent ea50fd9 commit 58f7d15
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 187 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"node": ">=18.0.0"
},
"dependencies": {
"@oclif/core": "^3.26.6",
"@salesforce/core": "^7.3.9",
"@oclif/core": "^4.0.3",
"@salesforce/core": "^7.3.10",
"@salesforce/kit": "^3.1.2",
"@salesforce/source-deploy-retrieve": "^11.6.5",
"@salesforce/ts-types": "^2.0.9",
Expand All @@ -61,7 +61,7 @@
},
"devDependencies": {
"@salesforce/cli-plugins-testkit": "^5.3.8",
"@salesforce/dev-scripts": "^9.1.2",
"@salesforce/dev-scripts": "^10.1.0",
"@types/graceful-fs": "^4.1.9",
"eslint-plugin-sf-plugin": "^1.18.5",
"ts-node": "^10.9.2",
Expand Down
2 changes: 1 addition & 1 deletion src/shared/local/localShadowRepo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { NamedPackageDir, Lifecycle, Logger, SfError } from '@salesforce/core';
import { env } from '@salesforce/kit';
// @ts-expect-error isogit has both ESM and CJS exports but node16 module/resolution identifies it as ESM
import git from 'isomorphic-git';
import { Performance } from '@oclif/core';
import { Performance } from '@oclif/core/performance';
import { RegistryAccess } from '@salesforce/source-deploy-retrieve';
import { chunkArray, excludeLwcLocalOnlyTest, folderContainsPath } from '../functions';
import { filenameMatchesToMap, getMatches } from './moveDetection';
Expand Down
2 changes: 1 addition & 1 deletion src/shared/local/moveDetection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
// @ts-expect-error isogit has both ESM and CJS exports but node16 module/resolution identifies it as ESM
import git from 'isomorphic-git';
import * as fs from 'graceful-fs';
import { Performance } from '@oclif/core';
import { Performance } from '@oclif/core/performance';
import { sourceComponentGuard } from '../guards';
import { isDeleted, isAdded, ensureWindows, toFilenames } from './functions';
import { AddAndDeleteMaps, FilenameBasenameHash, StatusRow, StringMap } from './types';
Expand Down
2 changes: 1 addition & 1 deletion src/sourceTracking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
} from '@salesforce/source-deploy-retrieve';
// this is not exported by SDR (see the comments in SDR regarding its limitations)
import { filePathsFromMetadataComponent } from '@salesforce/source-deploy-retrieve/lib/src/utils/filePathGenerator';
import { Performance } from '@oclif/core';
import { Performance } from '@oclif/core/performance';
import { RemoteSourceTrackingService, remoteChangeElementToChangeResult } from './shared/remoteSourceTrackingService';
import { ShadowRepo } from './shared/local/localShadowRepo';
import { throwIfConflicts, findConflictsInComponentSet, getDedupedConflictsFromChanges } from './shared/conflicts';
Expand Down
Loading

0 comments on commit 58f7d15

Please sign in to comment.