Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps!: update all deps to multiformats 11 #801

Merged
merged 1 commit into from
Jan 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 4 additions & 43 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,45 +1,6 @@
yarn.lock
package-lock.json
**/node_modules/
**/*.log
test/repo-tests*

.vscode
.eslintrc
# Logs
logs
*.log

coverage
.coverage

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

build

# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules

dist
docs

.idea

.nyc_output
.vscode
.docs
.coverage
package-lock.json
yarn.lock
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
[![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/js-ipfsd-ctl.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-ipfsd-ctl)
[![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)
[![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)

> Spawn IPFS Daemons, JS or Go

## Table of contents <!-- omit in toc -->

- [Install](#install)
- [Browser `<script>` tag](#browser-script-tag)
- [Notice](#notice)
- [Usage](#usage)
- [Spawning a single IPFS controller: `createController`](#spawning-a-single-ipfs-controller-createcontroller)
Expand Down Expand Up @@ -48,6 +49,7 @@
- [ipfsd-ctl environment variables](#ipfsd-ctl-environment-variables)
- - [IPFS\_JS\_EXEC and IPFS\_GO\_EXEC](#ipfs_js_exec-and-ipfs_go_exec)
- [Contribute](#contribute)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute-1)

Expand All @@ -57,6 +59,14 @@
$ npm i ipfsd-ctl
```

### Browser `<script>` tag

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

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

## Notice

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

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

## API Docs

- <https://ipfs.github.io/js-ipfsd-ctl>

## License

Licensed under either of
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"types": "./dist/src/index.d.ts",
"files": [
"src",
"dist/src",
"dist",
"!dist/test",
"!**/*.tsbuildinfo"
],
Expand Down Expand Up @@ -134,12 +134,13 @@
"test:node": "aegir test -t node --cov",
"test:chrome": "aegir test -t browser --cov",
"test:firefox": "aegir test -t browser -- --browser firefox",
"release": "aegir release"
"release": "aegir release",
"docs": "aegir docs"
},
"dependencies": {
"@hapi/boom": "^10.0.0",
"@hapi/hapi": "^20.0.0",
"@libp2p/interface-peer-id": "^1.0.4",
"@hapi/hapi": "^21.1.0",
"@libp2p/interface-peer-id": "^2.0.0",
"@libp2p/logger": "^2.0.0",
"@multiformats/multiaddr": "^11.0.0",
"execa": "^6.1.0",
Expand All @@ -152,14 +153,13 @@
"wherearewe": "^2.0.1"
},
"devDependencies": {
"@types/hapi__hapi": "^20.0.9",
"aegir": "^37.0.15",
"go-ipfs": "^0.16.0",
"ipfs": "^0.64.0",
"ipfs-client": "^0.9.0",
"ipfs-core-types": "^0.12.0",
"ipfs-http-client": "^58.0.0",
"kubo-rpc-client": "^1.0.1",
"go-ipfs": "^0.17.0",
"ipfs": "^0.66.0",
"ipfs-client": "^0.10.0",
"ipfs-core-types": "^0.14.0",
"ipfs-http-client": "^60.0.0",
"kubo-rpc-client": "^3.0.0",
"util": "^0.12.4"
},
"browser": {
Expand Down