Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(types): declare jsforce devDep #407

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

mshanemc
Copy link
Contributor

What does this PR do?
plugin was importing stuff from jsforce without a declared dependency

What issues does this PR fix or reference?
https://github.com/forcedotcom/sfdx-core/actions/runs/6535843735/job/17792534010

@mshanemc mshanemc requested a review from a team as a code owner October 17, 2023 19:01
@@ -12,7 +12,7 @@ import {
loglevel,
} from '@salesforce/sf-plugins-core';
import { Messages, Connection, Logger } from '@salesforce/core';
import { SaveResult } from 'jsforce';
import type { SaveResult } from 'jsforce';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fancy

Copy link
Contributor Author

@mshanemc mshanemc Oct 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it all should disappear in the js, but this helps some tooling (ex: import cost analysis)

@mshanemc mshanemc merged commit 85f2d96 into main Oct 17, 2023
10 checks passed
@mshanemc mshanemc deleted the sm/declare-jsforce-types-import branch October 17, 2023 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants