Skip to content

Commit 44c757c

Browse files
committed
fix: types with ipjs build
1 parent 2ea467f commit 44c757c

File tree

7 files changed

+8
-7
lines changed

7 files changed

+8
-7
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ node_modules
4040

4141
lib
4242
dist
43+
types

packages/ipfs-unixfs-exporter/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"murmurhash3js-revisited": "^3.0.0",
7070
"uint8arrays": "^3.0.0"
7171
},
72-
"types": "dist/src/index.d.ts",
72+
"types": "types/src/index.d.ts",
7373
"eslintConfig": {
7474
"extends": "ipfs",
7575
"parserOptions": {

packages/ipfs-unixfs-exporter/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "aegir/src/config/tsconfig.aegir.json",
33
"compilerOptions": {
4-
"outDir": "dist",
4+
"outDir": "./types",
55
"module": "es2020",
66
"importsNotUsedAsValues": "preserve"
77
},

packages/ipfs-unixfs-importer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"rabin-wasm": "^0.1.4",
6767
"uint8arrays": "^3.0.0"
6868
},
69-
"types": "dist/src/index.d.ts",
69+
"types": "types/src/index.d.ts",
7070
"eslintConfig": {
7171
"extends": "ipfs",
7272
"parserOptions": {

packages/ipfs-unixfs-importer/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "aegir/src/config/tsconfig.aegir.json",
33
"compilerOptions": {
4-
"outDir": "dist",
4+
"outDir": "./types",
55
"module": "es2020",
66
"importsNotUsedAsValues": "preserve"
77
},

packages/ipfs-unixfs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"err-code": "^3.0.1",
5454
"protobufjs": "^6.10.2"
5555
},
56-
"types": "dist/src/index.d.ts",
56+
"types": "types/src/index.d.ts",
5757
"eslintConfig": {
5858
"extends": "ipfs",
5959
"parserOptions": {

packages/ipfs-unixfs/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"extends": "aegir/src/config/tsconfig.aegir.json",
33
"compilerOptions": {
4-
"outDir": "dist"
4+
"outDir": "./types"
55
},
66
"include": [
77
"src",
88
"test"
99
],
1010
"exclude": [
11-
"dist",
11+
"types",
1212
"node_modules",
1313
"src/unixfs.js"
1414
]

0 commit comments

Comments
 (0)