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

Commit

Permalink
chore: update aegir (#122)
Browse files Browse the repository at this point in the history
Removes boilerplate config
  • Loading branch information
achingbrain authored Apr 9, 2022
1 parent cc5eccc commit 37b689f
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 20 deletions.
8 changes: 8 additions & 0 deletions .aegir.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/** @type {import('aegir').PartialOptions} */
export default {
build: {
config: {
platform: 'node'
}
}
}
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,28 +119,28 @@
]
},
"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",
"test:node": "aegir test -t node --cov",
"test:electron-main": "aegir test -t electron-main",
"release": "aegir release"
},
"dependencies": {
"@libp2p/logger": "^1.1.2",
"@libp2p/peer-id": "^1.1.8",
"@libp2p/logger": "^1.1.3",
"@libp2p/peer-id": "^1.1.9",
"@multiformats/multiaddr": "^10.1.5",
"multicast-dns": "^7.2.0",
"multiformats": "^9.6.3"
},
"devDependencies": {
"@libp2p/interface-compliance-tests": "^1.1.20",
"@libp2p/interfaces": "^1.3.18",
"@libp2p/peer-id-factory": "^1.0.8",
"@libp2p/interface-compliance-tests": "^1.1.21",
"@libp2p/interfaces": "^1.3.20",
"@libp2p/peer-id-factory": "^1.0.9",
"@types/multicast-dns": "^7.2.1",
"aegir": "^36.1.3",
"aegir": "^37.0.8",
"delay": "^5.0.0",
"p-defer": "^4.0.0",
"p-wait-for": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion test/compat/go-multicast-dns.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-env mocha */
import { expect } from 'aegir/utils/chai.js'
import { expect } from 'aegir/chai'
import { Multiaddr } from '@multiformats/multiaddr'
import { createEd25519PeerId } from '@libp2p/peer-id-factory'
import pDefer from 'p-defer'
Expand Down
2 changes: 1 addition & 1 deletion test/compat/querier.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-env mocha */
import { expect } from 'aegir/utils/chai.js'
import { expect } from 'aegir/chai'
import { createEd25519PeerId } from '@libp2p/peer-id-factory'
import MDNS, { QueryPacket } from 'multicast-dns'
import OS from 'os'
Expand Down
2 changes: 1 addition & 1 deletion test/compat/responder.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import { expect } from 'aegir/utils/chai.js'
import { expect } from 'aegir/chai'
import { Multiaddr } from '@multiformats/multiaddr'
import { createEd25519PeerId } from '@libp2p/peer-id-factory'
import mDNS from 'multicast-dns'
Expand Down
2 changes: 1 addition & 1 deletion test/multicast-dns.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import { expect } from 'aegir/utils/chai.js'
import { expect } from 'aegir/chai'
import { Multiaddr } from '@multiformats/multiaddr'
import { createEd25519PeerId } from '@libp2p/peer-id-factory'
import pWaitFor from 'p-wait-for'
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 37b689f

Please sign in to comment.