Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
deps: bump @helia/interface from 1.2.2 to 2.0.0 (#39)
Browse files Browse the repository at this point in the history
Bumps [@helia/interface](https://github.com/ipfs/helia) from 1.2.2 to 2.0.0.
- [Release notes](https://github.com/ipfs/helia/releases)
- [Changelog](https://github.com/ipfs/helia/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ipfs/helia/compare/@helia/interface-v1.2.2...helia-v2.0.0)

---
updated-dependencies:
- dependency-name: "@helia/interface"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

---------

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 committed Oct 6, 2023
1 parent 54822ed commit 7c9bc2e
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 32 deletions.
1 change: 1 addition & 0 deletions .github/workflows/js-test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present lint
- run: npm run --if-present dep-check
- run: npm run --if-present doc-check

test-node:
needs: check
Expand Down
13 changes: 5 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
"keywords": [
"ipfs"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"private": true,
"scripts": {
"reset": "aegir run clean && aegir clean **/node_modules **/package-lock.json",
Expand All @@ -33,13 +29,14 @@
"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",
"dep-check": "aegir run dep-check",
"release": "npm run docs:no-publish && aegir run release && npm run docs"
"release": "run-s build docs:no-publish npm:release docs",
"docs": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs -- --exclude packages/interop --excludeExternals",
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs --publish false -- --exclude packages/interop"
},
"devDependencies": {
"aegir": "^39.0.3"
"aegir": "^41.0.0",
"npm-run-all": "^4.1.5"
},
"type": "module",
"workspaces": [
Expand Down
23 changes: 10 additions & 13 deletions packages/interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
"keywords": [
"IPFS"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"type": "module",
"types": "./dist/src/index.d.ts",
"files": [
Expand All @@ -35,6 +31,7 @@
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"package": true,
"sourceType": "module"
}
},
Expand All @@ -52,21 +49,21 @@
"test:electron-main": "aegir test -t electron-main"
},
"devDependencies": {
"@chainsafe/libp2p-noise": "^12.0.1",
"@chainsafe/libp2p-yamux": "^4.0.1",
"@helia/interface": "^1.0.0",
"@chainsafe/libp2p-noise": "^13.0.1",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@helia/interface": "^2.0.0",
"@helia/strings": "^1.0.0",
"@libp2p/tcp": "^7.0.1",
"@libp2p/websockets": "^6.0.1",
"aegir": "^39.0.3",
"@libp2p/tcp": "^8.0.8",
"@libp2p/websockets": "^7.0.8",
"aegir": "^41.0.0",
"blockstore-core": "^4.0.1",
"datastore-core": "^9.0.3",
"go-ipfs": "^0.20.0",
"helia": "^1.0.0",
"go-ipfs": "^0.22.0",
"helia": "^2.0.3",
"ipfs-core-types": "^0.14.0",
"ipfsd-ctl": "^13.0.0",
"kubo-rpc-client": "^3.0.0",
"libp2p": "^0.45.3",
"libp2p": "^0.46.12",
"merge-options": "^3.0.4",
"uint8arrays": "^4.0.3",
"wherearewe": "^2.0.1"
Expand Down
2 changes: 0 additions & 2 deletions packages/interop/test/fixtures/create-kubo.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@

// @ts-expect-error no types
import * as goIpfs from 'go-ipfs'
import { type Controller, type ControllerOptions, createController } from 'ipfsd-ctl'
import * as kuboRpcClient from 'kubo-rpc-client'
Expand Down
11 changes: 4 additions & 7 deletions packages/strings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
"keywords": [
"IPFS"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"type": "module",
"types": "./dist/src/index.d.ts",
"files": [
Expand All @@ -35,6 +31,7 @@
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"package": true,
"sourceType": "module"
}
},
Expand Down Expand Up @@ -139,15 +136,15 @@
"release": "aegir release"
},
"dependencies": {
"@helia/interface": "^1.0.0",
"@helia/interface": "^2.0.0",
"@libp2p/interfaces": "^3.3.1",
"interface-blockstore": "^5.0.0",
"multiformats": "^11.0.1",
"multiformats": "^12.1.2",
"progress-events": "^1.0.0",
"uint8arrays": "^4.0.3"
},
"devDependencies": {
"aegir": "^39.0.3",
"aegir": "^41.0.0",
"blockstore-core": "^4.0.1"
},
"typedoc": {
Expand Down
4 changes: 2 additions & 2 deletions packages/strings/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export interface Strings {
* // CID(bafkreifzjut3te2nhyekklss27nh3k72ysco7y32koao5eei66wof36n5e)
* ```
*/
add: (str: string, options?: Partial<AddOptions>) => Promise<CID>
add(str: string, options?: Partial<AddOptions>): Promise<CID>

/**
* Get a string from your Helia node, either previously added to it or to
Expand All @@ -86,7 +86,7 @@ export interface Strings {
* // hello world
* ```
*/
get: (cid: CID, options?: Partial<GetOptions>) => Promise<string>
get(cid: CID, options?: Partial<GetOptions>): Promise<string>
}

class DefaultStrings implements Strings {
Expand Down
5 changes: 5 additions & 0 deletions packages/strings/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"entryPoints": [
"./src/index.ts"
]
}

0 comments on commit 7c9bc2e

Please sign in to comment.