Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: downgrade deps to have cjs support #4

Merged
merged 1 commit into from
Mar 10, 2023

Conversation

vasco-santos
Copy link
Contributor

https://github.com/elastic-ipfs/indexer-lambda is CJS and we can't install all the new shiny things... Unfortunately, these deps recently shipped ESM only. I saw latest release content, and we should be good for now to downgrade and make things work.

We should discuss wether we should move elastic-ipfs into the new world, or upcoming fixes won't land...

@vasco-santos vasco-santos requested a review from olizilla March 10, 2023 12:47
@olizilla
Copy link

we should move elastic-ipfs into the new world

YES! THIS! 💯

Copy link

@olizilla olizilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a neat side-step to land things for now. I vote strongly in favour of moving e-ipfs to esm to match what we have elsewhere, when we get time.

@vasco-santos vasco-santos merged commit cb33630 into main Mar 10, 2023
@vasco-santos vasco-santos deleted the fix/downgrade-deps-to-have-cjs-support branch March 10, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants