lambda-live-debugger 1.0.7 → 1.1.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/dist/extension/extension.zip +0 -0
- package/dist/frameworks/cdkFramework.mjs +5 -0
- package/dist/frameworks/samFramework.mjs +4 -0
- package/dist/frameworks/slsFramework.mjs +3 -0
- package/dist/frameworks/terraformFramework.mjs +3 -0
- package/dist/resourceDiscovery.d.ts +5 -0
- package/dist/types/resourcesDiscovery.d.ts +14 -0
- package/package.json +1 -1
|
Binary file
|
|
@@ -107,6 +107,11 @@ export class CdkFramework {
|
|
|
107
107
|
define: lambdaInCdk.bundling?.define,
|
|
108
108
|
external: external.length > 0 ? external : undefined,
|
|
109
109
|
},
|
|
110
|
+
metadata: {
|
|
111
|
+
framework: 'cdk',
|
|
112
|
+
stackName: lambdaInCdk.stackName,
|
|
113
|
+
cdkPath: lambdaInCdk.cdkPath,
|
|
114
|
+
},
|
|
110
115
|
});
|
|
111
116
|
}
|
|
112
117
|
}
|
|
@@ -15,6 +15,11 @@ declare function getLambdas(config: LldConfig): Promise<{
|
|
|
15
15
|
forceBundle?: boolean | undefined;
|
|
16
16
|
bundlingType?: import("./types/resourcesDiscovery.js").BundlingType | undefined;
|
|
17
17
|
esBuildOptions?: import("./types/resourcesDiscovery.js").EsBuildOptions | undefined;
|
|
18
|
+
metadata: {
|
|
19
|
+
framework: string;
|
|
20
|
+
stackName?: string | undefined;
|
|
21
|
+
cdkPath?: string | undefined;
|
|
22
|
+
};
|
|
18
23
|
}[] | undefined>;
|
|
19
24
|
export declare const ResourceDiscovery: {
|
|
20
25
|
getSupportedFrameworksNames: typeof getSupportedFrameworksNames;
|
|
@@ -10,6 +10,20 @@ export type LambdaResource = {
|
|
|
10
10
|
forceBundle?: boolean;
|
|
11
11
|
bundlingType?: BundlingType;
|
|
12
12
|
esBuildOptions?: EsBuildOptions;
|
|
13
|
+
metadata: {
|
|
14
|
+
/**
|
|
15
|
+
* Framework name
|
|
16
|
+
*/
|
|
17
|
+
framework: string;
|
|
18
|
+
/**
|
|
19
|
+
* If framework is CDK or SAM, this is the stack name
|
|
20
|
+
*/
|
|
21
|
+
stackName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* If framework is CDK, this is the construct path
|
|
24
|
+
*/
|
|
25
|
+
cdkPath?: string;
|
|
26
|
+
};
|
|
13
27
|
};
|
|
14
28
|
export declare enum BundlingType {
|
|
15
29
|
ESBUILD = "ESBUILD",
|