This repository was archived by the owner on Jun 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
feat: add types #74
Merged
Merged
feat: add types #74
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
c1cb68e
fix: typedefs for MulticodecTopology
Gozala cba6394
feat: remove is-class that broke typings
Gozala 4e25c6e
fix: add type annotations to improve innference
Gozala 7ccaf27
chore: generate fixed types
Gozala f2d6a76
fix: missing type imports
Gozala 3143efd
fix: tsconfig to generate optionals correctly
Gozala b7f1072
fix: lint issues by disabling valid-jsdoc rules
Gozala 7fd26cf
fix: optional fields
Gozala 6a95834
feat: add types
vasco-santos bac57b0
chore: remove generated types from vsc
Gozala 67a5f51
fix: type incompatibilities (#75)
Gozala 6f09061
chore: address review
vasco-santos 8fdc05d
chore: use github actions and remove travis
vasco-santos 0801fc3
chore: add interface constructors
vasco-santos 5cb2025
chore: address review
vasco-santos 5cfaf41
chore: make inboundStream a asyncIterable
vasco-santos ef86c87
chore: fix latest comments
vasco-santos 7597875
chore: record interface instead of class, transport and stream muxer …
vasco-santos 56e606e
chore: remove record class file
vasco-santos 0b4b09f
chore: enable ts error reporter
vasco-santos e73646c
chore: add listener options
vasco-santos a99b958
chore: update interface record per libp2p pr feedback
vasco-santos a24fafd
chore: make metadata optional on addStream
vasco-santos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: ci | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: yarn | ||
- run: yarn lint | ||
- uses: gozala/typescript-error-reporter-action@v1.0.4 | ||
- run: yarn build | ||
- run: yarn aegir dep-check | ||
- uses: ipfs/aegir/actions/bundle-size@master | ||
name: size | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
test-node: | ||
needs: check | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] | ||
node: [12, 14] | ||
fail-fast: true | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- run: yarn | ||
- run: npx nyc --reporter=lcov aegir test -t node -- --bail | ||
- uses: codecov/codecov-action@v1 | ||
test-chrome: | ||
needs: check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: yarn | ||
- run: npx aegir test -t browser -t webworker --bail | ||
test-firefox: | ||
needs: check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: yarn | ||
- run: npx aegir test -t browser -t webworker --bail -- --browsers FirefoxHeadless |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.