Skip to content

Commit 876ca13

Browse files
authored
fix: make metrics interface a dep instead of a dev dep (libp2p#231)
Ensure we get the right version of the module. Also updates project config to the latest version.
1 parent de04ef4 commit 876ca13

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

.github/dependabot.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ updates:
66
interval: daily
77
time: "10:00"
88
open-pull-requests-limit: 10
9+
commit-message:
10+
prefix: "deps"
11+
prefix-development: "deps(dev)"

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# @libp2p/tcp <!-- omit in toc -->
22

33
[![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
4-
[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p)
54
[![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io)
65
[![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-tcp.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-tcp)
7-
[![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-tcp/actions/workflows/js-test-and-release.yml)
6+
[![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-tcp/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-tcp/actions/workflows/js-test-and-release.yml)
87

98
> Node.js implementation of the TCP module that libp2p uses, which implements the interface-connection and interface-transport interfaces
109
@@ -18,7 +17,7 @@
1817
- [Contribute](#contribute)
1918
- [Contribute](#contribute-1)
2019
- [License](#license)
21-
- [Contribution](#contribution)
20+
- [Contribute](#contribute-2)
2221

2322
## Install
2423

@@ -126,6 +125,6 @@ Licensed under either of
126125
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
127126
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
128127

129-
## Contribution
128+
## Contribute
130129

131130
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

package.json

+9-5
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@
7171
"release": "patch"
7272
},
7373
{
74-
"type": "chore",
74+
"type": "docs",
7575
"release": "patch"
7676
},
7777
{
78-
"type": "docs",
78+
"type": "test",
7979
"release": "patch"
8080
},
8181
{
82-
"type": "test",
82+
"type": "deps",
8383
"release": "patch"
8484
},
8585
{
@@ -109,7 +109,11 @@
109109
},
110110
{
111111
"type": "docs",
112-
"section": "Trivial Changes"
112+
"section": "Documentation"
113+
},
114+
{
115+
"type": "deps",
116+
"section": "Dependencies"
113117
},
114118
{
115119
"type": "test",
@@ -137,6 +141,7 @@
137141
},
138142
"dependencies": {
139143
"@libp2p/interface-connection": "^3.0.2",
144+
"@libp2p/interface-metrics": "^4.0.0",
140145
"@libp2p/interface-transport": "^2.0.0",
141146
"@libp2p/interfaces": "^3.0.3",
142147
"@libp2p/logger": "^2.0.0",
@@ -148,7 +153,6 @@
148153
"stream-to-it": "^0.2.2"
149154
},
150155
"devDependencies": {
151-
"@libp2p/interface-metrics": "^4.0.0",
152156
"@libp2p/interface-mocks": "^8.0.1",
153157
"@libp2p/interface-transport-compliance-tests": "^3.0.0",
154158
"aegir": "^37.5.3",

0 commit comments

Comments
 (0)