sf-git-merge-driver 1.2.2 → 1.3.0

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/README.md CHANGED
@@ -165,10 +165,68 @@ git merge ...
165
165
  ## Commands
166
166
 
167
167
  <!-- commands -->
168
+ * [`sf git merge driver disable`](#sf-git-merge-driver-disable)
169
+ * [`sf git merge driver enable`](#sf-git-merge-driver-enable)
168
170
  * [`sf git merge driver install`](#sf-git-merge-driver-install)
169
171
  * [`sf git merge driver run`](#sf-git-merge-driver-run)
170
172
  * [`sf git merge driver uninstall`](#sf-git-merge-driver-uninstall)
171
173
 
174
+ ## `sf git merge driver disable`
175
+
176
+ Uninstalls the local git merge driver for the given org and branch.
177
+
178
+ ```
179
+ USAGE
180
+ $ sf git merge driver disable [--json] [--flags-dir <value>]
181
+
182
+ GLOBAL FLAGS
183
+ --flags-dir=<value> Import flag values from a directory.
184
+ --json Format output as json.
185
+
186
+ DESCRIPTION
187
+ Uninstalls the local git merge driver for the given org and branch.
188
+
189
+ Uninstalls the local git merge driver for the given org and branch, by removing the merge driver content in the
190
+ `.git/info/attributes` files in the project, deleting the merge driver configuration from the `.git/config` of the
191
+ project, and removing the installed binary from the node_modules/.bin directory.
192
+
193
+ ALIASES
194
+ $ sf git merge driver disable
195
+
196
+ EXAMPLES
197
+ Uninstall the driver for a given project:
198
+
199
+ $ sf git merge driver disable
200
+ ```
201
+
202
+ ## `sf git merge driver enable`
203
+
204
+ Installs a local git merge driver for the given org and branch.
205
+
206
+ ```
207
+ USAGE
208
+ $ sf git merge driver enable [--json] [--flags-dir <value>]
209
+
210
+ GLOBAL FLAGS
211
+ --flags-dir=<value> Import flag values from a directory.
212
+ --json Format output as json.
213
+
214
+ DESCRIPTION
215
+ Installs a local git merge driver for the given org and branch.
216
+
217
+ Installs a local git merge driver for the given org and branch, by updating the `.git/info/attributes` files in the
218
+ project, creating a new merge driver configuration in the `.git/config` of the project, and installing the binary in
219
+ the node_modules/.bin directory.
220
+
221
+ ALIASES
222
+ $ sf git merge driver enable
223
+
224
+ EXAMPLES
225
+ Install the driver for a given project:
226
+
227
+ $ sf git merge driver enable
228
+ ```
229
+
172
230
  ## `sf git merge driver install`
173
231
 
174
232
  Installs a local git merge driver for the given org and branch.
@@ -188,13 +246,16 @@ DESCRIPTION
188
246
  project, creating a new merge driver configuration in the `.git/config` of the project, and installing the binary in
189
247
  the node_modules/.bin directory.
190
248
 
249
+ ALIASES
250
+ $ sf git merge driver enable
251
+
191
252
  EXAMPLES
192
253
  Install the driver for a given project:
193
254
 
194
255
  $ sf git merge driver install
195
256
  ```
196
257
 
197
- _See code: [src/commands/git/merge/driver/install.ts](https://github.com/scolladon/sf-git-merge-driver/blob/v1.2.2/src/commands/git/merge/driver/install.ts)_
258
+ _See code: [src/commands/git/merge/driver/install.ts](https://github.com/scolladon/sf-git-merge-driver/blob/v1.3.0/src/commands/git/merge/driver/install.ts)_
198
259
 
199
260
  ## `sf git merge driver run`
200
261
 
@@ -238,7 +299,7 @@ EXAMPLES
238
299
  - output-file is the path to the file where the merged content will be written
239
300
  ```
240
301
 
241
- _See code: [src/commands/git/merge/driver/run.ts](https://github.com/scolladon/sf-git-merge-driver/blob/v1.2.2/src/commands/git/merge/driver/run.ts)_
302
+ _See code: [src/commands/git/merge/driver/run.ts](https://github.com/scolladon/sf-git-merge-driver/blob/v1.3.0/src/commands/git/merge/driver/run.ts)_
242
303
 
243
304
  ## `sf git merge driver uninstall`
244
305
 
@@ -259,13 +320,16 @@ DESCRIPTION
259
320
  `.git/info/attributes` files in the project, deleting the merge driver configuration from the `.git/config` of the
260
321
  project, and removing the installed binary from the node_modules/.bin directory.
261
322
 
323
+ ALIASES
324
+ $ sf git merge driver disable
325
+
262
326
  EXAMPLES
263
327
  Uninstall the driver for a given project:
264
328
 
265
329
  $ sf git merge driver uninstall
266
330
  ```
267
331
 
268
- _See code: [src/commands/git/merge/driver/uninstall.ts](https://github.com/scolladon/sf-git-merge-driver/blob/v1.2.2/src/commands/git/merge/driver/uninstall.ts)_
332
+ _See code: [src/commands/git/merge/driver/uninstall.ts](https://github.com/scolladon/sf-git-merge-driver/blob/v1.3.0/src/commands/git/merge/driver/uninstall.ts)_
269
333
  <!-- commandsstop -->
270
334
  ## Changelog
271
335
 
@@ -1,6 +1,7 @@
1
1
  import { SfCommand } from '@salesforce/sf-plugins-core';
2
2
  export default class Install extends SfCommand<void> {
3
3
  static readonly summary: string;
4
+ static readonly aliases: string[];
4
5
  static readonly description: string;
5
6
  static readonly examples: string[];
6
7
  static readonly flags: {};
@@ -10,6 +10,9 @@ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
10
10
  const messages = Messages.loadMessages(PLUGIN_NAME, 'install');
11
11
  export default class Install extends SfCommand {
12
12
  static summary = messages.getMessage('summary');
13
+ static aliases = [
14
+ 'git:merge:driver:enable',
15
+ ];
13
16
  static description = messages.getMessage('description');
14
17
  static examples = messages.getMessages('examples');
15
18
  static flags = {};
@@ -1 +1 @@
1
- {"version":3,"file":"install.js","sourceRoot":"","sources":["../../../../../src/commands/git/merge/driver/install.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAA;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAA;AAC1E,OAAO,EAAE,GAAG,EAAE,MAAM,uCAAuC,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAE5D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAC5D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,WAAW,EAAE,SAAS,CAAC,CAAA;AAE9D,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AC,GAAG,CAAC,CAAA;AAC5D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,WAAW,EAAE,SAAS,CAAC,CAAA;AAE9D,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,SAAe;IAC3C,MAAM,CAAmB,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAA;IACjE,MAAM,CAAmB,OAAO,GAAa;QAClD,yBAAyB;KAC1B,CAAA;IACM,MAAM,CAAmB,WAAW,GACzC,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAA;IAC7B,MAAM,CAAmB,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAA;IAEpE,MAAM,CAAmB,KAAK,GAAG,EAAE,CAAA;IAG7B,AAAN,KAAK,CAAC,GAAG;QACd,IAAI,CAAC;YACH,MAAM,IAAI,gBAAgB,EAAE,CAAC,oBAAoB,EAAE,CAAA;YACnD,MAAM,CAAC,IAAI,CAAC,gDAAgD,CAAC,CAAA;QAC/D,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,IAAI,CAAC,6CAA6C,EAAE,KAAK,CAAC,CAAA;QACnE,CAAC;QACD,MAAM,IAAI,cAAc,EAAE,CAAC,kBAAkB,EAAE,CAAA;QAC/C,MAAM,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAA;IACpD,CAAC;;AATY;IADZ,GAAG;kCAUH"}
@@ -3,6 +3,7 @@ export default class Uninstall extends SfCommand<void> {
3
3
  static readonly summary: string;
4
4
  static readonly description: string;
5
5
  static readonly examples: string[];
6
+ static readonly aliases: string[];
6
7
  static readonly flags: {};
7
8
  run(): Promise<void>;
8
9
  }
@@ -11,6 +11,9 @@ export default class Uninstall extends SfCommand {
11
11
  static summary = messages.getMessage('summary');
12
12
  static description = messages.getMessage('description');
13
13
  static examples = messages.getMessages('examples');
14
+ static aliases = [
15
+ 'git:merge:driver:disable',
16
+ ];
14
17
  static flags = {};
15
18
  async run() {
16
19
  await new UninstallService().uninstallMergeDriver();
@@ -1 +1 @@
1
- {"version":3,"file":"uninstall.js","sourceRoot":"","sources":["../../../../../src/commands/git/merge/driver/uninstall.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAA;AAC1E,OAAO,EAAE,GAAG,EAAE,MAAM,uCAAuC,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAE5D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAC5D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,WAAW,EAAE,WAAW,CAAC,CAAA;AAEhE,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,SAAe;IAC7C,MAAM,CAAmB,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAA;IACjE,MAAM,CAAmB,WAAW,GACzC,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAA;IAC7B,MAAM,CAAmB,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAA;IAEpE,MAAM,CAAmB,KAAK,GAAG,EAAE,CAAA;IAG7B,AAAN,KAAK,CAAC,GAAG;QACd,MAAM,IAAI,gBAAgB,EAAE,CAAC,oBAAoB,EAAE,CAAA;QACnD,MAAM,CAAC,IAAI,CAAC,uCAAuC,CAAC,CAAA;IACtD,CAAC;;AAHY;IADZ,GAAG;oCAIH"}
1
+ {"version":3,"file":"uninstall.js","sourceRoot":"","sources":["../../../../../src/commands/git/merge/driver/uninstall.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAA;AAC1E,OAAO,EAAE,GAAG,EAAE,MAAM,uCAAuC,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAE5D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAC5D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,WAAW,EAAE,WAAW,CAAC,CAAA;AAEhE,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,SAAe;IAC7C,MAAM,CAAmB,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAA;IACjE,MAAM,CAAmB,WAAW,GACzC,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAA;IAC7B,MAAM,CAAmB,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAA;IACpE,MAAM,CAAmB,OAAO,GAAa;QAClD,0BAA0B;KAC3B,CAAA;IAEM,MAAM,CAAmB,KAAK,GAAG,EAAE,CAAA;IAG7B,AAAN,KAAK,CAAC,GAAG;QACd,MAAM,IAAI,gBAAgB,EAAE,CAAC,oBAAoB,EAAE,CAAA;QACnD,MAAM,CAAC,IAAI,CAAC,uCAAuC,CAAC,CAAA;IACtD,CAAC;;AAHY;IADZ,GAAG;oCAIH"}
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "sf-git-merge-driver",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "sf-git-merge-driver",
9
- "version": "1.2.2",
9
+ "version": "1.3.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^4.8.0",
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "commands": {
3
3
  "git:merge:driver:install": {
4
- "aliases": [],
4
+ "aliases": [
5
+ "git:merge:driver:enable"
6
+ ],
5
7
  "args": {},
6
8
  "description": "Installs a local git merge driver for the given org and branch, by updating the `.git/info/attributes` files in the project, creating a new merge driver configuration in the `.git/config` of the project, and installing the binary in the node_modules/.bin directory.",
7
9
  "examples": [
@@ -42,7 +44,32 @@
42
44
  "driver",
43
45
  "install.js"
44
46
  ],
45
- "aliasPermutations": [],
47
+ "aliasPermutations": [
48
+ "git:merge:driver:enable",
49
+ "merge:git:driver:enable",
50
+ "merge:driver:git:enable",
51
+ "merge:driver:enable:git",
52
+ "git:driver:merge:enable",
53
+ "driver:git:merge:enable",
54
+ "driver:merge:git:enable",
55
+ "driver:merge:enable:git",
56
+ "git:driver:enable:merge",
57
+ "driver:git:enable:merge",
58
+ "driver:enable:git:merge",
59
+ "driver:enable:merge:git",
60
+ "git:merge:enable:driver",
61
+ "merge:git:enable:driver",
62
+ "merge:enable:git:driver",
63
+ "merge:enable:driver:git",
64
+ "git:enable:merge:driver",
65
+ "enable:git:merge:driver",
66
+ "enable:merge:git:driver",
67
+ "enable:merge:driver:git",
68
+ "git:enable:driver:merge",
69
+ "enable:git:driver:merge",
70
+ "enable:driver:git:merge",
71
+ "enable:driver:merge:git"
72
+ ],
46
73
  "permutations": [
47
74
  "git:merge:driver:install",
48
75
  "merge:git:driver:install",
@@ -214,7 +241,9 @@
214
241
  ]
215
242
  },
216
243
  "git:merge:driver:uninstall": {
217
- "aliases": [],
244
+ "aliases": [
245
+ "git:merge:driver:disable"
246
+ ],
218
247
  "args": {},
219
248
  "description": "Uninstalls the local git merge driver for the given org and branch, by removing the merge driver content in the `.git/info/attributes` files in the project, deleting the merge driver configuration from the `.git/config` of the project, and removing the installed binary from the node_modules/.bin directory.",
220
249
  "examples": [
@@ -255,7 +284,32 @@
255
284
  "driver",
256
285
  "uninstall.js"
257
286
  ],
258
- "aliasPermutations": [],
287
+ "aliasPermutations": [
288
+ "git:merge:driver:disable",
289
+ "merge:git:driver:disable",
290
+ "merge:driver:git:disable",
291
+ "merge:driver:disable:git",
292
+ "git:driver:merge:disable",
293
+ "driver:git:merge:disable",
294
+ "driver:merge:git:disable",
295
+ "driver:merge:disable:git",
296
+ "git:driver:disable:merge",
297
+ "driver:git:disable:merge",
298
+ "driver:disable:git:merge",
299
+ "driver:disable:merge:git",
300
+ "git:merge:disable:driver",
301
+ "merge:git:disable:driver",
302
+ "merge:disable:git:driver",
303
+ "merge:disable:driver:git",
304
+ "git:disable:merge:driver",
305
+ "disable:git:merge:driver",
306
+ "disable:merge:git:driver",
307
+ "disable:merge:driver:git",
308
+ "git:disable:driver:merge",
309
+ "disable:git:driver:merge",
310
+ "disable:driver:git:merge",
311
+ "disable:driver:merge:git"
312
+ ],
259
313
  "permutations": [
260
314
  "git:merge:driver:uninstall",
261
315
  "merge:git:driver:uninstall",
@@ -284,5 +338,5 @@
284
338
  ]
285
339
  }
286
340
  },
287
- "version": "1.2.2"
341
+ "version": "1.3.0"
288
342
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-git-merge-driver",
3
3
  "description": "git remote add origin git@github.com:scolladon/sf-git-merge-driver.git",
4
- "version": "1.2.2",
4
+ "version": "1.3.0",
5
5
  "exports": "./lib/driver/MergeDriver.js",
6
6
  "type": "module",
7
7
  "author": "Sébastien Colladon (colladonsebastien@gmail.com)",