@sap/artifact-management 1.51.0 → 1.53.1
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/dist/src/definitions/PluginDefintionProvider.js +2 -0
- package/dist/src/definitions/PluginDefintionProvider.js.map +1 -1
- package/dist/src/plugins/dataproduct/readers/DataProductItemReader.js +50 -3
- package/dist/src/plugins/dataproduct/readers/DataProductItemReader.js.map +1 -1
- package/dist/src/plugins/doc/index.js +27 -0
- package/dist/src/plugins/doc/index.js.map +1 -0
- package/dist/src/plugins/doc/readers/DocModuleReader.js +88 -0
- package/dist/src/plugins/doc/readers/DocModuleReader.js.map +1 -0
- package/dist/src/plugins/doc/readers/DocProjectReader.js +55 -0
- package/dist/src/plugins/doc/readers/DocProjectReader.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +130 -47
- package/dist/types/src/plugins/dataproduct/readers/DataProductItemReader.d.ts +10 -0
- package/dist/types/src/plugins/dataproduct/types/DataProductDefinition.d.ts +2 -0
- package/dist/types/src/plugins/doc/index.d.ts +3 -0
- package/dist/types/src/plugins/doc/readers/DocModuleReader.d.ts +22 -0
- package/dist/types/src/plugins/doc/readers/DocProjectReader.d.ts +12 -0
- package/package.json +9 -7
|
@@ -13,6 +13,7 @@ const artifact_management_mdkplugin_1 = __importDefault(require("@sap/artifact-m
|
|
|
13
13
|
const artifact_management_hanaplugin_1 = __importDefault(require("@sap/artifact-management-hanaplugin"));
|
|
14
14
|
const dataproduct_1 = __importDefault(require("../plugins/dataproduct"));
|
|
15
15
|
const abap_1 = __importDefault(require("../plugins/abap"));
|
|
16
|
+
const doc_1 = __importDefault(require("../plugins/doc"));
|
|
16
17
|
/**
|
|
17
18
|
* Central entrypoint for project and module specific implementations ("plugins").
|
|
18
19
|
*
|
|
@@ -32,6 +33,7 @@ class PluginDefintionProvider {
|
|
|
32
33
|
this.register(bas_1.default);
|
|
33
34
|
this.register(abap_1.default);
|
|
34
35
|
this.register(dataproduct_1.default);
|
|
36
|
+
this.register(doc_1.default);
|
|
35
37
|
}
|
|
36
38
|
register(plugin) {
|
|
37
39
|
if (this.pluginMap.has(plugin.name)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PluginDefintionProvider.js","sourceRoot":"","sources":["../../../src/definitions/PluginDefintionProvider.ts"],"names":[],"mappings":";;;;;AAAA,yDAAuC;AACvC,6DAAgD;AAChD,mEAAiD;AACjD,2GAA6D;AAC7D,yDAAuC;AACvC,2DAAyC;AACzC,uGAA2D;AAC3D,yGAA6D;AAC7D,yEAAuD;AAEvD,2DAAyC;
|
|
1
|
+
{"version":3,"file":"PluginDefintionProvider.js","sourceRoot":"","sources":["../../../src/definitions/PluginDefintionProvider.ts"],"names":[],"mappings":";;;;;AAAA,yDAAuC;AACvC,6DAAgD;AAChD,mEAAiD;AACjD,2GAA6D;AAC7D,yDAAuC;AACvC,2DAAyC;AACzC,uGAA2D;AAC3D,yGAA6D;AAC7D,yEAAuD;AAEvD,2DAAyC;AACzC,yDAAuC;AAEvC;;;;;GAKG;AACH,MAAM,uBAAuB;IAGzB;QAFQ,cAAS,GAAwB,IAAI,GAAG,EAAkB,CAAC;QAG/D,IAAI,CAAC,QAAQ,CAAC,cAAU,CAAC,CAAC;QAC1B,IAAI,CAAC,QAAQ,CAAC,aAAS,CAAC,CAAC;QACzB,IAAI,CAAC,QAAQ,CAAC,eAAgB,CAAC,CAAC;QAChC,IAAI,CAAC,QAAQ,CAAC,kBAAc,CAAC,CAAC;QAC9B,IAAI,CAAC,QAAQ,CAAC,yCAAS,CAAC,CAAC;QACzB,IAAI,CAAC,QAAQ,CAAC,uCAAS,CAAC,CAAC;QACzB,IAAI,CAAC,QAAQ,CAAC,wCAAU,CAAC,CAAC;QAC1B,IAAI,CAAC,QAAQ,CAAC,aAAS,CAAC,CAAC;QACzB,IAAI,CAAC,QAAQ,CAAC,cAAU,CAAC,CAAC;QAC1B,IAAI,CAAC,QAAQ,CAAC,qBAAiB,CAAC,CAAC;QACjC,IAAI,CAAC,QAAQ,CAAC,aAAS,CAAC,CAAC;IAC7B,CAAC;IAED,QAAQ,CAAC,MAAc;QACnB,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;YACjC,MAAM,IAAI,KAAK,CAAC,UAAU,MAAM,CAAC,IAAI,sBAAsB,CAAC,CAAC;SAChE;QAED,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAC5C,CAAC;IAED,IAAI,WAAW;QACX,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7C,CAAC;IAED,IAAI,OAAO;QACP,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,SAAS,CAAC,UAAkB;QACxB,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE;YAChC,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,CAAE,CAAC;SAC1C;QACD,MAAM,IAAI,KAAK,CAAC,UAAU,UAAU,mBAAmB,CAAC,CAAC;IAC7D,CAAC;CACJ;AAED,kBAAe,IAAI,uBAAuB,EAAE,CAAC"}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const artifact_management_base_1 = require("@sap/artifact-management-base");
|
|
4
4
|
const InfoList_1 = require("../InfoList");
|
|
5
|
+
const bas_sdk_1 = require("@sap/bas-sdk");
|
|
6
|
+
const url_1 = require("url");
|
|
5
7
|
/**
|
|
6
8
|
* Item reader for individual .dpd files.
|
|
7
9
|
* Extracts metadata from each data product definition file.
|
|
@@ -19,11 +21,12 @@ class DataProductItemReader {
|
|
|
19
21
|
*/
|
|
20
22
|
async read({ fs }) {
|
|
21
23
|
const items = [];
|
|
24
|
+
const bdcHost = await this.getBDCBaseUrl();
|
|
22
25
|
const dpdFiles = await fs.glob('*.dpd', { onlyFiles: true });
|
|
23
26
|
for (const file of dpdFiles) {
|
|
24
27
|
try {
|
|
25
28
|
const content = await fs.readJson(file);
|
|
26
|
-
const item = this.parseDataProductFile(fs.relativeToRoot(file), content);
|
|
29
|
+
const item = this.parseDataProductFile(fs.relativeToRoot(file), content, bdcHost);
|
|
27
30
|
if (item) {
|
|
28
31
|
items.push(item);
|
|
29
32
|
}
|
|
@@ -35,11 +38,48 @@ class DataProductItemReader {
|
|
|
35
38
|
}
|
|
36
39
|
return items;
|
|
37
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* Resolves the base URL of the SAP BDC destination.
|
|
43
|
+
*/
|
|
44
|
+
async getBDCBaseUrl() {
|
|
45
|
+
if (!(await bas_sdk_1.core.isAppStudio())) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
const filter = new Map([
|
|
49
|
+
['Name', [DataProductItemReader.BDC_DESTINATION_NAME]],
|
|
50
|
+
]);
|
|
51
|
+
let destinationList;
|
|
52
|
+
try {
|
|
53
|
+
destinationList = await bas_sdk_1.destinations.getDestinations(filter);
|
|
54
|
+
}
|
|
55
|
+
catch (error) {
|
|
56
|
+
console.warn(`Failed to fetch destination ${DataProductItemReader.BDC_DESTINATION_NAME}`, error);
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
if (!destinationList || destinationList.length === 0) {
|
|
60
|
+
console.warn(`Destination ${DataProductItemReader.BDC_DESTINATION_NAME} not found`);
|
|
61
|
+
return undefined;
|
|
62
|
+
}
|
|
63
|
+
const destination = destinationList[0];
|
|
64
|
+
if (!destination.host) {
|
|
65
|
+
console.warn(`Destination ${DataProductItemReader.BDC_DESTINATION_NAME} has no host configured`);
|
|
66
|
+
return undefined;
|
|
67
|
+
}
|
|
68
|
+
return destination.host;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Builds the full SAP Data Product Studio URL for a given data product.
|
|
72
|
+
*/
|
|
73
|
+
buildFullUrl(host, namespace, name, version) {
|
|
74
|
+
const url = new url_1.URL('/data-product-studio/ui/index.html', host);
|
|
75
|
+
url.hash = `/dpbuilder&/dpb/edit/${DataProductItemReader.DEFAULT_DOMAIN}/${namespace}.${name}:v${version}`;
|
|
76
|
+
return url.toString();
|
|
77
|
+
}
|
|
38
78
|
/**
|
|
39
79
|
* Parse a .dpd file and create an Item from it.
|
|
40
80
|
*/
|
|
41
|
-
parseDataProductFile(filePath, content) {
|
|
42
|
-
if (!content ||
|
|
81
|
+
parseDataProductFile(filePath, content, bdcHost) {
|
|
82
|
+
if (!(content === null || content === void 0 ? void 0 : content.definition)) {
|
|
43
83
|
return this.createErrorItem(filePath, new Error('Invalid .dpd file structure'));
|
|
44
84
|
}
|
|
45
85
|
const header = content.definition.header;
|
|
@@ -68,6 +108,9 @@ class DataProductItemReader {
|
|
|
68
108
|
const ref = header.namespace && header.name
|
|
69
109
|
? `${header.namespace}.${header.name}`
|
|
70
110
|
: header.name || filePath;
|
|
111
|
+
const fullUrl = bdcHost && header.namespace && header.name && header.version
|
|
112
|
+
? this.buildFullUrl(bdcHost, header.namespace, header.name, header.version)
|
|
113
|
+
: undefined;
|
|
71
114
|
// Create the data product info object
|
|
72
115
|
const dataProductInfo = {
|
|
73
116
|
id: header.name || '',
|
|
@@ -76,6 +119,8 @@ class DataProductItemReader {
|
|
|
76
119
|
version: version,
|
|
77
120
|
majorVersion: majorVersion,
|
|
78
121
|
description: header.description,
|
|
122
|
+
hostUrl: bdcHost,
|
|
123
|
+
fullUrl: fullUrl,
|
|
79
124
|
};
|
|
80
125
|
const item = {
|
|
81
126
|
type: artifact_management_base_1.ItemType.DataProduct,
|
|
@@ -113,4 +158,6 @@ class DataProductItemReader {
|
|
|
113
158
|
}
|
|
114
159
|
}
|
|
115
160
|
exports.default = DataProductItemReader;
|
|
161
|
+
DataProductItemReader.BDC_DESTINATION_NAME = 'SAP_BDC_ACCESS';
|
|
162
|
+
DataProductItemReader.DEFAULT_DOMAIN = 'default_domain';
|
|
116
163
|
//# sourceMappingURL=DataProductItemReader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataProductItemReader.js","sourceRoot":"","sources":["../../../../../src/plugins/dataproduct/readers/DataProductItemReader.ts"],"names":[],"mappings":";;AAAA,4EAMuC;AAEvC,0CAAuC;
|
|
1
|
+
{"version":3,"file":"DataProductItemReader.js","sourceRoot":"","sources":["../../../../../src/plugins/dataproduct/readers/DataProductItemReader.ts"],"names":[],"mappings":";;AAAA,4EAMuC;AAEvC,0CAAuC;AACvC,0CAAkD;AAClD,6BAA0B;AAE1B;;;GAGG;AACH,MAAqB,qBAAqB;IAA1C;QAII,oBAAe,GAAG;YACd,YAAY,EAAE,CAAC,OAAO,CAAC;SAC1B,CAAC;QAEF,UAAK,GAAG,CAAC,mCAAQ,CAAC,WAAW,CAAC,CAAC;QAC/B,SAAI,GAAG,CAAC,8BAAG,CAAC,IAAI,EAAE,8BAAG,CAAC,WAAW,EAAE,8BAAG,CAAC,GAAG,CAAC,CAAC;IA4KhD,CAAC;IA1KG;;OAEG;IACH,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAkC;QAC7C,MAAM,KAAK,GAAW,EAAE,CAAC;QAEzB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC;QAC3C,MAAM,QAAQ,GAAG,MAAM,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAE7D,KAAK,MAAM,IAAI,IAAI,QAAQ,EAAE;YACzB,IAAI;gBACA,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAoB,CAAC;gBAC3D,MAAM,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAClC,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,EACv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B,IAAI,EAAE,MAAM,CAAC,IAAI,IAAI,QAAQ;YAC7B,GAAG,EAAE,GAAG;YACR,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,IAAI,EAAE,eAAe;SACxB,CAAC;QAEF,oBAAoB;QACpB,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;YACnB,IAAI,CAAC,IAAI,GAAG;gBACR,GAAG,eAAe;gBAClB,MAAM,EAAE,MAAM;aACjB,CAAC;SACL;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;OAEG;IACK,eAAe,CAAC,QAAgB,EAAE,KAAc;QACpD,MAAM,YAAY,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,CAAC;QAE9E,OAAO;YACH,IAAI,EAAE,mCAAQ,CAAC,WAAW;YAC1B,IAAI,EAAE,QAAQ;YACd,GAAG,EAAE,QAAQ;YACb,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,IAAI,EAAE;gBACF,MAAM,EAAE,CAAC,mBAAQ,CAAC,oBAAoB,CAAC,IAAI,CAAC;gBAC5C,YAAY,EAAE,YAAY;aAC7B;SACJ,CAAC;IACN,CAAC;;AApLL,wCAqLC;AApL2B,0CAAoB,GAAG,gBAAgB,CAAC;AACxC,oCAAc,GAAG,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const DocModuleReader_1 = __importDefault(require("./readers/DocModuleReader"));
|
|
7
|
+
const DocProjectReader_1 = __importDefault(require("./readers/DocProjectReader"));
|
|
8
|
+
const DocPlugin = {
|
|
9
|
+
name: '@sap/doc-project-plugin',
|
|
10
|
+
getDependencies() {
|
|
11
|
+
return [];
|
|
12
|
+
},
|
|
13
|
+
getProjectReaders() {
|
|
14
|
+
return [new DocProjectReader_1.default()];
|
|
15
|
+
},
|
|
16
|
+
getModuleReaders() {
|
|
17
|
+
return [new DocModuleReader_1.default()];
|
|
18
|
+
},
|
|
19
|
+
getProjectManifestGenerators() {
|
|
20
|
+
return [];
|
|
21
|
+
},
|
|
22
|
+
getModuleManifestGenerators() {
|
|
23
|
+
return [];
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
exports.default = DocPlugin;
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plugins/doc/index.ts"],"names":[],"mappings":";;;;;AACA,gFAAwD;AACxD,kFAA0D;AAE1D,MAAM,SAAS,GAAW;IACtB,IAAI,EAAE,yBAAyB;IAE/B,eAAe;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IAED,iBAAiB;QACb,OAAO,CAAC,IAAI,0BAAgB,EAAE,CAAC,CAAC;IACpC,CAAC;IAED,gBAAgB;QACZ,OAAO,CAAC,IAAI,yBAAe,EAAE,CAAC,CAAC;IACnC,CAAC;IAED,4BAA4B;QACxB,OAAO,EAAE,CAAC;IACd,CAAC;IAED,2BAA2B;QACvB,OAAO,EAAE,CAAC;IACd,CAAC;CACJ,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const artifact_management_base_1 = require("@sap/artifact-management-base");
|
|
4
|
+
const path_1 = require("path");
|
|
5
|
+
class DocModuleReader extends artifact_management_base_1.ModuleReader {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.supportedProjectType = [artifact_management_base_1.ProjectType.Doc];
|
|
9
|
+
this.matchConditions = {
|
|
10
|
+
filePatterns: [
|
|
11
|
+
'**/product-requirements-document.md',
|
|
12
|
+
'**/spec.md',
|
|
13
|
+
],
|
|
14
|
+
};
|
|
15
|
+
this.tags = [artifact_management_base_1.Tag.Module];
|
|
16
|
+
this.itemTags = [artifact_management_base_1.Tag.Item];
|
|
17
|
+
this.itemReaders = [
|
|
18
|
+
{
|
|
19
|
+
matchConditions: {
|
|
20
|
+
filePatterns: ['**/product-requirements-document.md'],
|
|
21
|
+
},
|
|
22
|
+
types: [artifact_management_base_1.ItemType.DocPrd],
|
|
23
|
+
tags: this.itemTags,
|
|
24
|
+
read: async (options) => this.readPrd(options),
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
matchConditions: {
|
|
28
|
+
filePatterns: ['**/spec.md'],
|
|
29
|
+
},
|
|
30
|
+
types: [artifact_management_base_1.ItemType.DocSpec],
|
|
31
|
+
tags: this.itemTags,
|
|
32
|
+
read: async (options) => this.readSpecs(options),
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
}
|
|
36
|
+
getType() {
|
|
37
|
+
return artifact_management_base_1.ModuleType.Doc;
|
|
38
|
+
}
|
|
39
|
+
getDetectionMechanism() {
|
|
40
|
+
return artifact_management_base_1.DetectionMechanism.UNIQUE_IDENTIFICATION;
|
|
41
|
+
}
|
|
42
|
+
async read({ fs }) {
|
|
43
|
+
const folderName = fs.getName(path_1.resolve(fs.basePath));
|
|
44
|
+
if (!folderName.endsWith('-docs'))
|
|
45
|
+
return undefined;
|
|
46
|
+
return {
|
|
47
|
+
type: artifact_management_base_1.ModuleType.Doc,
|
|
48
|
+
name: folderName,
|
|
49
|
+
path: fs.relativeToRoot(),
|
|
50
|
+
tags: this.tags,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
async readPrd({ fs, matchedFiles }) {
|
|
54
|
+
const items = [];
|
|
55
|
+
const files = Object.values(matchedFiles).flat();
|
|
56
|
+
for (const file of files) {
|
|
57
|
+
if (!file.endsWith('product-requirements-document.md'))
|
|
58
|
+
continue;
|
|
59
|
+
items.push({
|
|
60
|
+
type: artifact_management_base_1.ItemType.DocPrd,
|
|
61
|
+
name: 'product-requirements-document',
|
|
62
|
+
path: fs.relativeToRoot(file),
|
|
63
|
+
ref: file,
|
|
64
|
+
tags: this.itemTags,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
return items;
|
|
68
|
+
}
|
|
69
|
+
async readSpecs({ fs, matchedFiles }) {
|
|
70
|
+
const items = [];
|
|
71
|
+
const files = Object.values(matchedFiles).flat();
|
|
72
|
+
for (const file of files) {
|
|
73
|
+
if (!file.endsWith('spec.md'))
|
|
74
|
+
continue;
|
|
75
|
+
const parentFolder = path_1.basename(path_1.dirname(file));
|
|
76
|
+
items.push({
|
|
77
|
+
type: artifact_management_base_1.ItemType.DocSpec,
|
|
78
|
+
name: parentFolder,
|
|
79
|
+
path: fs.relativeToRoot(file),
|
|
80
|
+
ref: file,
|
|
81
|
+
tags: this.itemTags,
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
return items;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.default = DocModuleReader;
|
|
88
|
+
//# sourceMappingURL=DocModuleReader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocModuleReader.js","sourceRoot":"","sources":["../../../../../src/plugins/doc/readers/DocModuleReader.ts"],"names":[],"mappings":";;AAAA,4EAWuC;AACvC,+BAAkD;AAElD,MAAqB,eAAgB,SAAQ,uCAAY;IAAzD;;QAEI,yBAAoB,GAAG,CAAC,sCAAW,CAAC,GAAG,CAAC,CAAC;QAUzC,oBAAe,GAAG;YACd,YAAY,EAAE;gBACV,qCAAqC;gBACrC,YAAY;aACf;SACJ,CAAC;QAEF,SAAI,GAAG,CAAC,8BAAG,CAAC,MAAM,CAAC,CAAC;QACpB,aAAQ,GAAG,CAAC,8BAAG,CAAC,IAAI,CAAC,CAAC;QAEtB,gBAAW,GAA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C,CAAC,IAAI,EAAE,CAAC;QAEjD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;YACtB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,kCAAkC,CAAC;gBAAE,SAAS;YAEjE,KAAK,CAAC,IAAI,CAAC;gBACP,IAAI,EAAE,mCAAQ,CAAC,MAAM;gBACrB,IAAI,EAAE,+BAA+B;gBACrC,IAAI,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC;gBAC7B,GAAG,EAAE,IAAI;gBACT,IAAI,EAAE,IAAI,CAAC,QAAQ;aACtB,CAAC,CAAC;SACN;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;IAEO,KAAK,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,YAAY,EAAkC;QACxE,MAAM,KAAK,GAAW,EAAE,CAAC;QACzB,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;QAEjD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;YACtB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC;gBAAE,SAAS;YAExC,MAAM,YAAY,GAAG,eAAQ,CAAC,cAAO,CAAC,IAAI,CAAC,CAAC,CAAC;YAE7C,KAAK,CAAC,IAAI,CAAC;gBACP,IAAI,EAAE,mCAAQ,CAAC,OAAO;gBACtB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC;gBAC7B,GAAG,EAAE,IAAI;gBACT,IAAI,EAAE,IAAI,CAAC,QAAQ;aACtB,CAAC,CAAC;SACN;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ;AA/FD,kCA+FC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const artifact_management_base_1 = require("@sap/artifact-management-base");
|
|
7
|
+
const path_1 = require("path");
|
|
8
|
+
const DocModuleReader_1 = __importDefault(require("./DocModuleReader"));
|
|
9
|
+
class DocProjectReader extends artifact_management_base_1.ProjectReader {
|
|
10
|
+
constructor() {
|
|
11
|
+
super({
|
|
12
|
+
requiredFilePatterns: [],
|
|
13
|
+
});
|
|
14
|
+
this.additionalModuleReaders = [
|
|
15
|
+
[new DocModuleReader_1.default()],
|
|
16
|
+
];
|
|
17
|
+
this.tags = [artifact_management_base_1.Tag.Project];
|
|
18
|
+
}
|
|
19
|
+
getType() {
|
|
20
|
+
return artifact_management_base_1.ProjectType.Doc;
|
|
21
|
+
}
|
|
22
|
+
getDetectionMechanism() {
|
|
23
|
+
return artifact_management_base_1.DetectionMechanism.UNIQUE_IDENTIFICATION;
|
|
24
|
+
}
|
|
25
|
+
async moduleSearchPattern() {
|
|
26
|
+
return [];
|
|
27
|
+
}
|
|
28
|
+
async read({ fs }) {
|
|
29
|
+
if (!(await this.isDocProject(fs)))
|
|
30
|
+
return undefined;
|
|
31
|
+
return {
|
|
32
|
+
...artifact_management_base_1.ProjectDataDefaults,
|
|
33
|
+
typeName: artifact_management_base_1.ProjectTypeName[artifact_management_base_1.ProjectType.Doc],
|
|
34
|
+
type: artifact_management_base_1.ProjectType.Doc,
|
|
35
|
+
path: fs.basePath,
|
|
36
|
+
prefix: '',
|
|
37
|
+
version: '',
|
|
38
|
+
cloudService: '',
|
|
39
|
+
name: fs.getName(path_1.resolve(fs.basePath)),
|
|
40
|
+
tags: this.tags,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
async isDocProject(fs) {
|
|
44
|
+
const folderName = fs.getName(path_1.resolve(fs.basePath));
|
|
45
|
+
if (!folderName.endsWith('-docs'))
|
|
46
|
+
return false;
|
|
47
|
+
const prdExists = await fs.fileExists('product-requirements-document.md');
|
|
48
|
+
const specFiles = await fs.glob('**/spec.md', {
|
|
49
|
+
onlyFiles: true,
|
|
50
|
+
});
|
|
51
|
+
return prdExists || specFiles.length > 0;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.default = DocProjectReader;
|
|
55
|
+
//# sourceMappingURL=DocProjectReader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocProjectReader.js","sourceRoot":"","sources":["../../../../../src/plugins/doc/readers/DocProjectReader.ts"],"names":[],"mappings":";;;;;AAAA,4EAWuC;AACvC,+BAA+B;AAC/B,wEAAgD;AAEhD,MAAqB,gBAAiB,SAAQ,wCAAa;IAEvD;QACI,KAAK,CAAC;YACF,oBAAoB,EAAE,EAAE;SAC3B,CAAC,CAAC;QAeP,4BAAuB,GAAG;YACtB,CAAE,IAAI,yBAAe,EAAE,CAAE;SAC5B,CAAC;QAEF,SAAI,GAAG,CAAC,8BAAG,CAAC,OAAO,CAAC,CAAC;IAlBrB,CAAC;IAED,OAAO;QACH,OAAO,sCAAW,CAAC,GAAG,CAAC;IAC3B,CAAC;IAED,qBAAqB;QACjB,OAAO,6CAAkB,CAAC,qBAAqB,CAAC;IACpD,CAAC;IAED,KAAK,CAAC,mBAAmB;QACrB,OAAO,EAAE,CAAC;IACd,CAAC;IAQD,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAwB;QACnC,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;YAAE,OAAO,SAAS,CAAC;QAErD,OAAO;YACH,GAAG,8CAAmB;YACtB,QAAQ,EAAE,0CAAe,CAAC,sCAAW,CAAC,GAAG,CAAC;YAC1C,IAAI,EAAE,sCAAW,CAAC,GAAG;YACrB,IAAI,EAAE,EAAE,CAAC,QAAQ;YACjB,MAAM,EAAE,EAAE;YACV,OAAO,EAAE,EAAE;YACX,YAAY,EAAE,EAAE;YAChB,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,cAAO,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;YACtC,IAAI,EAAE,IAAI,CAAC,IAAI;SAClB,CAAC;IACN,CAAC;IAEO,KAAK,CAAC,YAAY,CAAC,EAAqB;QAC5C,MAAM,UAAU,GAAG,EAAE,CAAC,OAAO,CAAC,cAAO,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEpD,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC;YAAE,OAAO,KAAK,CAAC;QAEhD,MAAM,SAAS,GAAG,MAAM,EAAE,CAAC,UAAU,CAAC,kCAAkC,CAAC,CAAC;QAE1E,MAAM,SAAS,GAAG,MAAM,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE;YAC1C,SAAS,EAAE,IAAI;SAClB,CAAC,CAAC;QAEH,OAAO,SAAS,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC;IAC7C,CAAC;CACJ;AAvDD,mCAuDC"}
|
|
@@ -162,18 +162,18 @@
|
|
|
162
162
|
"affectsGlobalScope": true
|
|
163
163
|
},
|
|
164
164
|
"../../artifact-management-base/dist/types/src/definitions/ProjectType.d.ts": {
|
|
165
|
-
"version": "
|
|
166
|
-
"signature": "
|
|
165
|
+
"version": "e25ce67270130b039d9bdd5c7475cb4f9b76dc5e5fb7cb9080ff1627ceb62588",
|
|
166
|
+
"signature": "e25ce67270130b039d9bdd5c7475cb4f9b76dc5e5fb7cb9080ff1627ceb62588",
|
|
167
167
|
"affectsGlobalScope": false
|
|
168
168
|
},
|
|
169
169
|
"../../artifact-management-base/dist/types/src/definitions/ModuleType.d.ts": {
|
|
170
|
-
"version": "
|
|
171
|
-
"signature": "
|
|
170
|
+
"version": "61ef9ac512aa50f44c94672691bde70c4503cf985fcae1724f2b8bd85744e5c4",
|
|
171
|
+
"signature": "61ef9ac512aa50f44c94672691bde70c4503cf985fcae1724f2b8bd85744e5c4",
|
|
172
172
|
"affectsGlobalScope": false
|
|
173
173
|
},
|
|
174
174
|
"../../artifact-management-base/dist/types/src/definitions/Tag.d.ts": {
|
|
175
|
-
"version": "
|
|
176
|
-
"signature": "
|
|
175
|
+
"version": "a78bb82bf2f0c8ad6479e763745c6228134bfde87e1bb00d7a7726e21284f2cc",
|
|
176
|
+
"signature": "a78bb82bf2f0c8ad6479e763745c6228134bfde87e1bb00d7a7726e21284f2cc",
|
|
177
177
|
"affectsGlobalScope": false
|
|
178
178
|
},
|
|
179
179
|
"../../artifact-management-base/dist/types/src/definitions/PluginError.d.ts": {
|
|
@@ -182,8 +182,8 @@
|
|
|
182
182
|
"affectsGlobalScope": false
|
|
183
183
|
},
|
|
184
184
|
"../../artifact-management-base/dist/types/src/definitions/ItemType.d.ts": {
|
|
185
|
-
"version": "
|
|
186
|
-
"signature": "
|
|
185
|
+
"version": "bd56e14d5a5d88acfa49d1c880bc0ebef91e83eb8d9511466fc4b2dc48f5285b",
|
|
186
|
+
"signature": "bd56e14d5a5d88acfa49d1c880bc0ebef91e83eb8d9511466fc4b2dc48f5285b",
|
|
187
187
|
"affectsGlobalScope": false
|
|
188
188
|
},
|
|
189
189
|
"../../artifact-management-base/dist/types/src/util/Types.d.ts": {
|
|
@@ -1007,13 +1007,13 @@
|
|
|
1007
1007
|
"affectsGlobalScope": false
|
|
1008
1008
|
},
|
|
1009
1009
|
"../node_modules/simple-git/dist/src/lib/tasks/task.d.ts": {
|
|
1010
|
-
"version": "
|
|
1011
|
-
"signature": "
|
|
1010
|
+
"version": "6578758b0b94087beffd0ce554701365cd1e6a7428f14464ac8b88095fca4e50",
|
|
1011
|
+
"signature": "6578758b0b94087beffd0ce554701365cd1e6a7428f14464ac8b88095fca4e50",
|
|
1012
1012
|
"affectsGlobalScope": false
|
|
1013
1013
|
},
|
|
1014
1014
|
"../node_modules/simple-git/dist/src/lib/types/tasks.d.ts": {
|
|
1015
|
-
"version": "
|
|
1016
|
-
"signature": "
|
|
1015
|
+
"version": "b6c4796630a47f8b0f420519cd241e8e7701247b48ed4b205e8d057cbf7107d7",
|
|
1016
|
+
"signature": "b6c4796630a47f8b0f420519cd241e8e7701247b48ed4b205e8d057cbf7107d7",
|
|
1017
1017
|
"affectsGlobalScope": false
|
|
1018
1018
|
},
|
|
1019
1019
|
"../node_modules/simple-git/dist/src/lib/errors/git-error.d.ts": {
|
|
@@ -1022,23 +1022,23 @@
|
|
|
1022
1022
|
"affectsGlobalScope": false
|
|
1023
1023
|
},
|
|
1024
1024
|
"../node_modules/simple-git/dist/src/lib/types/handlers.d.ts": {
|
|
1025
|
-
"version": "
|
|
1026
|
-
"signature": "
|
|
1025
|
+
"version": "b2dbe6b053e04ec135c7ce722e0a4e9744281ea40429af96e2662cc926465519",
|
|
1026
|
+
"signature": "b2dbe6b053e04ec135c7ce722e0a4e9744281ea40429af96e2662cc926465519",
|
|
1027
1027
|
"affectsGlobalScope": false
|
|
1028
1028
|
},
|
|
1029
1029
|
"../node_modules/simple-git/dist/src/lib/types/index.d.ts": {
|
|
1030
|
-
"version": "
|
|
1031
|
-
"signature": "
|
|
1030
|
+
"version": "ff5a6ff97e667e6baf1cf4e98f1b1d22652318e2e770baa0444e36b968a86479",
|
|
1031
|
+
"signature": "ff5a6ff97e667e6baf1cf4e98f1b1d22652318e2e770baa0444e36b968a86479",
|
|
1032
1032
|
"affectsGlobalScope": false
|
|
1033
1033
|
},
|
|
1034
1034
|
"../node_modules/simple-git/dist/src/lib/tasks/log.d.ts": {
|
|
1035
|
-
"version": "
|
|
1036
|
-
"signature": "
|
|
1035
|
+
"version": "5619706bbd7a964d7c82cd4a307457ed0327ecc86772ceb7ea0870566c6578b2",
|
|
1036
|
+
"signature": "5619706bbd7a964d7c82cd4a307457ed0327ecc86772ceb7ea0870566c6578b2",
|
|
1037
1037
|
"affectsGlobalScope": false
|
|
1038
1038
|
},
|
|
1039
1039
|
"../node_modules/simple-git/dist/typings/response.d.ts": {
|
|
1040
|
-
"version": "
|
|
1041
|
-
"signature": "
|
|
1040
|
+
"version": "b48c4e15766170c5003a6273b1d8f17f854ec565ccaaebd9f700fef159b84078",
|
|
1041
|
+
"signature": "b48c4e15766170c5003a6273b1d8f17f854ec565ccaaebd9f700fef159b84078",
|
|
1042
1042
|
"affectsGlobalScope": false
|
|
1043
1043
|
},
|
|
1044
1044
|
"../node_modules/simple-git/dist/src/lib/responses/GetRemoteSummary.d.ts": {
|
|
@@ -1052,8 +1052,8 @@
|
|
|
1052
1052
|
"affectsGlobalScope": false
|
|
1053
1053
|
},
|
|
1054
1054
|
"../node_modules/simple-git/dist/src/lib/tasks/apply-patch.d.ts": {
|
|
1055
|
-
"version": "
|
|
1056
|
-
"signature": "
|
|
1055
|
+
"version": "3e697e2186544103572756d80b61fcce3842ab07abdc5a1b7b8d4b9a4136005a",
|
|
1056
|
+
"signature": "3e697e2186544103572756d80b61fcce3842ab07abdc5a1b7b8d4b9a4136005a",
|
|
1057
1057
|
"affectsGlobalScope": false
|
|
1058
1058
|
},
|
|
1059
1059
|
"../node_modules/simple-git/dist/src/lib/tasks/check-is-repo.d.ts": {
|
|
@@ -1062,13 +1062,13 @@
|
|
|
1062
1062
|
"affectsGlobalScope": false
|
|
1063
1063
|
},
|
|
1064
1064
|
"../node_modules/simple-git/dist/src/lib/tasks/clean.d.ts": {
|
|
1065
|
-
"version": "
|
|
1066
|
-
"signature": "
|
|
1065
|
+
"version": "688a28e7953ef4465f68da2718dc6438aaa16325133a8cb903bf850c63cb4a7e",
|
|
1066
|
+
"signature": "688a28e7953ef4465f68da2718dc6438aaa16325133a8cb903bf850c63cb4a7e",
|
|
1067
1067
|
"affectsGlobalScope": false
|
|
1068
1068
|
},
|
|
1069
1069
|
"../node_modules/simple-git/dist/src/lib/tasks/clone.d.ts": {
|
|
1070
|
-
"version": "
|
|
1071
|
-
"signature": "
|
|
1070
|
+
"version": "f2c96e813200ca900d2bbf0d8e3db7c2a70180b80f559b676aab8315c9472943",
|
|
1071
|
+
"signature": "f2c96e813200ca900d2bbf0d8e3db7c2a70180b80f559b676aab8315c9472943",
|
|
1072
1072
|
"affectsGlobalScope": false
|
|
1073
1073
|
},
|
|
1074
1074
|
"../node_modules/simple-git/dist/src/lib/tasks/config.d.ts": {
|
|
@@ -1076,14 +1076,19 @@
|
|
|
1076
1076
|
"signature": "f73cf81342d2a25b65179c262ca7c38df023969129094607d0eb52510a56f10f",
|
|
1077
1077
|
"affectsGlobalScope": false
|
|
1078
1078
|
},
|
|
1079
|
+
"../node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts": {
|
|
1080
|
+
"version": "f433d28f86313073f13b16c0a18ccdd21759390f52c8d7bf9d916645b12d16ed",
|
|
1081
|
+
"signature": "f433d28f86313073f13b16c0a18ccdd21759390f52c8d7bf9d916645b12d16ed",
|
|
1082
|
+
"affectsGlobalScope": false
|
|
1083
|
+
},
|
|
1079
1084
|
"../node_modules/simple-git/dist/src/lib/tasks/grep.d.ts": {
|
|
1080
1085
|
"version": "e7d7e67bd66b30f2216e4678b97bb09629a2b31766a79119acaa30e3005ef5fb",
|
|
1081
1086
|
"signature": "e7d7e67bd66b30f2216e4678b97bb09629a2b31766a79119acaa30e3005ef5fb",
|
|
1082
1087
|
"affectsGlobalScope": false
|
|
1083
1088
|
},
|
|
1084
1089
|
"../node_modules/simple-git/dist/src/lib/tasks/reset.d.ts": {
|
|
1085
|
-
"version": "
|
|
1086
|
-
"signature": "
|
|
1090
|
+
"version": "e05a20aa85c7324c65643542c2d7314774c2adf510f9dcbad5d3afac74ca3dac",
|
|
1091
|
+
"signature": "e05a20aa85c7324c65643542c2d7314774c2adf510f9dcbad5d3afac74ca3dac",
|
|
1087
1092
|
"affectsGlobalScope": false
|
|
1088
1093
|
},
|
|
1089
1094
|
"../node_modules/simple-git/dist/src/lib/tasks/version.d.ts": {
|
|
@@ -1092,8 +1097,8 @@
|
|
|
1092
1097
|
"affectsGlobalScope": false
|
|
1093
1098
|
},
|
|
1094
1099
|
"../node_modules/simple-git/dist/typings/types.d.ts": {
|
|
1095
|
-
"version": "
|
|
1096
|
-
"signature": "
|
|
1100
|
+
"version": "b1e92e9b96cacb98a39acc958670ac895c3b2bb05d8810497310b6b678c46acc",
|
|
1101
|
+
"signature": "b1e92e9b96cacb98a39acc958670ac895c3b2bb05d8810497310b6b678c46acc",
|
|
1097
1102
|
"affectsGlobalScope": false
|
|
1098
1103
|
},
|
|
1099
1104
|
"../node_modules/simple-git/dist/src/lib/errors/git-construct-error.d.ts": {
|
|
@@ -1122,8 +1127,8 @@
|
|
|
1122
1127
|
"affectsGlobalScope": false
|
|
1123
1128
|
},
|
|
1124
1129
|
"../node_modules/simple-git/dist/typings/simple-git.d.ts": {
|
|
1125
|
-
"version": "
|
|
1126
|
-
"signature": "
|
|
1130
|
+
"version": "e1126668c194faa56a728eb5bd2dd88dfc19460ced65c38888977a22369e4624",
|
|
1131
|
+
"signature": "e1126668c194faa56a728eb5bd2dd88dfc19460ced65c38888977a22369e4624",
|
|
1127
1132
|
"affectsGlobalScope": false
|
|
1128
1133
|
},
|
|
1129
1134
|
"../node_modules/simple-git/dist/typings/index.d.ts": {
|
|
@@ -1181,14 +1186,19 @@
|
|
|
1181
1186
|
"signature": "f569f6cffe5aabc50cbccef9974ee0c31387d6471ec8aacc608144ed6130f822",
|
|
1182
1187
|
"affectsGlobalScope": false
|
|
1183
1188
|
},
|
|
1189
|
+
"../../artifact-management-fioriplugin/dist/types/src/readers/UIWidgetModuleReader.d.ts": {
|
|
1190
|
+
"version": "2d17c2058157b59d899935c738d9a6b342d9f6bafd721ec5d5d4cd1f4ca32b0a",
|
|
1191
|
+
"signature": "2d17c2058157b59d899935c738d9a6b342d9f6bafd721ec5d5d4cd1f4ca32b0a",
|
|
1192
|
+
"affectsGlobalScope": false
|
|
1193
|
+
},
|
|
1184
1194
|
"../../artifact-management-fioriplugin/dist/types/src/generators/UI5ModuleGenerator.d.ts": {
|
|
1185
1195
|
"version": "8a0e7c9334e9fa2b59f4edc91948423818a5f2346e490887a52a8aa61bbfec44",
|
|
1186
1196
|
"signature": "8a0e7c9334e9fa2b59f4edc91948423818a5f2346e490887a52a8aa61bbfec44",
|
|
1187
1197
|
"affectsGlobalScope": false
|
|
1188
1198
|
},
|
|
1189
1199
|
"../../artifact-management-fioriplugin/dist/types/src/InfoList.d.ts": {
|
|
1190
|
-
"version": "
|
|
1191
|
-
"signature": "
|
|
1200
|
+
"version": "d9ce0d8f49b64a23a2de7b8484a35f7a5c4a8353b525dc36aa83e0177efafa98",
|
|
1201
|
+
"signature": "d9ce0d8f49b64a23a2de7b8484a35f7a5c4a8353b525dc36aa83e0177efafa98",
|
|
1192
1202
|
"affectsGlobalScope": false
|
|
1193
1203
|
},
|
|
1194
1204
|
"../../artifact-management-fioriplugin/dist/types/src/util/FioriUiForAbapUtil.d.ts": {
|
|
@@ -1197,8 +1207,8 @@
|
|
|
1197
1207
|
"affectsGlobalScope": false
|
|
1198
1208
|
},
|
|
1199
1209
|
"../../artifact-management-fioriplugin/dist/types/src/index.d.ts": {
|
|
1200
|
-
"version": "
|
|
1201
|
-
"signature": "
|
|
1210
|
+
"version": "630e18c54d4d07c6770e10c89ecb62504595cc2ccb2e8302c1e63e2848a84dce",
|
|
1211
|
+
"signature": "630e18c54d4d07c6770e10c89ecb62504595cc2ccb2e8302c1e63e2848a84dce",
|
|
1202
1212
|
"affectsGlobalScope": false
|
|
1203
1213
|
},
|
|
1204
1214
|
"../node_modules/@types/xml2js/lib/processors.d.ts": {
|
|
@@ -1362,8 +1372,8 @@
|
|
|
1362
1372
|
"affectsGlobalScope": false
|
|
1363
1373
|
},
|
|
1364
1374
|
"../src/plugins/dataproduct/types/DataProductDefinition.ts": {
|
|
1365
|
-
"version": "
|
|
1366
|
-
"signature": "
|
|
1375
|
+
"version": "c1455f2cd31707751b443a151d6f2f32dd51f07ef802083f9e0591427d7fb9a1",
|
|
1376
|
+
"signature": "6ac5d45b04e5555881a7ae23379c6990b4e30bbb24ecab56e811598e27228567",
|
|
1367
1377
|
"affectsGlobalScope": false
|
|
1368
1378
|
},
|
|
1369
1379
|
"../src/plugins/dataproduct/InfoList.ts": {
|
|
@@ -1371,9 +1381,14 @@
|
|
|
1371
1381
|
"signature": "3a718331873ef59b67145c2eed5367b2423080578ba78553679becff878482af",
|
|
1372
1382
|
"affectsGlobalScope": false
|
|
1373
1383
|
},
|
|
1384
|
+
"../node_modules/@sap/bas-sdk/api.d.ts": {
|
|
1385
|
+
"version": "836a0592cd03d6de6e94effb76d9b8273433684918eb67f4b5fe8893cacf4c9a",
|
|
1386
|
+
"signature": "836a0592cd03d6de6e94effb76d9b8273433684918eb67f4b5fe8893cacf4c9a",
|
|
1387
|
+
"affectsGlobalScope": false
|
|
1388
|
+
},
|
|
1374
1389
|
"../src/plugins/dataproduct/readers/DataProductItemReader.ts": {
|
|
1375
|
-
"version": "
|
|
1376
|
-
"signature": "
|
|
1390
|
+
"version": "a31fe3880f1dd0c9cc85f5e2273bfa64d4dfd74dfe093d208d2c233cb59f5057",
|
|
1391
|
+
"signature": "48ceed4f73ec8281f6f000f747ea3a59044fa0e5815963201af6ea9c7603e341",
|
|
1377
1392
|
"affectsGlobalScope": false
|
|
1378
1393
|
},
|
|
1379
1394
|
"../src/plugins/dataproduct/readers/DataProductModuleReader.ts": {
|
|
@@ -1596,8 +1611,23 @@
|
|
|
1596
1611
|
"signature": "57a200af0226d3cf99dbb6ff800e2c9287e23642bfef14c57c135b17a49387e2",
|
|
1597
1612
|
"affectsGlobalScope": false
|
|
1598
1613
|
},
|
|
1614
|
+
"../src/plugins/doc/readers/DocModuleReader.ts": {
|
|
1615
|
+
"version": "c6e433f4e2f0ed1ccc86ff62254ea33305f010d29f2059eb90c85614f2656efe",
|
|
1616
|
+
"signature": "78cd339cdb021132a0e57945b10b81c2a8fcce811a68702941b756168dcea59e",
|
|
1617
|
+
"affectsGlobalScope": false
|
|
1618
|
+
},
|
|
1619
|
+
"../src/plugins/doc/readers/DocProjectReader.ts": {
|
|
1620
|
+
"version": "fbe46370a04cd055c78320e26b59f5fa0d86e3142a41a47b145028a24e58ca2a",
|
|
1621
|
+
"signature": "5ce58101f62ee6871ae8b39267dfba0a237f43a8c615121b5a3398b114a035c1",
|
|
1622
|
+
"affectsGlobalScope": false
|
|
1623
|
+
},
|
|
1624
|
+
"../src/plugins/doc/index.ts": {
|
|
1625
|
+
"version": "4e02483a69ab4dc91072533f700de9115600a9f2047a77df5002148afcfb53b7",
|
|
1626
|
+
"signature": "77b47a504d3689dbba805324d1d8ec2fbd7a9d0124b8ea1dceb621ba545e01be",
|
|
1627
|
+
"affectsGlobalScope": false
|
|
1628
|
+
},
|
|
1599
1629
|
"../src/definitions/PluginDefintionProvider.ts": {
|
|
1600
|
-
"version": "
|
|
1630
|
+
"version": "80d125587f87e0f79f0866d183da24967e585a01e009ef5026f45493cdb96263",
|
|
1601
1631
|
"signature": "3b80780aa4e01664a1fc9bdf74521c4a189530c83b74ad63ed526310d1452010",
|
|
1602
1632
|
"affectsGlobalScope": false
|
|
1603
1633
|
},
|
|
@@ -2273,11 +2303,15 @@
|
|
|
2273
2303
|
"../../artifact-management-fioriplugin/dist/types/src/InfoList.d.ts",
|
|
2274
2304
|
"../../artifact-management-fioriplugin/dist/types/src/generators/UI5ModuleGenerator.d.ts",
|
|
2275
2305
|
"../../artifact-management-fioriplugin/dist/types/src/readers/UI5ModuleReader.d.ts",
|
|
2306
|
+
"../../artifact-management-fioriplugin/dist/types/src/readers/UIWidgetModuleReader.d.ts",
|
|
2276
2307
|
"../../artifact-management-fioriplugin/dist/types/src/util/FioriUiForAbapUtil.d.ts"
|
|
2277
2308
|
],
|
|
2278
2309
|
"../../artifact-management-fioriplugin/dist/types/src/readers/UI5ModuleReader.d.ts": [
|
|
2279
2310
|
"../../artifact-management-base/dist/types/src/index.d.ts"
|
|
2280
2311
|
],
|
|
2312
|
+
"../../artifact-management-fioriplugin/dist/types/src/readers/UIWidgetModuleReader.d.ts": [
|
|
2313
|
+
"../../artifact-management-base/dist/types/src/index.d.ts"
|
|
2314
|
+
],
|
|
2281
2315
|
"../../artifact-management-hanaplugin/dist/types/src/index.d.ts": [
|
|
2282
2316
|
"../../artifact-management-base/dist/types/src/index.d.ts"
|
|
2283
2317
|
],
|
|
@@ -2357,6 +2391,9 @@
|
|
|
2357
2391
|
"../node_modules/@babel/parser/typings/babel-parser.d.ts": [
|
|
2358
2392
|
"../node_modules/@babel/types/lib/index.d.ts"
|
|
2359
2393
|
],
|
|
2394
|
+
"../node_modules/@sap/bas-sdk/api.d.ts": [
|
|
2395
|
+
"../node_modules/@types/node/url.d.ts"
|
|
2396
|
+
],
|
|
2360
2397
|
"../node_modules/@types/babel__traverse/index.d.ts": [
|
|
2361
2398
|
"../node_modules/@babel/types/lib/index.d.ts"
|
|
2362
2399
|
],
|
|
@@ -2962,11 +2999,15 @@
|
|
|
2962
2999
|
],
|
|
2963
3000
|
"../node_modules/simple-git/dist/src/lib/tasks/clone.d.ts": [
|
|
2964
3001
|
"../node_modules/simple-git/dist/src/lib/tasks/task.d.ts",
|
|
2965
|
-
"../node_modules/simple-git/dist/src/lib/types/index.d.ts"
|
|
3002
|
+
"../node_modules/simple-git/dist/src/lib/types/index.d.ts",
|
|
3003
|
+
"../node_modules/simple-git/dist/typings/index.d.ts"
|
|
2966
3004
|
],
|
|
2967
3005
|
"../node_modules/simple-git/dist/src/lib/tasks/config.d.ts": [
|
|
2968
3006
|
"../node_modules/simple-git/dist/typings/index.d.ts"
|
|
2969
3007
|
],
|
|
3008
|
+
"../node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts": [
|
|
3009
|
+
"../node_modules/simple-git/dist/typings/index.d.ts"
|
|
3010
|
+
],
|
|
2970
3011
|
"../node_modules/simple-git/dist/src/lib/tasks/grep.d.ts": [
|
|
2971
3012
|
"../node_modules/simple-git/dist/typings/index.d.ts"
|
|
2972
3013
|
],
|
|
@@ -2988,12 +3029,10 @@
|
|
|
2988
3029
|
],
|
|
2989
3030
|
"../node_modules/simple-git/dist/src/lib/types/index.d.ts": [
|
|
2990
3031
|
"../node_modules/@types/node/child_process.d.ts",
|
|
2991
|
-
"../node_modules/@types/node/index.d.ts",
|
|
2992
3032
|
"../node_modules/simple-git/dist/src/lib/types/handlers.d.ts",
|
|
2993
3033
|
"../node_modules/simple-git/dist/src/lib/types/tasks.d.ts"
|
|
2994
3034
|
],
|
|
2995
3035
|
"../node_modules/simple-git/dist/src/lib/types/tasks.d.ts": [
|
|
2996
|
-
"../node_modules/@types/node/index.d.ts",
|
|
2997
3036
|
"../node_modules/simple-git/dist/src/lib/tasks/task.d.ts",
|
|
2998
3037
|
"../node_modules/simple-git/dist/src/lib/types/index.d.ts"
|
|
2999
3038
|
],
|
|
@@ -3027,6 +3066,7 @@
|
|
|
3027
3066
|
"../node_modules/simple-git/dist/src/lib/tasks/clean.d.ts",
|
|
3028
3067
|
"../node_modules/simple-git/dist/src/lib/tasks/clone.d.ts",
|
|
3029
3068
|
"../node_modules/simple-git/dist/src/lib/tasks/config.d.ts",
|
|
3069
|
+
"../node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts",
|
|
3030
3070
|
"../node_modules/simple-git/dist/src/lib/tasks/diff-name-status.d.ts",
|
|
3031
3071
|
"../node_modules/simple-git/dist/src/lib/tasks/grep.d.ts",
|
|
3032
3072
|
"../node_modules/simple-git/dist/src/lib/tasks/log.d.ts",
|
|
@@ -3113,6 +3153,7 @@
|
|
|
3113
3153
|
"../src/plugins/bas/index.ts",
|
|
3114
3154
|
"../src/plugins/cap/index.ts",
|
|
3115
3155
|
"../src/plugins/dataproduct/index.ts",
|
|
3156
|
+
"../src/plugins/doc/index.ts",
|
|
3116
3157
|
"../src/plugins/java/index.ts",
|
|
3117
3158
|
"../src/plugins/workflow/index.ts",
|
|
3118
3159
|
"../src/plugins/xsuaa/index.ts"
|
|
@@ -3309,6 +3350,8 @@
|
|
|
3309
3350
|
],
|
|
3310
3351
|
"../src/plugins/dataproduct/readers/DataProductItemReader.ts": [
|
|
3311
3352
|
"../../artifact-management-base/dist/types/src/index.d.ts",
|
|
3353
|
+
"../node_modules/@sap/bas-sdk/api.d.ts",
|
|
3354
|
+
"../node_modules/@types/node/url.d.ts",
|
|
3312
3355
|
"../src/plugins/dataproduct/InfoList.ts",
|
|
3313
3356
|
"../src/plugins/dataproduct/types/DataProductDefinition.ts"
|
|
3314
3357
|
],
|
|
@@ -3320,6 +3363,20 @@
|
|
|
3320
3363
|
"../../artifact-management-base/dist/types/src/index.d.ts",
|
|
3321
3364
|
"../src/plugins/dataproduct/readers/DataProductModuleReader.ts"
|
|
3322
3365
|
],
|
|
3366
|
+
"../src/plugins/doc/index.ts": [
|
|
3367
|
+
"../../artifact-management-base/dist/types/src/index.d.ts",
|
|
3368
|
+
"../src/plugins/doc/readers/DocModuleReader.ts",
|
|
3369
|
+
"../src/plugins/doc/readers/DocProjectReader.ts"
|
|
3370
|
+
],
|
|
3371
|
+
"../src/plugins/doc/readers/DocModuleReader.ts": [
|
|
3372
|
+
"../../artifact-management-base/dist/types/src/index.d.ts",
|
|
3373
|
+
"../node_modules/@types/node/path.d.ts"
|
|
3374
|
+
],
|
|
3375
|
+
"../src/plugins/doc/readers/DocProjectReader.ts": [
|
|
3376
|
+
"../../artifact-management-base/dist/types/src/index.d.ts",
|
|
3377
|
+
"../node_modules/@types/node/path.d.ts",
|
|
3378
|
+
"../src/plugins/doc/readers/DocModuleReader.ts"
|
|
3379
|
+
],
|
|
3323
3380
|
"../src/plugins/java/index.ts": [
|
|
3324
3381
|
"../../artifact-management-base/dist/types/src/index.d.ts",
|
|
3325
3382
|
"../src/plugins/cap/CapRun.ts",
|
|
@@ -3799,11 +3856,15 @@
|
|
|
3799
3856
|
"../../artifact-management-fioriplugin/dist/types/src/InfoList.d.ts",
|
|
3800
3857
|
"../../artifact-management-fioriplugin/dist/types/src/generators/UI5ModuleGenerator.d.ts",
|
|
3801
3858
|
"../../artifact-management-fioriplugin/dist/types/src/readers/UI5ModuleReader.d.ts",
|
|
3859
|
+
"../../artifact-management-fioriplugin/dist/types/src/readers/UIWidgetModuleReader.d.ts",
|
|
3802
3860
|
"../../artifact-management-fioriplugin/dist/types/src/util/FioriUiForAbapUtil.d.ts"
|
|
3803
3861
|
],
|
|
3804
3862
|
"../../artifact-management-fioriplugin/dist/types/src/readers/UI5ModuleReader.d.ts": [
|
|
3805
3863
|
"../../artifact-management-base/dist/types/src/index.d.ts"
|
|
3806
3864
|
],
|
|
3865
|
+
"../../artifact-management-fioriplugin/dist/types/src/readers/UIWidgetModuleReader.d.ts": [
|
|
3866
|
+
"../../artifact-management-base/dist/types/src/index.d.ts"
|
|
3867
|
+
],
|
|
3807
3868
|
"../../artifact-management-hanaplugin/dist/types/src/index.d.ts": [
|
|
3808
3869
|
"../../artifact-management-base/dist/types/src/index.d.ts"
|
|
3809
3870
|
],
|
|
@@ -3883,6 +3944,9 @@
|
|
|
3883
3944
|
"../node_modules/@babel/parser/typings/babel-parser.d.ts": [
|
|
3884
3945
|
"../node_modules/@babel/types/lib/index.d.ts"
|
|
3885
3946
|
],
|
|
3947
|
+
"../node_modules/@sap/bas-sdk/api.d.ts": [
|
|
3948
|
+
"../node_modules/@types/node/url.d.ts"
|
|
3949
|
+
],
|
|
3886
3950
|
"../node_modules/@types/babel__traverse/index.d.ts": [
|
|
3887
3951
|
"../node_modules/@babel/types/lib/index.d.ts"
|
|
3888
3952
|
],
|
|
@@ -4488,11 +4552,15 @@
|
|
|
4488
4552
|
],
|
|
4489
4553
|
"../node_modules/simple-git/dist/src/lib/tasks/clone.d.ts": [
|
|
4490
4554
|
"../node_modules/simple-git/dist/src/lib/tasks/task.d.ts",
|
|
4491
|
-
"../node_modules/simple-git/dist/src/lib/types/index.d.ts"
|
|
4555
|
+
"../node_modules/simple-git/dist/src/lib/types/index.d.ts",
|
|
4556
|
+
"../node_modules/simple-git/dist/typings/index.d.ts"
|
|
4492
4557
|
],
|
|
4493
4558
|
"../node_modules/simple-git/dist/src/lib/tasks/config.d.ts": [
|
|
4494
4559
|
"../node_modules/simple-git/dist/typings/index.d.ts"
|
|
4495
4560
|
],
|
|
4561
|
+
"../node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts": [
|
|
4562
|
+
"../node_modules/simple-git/dist/typings/index.d.ts"
|
|
4563
|
+
],
|
|
4496
4564
|
"../node_modules/simple-git/dist/src/lib/tasks/grep.d.ts": [
|
|
4497
4565
|
"../node_modules/simple-git/dist/typings/index.d.ts"
|
|
4498
4566
|
],
|
|
@@ -4514,12 +4582,10 @@
|
|
|
4514
4582
|
],
|
|
4515
4583
|
"../node_modules/simple-git/dist/src/lib/types/index.d.ts": [
|
|
4516
4584
|
"../node_modules/@types/node/child_process.d.ts",
|
|
4517
|
-
"../node_modules/@types/node/index.d.ts",
|
|
4518
4585
|
"../node_modules/simple-git/dist/src/lib/types/handlers.d.ts",
|
|
4519
4586
|
"../node_modules/simple-git/dist/src/lib/types/tasks.d.ts"
|
|
4520
4587
|
],
|
|
4521
4588
|
"../node_modules/simple-git/dist/src/lib/types/tasks.d.ts": [
|
|
4522
|
-
"../node_modules/@types/node/index.d.ts",
|
|
4523
4589
|
"../node_modules/simple-git/dist/src/lib/tasks/task.d.ts",
|
|
4524
4590
|
"../node_modules/simple-git/dist/src/lib/types/index.d.ts"
|
|
4525
4591
|
],
|
|
@@ -4553,6 +4619,7 @@
|
|
|
4553
4619
|
"../node_modules/simple-git/dist/src/lib/tasks/clean.d.ts",
|
|
4554
4620
|
"../node_modules/simple-git/dist/src/lib/tasks/clone.d.ts",
|
|
4555
4621
|
"../node_modules/simple-git/dist/src/lib/tasks/config.d.ts",
|
|
4622
|
+
"../node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts",
|
|
4556
4623
|
"../node_modules/simple-git/dist/src/lib/tasks/diff-name-status.d.ts",
|
|
4557
4624
|
"../node_modules/simple-git/dist/src/lib/tasks/grep.d.ts",
|
|
4558
4625
|
"../node_modules/simple-git/dist/src/lib/tasks/log.d.ts",
|
|
@@ -4755,6 +4822,16 @@
|
|
|
4755
4822
|
"../../artifact-management-base/dist/types/src/index.d.ts",
|
|
4756
4823
|
"../src/plugins/dataproduct/readers/DataProductModuleReader.ts"
|
|
4757
4824
|
],
|
|
4825
|
+
"../src/plugins/doc/index.ts": [
|
|
4826
|
+
"../../artifact-management-base/dist/types/src/index.d.ts"
|
|
4827
|
+
],
|
|
4828
|
+
"../src/plugins/doc/readers/DocModuleReader.ts": [
|
|
4829
|
+
"../../artifact-management-base/dist/types/src/index.d.ts"
|
|
4830
|
+
],
|
|
4831
|
+
"../src/plugins/doc/readers/DocProjectReader.ts": [
|
|
4832
|
+
"../../artifact-management-base/dist/types/src/index.d.ts",
|
|
4833
|
+
"../src/plugins/doc/readers/DocModuleReader.ts"
|
|
4834
|
+
],
|
|
4758
4835
|
"../src/plugins/java/index.ts": [
|
|
4759
4836
|
"../../artifact-management-base/dist/types/src/index.d.ts"
|
|
4760
4837
|
],
|
|
@@ -4952,6 +5029,7 @@
|
|
|
4952
5029
|
"../../artifact-management-fioriplugin/dist/types/src/generators/UI5ModuleGenerator.d.ts",
|
|
4953
5030
|
"../../artifact-management-fioriplugin/dist/types/src/index.d.ts",
|
|
4954
5031
|
"../../artifact-management-fioriplugin/dist/types/src/readers/UI5ModuleReader.d.ts",
|
|
5032
|
+
"../../artifact-management-fioriplugin/dist/types/src/readers/UIWidgetModuleReader.d.ts",
|
|
4955
5033
|
"../../artifact-management-fioriplugin/dist/types/src/util/FioriUiForAbapUtil.d.ts",
|
|
4956
5034
|
"../../artifact-management-hanaplugin/dist/types/src/index.d.ts",
|
|
4957
5035
|
"../../artifact-management-mdkplugin/dist/types/src/InfoList.d.ts",
|
|
@@ -4977,6 +5055,7 @@
|
|
|
4977
5055
|
"../../artifact-management-mdkplugin/dist/types/src/readers/MdkStyleReader.d.ts",
|
|
4978
5056
|
"../node_modules/@babel/parser/typings/babel-parser.d.ts",
|
|
4979
5057
|
"../node_modules/@babel/types/lib/index.d.ts",
|
|
5058
|
+
"../node_modules/@sap/bas-sdk/api.d.ts",
|
|
4980
5059
|
"../node_modules/@types/babel__traverse/index.d.ts",
|
|
4981
5060
|
"../node_modules/@types/braces/index.d.ts",
|
|
4982
5061
|
"../node_modules/@types/eslint-scope/index.d.ts",
|
|
@@ -5115,6 +5194,7 @@
|
|
|
5115
5194
|
"../node_modules/simple-git/dist/src/lib/tasks/clean.d.ts",
|
|
5116
5195
|
"../node_modules/simple-git/dist/src/lib/tasks/clone.d.ts",
|
|
5117
5196
|
"../node_modules/simple-git/dist/src/lib/tasks/config.d.ts",
|
|
5197
|
+
"../node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts",
|
|
5118
5198
|
"../node_modules/simple-git/dist/src/lib/tasks/diff-name-status.d.ts",
|
|
5119
5199
|
"../node_modules/simple-git/dist/src/lib/tasks/grep.d.ts",
|
|
5120
5200
|
"../node_modules/simple-git/dist/src/lib/tasks/log.d.ts",
|
|
@@ -5232,6 +5312,9 @@
|
|
|
5232
5312
|
"../src/plugins/dataproduct/readers/DataProductModuleReader.ts",
|
|
5233
5313
|
"../src/plugins/dataproduct/readers/DataProductProjectReader.ts",
|
|
5234
5314
|
"../src/plugins/dataproduct/types/DataProductDefinition.ts",
|
|
5315
|
+
"../src/plugins/doc/index.ts",
|
|
5316
|
+
"../src/plugins/doc/readers/DocModuleReader.ts",
|
|
5317
|
+
"../src/plugins/doc/readers/DocProjectReader.ts",
|
|
5235
5318
|
"../src/plugins/java/index.ts",
|
|
5236
5319
|
"../src/plugins/java/readers/JavaModuleReader.ts",
|
|
5237
5320
|
"../src/plugins/java/readers/JavaProjectReader.ts",
|
|
@@ -4,6 +4,8 @@ import { Item, ProjectEntityReaderReadOptions } from '@sap/artifact-management-b
|
|
|
4
4
|
* Extracts metadata from each data product definition file.
|
|
5
5
|
*/
|
|
6
6
|
export default class DataProductItemReader {
|
|
7
|
+
private static readonly BDC_DESTINATION_NAME;
|
|
8
|
+
private static readonly DEFAULT_DOMAIN;
|
|
7
9
|
matchConditions: {
|
|
8
10
|
filePatterns: string[];
|
|
9
11
|
};
|
|
@@ -13,6 +15,14 @@ export default class DataProductItemReader {
|
|
|
13
15
|
* Read all .dpd files in the current directory and extract their metadata.
|
|
14
16
|
*/
|
|
15
17
|
read({ fs }: ProjectEntityReaderReadOptions): Promise<Item[]>;
|
|
18
|
+
/**
|
|
19
|
+
* Resolves the base URL of the SAP BDC destination.
|
|
20
|
+
*/
|
|
21
|
+
private getBDCBaseUrl;
|
|
22
|
+
/**
|
|
23
|
+
* Builds the full SAP Data Product Studio URL for a given data product.
|
|
24
|
+
*/
|
|
25
|
+
private buildFullUrl;
|
|
16
26
|
/**
|
|
17
27
|
* Parse a .dpd file and create an Item from it.
|
|
18
28
|
*/
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { KeyIn, ProjectEntityReaderReadOptions, ModuleType, Item, ModuleData, ModuleReader, DetectionMechanism } from '@sap/artifact-management-base';
|
|
2
|
+
export default class DocModuleReader extends ModuleReader {
|
|
3
|
+
supportedProjectType: string[];
|
|
4
|
+
getType(): KeyIn<typeof ModuleType>;
|
|
5
|
+
getDetectionMechanism(): DetectionMechanism;
|
|
6
|
+
matchConditions: {
|
|
7
|
+
filePatterns: string[];
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
itemTags: string[];
|
|
11
|
+
itemReaders: {
|
|
12
|
+
matchConditions: {
|
|
13
|
+
filePatterns: string[];
|
|
14
|
+
};
|
|
15
|
+
types: string[];
|
|
16
|
+
tags: string[];
|
|
17
|
+
read: (options: ProjectEntityReaderReadOptions) => Promise<Item[]>;
|
|
18
|
+
}[];
|
|
19
|
+
read({ fs }: ProjectEntityReaderReadOptions): Promise<ModuleData | undefined>;
|
|
20
|
+
private readPrd;
|
|
21
|
+
private readSpecs;
|
|
22
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ProjectReader, ProjectReaderOptions, ProjectData, ProjectType, DetectionMechanism, KeyIn } from '@sap/artifact-management-base';
|
|
2
|
+
import DocModuleReader from './DocModuleReader';
|
|
3
|
+
export default class DocProjectReader extends ProjectReader {
|
|
4
|
+
constructor();
|
|
5
|
+
getType(): KeyIn<typeof ProjectType>;
|
|
6
|
+
getDetectionMechanism(): DetectionMechanism;
|
|
7
|
+
moduleSearchPattern(): Promise<string[]>;
|
|
8
|
+
additionalModuleReaders: DocModuleReader[][];
|
|
9
|
+
tags: string[];
|
|
10
|
+
read({ fs }: ProjectReaderOptions): Promise<ProjectData | undefined>;
|
|
11
|
+
private isDocProject;
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/artifact-management",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.53.1",
|
|
4
4
|
"main": "dist/src/index.js",
|
|
5
5
|
"types": "dist/types/src/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"make-module": "gulp --gulpfile ./gulpfile.js makeNodeModule",
|
|
23
23
|
"postmake-module": "bash ../../bin/post_build_check.sh",
|
|
24
24
|
"env": "env",
|
|
25
|
-
"create-packages": "bash ../../bin/create_node_module.sh"
|
|
25
|
+
"create-packages": "bash ../../bin/create_node_module.sh",
|
|
26
|
+
"build:webpack": "webpack --mode production"
|
|
26
27
|
},
|
|
27
28
|
"bin": {
|
|
28
29
|
"dev-project": "dist/src/project-api/ProjectCLI.js"
|
|
@@ -31,17 +32,18 @@
|
|
|
31
32
|
"@babel/parser": "^7.26.10",
|
|
32
33
|
"@babel/traverse": "^7.26.10",
|
|
33
34
|
"@babel/types": "^7.24.0",
|
|
34
|
-
"@sap/artifact-management-base": "^1.
|
|
35
|
-
"@sap/artifact-management-fioriplugin": "^1.
|
|
36
|
-
"@sap/artifact-management-hanaplugin": "^1.
|
|
37
|
-
"@sap/artifact-management-mdkplugin": "^1.
|
|
35
|
+
"@sap/artifact-management-base": "^1.53.1",
|
|
36
|
+
"@sap/artifact-management-fioriplugin": "^1.53.1",
|
|
37
|
+
"@sap/artifact-management-hanaplugin": "^1.53.1",
|
|
38
|
+
"@sap/artifact-management-mdkplugin": "^1.53.1",
|
|
39
|
+
"@sap/bas-sdk": "3.13.3",
|
|
38
40
|
"ajv": "8.18.0",
|
|
39
41
|
"chokidar": "3.6.0",
|
|
40
42
|
"js-yaml": "4.1.0",
|
|
41
43
|
"jsdom": "^25.0.1",
|
|
42
44
|
"lodash": "4.17.23",
|
|
43
45
|
"micromatch": "4.0.8",
|
|
44
|
-
"simple-git": "3.
|
|
46
|
+
"simple-git": "3.33.0",
|
|
45
47
|
"uuid": "11.0.0-0",
|
|
46
48
|
"vscode-languageserver-types": "3.17.5",
|
|
47
49
|
"vscode-uri": "3.1.0",
|