Skip to content

Commit

Permalink
Merge pull request #9 from Rooster212/update-cdk-2.66.1
Browse files Browse the repository at this point in the history
Update CDK to 2.66.1 and SDK versions to 3.278.0
  • Loading branch information
Rooster212 authored Feb 27, 2023
2 parents 06b0880 + 7bb0615 commit 424aab4
Show file tree
Hide file tree
Showing 4 changed files with 1,704 additions and 1,445 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

A library for building event sourced database systems with DynamoDB.

There are examples in the `examples` folder - this
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.

## Original Documentation

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

See blog posts:

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

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

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

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.
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.
4 changes: 1 addition & 3 deletions examples/cdk/cdk.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { Stack, StackProps } from "aws-cdk-lib";
import { AttributeType, BillingMode, StreamViewType, Table } from "aws-cdk-lib/aws-dynamodb";
import { EventBus, Rule } from "aws-cdk-lib/aws-events";
import { Runtime, StartingPosition } from "aws-cdk-lib/aws-lambda";
import { StartingPosition } from "aws-cdk-lib/aws-lambda";
import { DynamoEventSource } from "aws-cdk-lib/aws-lambda-event-sources";
import { NodejsFunction } from "aws-cdk-lib/aws-lambda-nodejs";
import { RetentionDays } from "aws-cdk-lib/aws-logs";
import { Construct } from "constructs";
import { DynamoDBStreamEventHandler } from "../../stream/dynamoDBStreamEventHandler";

Expand Down
Loading

0 comments on commit 424aab4

Please sign in to comment.