diff --git a/.aegir.js b/.aegir.js index 4e96ec1..939d94e 100644 --- a/.aegir.js +++ b/.aegir.js @@ -2,6 +2,7 @@ module.exports = { build: { config: { platform: 'node' - } + }, + bundlesizeMax: '44KB' } } diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 449e6d1..43ed35a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v2 - run: npm install - run: npm run lint - - run: npx aegir dep-check -- -i wrtc -i electron-webrtc + - run: npx aegir dep-check - run: npm run build test-node: needs: check diff --git a/package.json b/package.json index 70c157f..3edf847 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "leadMaintainer": "Jacob Heun ", "main": "src/index.js", "scripts": { - "lint": "aegir lint", + "lint": "aegir ts -p check && aegir lint", "build": "aegir build", "test": "aegir test -t node", "test:node": "aegir test -t node", @@ -43,18 +43,18 @@ "@types/debug": "^4.1.5", "aegir": "^33.2.0", "it-pipe": "^1.1.0", - "libp2p-interfaces": "^0.11.0", - "sinon": "^10.0.1", - "streaming-iterables": "^5.0.2" + "libp2p-interfaces": "^0.12.0", + "sinon": "^11.1.1", + "streaming-iterables": "^6.0.0" }, "dependencies": { "abortable-iterator": "^3.0.0", "class-is": "^1.1.0", "debug": "^4.3.1", "err-code": "^3.0.1", - "libp2p-utils": "^0.3.0", - "mafmt": "^9.0.0", - "multiaddr": "^9.0.1", + "libp2p-utils": "^0.4.0", + "mafmt": "^10.0.0", + "multiaddr": "^10.0.0", "stream-to-it": "^0.2.2" }, "contributors": [ diff --git a/tsconfig.json b/tsconfig.json index 51187f1..3de2a3b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,14 +1,9 @@ { "extends": "aegir/src/config/tsconfig.aegir.json", "compilerOptions": { - "outDir": "dist", - "baseUrl": "./", - "paths": { - "*": ["./types/*"] - } + "outDir": "dist" }, "include": [ - "types", "src" ] }