Skip to content

Commit

Permalink
fix: package.json files excludes 'src' and includes .js and .js.map i…
Browse files Browse the repository at this point in the history
…n dist for packages that now export their module from dist (#1012)

Motivation:
* https://github.com/web3-storage/w3up/pull/1004/files#r1372070039
  • Loading branch information
gobengo authored Oct 25, 2023
1 parent 2e2936a commit d2537de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/access-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
}
},
"files": [
"src",
"dist/src/**/*.js",
"dist/src/**/*.js.map",
"dist/src/**/*.d.ts",
"dist/src/**/*.d.ts.map"
],
Expand Down
3 changes: 2 additions & 1 deletion packages/filecoin-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
}
},
"files": [
"src",
"dist/src/**/*.js",
"dist/src/**/*.js.map",
"dist/src/**/*.d.ts",
"dist/src/**/*.d.ts.map"
],
Expand Down
3 changes: 2 additions & 1 deletion packages/upload-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
}
},
"files": [
"src",
"dist/src/**/*.js",
"dist/src/**/*.js.map",
"dist/src/**/*.d.ts",
"dist/src/**/*.d.ts.map"
],
Expand Down

0 comments on commit d2537de

Please sign in to comment.