sfdx-git-delta 4.9.0 → 4.12.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.
Files changed (49) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +41 -20
  3. package/bin/cli +2 -0
  4. package/lib/commands/sgd/source/delta.d.ts +2 -0
  5. package/lib/commands/sgd/source/delta.js +10 -0
  6. package/lib/commands/sgd/source/delta.js.map +1 -1
  7. package/lib/main.js +5 -2
  8. package/lib/main.js.map +1 -1
  9. package/lib/metadata/a48.json +31 -15
  10. package/lib/metadata/v46.json +31 -15
  11. package/lib/metadata/v47.json +31 -15
  12. package/lib/metadata/v49.json +31 -15
  13. package/lib/metadata/v50.json +31 -15
  14. package/lib/metadata/v51.json +38 -15
  15. package/lib/metadata/v52.json +38 -15
  16. package/lib/metadata/v53.json +1321 -0
  17. package/lib/service/botHandler.d.ts +4 -0
  18. package/lib/service/botHandler.js +30 -0
  19. package/lib/service/botHandler.js.map +1 -0
  20. package/lib/service/inTranslationHandler.d.ts +1 -0
  21. package/lib/service/inTranslationHandler.js +1 -0
  22. package/lib/service/inTranslationHandler.js.map +1 -1
  23. package/lib/service/standardHandler.d.ts +2 -0
  24. package/lib/service/standardHandler.js +16 -6
  25. package/lib/service/standardHandler.js.map +1 -1
  26. package/lib/service/subCustomObjectHandler.d.ts +1 -0
  27. package/lib/service/subCustomObjectHandler.js +13 -0
  28. package/lib/service/subCustomObjectHandler.js.map +1 -1
  29. package/lib/service/typeHandlerFactory.js +5 -12
  30. package/lib/service/typeHandlerFactory.js.map +1 -1
  31. package/lib/service/waveHandler.js +4 -11
  32. package/lib/service/waveHandler.js.map +1 -1
  33. package/lib/utils/cliHelper.js +12 -1
  34. package/lib/utils/cliHelper.js.map +1 -1
  35. package/lib/utils/metadataConstants.d.ts +0 -1
  36. package/lib/utils/metadataConstants.js +2 -3
  37. package/lib/utils/metadataConstants.js.map +1 -1
  38. package/lib/utils/packageConstructor.d.ts +1 -0
  39. package/lib/utils/packageConstructor.js +4 -2
  40. package/lib/utils/packageConstructor.js.map +1 -1
  41. package/lib/utils/repoGitDiff.d.ts +13 -2
  42. package/lib/utils/repoGitDiff.js +99 -44
  43. package/lib/utils/repoGitDiff.js.map +1 -1
  44. package/lib/utils/typeUtils.d.ts +1 -0
  45. package/lib/utils/typeUtils.js +11 -0
  46. package/lib/utils/typeUtils.js.map +1 -0
  47. package/messages/delta.js +6 -2
  48. package/oclif.manifest.json +1 -1
  49. package/package.json +33 -32
package/CHANGELOG.md CHANGED
@@ -2,6 +2,40 @@
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
+ ## [4.12.0](https://github.com/scolladon/sfdx-git-delta/compare/v4.11.0...v4.12.0) (2021-12-17)
6
+
7
+
8
+ ### Features
9
+
10
+ * add WaveComponent ([#220](https://github.com/scolladon/sfdx-git-delta/issues/220)) ([bcacdaa](https://github.com/scolladon/sfdx-git-delta/commit/bcacdaaa2c65675b9afbe5e8c51886528fa43c5e))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * implement new metadata handling for Bot ([#226](https://github.com/scolladon/sfdx-git-delta/issues/226)) ([cd8267e](https://github.com/scolladon/sfdx-git-delta/commit/cd8267e4d83219aab2746b808968b6c4c8186f5b))
16
+
17
+ ## [4.11.0](https://github.com/scolladon/sfdx-git-delta/compare/v4.10.0...v4.11.0) (2021-11-24)
18
+
19
+
20
+ ### Features
21
+
22
+ * add support for defining an --include file ([#210](https://github.com/scolladon/sfdx-git-delta/issues/210)) ([a1f2738](https://github.com/scolladon/sfdx-git-delta/commit/a1f273806c91f9d8c12f8aeabc44dd5b02247736))
23
+
24
+ ## [4.10.0](https://github.com/scolladon/sfdx-git-delta/compare/v4.9.1...v4.10.0) (2021-11-15)
25
+
26
+
27
+ ### Features
28
+
29
+ * add CODEOWNERS and branch protection ([#204](https://github.com/scolladon/sfdx-git-delta/issues/204)) ([07ce5d6](https://github.com/scolladon/sfdx-git-delta/commit/07ce5d67a35c2028d00fabb4500c0f2dc0a71774))
30
+ * add PlatformEventSubscriberConfig support for APIs 51 and above ([#203](https://github.com/scolladon/sfdx-git-delta/issues/203)) ([0a7a59e](https://github.com/scolladon/sfdx-git-delta/commit/0a7a59e1ddf55d1db017ac51307d6a582edb1f54))
31
+
32
+ ### [4.9.1](https://github.com/scolladon/sfdx-git-delta/compare/v4.9.0...v4.9.1) (2021-10-13)
33
+
34
+
35
+ ### Bug Fixes
36
+
37
+ * issue when filtering same file name for different metadata ([#196](https://github.com/scolladon/sfdx-git-delta/issues/196)) ([ca7488b](https://github.com/scolladon/sfdx-git-delta/commit/ca7488b2a4c566dec3094b9f37300ba72ccfb0e8))
38
+
5
39
  ## [4.9.0](https://github.com/scolladon/sfdx-git-delta/compare/v4.8.1...v4.9.0) (2021-09-10)
6
40
 
7
41
 
package/README.md CHANGED
@@ -1,6 +1,4 @@
1
- [![NPM](https://nodei.co/npm-dl/sfdx-git-delta.png)](https://nodei.co/npm/sfdx-git-delta/) [![HitCount](http://hits.dwyl.com/scolladon/sfdx-git-delta.svg)](http://hits.dwyl.com/scolladon/sfdx-git-delta)
2
-
3
- # SFDX-Git-Delta ![Actions Status](https://github.com/scolladon/sfdx-git-delta/workflows/CI/badge.svg) [![Maintainability](https://api.codeclimate.com/v1/badges/95619399c7bb2cf60da4/maintainability)](https://codeclimate.com/github/scolladon/sfdx-git-delta/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/95619399c7bb2cf60da4/test_coverage)](https://codeclimate.com/github/scolladon/sfdx-git-delta/test_coverage) [![Known Vulnerabilities](https://snyk.io//test/github/scolladon/sfdx-git-delta/badge.svg?targetFile=package.json)](https://snyk.io//test/github/scolladon/sfdx-git-delta?targetFile=package.json)
1
+ # SFDX-Git-Delta ![Actions Status](https://github.com/scolladon/sfdx-git-delta/workflows/CI/badge.svg) [![npm](https://badgen.net/npm/v/sfdx-git-delta)](https://badgen.net/npm/v/sfdx-git-delta) [![Maintainability](https://api.codeclimate.com/v1/badges/95619399c7bb2cf60da4/maintainability)](https://codeclimate.com/github/scolladon/sfdx-git-delta/maintainability) [![Code Coverage](https://codecov.io/gh/scolladon/sfdx-git-delta/branch/master/graph/badge.svg?token=92T8XKKBHN)](https://codecov.io/gh/scolladon/sfdx-git-delta) [![Known Vulnerabilities](https://snyk.io//test/github/scolladon/sfdx-git-delta/badge.svg?targetFile=package.json)](https://snyk.io//test/github/scolladon/sfdx-git-delta?targetFile=package.json) [![downloads](https://badgen.net/npm/dw/sfdx-git-delta)](https://badgen.net/npm/dw/sfdx-git-delta)
4
2
 
5
3
  Generate the sfdx content in source format and destructive change from two git commits.
6
4
 
@@ -65,9 +63,9 @@ Pro tips: If you are in the process of building your CI/CD pipeline, make sure y
65
63
 
66
64
  ## How to install it?
67
65
 
68
- ### Option #1 (recommended) - Install as a Salesforce CLI plugin (sgd:source:delta):
66
+ ### Install as a Salesforce CLI plugin (sgd:source:delta):
69
67
 
70
- You can use SGD as a Salesforce CLI plugin (`sfdx sgd:source:delta`), and this is now the recommended approach to get SGD:
68
+ SGD is a Salesforce CLI plugin (`sfdx sgd:source:delta`). Run the following command to install it:
71
69
 
72
70
  ```sh
73
71
  sfdx plugins:install sfdx-git-delta
@@ -77,10 +75,7 @@ Because this plugin is not signed, you will get a warning saying that "This plug
77
75
 
78
76
  If you run your CI/CD jobs inside a Docker image, you can add the plugin to your image. Here is an example of a Dockerfile including the SGD plugin: https://github.com/mehdisfdc/sfdx-cli-gitlab
79
77
 
80
- ### Option #2 (legacy) - Install as the sgd command
81
-
82
- Before the Salesforce CLI plugin was available, the old way to use this tool was through the `sgd` command (as described in the [old README](https://github.com/scolladon/sfdx-git-delta/blob/1093db6bd19eb48905db8f9aa5db086aa6707613/README.md)).
83
- It is now recommended to use `sfdx sgd:source:delta`, but if you feel nostalgic about the `sgd` command, you can still get it through yarn (or npm): `yarn sfdx-git-delta@latest -g`
78
+ ⚠️ The Salesforce CLI plugin is now the only supported way to install SGD. There used to be another way to install it directly through yarn or npm. The legacy `sgd` command is now deprecated and will be decommissioned soon.
84
79
 
85
80
  ### Prerequisites
86
81
 
@@ -93,25 +88,29 @@ If you encounter this issue while having installed the correct version of node o
93
88
  ## How to use it?
94
89
 
95
90
  <!-- commands -->
96
- * [`sfdx sgd:source:delta -f <string> [-t <string>] [-r <filepath>] [-i <filepath>] [-D <filepath>] [-s <filepath>] [-W] [-o <filepath>] [-a <number>] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-sgdsourcedelta--f-string--t-string--r-filepath--i-filepath--d-filepath--s-filepath--w--o-filepath--a-number--d---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
91
+ * [`sfdx sgd:source:delta -f <string> [-t <string>] [-r <filepath>] [-i <filepath>] [-D <filepath>] [-s <filepath>] [-W] [-o <filepath>] [-a <number>] [-d] [-n <filepath>] [-N <filepath>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-sgdsourcedelta--f-string--t-string--r-filepath--i-filepath--d-filepath--s-filepath--w--o-filepath--a-number--d--n-filepath--n-filepath---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
97
92
 
98
- ## `sfdx sgd:source:delta -f <string> [-t <string>] [-r <filepath>] [-i <filepath>] [-D <filepath>] [-s <filepath>] [-W] [-o <filepath>] [-a <number>] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
93
+ ## `sfdx sgd:source:delta -f <string> [-t <string>] [-r <filepath>] [-i <filepath>] [-D <filepath>] [-s <filepath>] [-W] [-o <filepath>] [-a <number>] [-d] [-n <filepath>] [-N <filepath>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
99
94
 
100
95
  Generate the sfdx content in source format and destructive change from two git commits
101
96
 
102
97
  ```
103
98
  USAGE
104
- $ sfdx sgd:source:delta -f <string> [-t <string>] [-r <filepath>] [-i <filepath>] [-D <filepath>] [-s <filepath>] [-W]
105
- [-o <filepath>] [-a <number>] [-d] [--json] [--loglevel
99
+ $ sfdx sgd:source:delta -f <string> [-t <string>] [-r <filepath>] [-i <filepath>] [-D <filepath>] [-s <filepath>] [-W]
100
+ [-o <filepath>] [-a <number>] [-d] [-n <filepath>] [-N <filepath>] [--json] [--loglevel
106
101
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
107
102
 
108
103
  OPTIONS
109
- -D, --ignore-destructive=ignore-destructive ignore file to use
104
+ -D, --ignore-destructive=ignore-destructive file listing paths to explicitly
105
+ ignore for any destructive actions
106
+
107
+ -N, --include-destructive=include-destructive file listing paths to explicitly
108
+ include for any destructive actions
110
109
 
111
110
  -W, --ignore-whitespace ignore git diff whitespace (space,
112
111
  tab, eol) changes
113
112
 
114
- -a, --api-version=api-version [default: 52] salesforce API version
113
+ -a, --api-version=api-version [default: 53] salesforce API version
115
114
 
116
115
  -d, --generate-delta generate delta files in [--output]
117
116
  folder
@@ -120,7 +119,11 @@ OPTIONS
120
119
  diff is done [git rev-list
121
120
  --max-parents=0 HEAD]
122
121
 
123
- -i, --ignore=ignore ignore file to use
122
+ -i, --ignore=ignore file listing paths to explicitly
123
+ ignore for any diff actions
124
+
125
+ -n, --include=include file listing paths to explicitly
126
+ include for any diff actions
124
127
 
125
128
  -o, --output=output [default: ./output] source package
126
129
  specific output
@@ -139,7 +142,7 @@ OPTIONS
139
142
  this command invocation
140
143
  ```
141
144
 
142
- _See code: [src/commands/sgd/source/delta.ts](https://github.com/scolladon/sfdx-git-delta/blob/v4.9.0/src/commands/sgd/source/delta.ts)_
145
+ _See code: [src/commands/sgd/source/delta.ts](https://github.com/scolladon/sfdx-git-delta/blob/v4.12.0/src/commands/sgd/source/delta.ts)_
143
146
  <!-- commandsstop -->
144
147
 
145
148
  ### Important note for Windows users:
@@ -288,7 +291,7 @@ and will not be used to add member in `package.xml` nor `destructiveChanges.xml`
288
291
 
289
292
  But, sometimes you may need to have two different ignore policies for generating the `package.xml` and `destructiveChanges.xml` files. This is where the `--ignore-destructive [-D]` option comes handy!
290
293
 
291
- Use the `--ignore-destructive` parameter to specify a dedicated ignore file to handle deletions (resulting in metadata listed in the `destructiveChanges.xml` output). In orther words, this will override the `--ignore [-i]` parameter for deleted items.
294
+ Use the `--ignore-destructive` parameter to specify a dedicated ignore file to handle deletions (resulting in metadata listed in the `destructiveChanges.xml` output). In other words, this will override the `--ignore [-i]` parameter for deleted items.
292
295
 
293
296
  For example, consider a repository containing multiple sub-folders (force-app/main,force-app/sample, etc) and a commit deleting the Custom\_\_c object from one folder and modifying the Custom\_\_c object from another folder. This event will be treated has a Modification and a Deletion. By default, the Custom\_\_c object would appear in the `package.xml` and in `destructiveChanges.xml`, which could be a little bit inconsistent and can break the CI/CD build. This is a situation where your may want to use the `--ignore-destructive [-D]` parameter! Add the Custom\_\_c object pattern in an ignore file and pass it in the CLI parameter:
294
297
 
@@ -302,6 +305,23 @@ $ sfdx sgd:source:delta --from commit --ignore-destructive destructiveignore
302
305
 
303
306
  Note that in a situation where only the `--ignore [-i]` parameter is specified (and `--ignore-destructive [-D]` is not specified), then the plugin will ignore items matching `--ignore [-i]` parameter in all situations: Addition, Modification and Deletion.
304
307
 
308
+ ### Explicitly including specific files for inclusion or destruction regardless of diff:
309
+
310
+ The `--include [-n]` parameter allows you to specify a file based on [micromatch glob matching](https://github.com/micromatch/micromatch) used to explicitly include the specific files, regardless whether they have diffed or not. Similar to the `--ignore` flag, this file defines a list of glob file matchers to indicate which `git` aware files should always be included in the `package.xml` package. Every matching the pattern from the include file specified in the `--include [-n]` will be included by SGD.
311
+
312
+ As with `--ignore`, sometimes you may need to have two different include policies for generating the `package.xml` and `destructiveChanges.xml` files. This is where the `--include-destructive [-N]` option comes handy!
313
+
314
+ Use the `--include-destructive` parameter to specify a dedicated include file to handle deletions (resulting in metadata listed in the `destructiveChanges.xml` output). Here, you will indicate which files explicitly should be included in the `destructiveChanges.xml`.
315
+
316
+ For example, consider a repository containing multiple sub-folders (force-app/main,force-app/sample, etc) and the CI/CD platform generates a new file `force-app/generated/foo` that should not be included in the `source:deploy` command. You can create a file with a line matching this new file and specify this file using the `--include-destructive [-N]` parameter.
317
+
318
+ ```sh
319
+ # destructiveinclude
320
+ *generated/foo
321
+
322
+ $ sfdx sgd:source:delta --from commit --include-destructive destructiveinclude
323
+
324
+ ```
305
325
 
306
326
  ### Scoping delta generation to a specific folder
307
327
 
@@ -328,7 +348,7 @@ $ tree
328
348
  $ sfdx sgd:source:delta --from commit --source force-app/unpackaged
329
349
  ```
330
350
 
331
- >The ignored patterns specified using `--ignore [-i]` and `--ignore-destructive [-D]` still apply.
351
+ > The ignored patterns specified using `--ignore [-i]` and `--ignore-destructive [-D]` still apply.
332
352
 
333
353
  ### Generate a comma-separated list of the added and modified Apex classes:
334
354
 
@@ -369,13 +389,14 @@ console.log(JSON.stringify(work))
369
389
  */
370
390
  ```
371
391
 
372
- ## Built With [![dependencies Status](https://david-dm.org/scolladon/sfdx-git-delta/status.svg)](https://david-dm.org/scolladon/sfdx-git-delta) [![devDependencies Status](https://david-dm.org/scolladon/sfdx-git-delta/dev-status.svg)](https://david-dm.org/scolladon/sfdx-git-delta?type=dev)
392
+ ## Built With
373
393
 
374
394
  - [commander](https://github.com/tj/commander.js/) - The complete solution for node.js command-line interfaces, inspired by Ruby's commander.
375
395
  - [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) - Validate XML, Parse XML to JS/JSON and vise versa, or parse XML to Nimn rapidly without C/C++ based libraries and no callback
376
396
  - [fs-extra](https://github.com/jprichardson/node-fs-extra) - Node.js: extra methods for the fs object like copy(), remove(), mkdirs().
377
397
  - [ignore](https://github.com/kaelzhang/node-ignore#readme) - is a manager, filter and parser which implemented in pure JavaScript according to the .gitignore spec 2.22.1.
378
398
  - [xmlbuilder](https://github.com/oozcitak/xmlbuilder-js) - An XML builder for node.js similar to java-xmlbuilder.
399
+ - [micromatch](https://github.com/micromatch/micromatch) - a file glob matcher utility
379
400
 
380
401
  ## Versioning
381
402
 
package/bin/cli CHANGED
@@ -32,6 +32,8 @@ const options = program
32
32
  )
33
33
  .option('-r, --repo [dir]', messages.repoFlag, CliHelper.REPO_DEFAULT_VALUE)
34
34
  .option('-d, --generate-delta', messages.deltaFlag)
35
+ .option('-n, --include', messages.includeFlag)
36
+ .option('-N, --include-destructive', messages.includeDestructiveFlag)
35
37
  .parse(process.argv)
36
38
  .opts()
37
39
 
@@ -13,6 +13,8 @@ export default class SourceDeltaGenerate extends SfdxCommand {
13
13
  output: flags.Discriminated<flags.String>;
14
14
  'api-version': flags.Discriminated<flags.Number>;
15
15
  'generate-delta': flags.Discriminated<flags.Boolean<boolean>>;
16
+ include: flags.Discriminated<flags.String>;
17
+ 'include-destructive': flags.Discriminated<flags.String>;
16
18
  };
17
19
  run(): Promise<AnyJson>;
18
20
  }
@@ -32,6 +32,8 @@ class SourceDeltaGenerate extends command_1.SfdxCommand {
32
32
  repo: this.flags.repo,
33
33
  ignoreWhitespace: this.flags['ignore-whitespace'],
34
34
  generateDelta: this.flags['generate-delta'],
35
+ include: this.flags.include,
36
+ includeDestructive: this.flags['include-destructive'],
35
37
  });
36
38
  output.warnings = (_a = jobResult === null || jobResult === void 0 ? void 0 : jobResult.warnings) === null || _a === void 0 ? void 0 : _a.map(warning => warning.message);
37
39
  }
@@ -93,5 +95,13 @@ SourceDeltaGenerate.flagsConfig = {
93
95
  char: 'd',
94
96
  description: messages.getMessage('deltaFlag'),
95
97
  }),
98
+ include: command_1.flags.filepath({
99
+ char: 'n',
100
+ description: messages.getMessage('includeFlag'),
101
+ }),
102
+ 'include-destructive': command_1.flags.filepath({
103
+ char: 'N',
104
+ description: messages.getMessage('includeDestructiveFlag'),
105
+ }),
96
106
  };
97
107
  //# sourceMappingURL=delta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"delta.js","sourceRoot":"","sources":["../../../../src/commands/sgd/source/delta.ts"],"names":[],"mappings":";;AAAA,iDAAwD;AACxD,2CAA2C;AAE3C,qCAAoC;AACpC,MAAM,SAAS,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAA;AACrD,MAAM,KAAK,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAA;AAEjD,wDAAwD;AACxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAA;AAC3C,MAAM,YAAY,GAAG,OAAO,CAAA;AAE5B,iGAAiG;AACjG,mFAAmF;AACnF,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAA;AAEtE,MAAqB,mBAAoB,SAAQ,qBAAW;IAoDnD,KAAK,CAAC,GAAG;;QACd,MAAM,MAAM,GAAG;YACb,KAAK,EAAE,IAAI;YACX,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM;YACzB,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,EAAE;SACb,CAAA;QACD,IAAI;YACF,MAAM,SAAS,GAAG,GAAG,CAAC;gBACpB,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE;gBACjB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI;gBACrB,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM;gBACzB,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM;gBACzB,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM;gBACzB,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC;gBACnD,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC;gBACrC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI;gBACrB,gBAAgB,EAAE,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC;gB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ackageConstructor = require('./utils/packageConstructor');
3
3
  const TypeHandlerFactory = require('./service/typeHandlerFactory');
4
4
  const metadataManager = require('./metadata/metadataManager');
5
5
  const CLIHelper = require('./utils/cliHelper');
6
- const repoGitDiff = require('./utils/repoGitDiff');
6
+ const RepoGitDiff = require('./utils/repoGitDiff');
7
7
  const fse = require('fs-extra');
8
8
  const path = require('path');
9
9
  const DESTRUCTIVE_CHANGES_FILE_NAME = 'destructiveChanges';
@@ -13,7 +13,10 @@ module.exports = config => {
13
13
  const cliHelper = new CLIHelper(config);
14
14
  cliHelper.validateConfig();
15
15
  const metadata = metadataManager.getDefinition('directoryName', config.apiVersion);
16
- const lines = repoGitDiff(config, metadata);
16
+ const repoGitDiffHelper = new RepoGitDiff(config, metadata);
17
+ const filteredLines = repoGitDiffHelper.getFilteredDiff();
18
+ const includedLines = repoGitDiffHelper.getIncludedFiles();
19
+ const lines = [...filteredLines, ...includedLines];
17
20
  const work = treatDiff(config, lines, metadata);
18
21
  treatPackages(work.diffs, config, metadata);
19
22
  return work;
package/lib/main.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AAAA,YAAY,CAAA;AACZ,MAAM,kBAAkB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAA;AAChE,MAAM,kBAAkB,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAA;AAClE,MAAM,eAAe,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAA;AAC7D,MAAM,SAAS,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAA;AAC9C,MAAM,WAAW,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAElD,MAAM,GAAG,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAC/B,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAE5B,MAAM,6BAA6B,GAAG,oBAAoB,CAAA;AAC1D,MAAM,iBAAiB,GAAG,SAAS,C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AkB,EAAE;YACtD,MAAM,EAAE,6BAA6B;YACrC,UAAU,EAAE,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC;SACpC;KACF,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;QACb,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAA;QACjE,GAAG,CAAC,cAAc,CAAC,QAAQ,EAAE,EAAE,CAAC,UAAU,CAAC,CAAA;IAC7C,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA;AAED,MAAM,aAAa,GAAG,MAAM,CAAC,EAAE;IAC7B,MAAM,QAAQ,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAA;IAC1C,MAAM,WAAW,GAAG,MAAM,CAAC,6BAA6B,CAAC,CAAA;IACzD,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;SAClB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;SACvE,OAAO,CACN,IAAI,CAAC,EAAE,CACL,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,CAC1B,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CACvE,CAAC,CACL,CAAA;AACL,CAAC,CAAA"}
@@ -1164,6 +1164,21 @@
1164
1164
  "suffix": "mlDomain",
1165
1165
  "xmlName": "MlDomain"
1166
1166
  },
1167
+ {
1168
+ "directoryName": "discovery",
1169
+ "inFolder": false,
1170
+ "metaFile": true,
1171
+ "content": [
1172
+ {
1173
+ "suffix": "model",
1174
+ "xmlName": "DiscoveryAIModel"
1175
+ },
1176
+ {
1177
+ "suffix": "goal",
1178
+ "xmlName": "DiscoveryGoal"
1179
+ }
1180
+ ]
1181
+ },
1167
1182
  {
1168
1183
  "directoryName": "wave",
1169
1184
  "inFolder": false,
@@ -1173,6 +1188,10 @@
1173
1188
  "suffix": "wapp",
1174
1189
  "xmlName": "WaveApplication"
1175
1190
  },
1191
+ {
1192
+ "suffix": "wcomp",
1193
+ "xmlName": "WaveComponent"
1194
+ },
1176
1195
  {
1177
1196
  "suffix": "wdf",
1178
1197
  "xmlName": "WaveDataflow"
@@ -1206,22 +1225,19 @@
1206
1225
  "xmlName": "WaveTemplateBundle"
1207
1226
  },
1208
1227
  {
1209
- "childXmlNames": [
1210
- "BotVersion"
1211
- ],
1212
- "directoryName": "bot",
1213
- "inFolder": false,
1214
- "metaFile": false,
1215
- "suffix": "bot",
1216
- "xmlName": "Bot"
1217
- },
1218
- {
1219
- "directoryName": "bot.botVersions",
1228
+ "directoryName": "bots",
1220
1229
  "inFolder": false,
1221
- "metaFile": false,
1222
- "parentXmlName": "Bot",
1223
- "xmlName": "BotVersion",
1224
- "xmlTag": "botVersions"
1230
+ "metaFile": true,
1231
+ "content": [
1232
+ {
1233
+ "suffix": "bot",
1234
+ "xmlName": "Bot"
1235
+ },
1236
+ {
1237
+ "suffix": "botVersion",
1238
+ "xmlName": "BotVersion"
1239
+ }
1240
+ ]
1225
1241
  },
1226
1242
  {
1227
1243
  "directoryName": "workflows.alerts",
@@ -917,6 +917,21 @@
917
917
  "suffix": "mlDomain",
918
918
  "xmlName": "MlDomain"
919
919
  },
920
+ {
921
+ "directoryName": "discovery",
922
+ "inFolder": false,
923
+ "metaFile": true,
924
+ "content": [
925
+ {
926
+ "suffix": "model",
927
+ "xmlName": "DiscoveryAIModel"
928
+ },
929
+ {
930
+ "suffix": "goal",
931
+ "xmlName": "DiscoveryGoal"
932
+ }
933
+ ]
934
+ },
920
935
  {
921
936
  "directoryName": "wave",
922
937
  "inFolder": false,
@@ -926,6 +941,10 @@
926
941
  "suffix": "wapp",
927
942
  "xmlName": "WaveApplication"
928
943
  },
944
+ {
945
+ "suffix": "wcomp",
946
+ "xmlName": "WaveComponent"
947
+ },
929
948
  {
930
949
  "suffix": "wdf",
931
950
  "xmlName": "WaveDataflow"
@@ -959,22 +978,19 @@
959
978
  "xmlName": "WaveTemplateBundle"
960
979
  },
961
980
  {
962
- "childXmlNames": [
963
- "BotVersion"
964
- ],
965
- "directoryName": "bot",
966
- "inFolder": false,
967
- "metaFile": false,
968
- "suffix": "bot",
969
- "xmlName": "Bot"
970
- },
971
- {
972
- "directoryName": "bot.botVersions",
981
+ "directoryName": "bots",
973
982
  "inFolder": false,
974
- "metaFile": false,
975
- "parentXmlName": "Bot",
976
- "xmlName": "BotVersion",
977
- "xmlTag": "botVersions"
983
+ "metaFile": true,
984
+ "content": [
985
+ {
986
+ "suffix": "bot",
987
+ "xmlName": "Bot"
988
+ },
989
+ {
990
+ "suffix": "botVersion",
991
+ "xmlName": "BotVersion"
992
+ }
993
+ ]
978
994
  },
979
995
  {
980
996
  "directoryName": "workflows.alerts",
@@ -1143,6 +1143,21 @@
1143
1143
  "suffix": "mlDomain",
1144
1144
  "xmlName": "MlDomain"
1145
1145
  },
1146
+ {
1147
+ "directoryName": "discovery",
1148
+ "inFolder": false,
1149
+ "metaFile": true,
1150
+ "content": [
1151
+ {
1152
+ "suffix": "model",
1153
+ "xmlName": "DiscoveryAIModel"
1154
+ },
1155
+ {
1156
+ "suffix": "goal",
1157
+ "xmlName": "DiscoveryGoal"
1158
+ }
1159
+ ]
1160
+ },
1146
1161
  {
1147
1162
  "directoryName": "wave",
1148
1163
  "inFolder": false,
@@ -1152,6 +1167,10 @@
1152
1167
  "suffix": "wapp",
1153
1168
  "xmlName": "WaveApplication"
1154
1169
  },
1170
+ {
1171
+ "suffix": "wcomp",
1172
+ "xmlName": "WaveComponent"
1173
+ },
1155
1174
  {
1156
1175
  "suffix": "wdf",
1157
1176
  "xmlName": "WaveDataflow"
@@ -1185,22 +1204,19 @@
1185
1204
  "xmlName": "WaveTemplateBundle"
1186
1205
  },
1187
1206
  {
1188
- "childXmlNames": [
1189
- "BotVersion"
1190
- ],
1191
- "directoryName": "bot",
1192
- "inFolder": false,
1193
- "metaFile": false,
1194
- "suffix": "bot",
1195
- "xmlName": "Bot"
1196
- },
1197
- {
1198
- "directoryName": "bot.botVersions",
1207
+ "directoryName": "bots",
1199
1208
  "inFolder": false,
1200
- "metaFile": false,
1201
- "parentXmlName": "Bot",
1202
- "xmlName": "BotVersion",
1203
- "xmlTag": "botVersions"
1209
+ "metaFile": true,
1210
+ "content": [
1211
+ {
1212
+ "suffix": "bot",
1213
+ "xmlName": "Bot"
1214
+ },
1215
+ {
1216
+ "suffix": "botVersion",
1217
+ "xmlName": "BotVersion"
1218
+ }
1219
+ ]
1204
1220
  },
1205
1221
  {
1206
1222
  "directoryName": "workflows.alerts",
@@ -1157,6 +1157,21 @@
1157
1157
  "suffix": "mlDomain",
1158
1158
  "xmlName": "MlDomain"
1159
1159
  },
1160
+ {
1161
+ "directoryName": "discovery",
1162
+ "inFolder": false,
1163
+ "metaFile": true,
1164
+ "content": [
1165
+ {
1166
+ "suffix": "model",
1167
+ "xmlName": "DiscoveryAIModel"
1168
+ },
1169
+ {
1170
+ "suffix": "goal",
1171
+ "xmlName": "DiscoveryGoal"
1172
+ }
1173
+ ]
1174
+ },
1160
1175
  {
1161
1176
  "directoryName": "wave",
1162
1177
  "inFolder": false,
@@ -1166,6 +1181,10 @@
1166
1181
  "suffix": "wapp",
1167
1182
  "xmlName": "WaveApplication"
1168
1183
  },
1184
+ {
1185
+ "suffix": "wcomp",
1186
+ "xmlName": "WaveComponent"
1187
+ },
1169
1188
  {
1170
1189
  "suffix": "wdf",
1171
1190
  "xmlName": "WaveDataflow"
@@ -1199,22 +1218,19 @@
1199
1218
  "xmlName": "WaveTemplateBundle"
1200
1219
  },
1201
1220
  {
1202
- "childXmlNames": [
1203
- "BotVersion"
1204
- ],
1205
- "directoryName": "bot",
1206
- "inFolder": false,
1207
- "metaFile": false,
1208
- "suffix": "bot",
1209
- "xmlName": "Bot"
1210
- },
1211
- {
1212
- "directoryName": "bot.botVersions",
1221
+ "directoryName": "bots",
1213
1222
  "inFolder": false,
1214
- "metaFile": false,
1215
- "parentXmlName": "Bot",
1216
- "xmlName": "BotVersion",
1217
- "xmlTag": "botVersions"
1223
+ "metaFile": true,
1224
+ "content": [
1225
+ {
1226
+ "suffix": "bot",
1227
+ "xmlName": "Bot"
1228
+ },
1229
+ {
1230
+ "suffix": "botVersion",
1231
+ "xmlName": "BotVersion"
1232
+ }
1233
+ ]
1218
1234
  },
1219
1235
  {
1220
1236
  "directoryName": "workflows.alerts",
@@ -1157,6 +1157,21 @@
1157
1157
  "suffix": "mlDomain",
1158
1158
  "xmlName": "MlDomain"
1159
1159
  },
1160
+ {
1161
+ "directoryName": "discovery",
1162
+ "inFolder": false,
1163
+ "metaFile": true,
1164
+ "content": [
1165
+ {
1166
+ "suffix": "model",
1167
+ "xmlName": "DiscoveryAIModel"
1168
+ },
1169
+ {
1170
+ "suffix": "goal",
1171
+ "xmlName": "DiscoveryGoal"
1172
+ }
1173
+ ]
1174
+ },
1160
1175
  {
1161
1176
  "directoryName": "wave",
1162
1177
  "inFolder": false,
@@ -1166,6 +1181,10 @@
1166
1181
  "suffix": "wapp",
1167
1182
  "xmlName": "WaveApplication"
1168
1183
  },
1184
+ {
1185
+ "suffix": "wcomp",
1186
+ "xmlName": "WaveComponent"
1187
+ },
1169
1188
  {
1170
1189
  "suffix": "wdf",
1171
1190
  "xmlName": "WaveDataflow"
@@ -1199,22 +1218,19 @@
1199
1218
  "xmlName": "WaveTemplateBundle"
1200
1219
  },
1201
1220
  {
1202
- "childXmlNames": [
1203
- "BotVersion"
1204
- ],
1205
- "directoryName": "bot",
1206
- "inFolder": false,
1207
- "metaFile": false,
1208
- "suffix": "bot",
1209
- "xmlName": "Bot"
1210
- },
1211
- {
1212
- "directoryName": "bot.botVersions",
1221
+ "directoryName": "bots",
1213
1222
  "inFolder": false,
1214
- "metaFile": false,
1215
- "parentXmlName": "Bot",
1216
- "xmlName": "BotVersion",
1217
- "xmlTag": "botVersions"
1223
+ "metaFile": true,
1224
+ "content": [
1225
+ {
1226
+ "suffix": "bot",
1227
+ "xmlName": "Bot"
1228
+ },
1229
+ {
1230
+ "suffix": "botVersion",
1231
+ "xmlName": "BotVersion"
1232
+ }
1233
+ ]
1218
1234
  },
1219
1235
  {
1220
1236
  "directoryName": "workflows.alerts",