Skip to content

Commit 7ee5282

Browse files
authored
deps!: update all deps to multiformats 11 (#801)
Updates all deps to multiformats 11
1 parent d3da588 commit 7ee5282

File tree

3 files changed

+30
-55
lines changed

3 files changed

+30
-55
lines changed

.gitignore

Lines changed: 4 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,6 @@
1-
yarn.lock
2-
package-lock.json
3-
**/node_modules/
4-
**/*.log
5-
test/repo-tests*
6-
7-
.vscode
8-
.eslintrc
9-
# Logs
10-
logs
11-
*.log
12-
13-
coverage
14-
.coverage
15-
16-
# Runtime data
17-
pids
18-
*.pid
19-
*.seed
20-
21-
# Directory for instrumented libs generated by jscoverage/JSCover
22-
lib-cov
23-
24-
# Coverage directory used by tools like istanbul
25-
coverage
26-
27-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
28-
.grunt
29-
30-
# node-waf configuration
31-
.lock-wscript
32-
33-
build
34-
35-
# Dependency directory
36-
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
371
node_modules
38-
392
dist
40-
docs
41-
42-
.idea
43-
44-
.nyc_output
45-
.vscode
3+
.docs
4+
.coverage
5+
package-lock.json
6+
yarn.lock

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
[![ipfs.tech](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.tech)
44
[![Discuss](https://img.shields.io/discourse/https/discuss.ipfs.tech/posts.svg?style=flat-square)](https://discuss.ipfs.tech)
55
[![codecov](https://img.shields.io/codecov/c/github/ipfs/js-ipfsd-ctl.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-ipfsd-ctl)
6-
[![CI](https://img.shields.io/github/workflow/status/ipfs/js-ipfsd-ctl/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/ipfs/js-ipfsd-ctl/actions/workflows/js-test-and-release.yml)
6+
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/js-ipfsd-ctl/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/ipfs/js-ipfsd-ctl/actions/workflows/js-test-and-release.yml?query=branch%3Amaster)
77

88
> Spawn IPFS Daemons, JS or Go
99
1010
## Table of contents <!-- omit in toc -->
1111

1212
- [Install](#install)
13+
- [Browser `<script>` tag](#browser-script-tag)
1314
- [Notice](#notice)
1415
- [Usage](#usage)
1516
- [Spawning a single IPFS controller: `createController`](#spawning-a-single-ipfs-controller-createcontroller)
@@ -48,6 +49,7 @@
4849
- [ipfsd-ctl environment variables](#ipfsd-ctl-environment-variables)
4950
- - [IPFS\_JS\_EXEC and IPFS\_GO\_EXEC](#ipfs_js_exec-and-ipfs_go_exec)
5051
- [Contribute](#contribute)
52+
- [API Docs](#api-docs)
5153
- [License](#license)
5254
- [Contribute](#contribute-1)
5355

@@ -57,6 +59,14 @@
5759
$ npm i ipfsd-ctl
5860
```
5961

62+
### Browser `<script>` tag
63+
64+
Loading this module through a script tag will make it's exports available as `IpfsdCtl` in the global namespace.
65+
66+
```html
67+
<script src="https://unpkg.com/ipfsd-ctl/dist/index.min.js"></script>
68+
```
69+
6070
## Notice
6171

6272
Version 1.0.0 changed a bit the api and the options methods take so please read the documentation below.
@@ -368,6 +378,10 @@ This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/c
368378

369379
[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md)
370380

381+
## API Docs
382+
383+
- <https://ipfs.github.io/js-ipfsd-ctl>
384+
371385
## License
372386

373387
Licensed under either of

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"types": "./dist/src/index.d.ts",
2525
"files": [
2626
"src",
27-
"dist/src",
27+
"dist",
2828
"!dist/test",
2929
"!**/*.tsbuildinfo"
3030
],
@@ -134,12 +134,13 @@
134134
"test:node": "aegir test -t node --cov",
135135
"test:chrome": "aegir test -t browser --cov",
136136
"test:firefox": "aegir test -t browser -- --browser firefox",
137-
"release": "aegir release"
137+
"release": "aegir release",
138+
"docs": "aegir docs"
138139
},
139140
"dependencies": {
140141
"@hapi/boom": "^10.0.0",
141-
"@hapi/hapi": "^20.0.0",
142-
"@libp2p/interface-peer-id": "^1.0.4",
142+
"@hapi/hapi": "^21.1.0",
143+
"@libp2p/interface-peer-id": "^2.0.0",
143144
"@libp2p/logger": "^2.0.0",
144145
"@multiformats/multiaddr": "^11.0.0",
145146
"execa": "^6.1.0",
@@ -152,14 +153,13 @@
152153
"wherearewe": "^2.0.1"
153154
},
154155
"devDependencies": {
155-
"@types/hapi__hapi": "^20.0.9",
156156
"aegir": "^37.0.15",
157-
"go-ipfs": "^0.16.0",
158-
"ipfs": "^0.64.0",
159-
"ipfs-client": "^0.9.0",
160-
"ipfs-core-types": "^0.12.0",
161-
"ipfs-http-client": "^58.0.0",
162-
"kubo-rpc-client": "^1.0.1",
157+
"go-ipfs": "^0.17.0",
158+
"ipfs": "^0.66.0",
159+
"ipfs-client": "^0.10.0",
160+
"ipfs-core-types": "^0.14.0",
161+
"ipfs-http-client": "^60.0.0",
162+
"kubo-rpc-client": "^3.0.0",
163163
"util": "^0.12.4"
164164
},
165165
"browser": {

0 commit comments

Comments
 (0)