@jayree/sfdx-plugin-manifest 3.2.24 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +19 -0
- package/README.md +3 -3
- package/lib/SDR-extra/collections/componentSetExtra.d.ts +2 -2
- package/lib/SDR-extra/collections/componentSetExtra.js +2 -1
- package/lib/SDR-extra/collections/componentSetExtra.js.map +1 -1
- package/lib/SDR-extra/resolve/gitDiffResolver.js +2 -1
- package/lib/SDR-extra/resolve/gitDiffResolver.js.map +1 -1
- package/lib/SDR-extra/utils/localGitRepo.d.ts +4 -2
- package/lib/SDR-extra/utils/localGitRepo.js +20 -2
- package/lib/SDR-extra/utils/localGitRepo.js.map +1 -1
- package/lib/commands/jayree/manifest/cleanup.d.ts +2 -2
- package/lib/commands/jayree/manifest/cleanup.js +1 -1
- package/lib/commands/jayree/manifest/cleanup.js.map +1 -1
- package/lib/commands/jayree/manifest/generate.d.ts +15 -15
- package/lib/commands/jayree/manifest/git/diff.d.ts +8 -8
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/npm-shrinkwrap.json +328 -470
- package/oclif.lock +83 -26
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
+
# [3.3.0](https://github.com/jayree/sfdx-plugin-manifest/compare/3.2.25...3.3.0) (2024-06-09)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* add core.autocrlf warning ([#1327](https://github.com/jayree/sfdx-plugin-manifest/issues/1327)) ([72cf5af](https://github.com/jayree/sfdx-plugin-manifest/commit/72cf5af6d6cb074de5931c353659bd1803d3dcb9))
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
## [3.2.25](https://github.com/jayree/sfdx-plugin-manifest/compare/3.2.24...3.2.25) (2024-06-09)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* **deps:** bump @oclif/core from 3.26.6 to 4.0.3 ([#1331](https://github.com/jayree/sfdx-plugin-manifest/issues/1331)) ([c980fd9](https://github.com/jayree/sfdx-plugin-manifest/commit/c980fd9e9dd0c1bae69c1da1c6caa3f051a4f1ff))
|
16
|
+
* **deps:** bump @salesforce/sf-plugins-core from 9.1.1 to 10.0.0 ([#1328](https://github.com/jayree/sfdx-plugin-manifest/issues/1328)) ([6100b80](https://github.com/jayree/sfdx-plugin-manifest/commit/6100b80490089c73a00db61086597133fcc1abde))
|
17
|
+
|
18
|
+
|
19
|
+
|
1
20
|
## [3.2.24](https://github.com/jayree/sfdx-plugin-manifest/compare/3.2.23...3.2.24) (2024-06-08)
|
2
21
|
|
3
22
|
|
package/README.md
CHANGED
@@ -60,7 +60,7 @@ EXAMPLES
|
|
60
60
|
$ sf jayree manifest cleanup --manifest=package.xml --file=packageignore.xml
|
61
61
|
```
|
62
62
|
|
63
|
-
_See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.
|
63
|
+
_See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.3.0/src/commands/jayree/manifest/cleanup.ts)_
|
64
64
|
|
65
65
|
### `sf jayree manifest generate`
|
66
66
|
|
@@ -98,7 +98,7 @@ EXAMPLES
|
|
98
98
|
<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
|
99
99
|
```
|
100
100
|
|
101
|
-
_See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.
|
101
|
+
_See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.3.0/src/commands/jayree/manifest/generate.ts)_
|
102
102
|
|
103
103
|
### `sf jayree manifest git diff REF1 [REF2]`
|
104
104
|
|
@@ -181,5 +181,5 @@ FLAG DESCRIPTIONS
|
|
181
181
|
The location can be an absolute path or relative to the current working directory.
|
182
182
|
```
|
183
183
|
|
184
|
-
_See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.
|
184
|
+
_See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.3.0/src/commands/jayree/manifest/git/diff.ts)_
|
185
185
|
<!-- commandsstop -->
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ComponentSet, OptionalTreeRegistryOptions } from '@salesforce/source-deploy-retrieve';
|
2
|
-
export
|
2
|
+
export type FromGitDiffOptions = {
|
3
3
|
/**
|
4
4
|
* Git ref to resolve components against
|
5
5
|
*/
|
@@ -8,7 +8,7 @@ export interface FromGitDiffOptions extends OptionalTreeRegistryOptions {
|
|
8
8
|
* File paths or directory paths to resolve components against
|
9
9
|
*/
|
10
10
|
fsPaths?: string[];
|
11
|
-
}
|
11
|
+
} & OptionalTreeRegistryOptions;
|
12
12
|
export declare class ComponentSetExtra extends ComponentSet {
|
13
13
|
/**
|
14
14
|
* Resolve metadata components from git diff <ref> HEAD.
|
@@ -77,9 +77,10 @@ export class ComponentSetExtra extends ComponentSet {
|
|
77
77
|
localSourceComponents = localSourceComponents.concat(localComponent.getChildren());
|
78
78
|
localSourceComponents = localSourceComponents.concat(localComponent);
|
79
79
|
}
|
80
|
+
const lifecycle = Lifecycle.getInstance();
|
80
81
|
for await (const component of include.getSourceComponents()) {
|
81
82
|
if (!localSourceComponents.find((localComponent) => component.type.name === localComponent.type.name && component.fullName === localComponent.fullName)) {
|
82
|
-
await
|
83
|
+
await lifecycle.emitWarning(`The component "${component.type.name}:${component.fullName}" was not found locally.`);
|
83
84
|
}
|
84
85
|
}
|
85
86
|
return components;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"componentSetExtra.js","sourceRoot":"","sources":["../../../src/SDR-extra/collections/componentSetExtra.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,YAAY,EAGZ,cAAc,GAEf,MAAM,oCAAoC,CAAC;AAC5C,OAA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AsB,EAAE,CAAC;QAElD,KAAK,MAAM,cAAc,IAAI,UAAU,CAAC,mBAAmB,EAAE,EAAE,CAAC;YAC9D,qBAAqB,GAAG,qBAAqB,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,CAAC;YACnF,qBAAqB,GAAG,qBAAqB,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;QACvE,CAAC;QAED,MAAM,SAAS,GAAG,SAAS,CAAC,WAAW,EAAE,CAAC;QAC1C,IAAI,KAAK,EAAE,MAAM,SAAS,IAAI,OAAO,CAAC,mBAAmB,EAAE,EAAE,CAAC;YAC5D,IACE,CAAC,qBAAqB,CAAC,IAAI,CACzB,CAAC,cAAc,EAAE,EAAE,CACjB,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,cAAc,CAAC,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC,QAAQ,KAAK,cAAc,CAAC,QAAQ,CACrG,EACD,CAAC;gBACD,MAAM,SAAS,CAAC,WAAW,CACzB,kBAAkB,SAAS,CAAC,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC,QAAQ,0BAA0B,CACtF,CAAC;YACJ,CAAC;QACH,CAAC;QAED,OAAO,UAAU,CAAC;IACpB,CAAC;CACF"}
|
@@ -167,8 +167,9 @@ export class GitDiffResolver {
|
|
167
167
|
}
|
168
168
|
}
|
169
169
|
const forceIgnored = Array.from(new Set([...this.ref1Resolver.forceIgnoredPaths, ...this.ref2Resolver.forceIgnoredPaths]));
|
170
|
+
const lifecycle = Lifecycle.getInstance();
|
170
171
|
for await (const file of forceIgnored) {
|
171
|
-
await
|
172
|
+
await lifecycle.emitWarning(`The forceignored file "${file}" was ignored.`);
|
172
173
|
}
|
173
174
|
return results;
|
174
175
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"gitDiffResolver.js","sourceRoot":"","sources":["../../../src/SDR-extra/resolve/gitDiffResolver.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,I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AAwB,CAAC,MAAM;YAC7E,UAAU,EAAE,wBAAwB;YACpC,oBAAoB,EAAE,wBAAwB;SAC/C,CAAC;IACJ,CAAC;CACF"}
|
@@ -1,12 +1,13 @@
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
2
|
-
export
|
2
|
+
export type GitRepoOptions = {
|
3
3
|
gitDir: string;
|
4
4
|
packageDirs?: string[];
|
5
|
-
}
|
5
|
+
};
|
6
6
|
export declare class GitRepo {
|
7
7
|
private static instanceMap;
|
8
8
|
gitDir: string;
|
9
9
|
private packageDirs;
|
10
|
+
private lifecycle;
|
10
11
|
private constructor();
|
11
12
|
static getInstance(options: GitRepoOptions): GitRepo;
|
12
13
|
resolveMultiRefString(ref: string): Promise<{
|
@@ -35,4 +36,5 @@ export declare class GitRepo {
|
|
35
36
|
}): Promise<Buffer>;
|
36
37
|
private getCommitLog;
|
37
38
|
private ensureGitRelPath;
|
39
|
+
private checkLocalGitAutocrlfConfig;
|
38
40
|
}
|
@@ -7,12 +7,14 @@
|
|
7
7
|
import util from 'node:util';
|
8
8
|
import path from 'node:path';
|
9
9
|
import fs from 'node:fs/promises';
|
10
|
+
import { execSync } from 'node:child_process';
|
10
11
|
import git from 'isomorphic-git';
|
11
12
|
import { Lifecycle } from '@salesforce/core';
|
12
13
|
export class GitRepo {
|
13
14
|
static instanceMap = new Map();
|
14
15
|
gitDir;
|
15
16
|
packageDirs;
|
17
|
+
lifecycle = Lifecycle.getInstance();
|
16
18
|
constructor(options) {
|
17
19
|
this.gitDir = options.gitDir;
|
18
20
|
this.packageDirs = options.packageDirs;
|
@@ -116,6 +118,7 @@ export class GitRepo {
|
|
116
118
|
}
|
117
119
|
return undefined;
|
118
120
|
};
|
121
|
+
await this.checkLocalGitAutocrlfConfig();
|
119
122
|
const statusMatrix = await git.statusMatrix({
|
120
123
|
fs,
|
121
124
|
dir: this.gitDir,
|
@@ -136,14 +139,13 @@ export class GitRepo {
|
|
136
139
|
].some((a) => a.every((val, index) => val === row.slice(1)[index])));
|
137
140
|
if (warningMatrix.length) {
|
138
141
|
const buildWarningArray = (warnings) => {
|
139
|
-
const LifecycleInstance = Lifecycle.getInstance();
|
140
142
|
const emitWarningArray = [];
|
141
143
|
warnings.forEach((warning) => {
|
142
144
|
const filteredChanges = warningMatrix
|
143
145
|
.filter((row) => warning.filter.some((a) => a.every((val, index) => val === row.slice(1)[index])))
|
144
146
|
.map((row) => path.join(this.gitDir, ensureOSPath(row[0])));
|
145
147
|
for (const file of filteredChanges) {
|
146
|
-
emitWarningArray.push(
|
148
|
+
emitWarningArray.push(this.lifecycle.emitWarning(util.format(warning.message, file)));
|
147
149
|
}
|
148
150
|
});
|
149
151
|
return emitWarningArray;
|
@@ -236,6 +238,22 @@ export class GitRepo {
|
|
236
238
|
ensureGitRelPath(fpath) {
|
237
239
|
return path.relative(this.gitDir, fpath).split(path.sep).join(path.posix.sep);
|
238
240
|
}
|
241
|
+
async checkLocalGitAutocrlfConfig() {
|
242
|
+
try {
|
243
|
+
const stdout = execSync('git config --show-origin core.autocrlf', { cwd: this.gitDir }).toString().trim();
|
244
|
+
if (stdout) {
|
245
|
+
const [origin, value] = stdout.split('\t');
|
246
|
+
const [, ...rest] = origin.split(':');
|
247
|
+
const file = rest.join(':') || '';
|
248
|
+
if (file !== '.git/config') {
|
249
|
+
await this.lifecycle.emitWarning(`You have currently set core.autocrlf to ${value} in ${file}. To optimize performance, please execute 'git config --local core.autocrlf ${value}'.`);
|
250
|
+
}
|
251
|
+
}
|
252
|
+
}
|
253
|
+
catch {
|
254
|
+
// if the command fails, autocrlf is not set
|
255
|
+
}
|
256
|
+
}
|
239
257
|
}
|
240
258
|
function ensureOSPath(fpath) {
|
241
259
|
return fpath.split(path.posix.sep).join(path.sep);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"localGitRepo.js","sourceRoot":"","sources":["../../../src/SDR-extra/utils/localGitRepo.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,IAAI,MA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
|
static readonly examples: string[];
|
6
6
|
static readonly requiresProject = true;
|
7
7
|
static readonly flags: {
|
8
|
-
manifest: import("@oclif/core/
|
9
|
-
file: import("@oclif/core/
|
8
|
+
manifest: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
9
|
+
file: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
10
10
|
};
|
11
11
|
run(): Promise<void>;
|
12
12
|
private cleanupManifestFile;
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
6
6
|
*/
|
7
7
|
import { Messages } from '@salesforce/core';
|
8
|
-
import { CLIError } from '@oclif/core/
|
8
|
+
import { CLIError } from '@oclif/core/errors';
|
9
9
|
import chalk from 'chalk';
|
10
10
|
import fs from 'fs-extra';
|
11
11
|
import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cleanup.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/cleanup.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"cleanup.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/cleanup.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,OAAO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SAAS,CAAC,EAAE,SAAS,EAAE,CAAC,SAAS,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,CAAC;IAE/E,MAAM,EACJ,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,GAC5B,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAA0B,CAAC;IAEnD,MAAM,kBAAkB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9C,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,CAAC;AACzC,CAAC;AAED,SAAS,WAAW,CAAC,MAA6B;IAChD,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3F,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;IACxC,OAAO,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAW,CAAC,CAAC;AACzD,CAAC"}
|
@@ -1,22 +1,22 @@
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
2
2
|
import { FileProperties, ListMetadataQuery } from '@salesforce/source-deploy-retrieve/lib/src/client/types.js';
|
3
3
|
import { PackageManifestObject } from '@salesforce/source-deploy-retrieve';
|
4
|
-
export
|
4
|
+
export type QueryResult = {
|
5
5
|
size: number;
|
6
6
|
totalSize: number;
|
7
7
|
done: boolean;
|
8
8
|
queryLocator: string;
|
9
9
|
entityTypeName: string;
|
10
10
|
records: StdValueSetRecord[] | FlowDefinitionRecord[];
|
11
|
-
}
|
12
|
-
export
|
11
|
+
};
|
12
|
+
export type StdValueSetRecord = {
|
13
13
|
Id: string;
|
14
14
|
MasterLabel: string;
|
15
15
|
Metadata: {
|
16
16
|
standardValue: Array<Record<string, unknown>>;
|
17
17
|
};
|
18
|
-
}
|
19
|
-
export
|
18
|
+
};
|
19
|
+
export type FlowDefinitionRecord = {
|
20
20
|
DeveloperName: string;
|
21
21
|
ActiveVersion: {
|
22
22
|
VersionNumber: string;
|
@@ -24,21 +24,21 @@ export interface FlowDefinitionRecord {
|
|
24
24
|
LatestVersion: {
|
25
25
|
VersionNumber: string;
|
26
26
|
};
|
27
|
-
}
|
27
|
+
};
|
28
28
|
export default class GeneratePackageXML extends SfCommand<PackageManifestObject> {
|
29
29
|
static readonly summary: string;
|
30
30
|
static readonly description: string;
|
31
31
|
static readonly examples: string[];
|
32
32
|
static readonly flags: {
|
33
|
-
'target-org': import("@oclif/core/
|
34
|
-
'api-version': import("@oclif/core/
|
35
|
-
'quick-filter': import("@oclif/core/
|
36
|
-
'match-case': import("@oclif/core/
|
37
|
-
'match-whole-word': import("@oclif/core/
|
38
|
-
'include-flow-versions': import("@oclif/core/
|
39
|
-
file: import("@oclif/core/
|
40
|
-
'exclude-managed': import("@oclif/core/
|
41
|
-
'exclude-all': import("@oclif/core/
|
33
|
+
'target-org': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
|
34
|
+
'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
35
|
+
'quick-filter': import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
|
36
|
+
'match-case': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
37
|
+
'match-whole-word': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
38
|
+
'include-flow-versions': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
39
|
+
file: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
40
|
+
'exclude-managed': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
41
|
+
'exclude-all': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
42
42
|
};
|
43
43
|
private logger;
|
44
44
|
private conn;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
2
2
|
import { Optional } from '@salesforce/ts-types';
|
3
|
-
export
|
3
|
+
export type GitDiffCommandResult = {
|
4
4
|
manifest?: {
|
5
5
|
path: string;
|
6
6
|
name: string;
|
@@ -9,23 +9,23 @@ export interface GitDiffCommandResult {
|
|
9
9
|
path: string;
|
10
10
|
name: string;
|
11
11
|
};
|
12
|
-
}
|
12
|
+
};
|
13
13
|
export default class GitDiffCommand extends SfCommand<GitDiffCommandResult> {
|
14
14
|
static readonly summary: string;
|
15
15
|
static readonly description: string;
|
16
16
|
static readonly examples: string[];
|
17
17
|
static readonly args: {
|
18
|
-
ref1: import("@oclif/core/
|
19
|
-
ref2: import("@oclif/core/
|
18
|
+
ref1: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
19
|
+
ref2: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
|
20
20
|
};
|
21
21
|
static readonly requiresProject = true;
|
22
22
|
static readonly deprecateAliases = true;
|
23
23
|
static readonly aliases: string[];
|
24
24
|
static readonly flags: {
|
25
|
-
'api-version': import("@oclif/core/
|
26
|
-
'source-dir': import("@oclif/core/
|
27
|
-
'output-dir': import("@oclif/core/
|
28
|
-
'destructive-changes-only': import("@oclif/core/
|
25
|
+
'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
26
|
+
'source-dir': import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
|
27
|
+
'output-dir': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
28
|
+
'destructive-changes-only': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
29
29
|
};
|
30
30
|
private outputDir;
|
31
31
|
private manifestName;
|