This repository was archived by the owner on Aug 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
fix: update to new aegir #115
Merged
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
4a676b8
fix: update to new aegir
hugomrdias 7f46ece
fix: ignore cov and pw action
hugomrdias c4c17a6
fix: browser cov
hugomrdias 6014035
fix: tweak name
hugomrdias ddb3897
fix: package.json
hugomrdias a65912a
fix: update deps, remove typeVersions, rename types and fix docs
hugomrdias c9e1330
fix: update aegir
hugomrdias fc3e3ce
fix: test multibase
hugomrdias 23f981a
fix: ci and update multibase
hugomrdias cc0bc0c
fix: update uint8arrays
hugomrdias 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 |
|---|---|---|
|
|
@@ -14,11 +14,10 @@ jobs: | |
| - uses: actions/checkout@v2 | ||
| - run: npm install | ||
| - run: npx aegir lint | ||
| - uses: gozala/[email protected] | ||
| - run: npx aegir ts -p check | ||
| - run: npx aegir build | ||
| - run: npx aegir dep-check | ||
| - uses: ipfs/aegir/actions/bundle-size@master | ||
| name: size | ||
| with: | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| test-node: | ||
|
|
@@ -27,30 +26,41 @@ jobs: | |
| strategy: | ||
| matrix: | ||
| os: [windows-latest, ubuntu-latest, macos-latest] | ||
| node: [12, 14] | ||
| 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 aegir test -t node --bail --cov | ||
| - uses: codecov/codecov-action@v1 | ||
| test-chrome: | ||
| needs: check | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - uses: microsoft/playwright-github-action@v1 | ||
| - run: npm install | ||
| - run: npx aegir test -t browser -t webworker --bail | ||
| - run: npx aegir test -t browser -t webworker --bail --cov | ||
| - uses: codecov/codecov-action@v1 | ||
| test-firefox: | ||
| needs: check | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - uses: microsoft/playwright-github-action@v1 | ||
| - run: npm install | ||
| - run: npx aegir test -t browser -t webworker --bail -- --browser firefox | ||
| test-webkit: | ||
| needs: check | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - uses: microsoft/playwright-github-action@v1 | ||
| - run: npm install | ||
| - run: npx aegir test -t browser -t webworker --bail -- --browsers FirefoxHeadless | ||
| - run: npx aegir test -t browser -t webworker --bail -- --browser webkit | ||
| test-electron-main: | ||
| needs: check | ||
| runs-on: ubuntu-latest | ||
|
|
||
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 |
|---|---|---|
|
|
@@ -35,4 +35,5 @@ node_modules | |
|
|
||
| dist | ||
| docs | ||
| yarn.lock | ||
| yarn.lock | ||
| .nyc_output | ||
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 |
|---|---|---|
|
|
@@ -30,30 +30,24 @@ | |
| }, | ||
| "main": "src/index.js", | ||
| "types": "dist/src/index.d.ts", | ||
| "typesVersions": { | ||
| "*": { | ||
| "src/*": [ | ||
| "dist/src/*", | ||
| "dist/src/*/index" | ||
| ], | ||
| "src/": [ | ||
| "dist/src/index" | ||
| ] | ||
| } | ||
| }, | ||
| "repository": "github:multiformats/js-multihash", | ||
| "dependencies": { | ||
| "multibase": "^3.1.0", | ||
| "uint8arrays": "^2.0.5", | ||
| "multibase": "multiformats/js-multibase#feat/remove-types-versions", | ||
| "uint8arrays": "^2.1.2", | ||
| "varint": "^6.0.0" | ||
| }, | ||
| "devDependencies": { | ||
| "aegir": "^30.3.0", | ||
| "ipfs-utils": "^5.0.1" | ||
| "aegir": "^31.0.0", | ||
| "ipfs-utils": "^6.0.1" | ||
| }, | ||
| "eslintConfig": { | ||
| "extends": "ipfs" | ||
| }, | ||
| "aegir": { | ||
| "build": { | ||
| "bundlesizeMax": "5.8kB" | ||
| } | ||
| }, | ||
| "contributors": [ | ||
| "David Dias <[email protected]>", | ||
| "Hugo Dias <[email protected]>", | ||
|
|
@@ -79,7 +73,7 @@ | |
| "Alan Shaw <[email protected]>" | ||
| ], | ||
| "engines": { | ||
| "node": ">=10.0.0", | ||
| "node": ">=14.0.0", | ||
| "npm": ">=6.0.0" | ||
| } | ||
| } | ||
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
File renamed without changes.
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.