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

Commit fa88cbc

Browse files
authored
fix: update to aegir v31 and others deps (#99)
1 parent c7f35a7 commit fa88cbc

File tree

3 files changed

+32
-14
lines changed

3 files changed

+32
-14
lines changed

.github/workflows/main.yml

+17-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- run: npm install
1616
- run: npx aegir lint
17-
- uses: gozala/[email protected]
17+
- run: npx aegir ts -p check
18+
# or
19+
# - uses: gozala/[email protected]
1820
- run: npx aegir build
1921
- run: npx aegir dep-check
2022
- uses: ipfs/aegir/actions/bundle-size@master
21-
name: size
2223
with:
2324
github_token: ${{ secrets.GITHUB_TOKEN }}
2425
test-node:
@@ -35,22 +36,33 @@ jobs:
3536
with:
3637
node-version: ${{ matrix.node }}
3738
- run: npm install
38-
- run: npx nyc --reporter=lcov aegir test -t node -- --bail
39+
- run: npx aegir test -t node --bail --cov
3940
- uses: codecov/codecov-action@v1
4041
test-chrome:
4142
needs: check
4243
runs-on: ubuntu-latest
4344
steps:
4445
- uses: actions/checkout@v2
46+
- uses: microsoft/playwright-github-action@v1
4547
- run: npm install
46-
- run: npx aegir test -t browser -t webworker --bail
48+
- run: npx aegir test -t browser -t webworker --bail --cov
49+
- uses: codecov/codecov-action@v1
4750
test-firefox:
4851
needs: check
4952
runs-on: ubuntu-latest
5053
steps:
5154
- uses: actions/checkout@v2
55+
- uses: microsoft/playwright-github-action@v1
56+
- run: npm install
57+
- run: npx aegir test -t browser -t webworker --bail -- --browser firefox
58+
test-webkit:
59+
needs: check
60+
runs-on: ubuntu-latest
61+
steps:
62+
- uses: actions/checkout@v2
63+
- uses: microsoft/playwright-github-action@v1
5264
- run: npm install
53-
- run: npx aegir test -t browser -t webworker --bail -- --browsers FirefoxHeadless
65+
- run: npx aegir test -t browser -t webworker --bail -- --browser webkit
5466
test-electron-main:
5567
needs: check
5668
runs-on: ubuntu-latest

package.json

+14-8
Original file line numberDiff line numberDiff line change
@@ -30,31 +30,37 @@
3030
"check": "aegir ts -p check",
3131
"prepare": "aegir build --no-bundle",
3232
"docs": "aegir docs",
33-
"release": "aegir release --docs",
34-
"release-minor": "aegir release --type minor --docs",
35-
"release-major": "aegir release --type major --docs",
33+
"release": "aegir release",
34+
"release-minor": "aegir release --type minor",
35+
"release-major": "aegir release --type major",
3636
"build": "aegir build",
3737
"bench": "node benchmarks/hash.js"
3838
},
3939
"dependencies": {
4040
"blakejs": "^1.1.0",
4141
"err-code": "^3.0.0",
4242
"js-sha3": "^0.8.0",
43-
"multihashes": "^3.1.2",
43+
"multihashes": "^4.0.1",
4444
"murmurhash3js-revisited": "^3.0.0",
45-
"uint8arrays": "^2.0.5"
45+
"uint8arrays": "^2.1.3"
4646
},
4747
"devDependencies": {
4848
"@types/sinon": "^9.0.10",
49-
"aegir": "^30.3.0",
49+
"aegir": "^31.0.1",
5050
"benchmark": "^2.1.4",
51-
"sinon": "^9.0.2"
51+
"sinon": "^9.0.2",
52+
"util": "^0.12.3"
5253
},
5354
"eslintConfig": {
5455
"extends": "ipfs"
5556
},
57+
"aegir": {
58+
"build": {
59+
"bundlesizeMax": "15kB"
60+
}
61+
},
5662
"engines": {
57-
"node": ">=10.0.0",
63+
"node": ">=14.0.0",
5864
"npm": ">=6.0.0"
5965
},
6066
"contributors": [

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "aegir/src/config/tsconfig.aegir.json",
2+
"extends": "./node_modules/aegir/src/config/tsconfig.aegir.json",
33
"compilerOptions": {
44
"outDir": "dist"
55
},

0 commit comments

Comments
 (0)