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

Use a temporary Git dependency instead of patch-package #2861

Closed
wants to merge 2 commits into from

Conversation

robintown
Copy link
Member

@robintown robintown commented Nov 8, 2022

patch-package is only designed for use in top-level applications, not in libraries which get repackaged, and so will fail to run in upstream consumers of matrix-js-sdk. Until the issues with matrix-events-sdk are resolved, this replaces the patch-package workaround with a temporary Git dependency to unblock upstream packages such as Element Call, while keeping the typechecker happy.

Notes: none


This change has no change notes, so will not be included in the changelog.

patch-package is only designed for use in top-level applications, not in libraries which get repackaged, and so will fail to run in upstream consumers of matrix-js-sdk. Until the issues with matrix-events-sdk are resolved, this replaces the patch-package workaround with a temporary Git dependency to unblock upstream packages such as Element Call, while keeping the typechecker happy.
@robintown
Copy link
Member Author

Well, this doesn't work either

@robintown robintown closed this Nov 8, 2022
@robintown
Copy link
Member Author

I've checked the build artifacts for matrix-events-sdk into a fork, which seems to have worked (but feels very wrong)

@robintown robintown reopened this Nov 8, 2022
@robintown robintown closed this Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant