-
Notifications
You must be signed in to change notification settings - Fork 1.2k
chore: reference only local files in package.json "browser" field #3630
Conversation
This comment has been minimized.
This comment has been minimized.
@@ -18,9 +18,7 @@ | |||
"types": "./dist/src/index.d.ts", | |||
"browser": { | |||
"./src/lib/multipart-request.js": "./src/lib/multipart-request.browser.js", | |||
"ipfs-utils/src/files/glob-source": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure those checks are failing due to my changes. Are they? If so, can you provide some more info on what's wrong exactly, because I can't find anything directly related to my changes in the logs. |
Please could you rebase on top of, or merge master into your branch? There's been quite a bit of CI instability recently that should now be resolved. |
Fixes this issue: ipfs/js-ipfs#3557 Related PR in `js-ipfs`: ipfs/js-ipfs#3630
Again not sure why it fails. I did the rebase. |
@yurtsiv have you tried running the failing tests locally? |
9c2b6ee
to
a5d1cf1
Compare
@achingbrain Honestly, I don't know how to run individual tests since I'm not that familiar with your setup and running all tests globally is taking me forever. I just realized that I didn't remove references to |
@achingbrain Still failing. Do you have an idea of what could go wrong? Here're the failing tests:
|
Have you read the developer docs? In brief, from the root of the repo: $ npm run test:interface:client -- -- -- --grep 'lists a sharded directory contents' or from the $ npm run test:interface:client -- --grep 'lists a sharded directory contents'
You've changed the browser override for Since the error message is |
No, thanks for the link.
What do you think would be a better solution:
The second one is definitely easier, but seems kind of wrong IMO, since it breaks the module encapsulation. |
There's 2 issues here:
|
@hugomrdias I did not write down AI for this one. If I remember correclty, we wanted to close this PR and create two more specific follow-up issues based on your last comment? |
Hi. Any update on this one? I'm happy to work on any of the issues you described, as long as a bit more guidance is provided. |
@yurtsiv I'm lacking the full context here but I believe the takeaway is:
following up on Hugo's comment (#3630 (comment)) we discussed this a bit during triage:
If you feel strongly about this feel free to submit PRs that address/conform to the above + ask any open questions there or on in #3557 |
Fixes this issue: #3557
Related PR in
js-ipfs-utils
: ipfs/js-ipfs-utils#121