Skip to content

Commit

Permalink
Re-add AWS V3 Instrumentation (#421)
Browse files Browse the repository at this point in the history
* Revert "Revert PR #386 (#412)"

This reverts commit 9e20d2e.

* Add proper TypeScript build logic (#417)

* build core files to dist directory

* fixed unit tests

* updated workflows and readme

* try to fix windows

* fix ls

* slashes

* no more ls

* zstd decompress

* see what bin has

* removed rsync

* fixes

* added sh

* try xargs instead

* cleanups

* fixed publishing logic

* Redesign AWS SDK V3 instrumentation to use middleware (#416)

* updated deps and type file

* removed type keyword added deps

* remove changes to js

* updated versions

* finished redesign of aws sdk v3 instrumentation

* refactored buildAttributes signature

* add compile back to workflow

* bumped tsd version instead

Co-authored-by: Trivikram Kamat <[email protected]>

* removed dependencies and added docs

* add back most changes, update types

* removed aws-v3 branch from CI

* fixed codecov to use dist directory

* added blog post link

Co-authored-by: Trivikram Kamat <[email protected]>
  • Loading branch information
willarmiros and trivikr authored May 12, 2021
1 parent b616b51 commit ac36598
Show file tree
Hide file tree
Showing 29 changed files with 893 additions and 246 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
if: '!matrix.coverage'
run: |
npx lerna bootstrap --hoist
npx lerna run compile
npx lerna run test
shell: bash
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- name: Execute tests with Lerna
run: |
npx lerna bootstrap --hoist
npx lerna run compile
npx lerna run test
- name: Publish package to npm
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ docs
.idea/
.nyc_output/
*.lcov
dist
8 changes: 5 additions & 3 deletions .nycrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"all": true,
"include": [
"**/dist/lib/**/*.js"
],
"exclude": [
"**/Gruntfile.js",
"**/.prettierrc.js",
"**/*.d.ts",
"**/sample/**",
"**/test/**",
"**/test-d/**",
"**/test_async/**"
"**/test_async/**",
"**/docs/**"
]
}
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,18 @@ AWS will not:

## Testing from Source

This repo uses [Lerna](https://lernajs.io) to manage multiple packages. To install Lerna:
This repo uses [Lerna](https://lernajs.io) to manage multiple packages. To install Lerna as a CLI:
```
npm install lerna
npm install -g lerna
```
To install devDependencies and peerDependencies for all packages:
```
lerna bootstrap --hoist
```
This repo has a combination of TypeScript and JavaScript source files. To transpile the TypeScript files for testing, run:
```
lerna run compile
```
To run tests for all packages:
```
lerna run test
Expand Down
Loading

0 comments on commit ac36598

Please sign in to comment.