job prevent-typescript-dependency error
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- github-actions, typescript
- Domain
- ci-cd
Research direction
Start with .github/workflows/preventTypescriptDep.yml and the failing job linked in the issue. Compare its dependency checks with the package.json examples for sfdx-hardis and core SF plugins, then reproduce the failure. Done means the intended TypeScript dependency case either passes the workflow or has a clearly documented, actionable failure.
Written by the indexing model from the issue text.
Description
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
[4/4] Calculating file sizes...
info
=> Found "typescript@5.4.5"
info Has been hoisted to "typescript"
info Reasons this module exists
- Specified in "devDependencies"
- Hoisted from "@salesforce#dev-scripts#typescript"
- Hoisted from "@oclif#plugin-command-snapshot#ts-json-schema-generator#typescript"
- Hoisted from "@salesforce#dev-scripts#@commitlint#cli#@commitlint#load#typescript"
info Disk size without dependencies: "31.2MB"
info Disk size with unique dependencies: "31.2MB"
info Disk size with transitive dependencies: "31.2MB"
info Number of shared dependencies: 0
What can I do to pass the test ?
cc @iowillhoit
- Dominant language
- No language data
- Stars
- 18
- Forks
- 9
- Avg merge
- 17h 15m
- Merged PRs (30d)
- 9
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from salesforcecli/github-workflows
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in salesforcecli/github-workflows
Similar issues
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/prow#953 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
agent/security hive/hosted-available-lke648397-260827-5n31 security
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
conceptadev/noir#95 ·
-
Link Checker Report Openautomated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 72/100