-
Notifications
You must be signed in to change notification settings - Fork 8
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
job prevent-typescript-dependency error #127
Comments
@goncastrum I won't click here and I hope nobody else will, it looks like phishing. |
@nvuillam they are a known spam bot. The MediaFire link downloads a password-protected archive containing an unknown piece of malware: |
devDeps shouldn't affect the test, we do also, I've seen I cloned your project/branch, ran
stopped using Try updating to latest sf-plugins-core (I think its coming from there via an old oclif/core version). |
Ok i'll try that and let you know here, thanks |
@cristiand391 I upgraded to the latest @salesforce/plugin-core , but... it does not accept the property flags on classes, even the hello/world.ts command of plugin is crying :/
Would you have a magic tip so I solve the issue ? ^^ Here is the complete code of the sample command provided by sf plugins
|
I upgraded
Latest job run : https://github.com/hardisgroupcom/sfdx-hardis/actions/runs/10673342257/job/29582239557?pr=770 Would it be possible to add some variable in your script allowing to skip the typescript check ? I don't think I'll be able to get rid of it :/
|
yes, we added it for one of our eslint rules that ship TS, you can skip the check by setting
|
@cristiand391 thanks a lot for your investigations :) But I still can't compile transpile :( I reverted my commit, then:
I find it's kind of strange to have to struggle to make the dependencies match... maybe there could be a way to embed all of them behind @salesforce/plugins-core and get the related types from there ? |
I don't understand why job prevent-typescript-dependency is failing.
My package.json (containing typescript as devDependency) : https://github.com/hardisgroupcom/sfdx-hardis/blob/migrate-sf-plugin/package.json, but I check on core SF plugins (like plugin-apex) and they also contain the same dev dependency.
Example failing job: https://github.com/hardisgroupcom/sfdx-hardis/actions/runs/10657386234/job/29537151978?pr=770
What can I do to pass the test ?
cc @iowillhoit
The text was updated successfully, but these errors were encountered: