Skip to content

Commit

Permalink
chore: update project
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Jan 8, 2024
1 parent ea5533c commit a0692f9
Show file tree
Hide file tree
Showing 37 changed files with 183 additions and 182 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"bugs": {
"url": "https://github.com/ipfs/helia/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"keywords": [
"ipfs"
],
Expand Down
16 changes: 10 additions & 6 deletions packages/block-brokers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,32 @@

> Block brokers for Helia
## Install
# Install

```console
$ npm i @helia/block-brokers
```

<!-- ### Browser `<script>` tag
## Browser `<script>` tag

Loading this module through a script tag will make it's exports available as `bitswap` and `trustlessGateway` and `NetworkedStorage` in the global namespace.
Loading this module through a script tag will make it's exports available as `HeliaBlockBrokers` in the global namespace.

```html
<script src="https://unpkg.com/@helia/block-brokers/dist/index.min.js"></script>
``` -->
```

# API Docs

- <https://ipfs.github.io/helia/modules/_helia_block_brokers.html>

## License
# License

Licensed under either of

- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)

## Contribute
# Contribute

Contributions welcome! Please check out [the issues](https://github.com/ipfs/helia/issues).

Expand Down
22 changes: 3 additions & 19 deletions packages/block-brokers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"description": "Block brokers for Helia",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/ipfs/helia/tree/master/packages/block-brokers#readme",
"homepage": "https://github.com/ipfs/helia/tree/main/packages/block-brokers#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/helia.git"
Expand All @@ -20,22 +20,6 @@
],
"type": "module",
"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [
"src",
"dist",
Expand Down Expand Up @@ -79,12 +63,12 @@
"it-foreach": "^2.0.6",
"multiformats": "^13.0.0",
"progress-events": "^1.0.0",
"uint8arrays": "^5.0.0"
"uint8arrays": "^5.0.1"
},
"devDependencies": {
"@libp2p/logger": "^4.0.1",
"@types/sinon": "^17.0.2",
"aegir": "^42.0.0",
"aegir": "^42.0.1",
"blockstore-core": "^4.3.8",
"delay": "^6.0.0",
"it-all": "^3.0.4",
Expand Down
6 changes: 2 additions & 4 deletions packages/block-brokers/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"entryPoints": [
"./src/index.ts",
"./src/utils/default-hashers.ts"
],
"includeVersion": true
"./src/index.ts"
]
}
8 changes: 4 additions & 4 deletions packages/car/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

[![ipfs.tech](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.tech)
[![Discuss](https://img.shields.io/discourse/https/discuss.ipfs.tech/posts.svg?style=flat-square)](https://discuss.ipfs.tech)
[![codecov](https://img.shields.io/codecov/c/github/ipfs/helia-car.svg?style=flat-square)](https://codecov.io/gh/ipfs/helia-car)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/helia-car/js-test-and-release.yml?branch=main\&style=flat-square)](https://github.com/ipfs/helia-car/actions/workflows/js-test-and-release.yml?query=branch%3Amain)
[![codecov](https://img.shields.io/codecov/c/github/ipfs/helia.svg?style=flat-square)](https://codecov.io/gh/ipfs/helia)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/helia/main.yml?branch=main\&style=flat-square)](https://github.com/ipfs/helia/actions/workflows/main.yml?query=branch%3Amain)

> Import/export car files from Helia
Expand Down Expand Up @@ -87,7 +87,7 @@ Loading this module through a script tag will make it's exports available as `He

# API Docs

- <https://ipfs.github.io/helia-car/modules/_helia_car.html>
- <https://ipfs.github.io/helia/modules/_helia_car.html>

# License

Expand All @@ -98,7 +98,7 @@ Licensed under either of

# Contribute

Contributions welcome! Please check out [the issues](https://github.com/ipfs/helia-car/issues).
Contributions welcome! Please check out [the issues](https://github.com/ipfs/helia/issues).

Also see our [contributing document](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for more information on how we work, and about contributing in general.

Expand Down
28 changes: 6 additions & 22 deletions packages/car/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"version": "2.0.0",
"description": "Import/export car files from Helia",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/ipfs/helia-car/tree/main/packages/car#readme",
"homepage": "https://github.com/ipfs/helia/tree/main/packages/car#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/helia-car.git"
"url": "git+https://github.com/ipfs/helia.git"
},
"bugs": {
"url": "https://github.com/ipfs/helia-car/issues"
"url": "https://github.com/ipfs/helia/issues"
},
"publishConfig": {
"access": "public",
Expand All @@ -20,22 +20,6 @@
],
"type": "module",
"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [
"src",
"dist",
Expand Down Expand Up @@ -157,7 +141,7 @@
"dependencies": {
"@helia/interface": "^3.0.0",
"@ipld/car": "^5.1.1",
"@ipld/dag-pb": "^4.0.0",
"@ipld/dag-pb": "^4.0.3",
"@libp2p/interfaces": "^3.3.1",
"cborg": "^4.0.3",
"it-drain": "^3.0.5",
Expand All @@ -170,9 +154,9 @@
"devDependencies": {
"@helia/unixfs": "^2.0.0",
"aegir": "^42.0.1",
"blockstore-core": "^4.0.1",
"blockstore-core": "^4.3.8",
"interface-blockstore": "^5.2.9",
"ipfs-unixfs-importer": "^15.1.0",
"ipfs-unixfs-importer": "^15.2.3",
"it-to-buffer": "^4.0.2"
}
}
8 changes: 8 additions & 0 deletions packages/car/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,13 @@
"include": [
"src",
"test"
],
"references": [
{
"path": "../interface"
},
{
"path": "../unixfs"
}
]
}
8 changes: 4 additions & 4 deletions packages/dag-cbor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

[![ipfs.tech](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.tech)
[![Discuss](https://img.shields.io/discourse/https/discuss.ipfs.tech/posts.svg?style=flat-square)](https://discuss.ipfs.tech)
[![codecov](https://img.shields.io/codecov/c/github/ipfs/helia-dag-cbor.svg?style=flat-square)](https://codecov.io/gh/ipfs/helia-dag-cbor)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/helia-dag-cbor/js-test-and-release.yml?branch=main\&style=flat-square)](https://github.com/ipfs/helia-dag-cbor/actions/workflows/js-test-and-release.yml?query=branch%3Amain)
[![codecov](https://img.shields.io/codecov/c/github/ipfs/helia.svg?style=flat-square)](https://codecov.io/gh/ipfs/helia)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/helia/main.yml?branch=main\&style=flat-square)](https://github.com/ipfs/helia/actions/workflows/main.yml?query=branch%3Amain)

> Add/get IPLD blocks containing dag-cbor with your Helia node
Expand Down Expand Up @@ -52,7 +52,7 @@ Loading this module through a script tag will make it's exports available as `He

# API Docs

- <https://ipfs.github.io/helia-dag-cbor/modules/_helia_dag_cbor.html>
- <https://ipfs.github.io/helia/modules/_helia_dag_cbor.html>

# License

Expand All @@ -63,7 +63,7 @@ Licensed under either of

# Contribute

Contributions welcome! Please check out [the issues](https://github.com/ipfs/helia-dag-cbor/issues).
Contributions welcome! Please check out [the issues](https://github.com/ipfs/helia/issues).

Also see our [contributing document](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for more information on how we work, and about contributing in general.

Expand Down
10 changes: 5 additions & 5 deletions packages/dag-cbor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"version": "2.0.0",
"description": "Add/get IPLD blocks containing dag-cbor with your Helia node",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/ipfs/helia-dag-cbor/tree/main/packages/dag-cbor#readme",
"homepage": "https://github.com/ipfs/helia/tree/main/packages/dag-cbor#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/helia-dag-cbor.git"
"url": "git+https://github.com/ipfs/helia.git"
},
"bugs": {
"url": "https://github.com/ipfs/helia-dag-cbor/issues"
"url": "https://github.com/ipfs/helia/issues"
},
"publishConfig": {
"access": "public",
Expand Down Expand Up @@ -148,7 +148,7 @@
},
"devDependencies": {
"aegir": "^42.0.1",
"blockstore-core": "^4.0.1",
"interface-blockstore": "^5.0.0"
"blockstore-core": "^4.3.8",
"interface-blockstore": "^5.2.9"
}
}
5 changes: 5 additions & 0 deletions packages/dag-cbor/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@
"include": [
"src",
"test"
],
"references": [
{
"path": "../interface"
}
]
}
8 changes: 4 additions & 4 deletions packages/dag-json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

[![ipfs.tech](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.tech)
[![Discuss](https://img.shields.io/discourse/https/discuss.ipfs.tech/posts.svg?style=flat-square)](https://discuss.ipfs.tech)
[![codecov](https://img.shields.io/codecov/c/github/ipfs/helia-dag-json.svg?style=flat-square)](https://codecov.io/gh/ipfs/helia-dag-json)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/helia-dag-json/js-test-and-release.yml?branch=main\&style=flat-square)](https://github.com/ipfs/helia-dag-json/actions/workflows/js-test-and-release.yml?query=branch%3Amain)
[![codecov](https://img.shields.io/codecov/c/github/ipfs/helia.svg?style=flat-square)](https://codecov.io/gh/ipfs/helia)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/helia/main.yml?branch=main\&style=flat-square)](https://github.com/ipfs/helia/actions/workflows/main.yml?query=branch%3Amain)

> Add/get IPLD blocks containing dag-json with your Helia node
Expand Down Expand Up @@ -52,7 +52,7 @@ Loading this module through a script tag will make it's exports available as `He

# API Docs

- <https://ipfs.github.io/helia-dag-json/modules/_helia_dag_json.html>
- <https://ipfs.github.io/helia/modules/_helia_dag_json.html>

# License

Expand All @@ -63,7 +63,7 @@ Licensed under either of

# Contribute

Contributions welcome! Please check out [the issues](https://github.com/ipfs/helia-dag-json/issues).
Contributions welcome! Please check out [the issues](https://github.com/ipfs/helia/issues).

Also see our [contributing document](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for more information on how we work, and about contributing in general.

Expand Down
10 changes: 5 additions & 5 deletions packages/dag-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"version": "2.0.0",
"description": "Add/get IPLD blocks containing dag-json with your Helia node",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/ipfs/helia-dag-json/tree/main/packages/dag-json#readme",
"homepage": "https://github.com/ipfs/helia/tree/main/packages/dag-json#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/helia-dag-json.git"
"url": "git+https://github.com/ipfs/helia.git"
},
"bugs": {
"url": "https://github.com/ipfs/helia-dag-json/issues"
"url": "https://github.com/ipfs/helia/issues"
},
"publishConfig": {
"access": "public",
Expand Down Expand Up @@ -147,7 +147,7 @@
},
"devDependencies": {
"aegir": "^42.0.1",
"blockstore-core": "^4.0.1",
"interface-blockstore": "^5.0.0"
"blockstore-core": "^4.3.8",
"interface-blockstore": "^5.2.9"
}
}
5 changes: 5 additions & 0 deletions packages/dag-json/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@
"include": [
"src",
"test"
],
"references": [
{
"path": "../interface"
}
]
}
10 changes: 5 additions & 5 deletions packages/helia/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 +30,32 @@ const fs = unixfs(helia)
fs.cat(CID.parse('bafyFoo'))
```

## Install
# Install

```console
$ npm i helia
```

### Browser `<script>` tag
## Browser `<script>` tag

Loading this module through a script tag will make it's exports available as `Helia` in the global namespace.

```html
<script src="https://unpkg.com/helia/dist/index.min.js"></script>
```

## API Docs
# API Docs

- <https://ipfs.github.io/helia/modules/helia.html>

## License
# License

Licensed under either of

- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)

## Contribute
# Contribute

Contributions welcome! Please check out [the issues](https://github.com/ipfs/helia/issues).

Expand Down
Loading

0 comments on commit a0692f9

Please sign in to comment.