Skip to content

Commit

Permalink
deps(dev): bump aegir from 39.0.13 to 40.0.11 (#30)
Browse files Browse the repository at this point in the history
* deps(dev): bump aegir from 39.0.13 to 40.0.11

Bumps [aegir](https://github.com/ipfs/aegir) from 39.0.13 to 40.0.11.
- [Release notes](https://github.com/ipfs/aegir/releases)
- [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md)
- [Commits](ipfs/aegir@v39.0.13...v40.0.11)

---
updated-dependencies:
- dependency-name: aegir
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: achingbrain <alex@achingbrain.net>
  • Loading branch information
dependabot[bot] and achingbrain authored Aug 27, 2023
1 parent ea21951 commit ea26a0b
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 90 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"generate": "aegir run generate",
"build": "aegir run build",
"lint": "aegir run lint",
"docs": "NODE_OPTIONS=--max_old_space_size=4096 aegir docs",
"docs:no-publish": "npm run docs -- --publish false",
"docs": "NODE_OPTIONS=--max_old_space_size=4096 aegir docs -- --exclude packages/interop",
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=4096 aegir docs --publish false -- --exclude packages/interop",
"dep-check": "aegir run dep-check",
"release": "npm run docs:no-publish && aegir run release && npm run docs"
},
"devDependencies": {
"aegir": "^39.0.8"
"aegir": "^40.0.11"
},
"type": "module",
"workspaces": [
Expand Down
6 changes: 1 addition & 5 deletions packages/car/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@
"lint": "aegir lint",
"dep-check": "aegir dep-check",
"build": "aegir build",
"docs": "aegir docs",
"test": "aegir test",
"test:chrome": "aegir test -t browser --cov",
"test:chrome-webworker": "aegir test -t webworker",
Expand All @@ -169,13 +168,10 @@
},
"devDependencies": {
"@helia/unixfs": "^1.2.2",
"aegir": "^39.0.8",
"aegir": "^40.0.11",
"blockstore-core": "^4.0.1",
"ipfs-unixfs-importer": "^15.1.0",
"it-drain": "^3.0.1",
"it-to-buffer": "^4.0.2"
},
"typedoc": {
"entryPoint": "./src/index.ts"
}
}
2 changes: 1 addition & 1 deletion packages/car/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* `@helia/car` provides `import` and `export` methods to read/write Car files to {@link https://github.com/ipfs/helia Helia}'s blockstore.
*
* See the {@link Car Car interface} for all available operations.
* See the {@link Car} interface for all available operations.
*
* By default it supports `dag-pb`, `dag-cbor`, `dag-json` and `raw` CIDs, more esoteric DAG walkers can be passed as an init option.
*
Expand Down
6 changes: 6 additions & 0 deletions packages/car/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"entryPoints": [
"./src/index.ts",
"./src/errors.ts"
]
}
13 changes: 2 additions & 11 deletions packages/interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,18 @@
"test:electron-main": "aegir test -t electron-main"
},
"devDependencies": {
"@chainsafe/libp2p-noise": "^12.0.1",
"@chainsafe/libp2p-yamux": "^4.0.2",
"@helia/car": "^1.0.0",
"@helia/interface": "^1.0.0",
"@helia/unixfs": "^1.2.2",
"@ipld/car": "^5.1.1",
"@libp2p/tcp": "^7.0.1",
"@libp2p/websockets": "^6.0.1",
"aegir": "^39.0.8",
"blockstore-core": "^4.0.1",
"datastore-core": "^9.0.3",
"aegir": "^40.0.11",
"go-ipfs": "^0.20.0",
"helia": "^1.0.0",
"ipfs-unixfs-importer": "^15.1.0",
"ipfsd-ctl": "^13.0.0",
"it-to-buffer": "^4.0.2",
"kubo-rpc-client": "^3.0.0",
"libp2p": "^0.45.3",
"merge-options": "^3.0.4",
"multiformats": "^11.0.1",
"p-defer": "^4.0.0",
Expand All @@ -75,8 +69,5 @@
"./dist/test/fixtures/create-helia.js": "./dist/test/fixtures/create-helia.browser.js",
"go-ipfs": false
},
"private": true,
"typedoc": {
"entryPoint": "./src/index.ts"
}
"private": true
}
50 changes: 14 additions & 36 deletions packages/interop/test/fixtures/create-helia.browser.ts
Original file line number Diff line number Diff line change
@@ -1,45 +1,23 @@
import { noise } from '@chainsafe/libp2p-noise'
import { yamux } from '@chainsafe/libp2p-yamux'
import { webSockets } from '@libp2p/websockets'
import { all } from '@libp2p/websockets/filters'
import { MemoryBlockstore } from 'blockstore-core'
import { MemoryDatastore } from 'datastore-core'
import { createHelia } from 'helia'
import { createLibp2p, type Libp2pOptions } from 'libp2p'
import { identifyService } from 'libp2p/identify'
import type { Helia } from '@helia/interface'

export async function createHeliaNode (config: Libp2pOptions = {}): Promise<Helia> {
const blockstore = new MemoryBlockstore()
const datastore = new MemoryDatastore()

// dial-only in the browser until webrtc browser-to-browser arrives
const libp2p = await createLibp2p({
transports: [
webSockets({
filter: all
})
],
connectionEncryption: [
noise()
],
streamMuxers: [
yamux()
],
services: {
identify: identifyService()
},
datastore,
connectionGater: {
denyDialMultiaddr: async () => false
},
...config
})

export async function createHeliaNode (): Promise<Helia> {
const helia = await createHelia({
libp2p,
blockstore,
datastore
libp2p: {
addresses: {
listen: []
},
transports: [
webSockets({
filter: all
})
],
connectionGater: {
denyDialMultiaddr: async () => false
}
}
})

return helia
Expand Down
35 changes: 2 additions & 33 deletions packages/interop/test/fixtures/create-helia.ts
Original file line number Diff line number Diff line change
@@ -1,39 +1,8 @@
import { noise } from '@chainsafe/libp2p-noise'
import { yamux } from '@chainsafe/libp2p-yamux'
import { tcp } from '@libp2p/tcp'
import { MemoryBlockstore } from 'blockstore-core'
import { MemoryDatastore } from 'datastore-core'
import { createHelia } from 'helia'
import { createLibp2p, type Libp2pOptions } from 'libp2p'
import { identifyService } from 'libp2p/identify'
import type { Helia } from '@helia/interface'

export async function createHeliaNode (config: Libp2pOptions = {}): Promise<Helia> {
const blockstore = new MemoryBlockstore()
const datastore = new MemoryDatastore()

const libp2p = await createLibp2p({
transports: [
tcp()
],
connectionEncryption: [
noise()
],
streamMuxers: [
yamux()
],
datastore,
services: {
identify: identifyService()
},
...config
})

const helia = await createHelia({
libp2p,
blockstore,
datastore
})
export async function createHeliaNode (): Promise<Helia> {
const helia = await createHelia()

return helia
}
1 change: 0 additions & 1 deletion packages/interop/test/fixtures/create-kubo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

// @ts-expect-error no types
import * as goIpfs from 'go-ipfs'
import { type Controller, type ControllerOptions, createController } from 'ipfsd-ctl'
Expand Down

0 comments on commit ea26a0b

Please sign in to comment.