@salesforce/plugin-deploy-retrieve 1.18.2 → 1.18.4

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.
@@ -8,7 +8,7 @@ export declare class DeleteTracking extends SfCommand<DeleteTrackingResult> {
8
8
  static readonly summary: string;
9
9
  static readonly description: string;
10
10
  static readonly requiresProject = true;
11
- static readonly examples: never[];
11
+ static readonly examples: string[];
12
12
  static readonly flags: {
13
13
  'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
14
14
  loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
@@ -34,7 +34,7 @@ DeleteTracking.aliases = ['force:source:tracking:clear'];
34
34
  DeleteTracking.summary = messages.getMessage('deleteSummary');
35
35
  DeleteTracking.description = messages.getMessage('deleteDescription');
36
36
  DeleteTracking.requiresProject = true;
37
- DeleteTracking.examples = [];
37
+ DeleteTracking.examples = messages.getMessages('deleteExample');
38
38
  DeleteTracking.flags = {
39
39
  'api-version': sf_plugins_core_1.orgApiVersionFlagWithDeprecations,
40
40
  loglevel: sf_plugins_core_1.loglevel,
@@ -1 +1 @@
1
- {"version":3,"file":"tracking.js","sourceRoot":"","sources":["../../../../src/commands/project/delete/tracking.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2CAA4C;AAC5C,+BAA+B;AAC/B,iEAA6D;AAC7D,iEAMqC;AAErC,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,oCAAoC,EAAE,iBAAiB,CAAC,CAAC;AAMhG,MAAa,cAAe,SAAQ,2BAA+B;IAoB1D,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;QAEnD,I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AAG,IAAI,CAAC;AACvB,uBAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;AAEjD,oBAAK,GAAG;IAC7B,aAAa,EAAE,mDAAiC;IAChD,QAAQ,EAAR,0BAAQ;IACR,YAAY,EAAE,iDAA+B;IAC7C,WAAW,EAAE,uBAAK,CAAC,OAAO,CAAC;QACzB,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;QACvD,OAAO,EAAE,CAAC,UAAU,CAAC;QACrB,gBAAgB,EAAE,IAAI;KACvB,CAAC;CACH,CAAC"}
@@ -9,7 +9,7 @@ export declare class ResetTracking extends SfCommand<ResetTrackingResult> {
9
9
  static readonly summary: string;
10
10
  static readonly description: string;
11
11
  static readonly requiresProject = true;
12
- static readonly examples: never[];
12
+ static readonly examples: string[];
13
13
  static readonly flags: {
14
14
  'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
15
15
  'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
@@ -42,7 +42,7 @@ ResetTracking.aliases = ['force:source:tracking:reset'];
42
42
  ResetTracking.summary = messages.getMessage('resetSummary');
43
43
  ResetTracking.description = messages.getMessage('resetDescription');
44
44
  ResetTracking.requiresProject = true;
45
- ResetTracking.examples = [];
45
+ ResetTracking.examples = messages.getMessages('resetExample');
46
46
  ResetTracking.flags = {
47
47
  'target-org': sf_plugins_core_1.requiredOrgFlagWithDeprecations,
48
48
  'api-version': sf_plugins_core_1.orgApiVersionFlagWithDeprecations,
@@ -1 +1 @@
1
- {"version":3,"file":"tracking.js","sourceRoot":"","sources":["../../../../src/commands/project/reset/tracking.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2CAA4C;AAC5C,iEAA6D;AAC7D,iEAOqC;AAErC,eAAQ,CAAC,uBAAuB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B,CAAC;QACtD,GAAG,EAAE,CAAC;KACP,CAAC;IACF,WAAW,EAAE,uBAAK,CAAC,OAAO,CAAC;QACzB,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;QACvD,OAAO,EAAE,CAAC,UAAU,CAAC;QACrB,gBAAgB,EAAE,IAAI;KACvB,CAAC;CACH,CAAC"}
@@ -10,7 +10,23 @@ Resets local and remote source tracking so that Salesforce CLI no longer registe
10
10
 
11
11
  Use the --revision parameter to reset source tracking to a specific revision number of an org source member. To get the revision number, query the SourceMember Tooling API object with the 'data soql' command. For example:
12
12
 
13
- <%= config.bin %> data query --query "SELECT MemberName, MemberType, RevisionCounter FROM SourceMember" --use-tooling-api
13
+ <%= config.bin %> data query --query "SELECT MemberName, MemberType, RevisionCounter FROM SourceMember" --use-tooling-api --target-org my-scratch
14
+
15
+ # resetExample
16
+
17
+ - Reset source tracking for the org with alias "my-scratch":
18
+
19
+ $ <%= config.bin %> <%= command.id %> --target-org my-scratch
20
+
21
+ - Reset source tracking to revision number 30 for your default org:
22
+
23
+ $ <%= config.bin %> <%= command.id %> --revision 30
24
+
25
+ # deleteExample
26
+
27
+ - Delete local source tracking for the org with alias "my-scratch":
28
+
29
+ $ <%= config.bin %> <%= command.id %> --target-org my-scratch
14
30
 
15
31
  # deleteSummary
16
32
 
@@ -32,8 +48,8 @@ SourceMember revision counter number to reset to.
32
48
 
33
49
  # promptMessage
34
50
 
35
- WARNING: This operation will modify all your local source tracking files. The operation can have unintended consequences on all the force:source commands. Are you sure you want to proceed?
51
+ WARNING: This operation will modify all your local source tracking files. The operation can have unintended consequences on all the "project deploy" and "project retrieve" commands. Are you sure you want to proceed?
36
52
 
37
53
  # conflictMsg
38
54
 
39
- We couldn't complete the operation due to conflicts. Verify that you want to keep the existing versions, then run the command again with the --forceoverwrite (-f) option.
55
+ We couldn't complete the operation due to conflicts. Verify that you want to keep the existing versions, then run the command again with the --forceoverwrite (-f) flag.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.18.2",
2
+ "version": "1.18.4",
3
3
  "commands": {
4
4
  "deploy": {
5
5
  "id": "deploy",
@@ -204,7 +204,7 @@
204
204
  "char": "d",
205
205
  "summary": "Output directory to store the Metadata API–formatted files in.",
206
206
  "multiple": false,
207
- "default": "metadataPackage_1695783886253",
207
+ "default": "metadataPackage_1696014058357",
208
208
  "deprecateAliases": true,
209
209
  "aliases": [
210
210
  "outputdir"
@@ -465,7 +465,9 @@
465
465
  "aliases": [
466
466
  "force:source:tracking:clear"
467
467
  ],
468
- "examples": [],
468
+ "examples": [
469
+ "Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
470
+ ],
469
471
  "deprecateAliases": true,
470
472
  "flags": {
471
473
  "json": {
@@ -2001,7 +2003,7 @@
2001
2003
  "project:reset:tracking": {
2002
2004
  "id": "project:reset:tracking",
2003
2005
  "summary": "Reset local and remote source tracking.",
2004
- "description": "WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.\n\nResets local and remote source tracking so that Salesforce CLI no longer registers differences between your local files and those in the org. When you next run 'project deploy preview', Salesforce CLI returns no results, even though conflicts might actually exist. Salesforce CLI then resumes tracking new source changes as usual.\n\nUse the --revision parameter to reset source tracking to a specific revision number of an org source member. To get the revision number, query the SourceMember Tooling API object with the 'data soql' command. For example:\n\n<%= config.bin %> data query --query \"SELECT MemberName, MemberType, RevisionCounter FROM SourceMember\" --use-tooling-api",
2006
+ "description": "WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.\n\nResets local and remote source tracking so that Salesforce CLI no longer registers differences between your local files and those in the org. When you next run 'project deploy preview', Salesforce CLI returns no results, even though conflicts might actually exist. Salesforce CLI then resumes tracking new source changes as usual.\n\nUse the --revision parameter to reset source tracking to a specific revision number of an org source member. To get the revision number, query the SourceMember Tooling API object with the 'data soql' command. For example:\n\n <%= config.bin %> data query --query \"SELECT MemberName, MemberType, RevisionCounter FROM SourceMember\" --use-tooling-api --target-org my-scratch",
2005
2007
  "strict": true,
2006
2008
  "pluginName": "@salesforce/plugin-deploy-retrieve",
2007
2009
  "pluginAlias": "@salesforce/plugin-deploy-retrieve",
@@ -2009,7 +2011,10 @@
2009
2011
  "aliases": [
2010
2012
  "force:source:tracking:reset"
2011
2013
  ],
2012
- "examples": [],
2014
+ "examples": [
2015
+ "Reset source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch",
2016
+ "Reset source tracking to revision number 30 for your default org:\n$ <%= config.bin %> <%= command.id %> --revision 30"
2017
+ ],
2013
2018
  "deprecateAliases": true,
2014
2019
  "flags": {
2015
2020
  "json": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-deploy-retrieve",
3
3
  "description": "deploy and retrieve commands for sf",
4
- "version": "1.18.2",
4
+ "version": "1.18.4",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -267,7 +267,7 @@
267
267
  }
268
268
  },
269
269
  "sfdx": {
270
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.18.2.crt",
271
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.18.2.sig"
270
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.18.4.crt",
271
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.18.4.sig"
272
272
  }
273
273
  }