Skip to content

Commit

Permalink
feat: tidy up entry point paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Elvey committed Apr 12, 2024
1 parent 8647cbc commit 413b820
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/92green-aws-rxjs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
## Breaking Changes
* queryAll no longer uses DynamoDBClient but instead uses DocumentClient preventing the need to marshall and unmarshall data
* batchWriteRetry no longer accepts feedbackPipe to mutate data before import (this is probably better implemented in place where required)
* The dynamodb and eventbus import paths have been removed in favour of exports from the entrypoint

## Fixes
* batchWriteRetry uses last to prevent it from emitting multiple times if there are unprocessed items
2 changes: 0 additions & 2 deletions packages/92green-aws-rxjs/dynamodb/index.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/92green-aws-rxjs/eventbus/index.js

This file was deleted.

6 changes: 2 additions & 4 deletions packages/92green-aws-rxjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@92green/92green-aws-rxjs",
"version": "1.0.0-alpha",
"version": "1.0.0-alpha-2",
"description": "Rxjs algorithms for use with AWS SDK v3",
"license": "MIT",
"author": "Blueflag",
Expand All @@ -12,9 +12,7 @@
"url": "https://github.com/92green/92green-stream/issues"
},
"files": [
"dist",
"eventbus",
"dynamodb"
"lib"
],
"main": "lib/index.js",
"scripts": {
Expand Down
5 changes: 5 additions & 0 deletions packages/92green-aws-rxjs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
// `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc`
"noEmit": false,
"outDir": "./lib",
"baseUrl": "./src",
"paths": {
// add path aliases for easier imports
"92green-aws-rxjs/*": ["./*"]
},
// add type roots to allow for typing files / type overrides
"typeRoots": [
"node_modules/@types",
Expand Down

0 comments on commit 413b820

Please sign in to comment.