Skip to content

Commit 82a2958

Browse files
authored
chore: Added files spec to packages for publication (#790)
1 parent 9988b84 commit 82a2958

File tree

5 files changed

+21
-0
lines changed

5 files changed

+21
-0
lines changed

packages/cipher/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "1.1.0",
44
"description": "MDIP cipher lib",
55
"type": "module",
6+
"files": [
7+
"dist"
8+
],
69
"types": "./dist/types",
710
"exports": {
811
"./node": {
@@ -19,6 +22,7 @@
1922
}
2023
},
2124
"scripts": {
25+
"clean": "rm -rf dist",
2226
"build": "tsc -p tsconfig.json",
2327
"test": "echo \"Error: no test specified\" && exit 1"
2428
},

packages/common/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": "1.1.0",
44
"description": "MDIP common",
55
"type": "module",
6+
"files": [
7+
"dist"
8+
],
9+
"types": "./dist/types",
610
"exports": {
711
"./utils": {
812
"import": "./dist/utils.js",
@@ -14,6 +18,7 @@
1418
}
1519
},
1620
"scripts": {
21+
"clean": "rm -rf dist",
1722
"build": "tsc -p tsconfig.json",
1823
"test": "echo \"Error: no test specified\" && exit 1"
1924
},

packages/gatekeeper/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "1.1.0",
44
"description": "MDIP Gatekeeper",
55
"type": "module",
6+
"files": [
7+
"dist"
8+
],
69
"types": "./dist/types",
710
"exports": {
811
".": {
@@ -39,6 +42,7 @@
3942
}
4043
},
4144
"scripts": {
45+
"clean": "rm -rf dist",
4246
"build": "tsc -p tsconfig.json",
4347
"test": "echo \"Error: no test specified\" && exit 1"
4448
},

packages/ipfs/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "1.1.0",
44
"description": "MDIP IPFS lib",
55
"type": "module",
6+
"files": [
7+
"dist"
8+
],
69
"types": "./dist/types",
710
"exports": {
811
"./helia": {
@@ -23,6 +26,7 @@
2326
}
2427
},
2528
"scripts": {
29+
"clean": "rm -rf dist",
2630
"build": "tsc -p tsconfig.json",
2731
"test": "echo \"Error: no test specified\" && exit 1"
2832
},

packages/keymaster/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "1.1.0",
44
"description": "MDIP Keymaster",
55
"type": "module",
6+
"files": [
7+
"dist"
8+
],
69
"types": "./dist/types",
710
"exports": {
811
".": {
@@ -59,6 +62,7 @@
5962
}
6063
},
6164
"scripts": {
65+
"clean": "rm -rf dist",
6266
"build": "tsc -p tsconfig.json",
6367
"test": "echo \"Error: no test specified\" && exit 1"
6468
},

0 commit comments

Comments
 (0)