Skip to content

Commit 424aab4

Browse files
authored
Merge pull request #9 from Rooster212/update-cdk-2.66.1
Update CDK to 2.66.1 and SDK versions to 3.278.0
2 parents 06b0880 + 7bb0615 commit 424aab4

File tree

4 files changed

+1704
-1445
lines changed

4 files changed

+1704
-1445
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
A library for building event sourced database systems with DynamoDB.
44

5-
There are examples in the `examples` folder - this
5+
There are examples in the `examples` folder - to run the tests successfully you should run `npm run dynamodb` first, which will run DynamoDB locally in Docker.
66

77
## Original Documentation
88

99
Forked from original implementation here: https://github.com/a-h/hde. Many thanks to Adrian.
1010

1111
See blog posts:
1212

13-
* https://adrianhesketh.com/2020/08/28/event-sourced-dynamodb-design-with-typescript-part-1/
14-
* https://adrianhesketh.com/2020/08/28/event-sourced-dynamodb-design-with-typescript-part-2/
13+
- https://adrianhesketh.com/2020/08/28/event-sourced-dynamodb-design-with-typescript-part-1/
14+
- https://adrianhesketh.com/2020/08/28/event-sourced-dynamodb-design-with-typescript-part-2/
1515

1616
## Using a package from the GitHub Package registry for NPM
1717

@@ -27,4 +27,4 @@ You also have to login to the GitHub package registry (as this is a public packa
2727
npm login --scope=@rooster212 --registry=https://npm.pkg.github.com
2828
```
2929

30-
If you use MFA on your GitHub account, you will need to setup a Personal Access Token in your profile settings and use that in place of your password when prompted in the `npm login` step.
30+
If you use MFA on your GitHub account, you will need to setup a Personal Access Token in your profile settings and use that in place of your password when prompted in the `npm login` step.

examples/cdk/cdk.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import { Stack, StackProps } from "aws-cdk-lib";
22
import { AttributeType, BillingMode, StreamViewType, Table } from "aws-cdk-lib/aws-dynamodb";
33
import { EventBus, Rule } from "aws-cdk-lib/aws-events";
4-
import { Runtime, StartingPosition } from "aws-cdk-lib/aws-lambda";
4+
import { StartingPosition } from "aws-cdk-lib/aws-lambda";
55
import { DynamoEventSource } from "aws-cdk-lib/aws-lambda-event-sources";
6-
import { NodejsFunction } from "aws-cdk-lib/aws-lambda-nodejs";
7-
import { RetentionDays } from "aws-cdk-lib/aws-logs";
86
import { Construct } from "constructs";
97
import { DynamoDBStreamEventHandler } from "../../stream/dynamoDBStreamEventHandler";
108

0 commit comments

Comments
 (0)