@salesforce/source-tracking 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.1.3](https://github.com/forcedotcom/source-tracking/compare/v1.1.2...v1.1.3) (2022-03-07)
6
+
7
+ ### Bug Fixes
8
+
9
+ - revert beta/legacy mapping ([4d3380c](https://github.com/forcedotcom/source-tracking/commit/4d3380c74a72572a8c1e464c739c4d5b8af69442))
10
+
5
11
  ### [1.1.2](https://github.com/forcedotcom/source-tracking/compare/v1.1.1...v1.1.2) (2022-03-02)
6
12
 
7
13
  ### Bug Fixes
@@ -62,8 +62,8 @@ const throwIfInvalid = ({ org, projectPath, toValidate, command, }) => {
62
62
  // We expected it to be the plugin-source version but it is using the old tracking files
63
63
  if (toValidate === 'plugin-source') {
64
64
  throw new core_1.SfdxError(messages.getMessage('sourceTrackingFileVersionMismatch', ['old']), 'SourceTrackingFileVersionMismatch', [
65
- messages.getMessage('useOtherVersion', ['old', (0, exports.replaceRenamedCommands)(command)]),
66
- messages.getMessage('clearSuggestion', ['old', (0, exports.replaceRenamedCommands)('sfdx force:source:tracking:clear')]),
65
+ messages.getMessage('useOtherVersion', ['old', (0, exports.replaceRenamedCommands)(command, true)]),
66
+ messages.getMessage('clearSuggestion', ['old', 'sfdx force:source:tracking:clear']),
67
67
  ]);
68
68
  }
69
69
  };
@@ -82,10 +82,10 @@ const replaceRenamedCommands = (input, reverse = false) => {
82
82
  };
83
83
  exports.replaceRenamedCommands = replaceRenamedCommands;
84
84
  const renames = new Map([
85
- ['force:source:status', 'force:source:legacy:status'],
86
- ['force:source:push', 'force:source:legacy:push'],
87
- ['force:source:pull', 'force:source:legacy:pull'],
88
- ['force:source:tracking:reset', 'force:source:legacy:tracking:reset'],
89
- ['force:source:tracking:clear', 'force:source:legacy:tracking:clear'],
85
+ ['force:source:status', 'force:source:beta:status'],
86
+ ['force:source:push', 'force:source:beta:push'],
87
+ ['force:source:pull', 'force:source:beta:pull'],
88
+ ['force:source:tracking:reset', 'force:source:beta:tracking:reset'],
89
+ ['force:source:tracking:clear', 'force:source:beta:tracking:clear'],
90
90
  ]);
91
91
  //# sourceMappingURL=compatibility.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/source-tracking",
3
3
  "description": "API for tracking local and remote Salesforce metadata changes",
4
- "version": "1.1.2",
4
+ "version": "1.1.3",
5
5
  "author": "Salesforce",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "lib/index.js",