@bifravst/aws-cdk-lambda-helpers 4.0.68 → 4.0.70
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.
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare const findDependencies: (args: {
|
|
5
5
|
sourceFilePath: string;
|
|
6
|
-
imports?: string[]
|
|
7
|
-
visited?: string[]
|
|
8
|
-
packages?: Set<string
|
|
9
|
-
tsConfigFilePath?: string
|
|
10
|
-
importsSubpathPatterns?: Record<string, string
|
|
6
|
+
imports?: string[];
|
|
7
|
+
visited?: string[];
|
|
8
|
+
packages?: Set<string>;
|
|
9
|
+
tsConfigFilePath?: string;
|
|
10
|
+
importsSubpathPatterns?: Record<string, string>;
|
|
11
11
|
}) => {
|
|
12
12
|
dependencies: string[];
|
|
13
13
|
/**
|
package/npm/packLambda.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ export declare const packLambda: ({ sourceFilePath, zipFilePath, tsConfigFilePat
|
|
|
13
13
|
/**
|
|
14
14
|
* Pass the path to the tsconfig.json file if you want to use paths from the tsconfig.json file.
|
|
15
15
|
*/
|
|
16
|
-
tsConfigFilePath?: string
|
|
17
|
-
debug?: (
|
|
18
|
-
progress?: (
|
|
16
|
+
tsConfigFilePath?: string;
|
|
17
|
+
debug?: (label: string, info: string) => void;
|
|
18
|
+
progress?: (label: string, info: string) => void;
|
|
19
19
|
}) => Promise<{
|
|
20
20
|
handler: string;
|
|
21
21
|
hash: string;
|
|
@@ -2,19 +2,19 @@ import { type PackedLambda } from './packLambda.ts';
|
|
|
2
2
|
export declare const packLambdaFromPath: ({ id, sourceFilePath, handlerFunction: handlerFunctionArg, baseDir: baseDirArg, distDir: distDirArg, tsConfigFilePath, debug, progress, }: {
|
|
3
3
|
id: string;
|
|
4
4
|
sourceFilePath: string;
|
|
5
|
-
handlerFunction?: string
|
|
5
|
+
handlerFunction?: string;
|
|
6
6
|
/**
|
|
7
7
|
* @default process.cwd()
|
|
8
8
|
*/
|
|
9
|
-
baseDir?: string
|
|
9
|
+
baseDir?: string;
|
|
10
10
|
/**
|
|
11
11
|
* @default ${baseDir}/dist/lambdas
|
|
12
12
|
*/
|
|
13
|
-
distDir?: string
|
|
13
|
+
distDir?: string;
|
|
14
14
|
/**
|
|
15
15
|
* Pass the path to the tsconfig.json file if you want to use paths from the tsconfig.json file.
|
|
16
16
|
*/
|
|
17
|
-
tsConfigFilePath?: string
|
|
18
|
-
debug?: (
|
|
19
|
-
progress?: (
|
|
17
|
+
tsConfigFilePath?: string;
|
|
18
|
+
debug?: (label: string, info: string) => void;
|
|
19
|
+
progress?: (label: string, info: string) => void;
|
|
20
20
|
}) => Promise<PackedLambda>;
|
package/npm/packLayer.d.ts
CHANGED
|
@@ -8,16 +8,16 @@ export declare const packLayer: ({ id, dependencies, baseDir, distDir, installCo
|
|
|
8
8
|
/**
|
|
9
9
|
* @default process.cwd()
|
|
10
10
|
*/
|
|
11
|
-
baseDir?: string
|
|
11
|
+
baseDir?: string;
|
|
12
12
|
/**
|
|
13
13
|
* @default ${baseDir}/dist/layers
|
|
14
14
|
*/
|
|
15
|
-
distDir?: string
|
|
15
|
+
distDir?: string;
|
|
16
16
|
/**
|
|
17
17
|
* Returns the command to run, the first element is the command (e.g. `npm`) and the rest are its arguments.
|
|
18
18
|
*/
|
|
19
|
-
installCommand?: (
|
|
19
|
+
installCommand?: (args: {
|
|
20
20
|
packageFilePath: string;
|
|
21
21
|
packageLockFilePath: string;
|
|
22
|
-
}) => [string, ...string
|
|
22
|
+
}) => [string, ...Array<string>];
|
|
23
23
|
}) => Promise<PackedLayer>;
|
|
@@ -4,4 +4,4 @@ import type { PackedLambda } from './packLambda.ts';
|
|
|
4
4
|
export declare const updateLambdaCode: ({ cf, lambda }: {
|
|
5
5
|
cf: CloudFormationClient;
|
|
6
6
|
lambda: LambdaClient;
|
|
7
|
-
}) => (stackName: string, packedLambdas: Record<string, PackedLambda>, debug?: (
|
|
7
|
+
}) => (stackName: string, packedLambdas: Record<string, PackedLambda>, debug?: (...args: Array<any>) => void) => Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bifravst/aws-cdk-lambda-helpers",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.70",
|
|
4
4
|
"description": "Helper functions which simplify working with TypeScript lambdas for AWS CDK.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@types/node": "25.5.0",
|
|
66
66
|
"@types/unzip-stream": "0.3.4",
|
|
67
67
|
"@types/yazl": "3.3.0",
|
|
68
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
68
|
+
"@typescript/native-preview": "7.0.0-dev.20260323.1",
|
|
69
69
|
"cdk": "2.1112.0",
|
|
70
70
|
"commitlint": "20.3.1",
|
|
71
71
|
"husky": "9.1.7",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
],
|
|
115
115
|
"prettier": "@bifravst/prettier-config",
|
|
116
116
|
"dependencies": {
|
|
117
|
-
"@swc/core": "1.15.
|
|
117
|
+
"@swc/core": "1.15.21",
|
|
118
118
|
"fp-ts": "2.16.11",
|
|
119
119
|
"p-retry": "7.1.1",
|
|
120
120
|
"typescript": "5.9.3",
|
|
@@ -124,6 +124,6 @@
|
|
|
124
124
|
"@aws-sdk/client-lambda": "^3.981.0",
|
|
125
125
|
"@bifravst/aws-ssm-settings-helpers": "^1.2.306",
|
|
126
126
|
"aws-cdk-lib": "^2.244.0",
|
|
127
|
-
"constructs": "^10.
|
|
127
|
+
"constructs": "^10.6.0"
|
|
128
128
|
}
|
|
129
129
|
}
|