@bifravst/aws-cdk-lambda-helpers 5.0.7 → 5.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/cdk/TestStack.js +4 -13
- package/dist/lambdas/test.zip +0 -0
- package/dist/lambdas/testAliasImports.zip +0 -0
- package/dist/layers/baseLayer/nodejs/package-lock.json +485 -395
- package/dist/layers/baseLayer.zip +0 -0
- package/dist/package.json +10 -10
- package/dist/src/BaseLayerVersion.d.ts +7 -0
- package/dist/src/BaseLayerVersion.js +19 -0
- package/dist/src/cdk.d.ts +1 -0
- package/dist/src/cdk.js +1 -0
- package/package.json +10 -10
|
Binary file
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bifravst/aws-cdk-lambda-helpers",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "Helper functions which simplify working with TypeScript lambdas for AWS CDK.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -53,24 +53,24 @@
|
|
|
53
53
|
"author": "Nordic Semiconductor ASA | nordicsemi.no",
|
|
54
54
|
"license": "BSD-3-Clause",
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/client-cloudformation": "3.
|
|
57
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
56
|
+
"@aws-sdk/client-cloudformation": "3.1140.0",
|
|
57
|
+
"@aws-sdk/client-dynamodb": "3.1140.0",
|
|
58
58
|
"@bifravst/cloudformation-helpers": "10.0.1",
|
|
59
|
-
"@bifravst/eslint-config-typescript": "8.0.
|
|
59
|
+
"@bifravst/eslint-config-typescript": "8.0.7",
|
|
60
60
|
"@bifravst/from-env": "4.0.0",
|
|
61
|
-
"@bifravst/prettier-config": "2.0.
|
|
62
|
-
"@commitlint/config-conventional": "21.2.
|
|
61
|
+
"@bifravst/prettier-config": "2.0.3",
|
|
62
|
+
"@commitlint/config-conventional": "21.2.3",
|
|
63
63
|
"@types/aws-lambda": "8.10.163",
|
|
64
|
-
"@types/node": "26.
|
|
64
|
+
"@types/node": "26.6.2",
|
|
65
65
|
"@types/unzip-stream": "0.3.4",
|
|
66
66
|
"@types/yazl": "3.3.1",
|
|
67
67
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
68
|
-
"cdk": "2.
|
|
68
|
+
"cdk": "2.1143.0",
|
|
69
69
|
"check-node-version": "4.2.1",
|
|
70
|
-
"commitlint": "21.2.
|
|
70
|
+
"commitlint": "21.2.3",
|
|
71
71
|
"husky": "9.1.7",
|
|
72
72
|
"id128": "1.6.6",
|
|
73
|
-
"lint-staged": "17.
|
|
73
|
+
"lint-staged": "17.5.1",
|
|
74
74
|
"unzip-stream": "0.3.4"
|
|
75
75
|
},
|
|
76
76
|
"lint-staged": {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ILayerVersion } from 'aws-cdk-lib/aws-lambda';
|
|
2
|
+
import { Construct } from 'constructs';
|
|
3
|
+
import type { PackedLayer } from './packLayer.ts';
|
|
4
|
+
export declare class BaseLayerVersion extends Construct {
|
|
5
|
+
readonly layerVersion: ILayerVersion;
|
|
6
|
+
constructor(scope: Construct, baseLayer: PackedLayer);
|
|
7
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { aws_lambda as Lambda, Stack } from 'aws-cdk-lib';
|
|
2
|
+
import { Construct } from 'constructs';
|
|
3
|
+
import { LambdaSource } from './LambdaSource.js';
|
|
4
|
+
export class BaseLayerVersion extends Construct {
|
|
5
|
+
layerVersion;
|
|
6
|
+
constructor(scope, baseLayer) {
|
|
7
|
+
super(scope, BaseLayerVersion.name);
|
|
8
|
+
this.layerVersion = new Lambda.LayerVersion(this, 'baseLayer', {
|
|
9
|
+
layerVersionName: `${Stack.of(this).stackName}-baseLayer`,
|
|
10
|
+
code: new LambdaSource(this, {
|
|
11
|
+
id: 'baseLayer',
|
|
12
|
+
zipFilePath: baseLayer.layerZipFilePath,
|
|
13
|
+
hash: baseLayer.hash,
|
|
14
|
+
}).code,
|
|
15
|
+
compatibleArchitectures: [Lambda.Architecture.ARM_64],
|
|
16
|
+
compatibleRuntimes: [Lambda.Runtime.NODEJS_24_X],
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
package/dist/src/cdk.d.ts
CHANGED
package/dist/src/cdk.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bifravst/aws-cdk-lambda-helpers",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "Helper functions which simplify working with TypeScript lambdas for AWS CDK.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -53,24 +53,24 @@
|
|
|
53
53
|
"author": "Nordic Semiconductor ASA | nordicsemi.no",
|
|
54
54
|
"license": "BSD-3-Clause",
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/client-cloudformation": "3.
|
|
57
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
56
|
+
"@aws-sdk/client-cloudformation": "3.1140.0",
|
|
57
|
+
"@aws-sdk/client-dynamodb": "3.1140.0",
|
|
58
58
|
"@bifravst/cloudformation-helpers": "10.0.1",
|
|
59
|
-
"@bifravst/eslint-config-typescript": "8.0.
|
|
59
|
+
"@bifravst/eslint-config-typescript": "8.0.7",
|
|
60
60
|
"@bifravst/from-env": "4.0.0",
|
|
61
|
-
"@bifravst/prettier-config": "2.0.
|
|
62
|
-
"@commitlint/config-conventional": "21.2.
|
|
61
|
+
"@bifravst/prettier-config": "2.0.3",
|
|
62
|
+
"@commitlint/config-conventional": "21.2.3",
|
|
63
63
|
"@types/aws-lambda": "8.10.163",
|
|
64
|
-
"@types/node": "26.
|
|
64
|
+
"@types/node": "26.6.2",
|
|
65
65
|
"@types/unzip-stream": "0.3.4",
|
|
66
66
|
"@types/yazl": "3.3.1",
|
|
67
67
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
68
|
-
"cdk": "2.
|
|
68
|
+
"cdk": "2.1143.0",
|
|
69
69
|
"check-node-version": "4.2.1",
|
|
70
|
-
"commitlint": "21.2.
|
|
70
|
+
"commitlint": "21.2.3",
|
|
71
71
|
"husky": "9.1.7",
|
|
72
72
|
"id128": "1.6.6",
|
|
73
|
-
"lint-staged": "17.
|
|
73
|
+
"lint-staged": "17.5.1",
|
|
74
74
|
"unzip-stream": "0.3.4"
|
|
75
75
|
},
|
|
76
76
|
"lint-staged": {
|