cdk-drizzle-migrate 0.0.9
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/.jsii +4136 -0
- package/.jsiiignore +0 -0
- package/API.md +249 -0
- package/LICENSE +202 -0
- package/README.md +115 -0
- package/lib/drizzle-migrate-provider.d.ts +58 -0
- package/lib/drizzle-migrate-provider.js +95 -0
- package/lib/handler/handler.js +49302 -0
- package/lib/handler/index.d.ts +8 -0
- package/lib/handler/index.js +8 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +18 -0
- package/node_modules/@types/aws-lambda/LICENSE +21 -0
- package/node_modules/@types/aws-lambda/README.md +15 -0
- package/node_modules/@types/aws-lambda/common/api-gateway.d.ts +83 -0
- package/node_modules/@types/aws-lambda/common/cloudfront.d.ts +245 -0
- package/node_modules/@types/aws-lambda/handler.d.ts +172 -0
- package/node_modules/@types/aws-lambda/index.d.ts +54 -0
- package/node_modules/@types/aws-lambda/package.json +226 -0
- package/node_modules/@types/aws-lambda/trigger/alb.d.ts +48 -0
- package/node_modules/@types/aws-lambda/trigger/amplify-resolver.d.ts +38 -0
- package/node_modules/@types/aws-lambda/trigger/api-gateway-authorizer.d.ts +246 -0
- package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +336 -0
- package/node_modules/@types/aws-lambda/trigger/appsync-resolver.d.ts +121 -0
- package/node_modules/@types/aws-lambda/trigger/autoscaling.d.ts +41 -0
- package/node_modules/@types/aws-lambda/trigger/cdk-custom-resource.d.ts +158 -0
- package/node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.ts +236 -0
- package/node_modules/@types/aws-lambda/trigger/cloudfront-request.d.ts +22 -0
- package/node_modules/@types/aws-lambda/trigger/cloudfront-response.d.ts +21 -0
- package/node_modules/@types/aws-lambda/trigger/cloudwatch-alarm.d.ts +69 -0
- package/node_modules/@types/aws-lambda/trigger/cloudwatch-events.d.ts +8 -0
- package/node_modules/@types/aws-lambda/trigger/cloudwatch-logs.d.ts +37 -0
- package/node_modules/@types/aws-lambda/trigger/codebuild-cloudwatch-state.d.ts +104 -0
- package/node_modules/@types/aws-lambda/trigger/codecommit.d.ts +35 -0
- package/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-action.d.ts +31 -0
- package/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-pipeline.d.ts +32 -0
- package/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-stage.d.ts +23 -0
- package/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch.d.ts +11 -0
- package/node_modules/@types/aws-lambda/trigger/codepipeline.d.ts +55 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/_common.d.ts +41 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/create-auth-challenge.d.ts +22 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-email-sender.d.ts +76 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-message.d.ts +52 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-sms-sender.d.ts +51 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.ts +21 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts +128 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-authentication.d.ts +15 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-confirmation.d.ts +26 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-authentication.d.ts +16 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-signup.d.ts +31 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation-v2.d.ts +73 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation.d.ts +53 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/user-migration.d.ts +40 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/verify-auth-challenge-response.d.ts +22 -0
- package/node_modules/@types/aws-lambda/trigger/connect-contact-flow.d.ts +64 -0
- package/node_modules/@types/aws-lambda/trigger/dynamodb-stream.d.ts +55 -0
- package/node_modules/@types/aws-lambda/trigger/eventbridge.d.ts +19 -0
- package/node_modules/@types/aws-lambda/trigger/guard-duty-event-notification.d.ts +36 -0
- package/node_modules/@types/aws-lambda/trigger/iot-authorizer.d.ts +48 -0
- package/node_modules/@types/aws-lambda/trigger/iot.d.ts +28 -0
- package/node_modules/@types/aws-lambda/trigger/kinesis-firehose-transformation.d.ts +51 -0
- package/node_modules/@types/aws-lambda/trigger/kinesis-stream.d.ts +56 -0
- package/node_modules/@types/aws-lambda/trigger/lambda-function-url.d.ts +45 -0
- package/node_modules/@types/aws-lambda/trigger/lex-v2.d.ts +164 -0
- package/node_modules/@types/aws-lambda/trigger/lex.d.ts +120 -0
- package/node_modules/@types/aws-lambda/trigger/msk.d.ts +28 -0
- package/node_modules/@types/aws-lambda/trigger/s3-batch.d.ts +41 -0
- package/node_modules/@types/aws-lambda/trigger/s3-event-notification.d.ts +290 -0
- package/node_modules/@types/aws-lambda/trigger/s3.d.ts +60 -0
- package/node_modules/@types/aws-lambda/trigger/secretsmanager.d.ts +15 -0
- package/node_modules/@types/aws-lambda/trigger/self-managed-kafka.d.ts +27 -0
- package/node_modules/@types/aws-lambda/trigger/ses.d.ts +109 -0
- package/node_modules/@types/aws-lambda/trigger/sns.d.ts +39 -0
- package/node_modules/@types/aws-lambda/trigger/sqs.d.ts +58 -0
- package/node_modules/@types/aws-lambda/trigger/transfer-family-authorizer.d.ts +110 -0
- package/package.json +165 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Handler } from "../handler";
|
|
2
|
+
|
|
3
|
+
export type SNSHandler = Handler<SNSEvent, void>;
|
|
4
|
+
|
|
5
|
+
// SNS "event"
|
|
6
|
+
export interface SNSMessageAttribute {
|
|
7
|
+
Type: string;
|
|
8
|
+
Value: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface SNSMessageAttributes {
|
|
12
|
+
[name: string]: SNSMessageAttribute;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface SNSMessage {
|
|
16
|
+
SignatureVersion: string;
|
|
17
|
+
Timestamp: string;
|
|
18
|
+
Signature: string;
|
|
19
|
+
SigningCertUrl: string;
|
|
20
|
+
MessageId: string;
|
|
21
|
+
Message: string;
|
|
22
|
+
MessageAttributes: SNSMessageAttributes;
|
|
23
|
+
Type: string;
|
|
24
|
+
UnsubscribeUrl: string;
|
|
25
|
+
TopicArn: string;
|
|
26
|
+
Subject?: string;
|
|
27
|
+
Token?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface SNSEventRecord {
|
|
31
|
+
EventVersion: string;
|
|
32
|
+
EventSubscriptionArn: string;
|
|
33
|
+
EventSource: string;
|
|
34
|
+
Sns: SNSMessage;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface SNSEvent {
|
|
38
|
+
Records: SNSEventRecord[];
|
|
39
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Handler } from "../handler";
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
4
|
+
export type SQSHandler = Handler<SQSEvent, SQSBatchResponse | void>;
|
|
5
|
+
|
|
6
|
+
// SQS
|
|
7
|
+
// https://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html#supported-event-source-sqs
|
|
8
|
+
export interface SQSRecord {
|
|
9
|
+
messageId: string;
|
|
10
|
+
receiptHandle: string;
|
|
11
|
+
body: string;
|
|
12
|
+
attributes: SQSRecordAttributes;
|
|
13
|
+
messageAttributes: SQSMessageAttributes;
|
|
14
|
+
md5OfBody: string;
|
|
15
|
+
md5OfMessageAttributes?: string;
|
|
16
|
+
eventSource: string;
|
|
17
|
+
eventSourceARN: string;
|
|
18
|
+
awsRegion: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface SQSEvent {
|
|
22
|
+
Records: SQSRecord[];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface SQSRecordAttributes {
|
|
26
|
+
AWSTraceHeader?: string | undefined;
|
|
27
|
+
ApproximateReceiveCount: string;
|
|
28
|
+
SentTimestamp: string;
|
|
29
|
+
SenderId: string;
|
|
30
|
+
ApproximateFirstReceiveTimestamp: string;
|
|
31
|
+
SequenceNumber?: string | undefined;
|
|
32
|
+
MessageGroupId?: string | undefined;
|
|
33
|
+
MessageDeduplicationId?: string | undefined;
|
|
34
|
+
DeadLetterQueueSourceArn?: string | undefined; // Undocumented, but used by AWS to support their re-drive functionality in the console
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type SQSMessageAttributeDataType = "String" | "Number" | "Binary" | string;
|
|
38
|
+
|
|
39
|
+
export interface SQSMessageAttribute {
|
|
40
|
+
stringValue?: string | undefined;
|
|
41
|
+
binaryValue?: string | undefined;
|
|
42
|
+
stringListValues?: string[] | undefined; // Not implemented. Reserved for future use.
|
|
43
|
+
binaryListValues?: string[] | undefined; // Not implemented. Reserved for future use.
|
|
44
|
+
dataType: SQSMessageAttributeDataType;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface SQSMessageAttributes {
|
|
48
|
+
[name: string]: SQSMessageAttribute;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-batchfailurereporting
|
|
52
|
+
export interface SQSBatchResponse {
|
|
53
|
+
batchItemFailures: SQSBatchItemFailure[];
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface SQSBatchItemFailure {
|
|
57
|
+
itemIdentifier: string;
|
|
58
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { Handler } from "../handler";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Use this only if you want to use callbacks. AWS [recommends against](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-handler.html) using those,
|
|
5
|
+
* so you might want to use async/await instead, like this:
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* const handler = async (event: TransferFamilyAuthorizerEvent): Promise<TransferFamilyAuthorizerResult> => {
|
|
9
|
+
* ... add your logic here
|
|
10
|
+
* }
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export type TransferFamilyAuthorizerHandler = Handler<TransferFamilyAuthorizerEvent, TransferFamilyAuthorizerResult>;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Transfer Family Authorizer Event. This is the event that will be passed to the Lambda function.
|
|
17
|
+
* Event message structure can be found here: https://docs.aws.amazon.com/transfer/latest/userguide/custom-lambda-idp.html
|
|
18
|
+
* While the documentation is not explicit, for key based auth, password will be undefined
|
|
19
|
+
*/
|
|
20
|
+
export interface TransferFamilyAuthorizerEvent {
|
|
21
|
+
username: string;
|
|
22
|
+
password?: string;
|
|
23
|
+
protocol: "SFTP" | "FTP" | "FTPS";
|
|
24
|
+
serverId: string;
|
|
25
|
+
sourceIp: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* The values that Transfer Family accepts for Lambda functions that are used for custom identity providers.
|
|
30
|
+
* For some examples, see https://docs.aws.amazon.com/transfer/latest/userguide/custom-lambda-idp.html#lambda-auth-examples
|
|
31
|
+
*/
|
|
32
|
+
export interface TransferFamilyAuthorizerResult {
|
|
33
|
+
/**
|
|
34
|
+
* [**Required if authentication was successful. The user is authenticated if and only if the Role field is not blank**]
|
|
35
|
+
*
|
|
36
|
+
* Specifies the Amazon Resource Name (ARN) of the IAM role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system.
|
|
37
|
+
* The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 or Amazon EFS file system.
|
|
38
|
+
* The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.
|
|
39
|
+
*
|
|
40
|
+
* For details on establishing a trust relationship, see [To establish a trust relationship](https://docs.aws.amazon.com/transfer/latest/userguide/requirements-roles.html#establish-trust-transfer).
|
|
41
|
+
*/
|
|
42
|
+
Role?: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* [**Required for Amazon EFS backing storage**]
|
|
46
|
+
*
|
|
47
|
+
* The full POSIX identity, including user ID (`Uid`), group ID (`Gid`), and any secondary group IDs (`SecondaryGids`), that controls your users' access to your Amazon EFS file systems.
|
|
48
|
+
* The POSIX permissions that are set on files and directories in your file system determine the level of access your users get when transferring files into and out of your Amazon EFS file systems.
|
|
49
|
+
*/
|
|
50
|
+
PosixProfile?: {
|
|
51
|
+
/**
|
|
52
|
+
* User ID (UID) for the POSIX profile.
|
|
53
|
+
*/
|
|
54
|
+
Uid: number;
|
|
55
|
+
/**
|
|
56
|
+
* Group ID (GID) for the POSIX profile.
|
|
57
|
+
*/
|
|
58
|
+
Gid: number;
|
|
59
|
+
/**
|
|
60
|
+
* Secondary group IDs for the POSIX profile, if any.
|
|
61
|
+
*/
|
|
62
|
+
SecondaryGids?: number[];
|
|
63
|
+
} | undefined;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* [**Optional**]
|
|
67
|
+
*
|
|
68
|
+
* A list of SSH public key values that are valid for this user.
|
|
69
|
+
* An empty list implies that this is not a valid login.
|
|
70
|
+
* Must not be returned during password authentication.
|
|
71
|
+
*/
|
|
72
|
+
PublicKeys?: string[] | undefined;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* [**Optional**]
|
|
76
|
+
*
|
|
77
|
+
* A session policy for your user so that you can use the same IAM role across multiple users.
|
|
78
|
+
* This policy scopes down user access to portions of their Amazon S3 bucket.
|
|
79
|
+
*/
|
|
80
|
+
Policy?: string | undefined;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* [**Optional**]
|
|
84
|
+
*
|
|
85
|
+
* The type of landing directory (folder) that you want your users' home directory to be when they log in to the server.
|
|
86
|
+
*
|
|
87
|
+
* - If you set it to `PATH`, the user sees the absolute Amazon S3 bucket or Amazon EFS paths as is in their file transfer protocol clients.
|
|
88
|
+
* - If you set it to `LOGICAL`, you must provide mappings in the `HomeDirectoryDetails` parameter to make Amazon S3 or Amazon EFS paths visible to your users.
|
|
89
|
+
*/
|
|
90
|
+
HomeDirectoryType?: "PATH" | "LOGICAL" | undefined;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* [**Required if `HomeDirectoryType` has a value of `LOGICAL`**]
|
|
94
|
+
*
|
|
95
|
+
* Logical directory mappings that specify which Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible.
|
|
96
|
+
* You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path.
|
|
97
|
+
*
|
|
98
|
+
* **Note**: `HomeDirectoryDetails` is a string representation of a JSON map.
|
|
99
|
+
* This is in contrast to `PosixProfile`, which is an actual JSON map object, and `PublicKeys` which is a JSON array of strings.
|
|
100
|
+
* See the [code examples](https://docs.aws.amazon.com/transfer/latest/userguide/custom-lambda-idp.html#lambda-auth-examples).
|
|
101
|
+
*/
|
|
102
|
+
HomeDirectoryDetails?: string | undefined;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* [**Optional**]
|
|
106
|
+
*
|
|
107
|
+
* The landing directory for a user when they log in to the server using the client.
|
|
108
|
+
*/
|
|
109
|
+
HomeDirectory?: string | undefined;
|
|
110
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cdk-drizzle-migrate",
|
|
3
|
+
"description": "AWS CDK construct for running Drizzle ORM migrations",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/berenddeboer/cdk-drizzle-migrate.git"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "npx projen build",
|
|
10
|
+
"build:handler": "npx projen build:handler",
|
|
11
|
+
"bump": "npx projen bump",
|
|
12
|
+
"clobber": "npx projen clobber",
|
|
13
|
+
"compat": "npx projen compat",
|
|
14
|
+
"compile": "npx projen compile",
|
|
15
|
+
"copy:handler": "npx projen copy:handler",
|
|
16
|
+
"default": "npx projen default",
|
|
17
|
+
"docgen": "npx projen docgen",
|
|
18
|
+
"eject": "npx projen eject",
|
|
19
|
+
"eslint": "npx projen eslint",
|
|
20
|
+
"format": "npx projen format",
|
|
21
|
+
"integ:deploy:all": "npx projen integ:deploy:all",
|
|
22
|
+
"integ:deploy:aurora-serverless": "npx projen integ:deploy:aurora-serverless",
|
|
23
|
+
"integ:deploy:mariadb": "npx projen integ:deploy:mariadb",
|
|
24
|
+
"integ:deploy:postgres": "npx projen integ:deploy:postgres",
|
|
25
|
+
"integ:destroy:all": "npx projen integ:destroy:all",
|
|
26
|
+
"integ:destroy:aurora-serverless": "npx projen integ:destroy:aurora-serverless",
|
|
27
|
+
"integ:destroy:mariadb": "npx projen integ:destroy:mariadb",
|
|
28
|
+
"integ:destroy:postgres": "npx projen integ:destroy:postgres",
|
|
29
|
+
"integ:generate-migrations:mariadb": "npx projen integ:generate-migrations:mariadb",
|
|
30
|
+
"integ:generate-migrations:postgres": "npx projen integ:generate-migrations:postgres",
|
|
31
|
+
"package": "npx projen package",
|
|
32
|
+
"package-all": "npx projen package-all",
|
|
33
|
+
"package:js": "npx projen package:js",
|
|
34
|
+
"post-compile": "npx projen post-compile",
|
|
35
|
+
"post-upgrade": "npx projen post-upgrade",
|
|
36
|
+
"pre-compile": "npx projen pre-compile",
|
|
37
|
+
"release": "npx projen release",
|
|
38
|
+
"test": "npx projen test",
|
|
39
|
+
"test:watch": "npx projen test:watch",
|
|
40
|
+
"unbump": "npx projen unbump",
|
|
41
|
+
"upgrade": "npx projen upgrade",
|
|
42
|
+
"watch": "npx projen watch",
|
|
43
|
+
"projen": "npx projen"
|
|
44
|
+
},
|
|
45
|
+
"author": {
|
|
46
|
+
"name": "Berend de Boer",
|
|
47
|
+
"email": "berend@pobox.com",
|
|
48
|
+
"organization": false
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@aws-sdk/client-secrets-manager": "^3.758.0",
|
|
52
|
+
"@types/jest": "^29.5.14",
|
|
53
|
+
"@types/node": "^22.13.10",
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "^8",
|
|
55
|
+
"@typescript-eslint/parser": "^8",
|
|
56
|
+
"aws-cdk": "^2.1004.0",
|
|
57
|
+
"aws-cdk-lib": "2.171.1",
|
|
58
|
+
"commit-and-tag-version": "^12",
|
|
59
|
+
"constructs": "10.3.0",
|
|
60
|
+
"drizzle-kit": "^0.30.5",
|
|
61
|
+
"drizzle-orm": "^0.40.0",
|
|
62
|
+
"esbuild": "^0.25.1",
|
|
63
|
+
"eslint": "^8",
|
|
64
|
+
"eslint-config-prettier": "^10.1.1",
|
|
65
|
+
"eslint-import-resolver-typescript": "^3.8.5",
|
|
66
|
+
"eslint-plugin-import": "^2.31.0",
|
|
67
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
68
|
+
"jest": "^29.7.0",
|
|
69
|
+
"jest-junit": "^16",
|
|
70
|
+
"jsii": "~5.7.0",
|
|
71
|
+
"jsii-diff": "^1.109.0",
|
|
72
|
+
"jsii-docgen": "^10.5.0",
|
|
73
|
+
"jsii-pacmak": "^1.109.0",
|
|
74
|
+
"jsii-rosetta": "~5.7.0",
|
|
75
|
+
"mysql2": "^3.13.0",
|
|
76
|
+
"postgres": "^3.4.5",
|
|
77
|
+
"prettier": "^3.5.3",
|
|
78
|
+
"projen": "^0.91.14",
|
|
79
|
+
"ts-jest": "^29.2.6",
|
|
80
|
+
"ts-node": "^10.9.2",
|
|
81
|
+
"typescript": "^5.8.2"
|
|
82
|
+
},
|
|
83
|
+
"peerDependencies": {
|
|
84
|
+
"aws-cdk-lib": "^2.171.1",
|
|
85
|
+
"constructs": "^10.3.0"
|
|
86
|
+
},
|
|
87
|
+
"dependencies": {
|
|
88
|
+
"@types/aws-lambda": "^8.10.147"
|
|
89
|
+
},
|
|
90
|
+
"bundledDependencies": [
|
|
91
|
+
"@types/aws-lambda"
|
|
92
|
+
],
|
|
93
|
+
"keywords": [
|
|
94
|
+
"aurora",
|
|
95
|
+
"aws",
|
|
96
|
+
"aws-cdk",
|
|
97
|
+
"cdk",
|
|
98
|
+
"drizzle",
|
|
99
|
+
"drizzle-kit",
|
|
100
|
+
"drizzle-orm",
|
|
101
|
+
"rds"
|
|
102
|
+
],
|
|
103
|
+
"main": "lib/index.js",
|
|
104
|
+
"license": "Apache-2.0",
|
|
105
|
+
"publishConfig": {
|
|
106
|
+
"access": "public"
|
|
107
|
+
},
|
|
108
|
+
"version": "0.0.9",
|
|
109
|
+
"jest": {
|
|
110
|
+
"coverageProvider": "v8",
|
|
111
|
+
"testMatch": [
|
|
112
|
+
"<rootDir>/@(src|test)/**/*(*.)@(spec|test).ts?(x)",
|
|
113
|
+
"<rootDir>/@(src|test)/**/__tests__/**/*.ts?(x)",
|
|
114
|
+
"<rootDir>/@(projenrc)/**/*(*.)@(spec|test).ts?(x)",
|
|
115
|
+
"<rootDir>/@(projenrc)/**/__tests__/**/*.ts?(x)"
|
|
116
|
+
],
|
|
117
|
+
"clearMocks": true,
|
|
118
|
+
"collectCoverage": true,
|
|
119
|
+
"coverageReporters": [
|
|
120
|
+
"json",
|
|
121
|
+
"lcov",
|
|
122
|
+
"clover",
|
|
123
|
+
"cobertura",
|
|
124
|
+
"text"
|
|
125
|
+
],
|
|
126
|
+
"coverageDirectory": "coverage",
|
|
127
|
+
"coveragePathIgnorePatterns": [
|
|
128
|
+
"/node_modules/"
|
|
129
|
+
],
|
|
130
|
+
"testPathIgnorePatterns": [
|
|
131
|
+
"/node_modules/"
|
|
132
|
+
],
|
|
133
|
+
"watchPathIgnorePatterns": [
|
|
134
|
+
"/node_modules/"
|
|
135
|
+
],
|
|
136
|
+
"reporters": [
|
|
137
|
+
"default",
|
|
138
|
+
[
|
|
139
|
+
"jest-junit",
|
|
140
|
+
{
|
|
141
|
+
"outputDirectory": "test-reports"
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
],
|
|
145
|
+
"transform": {
|
|
146
|
+
"^.+\\.[t]sx?$": [
|
|
147
|
+
"ts-jest",
|
|
148
|
+
{
|
|
149
|
+
"tsconfig": "tsconfig.dev.json"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"types": "lib/index.d.ts",
|
|
155
|
+
"stability": "stable",
|
|
156
|
+
"jsii": {
|
|
157
|
+
"outdir": "dist",
|
|
158
|
+
"targets": {},
|
|
159
|
+
"tsc": {
|
|
160
|
+
"outDir": "lib",
|
|
161
|
+
"rootDir": "src"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
|
|
165
|
+
}
|