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

chore(client): Add missing optional flag for peer dpeendencies #1205

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

msfstef
Copy link
Contributor

@msfstef msfstef commented Apr 29, 2024

Adds peer dependency optional flags that are missing (also reordered to match peer dep order).

Relevant PR: #1187

Copy link
Contributor

@samwillis samwillis left a comment

Choose a reason for hiding this comment

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

👍

@msfstef msfstef merged commit ca53955 into main Apr 29, 2024
8 checks passed
@msfstef msfstef deleted the msfstef/add-missing-optional-flag-for-peer-deps branch April 29, 2024 12:43
msfstef added a commit that referenced this pull request Apr 29, 2024
…#1207)

We had an issue with some peer deps not being marked as optional that
started causing the npm install to fail (see
#1205).

Despite that because the starter cli does not return a non zero exit
code if it fails at the dep installation phase, some tests were passing
- I've modified them to check explicitly that the dep installation error
is not shown.

Until we upgrade the electric-sql package with the optional peer dep
flag, I've added the `--legacy-peer-deps` to `npm install` calls to work
around this issue. I will roll this back immediately after release after
confirming that the individual examples work correctly as well.
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