Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@aws-lite/s3 #17

Merged
merged 36 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
2cb10db
First cut of `@aws-lite/s3` `PutObject` method
ryanblock Sep 27, 2023
2ac274c
Enable non-streaming upload in `@aws-lite/s3` `PutObject`
ryanblock Sep 28, 2023
e7538f2
Enumerate `@aws-lite/s3` header settings
ryanblock Sep 28, 2023
4c5d471
Enable tagged-incomplete service API methods for docs enumeration
ryanblock Sep 28, 2023
3ba0a9d
Move plugin generator script to ESM
ryanblock Sep 28, 2023
0688947
Add method generator and generated method docs to `@aws-lite/s3`
ryanblock Sep 28, 2023
84d9567
Move `@aws-lite/dynamodb` AWS doc links into their corresponding methods
ryanblock Sep 28, 2023
e010b4a
Dry up `@aws-lite/dynamodb` AWS doc links
ryanblock Sep 28, 2023
f768a04
Dry up `@aws-lite/s3` method comments
ryanblock Sep 28, 2023
d510788
Clean up header param validation / generation
ryanblock Sep 29, 2023
12b1065
Move client instantiation file reads to async
ryanblock Sep 29, 2023
1e6a8e8
Run an initial validation pass to catch issues before going onto `req…
ryanblock Sep 29, 2023
ebe5a0a
Unify payload to include readable streams
ryanblock Sep 29, 2023
3c9dcf2
Refactor `response()` to include `statusCode`, `headers`, and `payload`
ryanblock Sep 30, 2023
89285e2
Merge branch 'main' into s3
ryanblock Oct 1, 2023
0d7fc77
Refactor `response()` handling to enable returning arbitrary data
ryanblock Oct 1, 2023
8ff5583
Update `@aws-lite/dynamodb` to accommodate new `response()` semantics
ryanblock Oct 2, 2023
c492963
Missed one
ryanblock Oct 2, 2023
09931dd
Parse and return more usable `@aws-lite/s3` `PutObject` responses
ryanblock Oct 2, 2023
982058e
Add `@aws-lite/s3` `GetObject` method
ryanblock Oct 2, 2023
ecb9b2a
Generate `@aws-lite/s3` `GetObject` docs
ryanblock Oct 2, 2023
83f78bf
Make running the generate script a bit more terse
ryanblock Oct 2, 2023
a79898f
Enable binary response payloads; do not coerce all response payloads …
ryanblock Oct 2, 2023
3d47258
Add client response documentation
ryanblock Oct 3, 2023
62b88df
Minor readme updates
ryanblock Oct 3, 2023
63e9e2c
Add tests for endpoints returning XML, binary data
ryanblock Oct 3, 2023
f42e145
Add tests for stream requests, XML + binary responses
ryanblock Oct 3, 2023
199ce9c
Test second validation pass
ryanblock Oct 3, 2023
4ff52ad
Rename plugin mocks to be more in line with hook names
ryanblock Oct 3, 2023
a6a3a36
Add `response()` tests
ryanblock Oct 3, 2023
c0cb430
Add plugin autoloading tests
ryanblock Oct 3, 2023
92d72b3
Update deps
ryanblock Oct 3, 2023
7becc62
Isolate failing test on EOL Node.js / npm
ryanblock Oct 4, 2023
0075fa6
Add a few misc tests
ryanblock Oct 4, 2023
fc96906
Add `@aws-lite/s3` `HeadObject` method + docs
ryanblock Oct 4, 2023
6b7d588
Ignore forthcoming `@aws-lite/*-types` packages
ryanblock Oct 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
- name: Install
run: npm install

- name: Link (npm < 7)
if: matrix.node-version == '14.x'
run: |
cd plugins/s3
npm link
cd ../../
npm link @aws-lite/s3

- name: Test
run: npm test
env:
Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"bugs": "https://github.com/architect/aws-lite/issues",
"scripts": {
"generate": "npm run generate-plugins",
"generate-plugins": "node scripts/generate-plugins",
"gen": "npm run generate-plugins",
"generate-plugins": "node scripts/generate-plugins/index.mjs",
"publish-plugins": "node scripts/publish-plugins",
"lint": "eslint --fix .",
"test": "npm run lint && npm run coverage",
Expand All @@ -30,22 +30,23 @@
"ini": "^4.1.1"
},
"devDependencies": {
"@architect/eslint-config": "^2.1.1",
"@architect/eslint-config": "^2.1.2",
"@aws-sdk/client-ssm": "^3.405.0",
"@aws-sdk/util-dynamodb": "^3.415.0",
"@aws-sdk/util-dynamodb": "^3.423.0",
"adm-zip": "^0.5.10",
"cross-env": "^7.0.3",
"eslint": "^8.48.0",
"eslint": "^8.50.0",
"mock-fs": "^5.2.0",
"nyc": "^15.1.0",
"tap-spec": "^5.0.0",
"tape": "^5.6.6"
"tape": "^5.7.0"
},
"files": [
"src"
],
"workspaces": [
"plugins/dynamodb"
"plugins/dynamodb",
"plugins/s3"
],
"eslintConfig": {
"extends": "@architect/eslint-config"
Expand Down
7 changes: 7 additions & 0 deletions plugins/dynamodb/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ npm i @aws-lite/dynamodb
```


## Docs

<!-- ! Do not remove docs_start / docs_end ! -->
<!-- docs_start -->
<!-- docs_end -->


## Usage

This plugin covers all DynamoDB methods (listed & linked below), utilizing DynamoDB's semantics.
Expand Down
Loading