Repository navigation
feat: add Flow dependency and version management commands - #110
Closed
susangao21 wants to merge 2 commits into
Closed
susangao21 wants to merge 2 commits into
susangao21 wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Flow dependency analysis and version-management commands so release engineers can inspect versions and deletion blockers, preview cleanup, and delete explicitly approved targets from the Salesforce CLI.
flow dependenciesreports direct evidence within the requested scan scope.flow version listconsumes the Core list contract and returns console tables or structured JSON.flow version deletesupports individual versions and ranges, independent outcomes, fresh identity/eligibility checks, and dry runs. Ambiguous mutation responses stop later deletions.flow version prunedefaults to preview and requires explicit approval for execution.--yescannot approve it.Version management uses
@salesforce/flow-node; the existing Flow test commands continue through apex-node. The changes include JSON schemas, command snapshots, public usage guides, and a documented local library-link workflow.Local validation: 362 CLI tests passed, including native Salesforce Connection transport and terminal-confirmation cases. Source/test TypeScript, lint, build, command-help checks and package creation passed. The package's 89 files were checked for the compiled commands and schemas. No live org calls were made during this migration.
This PR remains a draft with release prerequisites:
forcedotcom/flows. Installation requires access to that repository; a public plugin release must first use a published Flow Node npm version. Initial public CI fails while fetching this dependency (Repository not found).