Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

W-17561779: feat: added calculateTransitiveDependencies to schema#89

Merged
WillieRuemmele merged 6 commits into
mainfrom
t/managed-packaging/W-17561779/add-useTransitiveDependencies-to-CLI
Jun 9, 2025
Merged

W-17561779: feat: added calculateTransitiveDependencies to schema#89
WillieRuemmele merged 6 commits into
mainfrom
t/managed-packaging/W-17561779/add-useTransitiveDependencies-to-CLI

Conversation

@luop90
Copy link
Copy Markdown
Contributor

@luop90 luop90 commented Jun 5, 2025

What does this PR do?

Adds a new field to packageDir schema for the transitive dependencies workstream.

What issues does this PR fix or reference?

@W-17561779@

Functionality Before

It wasn't there.

Functionality After

Now you can use it.

@salesforce-cla
Copy link
Copy Markdown

salesforce-cla Bot commented Jun 5, 2025

Thanks for the contribution! Unfortunately we can't verify the commit author(s): Luke Henke <l***@s***.com>. One possible solution is to add that email to your GitHub account. Alternatively you can change your commits to another email and force push the change. After getting your commits associated with your GitHub account, refresh the status of this Pull Request.

Comment on lines +143 to +150

/**
* Set to true if only specifing direct package dependencies and the transitive (i.e., indirect) dependencies should be calculated by Salesforce.
* @title Calculate Transitive Dependencies
* @default false
*/
calculateTransitiveDependencies?: boolean;

Copy link
Copy Markdown
Contributor Author

@luop90 luop90 Jun 5, 2025

Choose a reason for hiding this comment

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

This is the change itself. Everything else is from compilation / linting.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ts syntax is wild

"definitionFile": "config/scratch-org-def.json",
"ancestorId": "3",
"includeProfileUserLicenses": false,
"calculateTransitiveDependencies": true,
Copy link
Copy Markdown
Contributor Author

@luop90 luop90 Jun 5, 2025

Choose a reason for hiding this comment

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

Added to the "complex" test case here.

@luop90 luop90 changed the title feat: added calculateTransitiveDependencies to schema W-17561779: feat: added calculateTransitiveDependencies to schema Jun 5, 2025
@luop90 luop90 force-pushed the t/managed-packaging/W-17561779/add-useTransitiveDependencies-to-CLI branch from 5a73b78 to 391dfcc Compare June 6, 2025 21:37
@WillieRuemmele WillieRuemmele merged commit 652632f into main Jun 9, 2025
12 checks passed
@WillieRuemmele WillieRuemmele deleted the t/managed-packaging/W-17561779/add-useTransitiveDependencies-to-CLI branch June 9, 2025 14:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants