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

Commit

Permalink
chore: update aegir (#177)
Browse files Browse the repository at this point in the history
Updates aegir to the latest version and removes all extraneous boilerplate config
  • Loading branch information
achingbrain authored Apr 7, 2022
1 parent c999936 commit f54d6b4
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 16 deletions.
5 changes: 3 additions & 2 deletions .aegir.cjs → .aegir.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
module.exports = {

export default {
build: {
config: {
platform: 'node'
},
bundlesizeMax: '44KB'
bundlesizeMax: '31KB'
}
}
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@
]
},
"scripts": {
"clean": "aegir clean",
"lint": "aegir lint",
"dep-check": "aegir dep-check dist/src/**/*.js dist/test/**/*.js",
"build": "tsc",
"pretest": "npm run build",
"test": "aegir test -f ./dist/test/*.js -f ./dist/test/**/*.js",
"test:node": "npm run test -- -t node --cov",
"test:electron-main": "npm run test -- -t electron-main",
"release": "semantic-release"
"dep-check": "aegir dep-check",
"build": "aegir build",
"test": "aegir test -t node -t electron-main",
"test:node": "aegir test -t node --cov",
"test:electron-main": "aegir test -t electron-main",
"release": "aegir release"
},
"dependencies": {
"@libp2p/logger": "^1.1.2",
Expand All @@ -146,7 +146,7 @@
"devDependencies": {
"@libp2p/interface-compliance-tests": "^1.1.17",
"@libp2p/interfaces": "^1.3.14",
"aegir": "^36.1.3",
"aegir": "^37.0.4",
"it-all": "^1.0.6",
"it-pipe": "^2.0.3",
"sinon": "^13.0.1",
Expand Down
2 changes: 1 addition & 1 deletion test/connection.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect } from 'aegir/utils/chai.js'
import { expect } from 'aegir/chai'
import { TCP } from '../src/index.js'
import { Multiaddr } from '@multiformats/multiaddr'
import { mockUpgrader } from '@libp2p/interface-compliance-tests/mocks'
Expand Down
2 changes: 1 addition & 1 deletion test/filter.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect } from 'aegir/utils/chai.js'
import { expect } from 'aegir/chai'
import { TCP } from '../src/index.js'
import { Multiaddr } from '@multiformats/multiaddr'

Expand Down
2 changes: 1 addition & 1 deletion test/listen-dial.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect } from 'aegir/utils/chai.js'
import { expect } from 'aegir/chai'
import { TCP } from '../src/index.js'
import os from 'os'
import path from 'path'
Expand Down
4 changes: 1 addition & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"extends": "aegir/src/config/tsconfig.aegir.json",
"compilerOptions": {
"outDir": "dist",
"emitDeclarationOnly": false,
"module": "ES2020"
"outDir": "dist"
},
"include": [
"src",
Expand Down

0 comments on commit f54d6b4

Please sign in to comment.