Skip to content

Commit

Permalink
fix: point main at files included in the package (storacha#1241)
Browse files Browse the repository at this point in the history
`main` was pointing at `src/index.js` but `src` isn't included in the
built package per the `files` key in `package.json`. Fix this!
  • Loading branch information
travis authored Dec 13, 2023
1 parent ef59358 commit c0b306d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/access-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"license": "(Apache-2.0 OR MIT)",
"type": "module",
"types": "dist/src/index.d.ts",
"main": "src/index.js",
"main": "dist/src/index.js",
"scripts": {
"attw": "attw --pack .",
"lint": "tsc --build && eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
Expand Down
2 changes: 1 addition & 1 deletion packages/upload-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"license": "Apache-2.0 OR MIT",
"type": "module",
"types": "dist/src/index.d.ts",
"main": "src/index.js",
"main": "dist/src/index.js",
"scripts": {
"attw": "attw --pack .",
"lint": "eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
Expand Down

0 comments on commit c0b306d

Please sign in to comment.