@sap/artifact-management-types 1.24.2 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/artifact-management-types",
3
- "version": "1.24.2",
3
+ "version": "1.25.0",
4
4
  "description": "Type signatures for artifact management",
5
5
  "types": "./src/index.d.ts",
6
6
  "main": "./src/index.d.ts",
@@ -10,7 +10,7 @@
10
10
  "pack": "npm run modify-types-import && npm pack"
11
11
  },
12
12
  "dependencies": {
13
- "@sap/artifact-management-base-types": "1.24.2"
13
+ "@sap/artifact-management-base-types": "1.25.0"
14
14
  },
15
15
  "devDependencies": {
16
16
  "gulp": "4.0.2"
@@ -0,0 +1,3 @@
1
+ import { Plugin } from '@sap/artifact-management-base-types';
2
+ declare const JavaPlugin: Plugin;
3
+ export default JavaPlugin;
@@ -0,0 +1,5 @@
1
+ import { ModuleType, KeyIn } from '@sap/artifact-management-base-types';
2
+ import CapModuleReader from '../../cap/readers/CapModuleReader';
3
+ export default class JavaModuleReader extends CapModuleReader {
4
+ getType(): KeyIn<typeof ModuleType>;
5
+ }
@@ -0,0 +1,9 @@
1
+ import { DetectionMechanism, KeyIn, ProjectData, ProjectReader, ProjectReaderOptions, ProjectType } from '@sap/artifact-management-base-types';
2
+ export default class JavaProjectReader extends ProjectReader {
3
+ constructor();
4
+ getType(): KeyIn<typeof ProjectType>;
5
+ getDetectionMechanism(): DetectionMechanism;
6
+ moduleSearchPattern(): Promise<string[]>;
7
+ tags: string[];
8
+ read({ fs }: ProjectReaderOptions): Promise<ProjectData | undefined>;
9
+ }