From 6ac8bb7d72b5818f019aa41992a15a576d9630d5 Mon Sep 17 00:00:00 2001
From: Sebastien
Date: Sat, 19 Oct 2024 11:27:06 +0200
Subject: [PATCH] feat: communicate new v6 plugin version (#937)
---
.ls-lint.yml | 1 +
README.md | 3 +++
src/commands/sgd/source/delta.ts | 3 +++
3 files changed, 7 insertions(+)
diff --git a/.ls-lint.yml b/.ls-lint.yml
index 27fcae00..635bcb6a 100644
--- a/.ls-lint.yml
+++ b/.ls-lint.yml
@@ -11,6 +11,7 @@ ignore:
- .github
- .husky
- .nyc_output
+ - .stryker-tmp
- .vscode
- .wireit
- .yarn
diff --git a/README.md b/README.md
index f6cddeb8..d3cfc4f0 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,9 @@
+> [!WARNING]
+> **Potentially breaking changes in v6**: Check out the [v6 announcement](https://github.com/scolladon/sfdx-git-delta/issues/936) to see how you could be impacted by some changes in the new major `v6` version of the plugin, and how to prepare to migrate to this version.
+
Table of Contents
diff --git a/src/commands/sgd/source/delta.ts b/src/commands/sgd/source/delta.ts
index 81850d81..5a0e0dc5 100644
--- a/src/commands/sgd/source/delta.ts
+++ b/src/commands/sgd/source/delta.ts
@@ -112,6 +112,9 @@ export default class SourceDeltaGenerate extends SfdxCommand {
output.success = false
process.exitCode = 1
}
+ output.warnings.push(
+ '[INFORMATION] sfdx-git-delta v6 is coming soon! Read more and plan your migration: https://github.com/scolladon/sfdx-git-delta/issues/936'
+ )
this.ux.log(JSON.stringify(output, null, 2))
return output
}