-
Notifications
You must be signed in to change notification settings - Fork 16
chore: update deps #114
chore: update deps #114
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,70 @@ | ||||||
| name: ci | ||||||
| on: | ||||||
| push: | ||||||
| branches: | ||||||
| - master | ||||||
| pull_request: | ||||||
| branches: | ||||||
| - master | ||||||
|
|
||||||
| jobs: | ||||||
| check: | ||||||
| runs-on: ubuntu-latest | ||||||
| steps: | ||||||
| - uses: actions/checkout@v2 | ||||||
| - run: npm install | ||||||
| - run: npx aegir lint | ||||||
| - run: npx aegir dep-check -- -i wrtc -i electron-webrtc | ||||||
| - run: npx aegir build --no-types | ||||||
| test-node: | ||||||
| needs: check | ||||||
| runs-on: ${{ matrix.os }} | ||||||
| strategy: | ||||||
| matrix: | ||||||
| os: [windows-latest, ubuntu-latest, macos-latest] | ||||||
| node: [14, 15] | ||||||
| fail-fast: true | ||||||
| steps: | ||||||
| - uses: actions/checkout@v2 | ||||||
| - uses: actions/setup-node@v1 | ||||||
| with: | ||||||
| node-version: ${{ matrix.node }} | ||||||
| - run: npm install | ||||||
| - run: npx nyc --reporter=lcov aegir test -t node -- --bail | ||||||
|
||||||
| - run: npx nyc --reporter=lcov aegir test -t node -- --bail | |
| - run: npx aegir test -t node --cov --bail |
No need for nyc
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - run: npx aegir test -t browser -t webworker --bail -- --browsers FirefoxHeadless | |
| - run: npx aegir test -t browser -t webworker --bail -- --browser firefox |
Otherwise this will run on chromium
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,11 +9,11 @@ | |
| "test": "aegir test", | ||
| "test:node": "aegir test -t node", | ||
| "test:browser": "aegir test -t browser", | ||
| "build": "aegir build", | ||
| "build": "aegir build --no-types", | ||
|
||
| "docs": "aegir-docs", | ||
| "release": "aegir release --docs", | ||
| "release-minor": "aegir release --type minor --docs", | ||
| "release-major": "aegir release --type major --docs", | ||
| "release": "aegir release --docs --no-types", | ||
| "release-minor": "aegir release --no-types --type minor --docs", | ||
| "release-major": "aegir release --no-types --type major --docs", | ||
| "coverage": "aegir coverage", | ||
| "coverage-publish": "aegir coverage --provider coveralls" | ||
| }, | ||
|
|
@@ -42,24 +42,26 @@ | |
| }, | ||
| "homepage": "https://github.com/libp2p/js-libp2p-floodsub#readme", | ||
| "devDependencies": { | ||
| "aegir": "^28.1.0", | ||
| "aegir": "^33.0.0", | ||
| "benchmark": "^2.1.4", | ||
| "chai": "^4.2.0", | ||
| "ipfs-utils": "^4.0.1", | ||
| "chai": "^4.3.4", | ||
| "ipfs-utils": "^6.0.6", | ||
| "it-pair": "^1.0.0", | ||
| "libp2p": "^0.30.0", | ||
| "libp2p-mplex": "^0.10.1", | ||
| "libp2p-noise": "^2.0.1", | ||
| "libp2p-websockets": "^0.14.0", | ||
| "multiaddr": "^8.1.1", | ||
| "libp2p-websockets": "^0.15.4", | ||
| "multiaddr": "^9.0.1", | ||
| "os": "^0.1.1", | ||
| "p-wait-for": "^3.1.0", | ||
| "peer-id": "^0.14.2", | ||
| "sinon": "^9.2.1" | ||
| "sinon": "^10.0.0" | ||
| }, | ||
| "dependencies": { | ||
| "debug": "^4.2.0", | ||
| "libp2p-interfaces": "^0.8.1", | ||
| "libp2p-interfaces": "libp2p/js-libp2p-interfaces#chore/update-pubsub-interface", | ||
| "time-cache": "^0.3.0", | ||
| "uint8arrays": "^1.1.0" | ||
| "uint8arrays": "^2.1.4" | ||
| }, | ||
| "peerDependencies": { | ||
| "libp2p": "^0.30.0" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export const { Buffer } = require('buffer') | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. probably should include the |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to ignore wrtc and electron-webrtc