Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

fix: update to aegir v31 and others deps #99

Merged
merged 1 commit into from
Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
22 changes: 17 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ jobs:
- uses: actions/checkout@v2
- run: npm install
- run: npx aegir lint
- uses: gozala/[email protected]
- run: npx aegir ts -p check
# or
# - uses: gozala/[email protected]
- 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:
Expand All @@ -35,22 +36,33 @@ jobs:
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
Expand Down
22 changes: 14 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,31 +30,37 @@
"check": "aegir ts -p check",
"prepare": "aegir build --no-bundle",
"docs": "aegir docs",
"release": "aegir release --docs",
"release-minor": "aegir release --type minor --docs",
"release-major": "aegir release --type major --docs",
"release": "aegir release",
"release-minor": "aegir release --type minor",
"release-major": "aegir release --type major",
"build": "aegir build",
"bench": "node benchmarks/hash.js"
},
"dependencies": {
"blakejs": "^1.1.0",
"err-code": "^3.0.0",
"js-sha3": "^0.8.0",
"multihashes": "^3.1.2",
"multihashes": "^4.0.1",
"murmurhash3js-revisited": "^3.0.0",
"uint8arrays": "^2.0.5"
"uint8arrays": "^2.1.3"
},
"devDependencies": {
"@types/sinon": "^9.0.10",
"aegir": "^30.3.0",
"aegir": "^31.0.1",
"benchmark": "^2.1.4",
"sinon": "^9.0.2"
"sinon": "^9.0.2",
"util": "^0.12.3"
},
"eslintConfig": {
"extends": "ipfs"
},
"aegir": {
"build": {
"bundlesizeMax": "15kB"
}
},
"engines": {
"node": ">=10.0.0",
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "aegir/src/config/tsconfig.aegir.json",
"extends": "./node_modules/aegir/src/config/tsconfig.aegir.json",
"compilerOptions": {
"outDir": "dist"
},
Expand Down