@libp2p/daemon-protocol 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +4 -0
- package/README.md +37 -0
- package/dist/src/index.d.ts +1528 -0
- package/dist/src/index.js +4449 -0
- package/package.json +133 -0
- package/src/index.d.ts +1528 -0
- package/src/index.js +4449 -0
- package/src/index.proto +175 -0
package/package.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@libp2p/daemon-protocol",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"author": "",
|
|
6
|
+
"license": "Apache-2.0 OR MIT",
|
|
7
|
+
"homepage": "https://github.com/libp2p/js-libp2p-daemon-protocol#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/libp2p/js-libp2p-daemon-protocol.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/libp2p/js-libp2p-daemon-protocol/issues"
|
|
14
|
+
},
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=16.0.0",
|
|
17
|
+
"npm": ">=7.0.0"
|
|
18
|
+
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"types": "./dist/src/index.d.ts",
|
|
21
|
+
"files": [
|
|
22
|
+
"src",
|
|
23
|
+
"dist/src",
|
|
24
|
+
"!dist/test",
|
|
25
|
+
"!**/*.tsbuildinfo"
|
|
26
|
+
],
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"import": "./dist/src/index.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"eslintConfig": {
|
|
33
|
+
"extends": "ipfs",
|
|
34
|
+
"parserOptions": {
|
|
35
|
+
"sourceType": "module"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"release": {
|
|
39
|
+
"branches": [
|
|
40
|
+
"master"
|
|
41
|
+
],
|
|
42
|
+
"plugins": [
|
|
43
|
+
[
|
|
44
|
+
"@semantic-release/commit-analyzer",
|
|
45
|
+
{
|
|
46
|
+
"preset": "conventionalcommits",
|
|
47
|
+
"releaseRules": [
|
|
48
|
+
{
|
|
49
|
+
"breaking": true,
|
|
50
|
+
"release": "major"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"revert": true,
|
|
54
|
+
"release": "patch"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"type": "feat",
|
|
58
|
+
"release": "minor"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "fix",
|
|
62
|
+
"release": "patch"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "chore",
|
|
66
|
+
"release": "patch"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "docs",
|
|
70
|
+
"release": "patch"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "test",
|
|
74
|
+
"release": "patch"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"scope": "no-release",
|
|
78
|
+
"release": false
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
[
|
|
84
|
+
"@semantic-release/release-notes-generator",
|
|
85
|
+
{
|
|
86
|
+
"preset": "conventionalcommits",
|
|
87
|
+
"presetConfig": {
|
|
88
|
+
"types": [
|
|
89
|
+
{
|
|
90
|
+
"type": "feat",
|
|
91
|
+
"section": "Features"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "fix",
|
|
95
|
+
"section": "Bug Fixes"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "chore",
|
|
99
|
+
"section": "Trivial Changes"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "docs",
|
|
103
|
+
"section": "Trivial Changes"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "test",
|
|
107
|
+
"section": "Tests"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"@semantic-release/changelog",
|
|
114
|
+
"@semantic-release/npm",
|
|
115
|
+
"@semantic-release/github",
|
|
116
|
+
"@semantic-release/git"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"scripts": {
|
|
120
|
+
"lint": "aegir lint",
|
|
121
|
+
"build": "mkdirp dist/src && cp src/*.js src/*.d.ts dist/src",
|
|
122
|
+
"generate": "npm run generate:proto && npm run generate:proto-types",
|
|
123
|
+
"generate:proto": "pbjs -t static-module -w es6 -r libp2p-daemon --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/protocol/index.js ./src/protocol/index.proto",
|
|
124
|
+
"generate:proto-types": "pbts -o src/protocol/index.d.ts src/protocol/index.js",
|
|
125
|
+
"release": "semantic-release"
|
|
126
|
+
},
|
|
127
|
+
"dependencies": {
|
|
128
|
+
"protobufjs": "^6.10.2"
|
|
129
|
+
},
|
|
130
|
+
"devDependencies": {
|
|
131
|
+
"aegir": "^36.0.0"
|
|
132
|
+
}
|
|
133
|
+
}
|