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

Include 'browser' in list of adjusted properties in release.sh #3149

Merged

Conversation

andybalaam
Copy link
Contributor

@andybalaam andybalaam commented Feb 14, 2023

This fixes #3135 .

This fix affects the code we have that adjusts several fields in package.json to allow us to build normally when we package matrix-js-sdk into an npm package, but build it weirdly into element-web as a single package instead of consuming the npm package.

This special code has always been missing browser, but the problem was masked until a few weeks ago when we changed the packaging so that this error was exposed instead of being ignored.

The consequence was that people building apps on top of matrix-js-sdk saw a build error.


This change is marked as an internal change (Task), so will not be included in the changelog.

@andybalaam andybalaam added the T-Task Tasks for the team like planning label Feb 14, 2023
@andybalaam andybalaam requested a review from a team as a code owner February 14, 2023 09:43
@andybalaam andybalaam enabled auto-merge (squash) February 14, 2023 09:43
@andybalaam andybalaam added the backport staging Label to automatically backport PR to staging branch label Feb 14, 2023
@andybalaam andybalaam merged commit 5e17626 into develop Feb 14, 2023
@andybalaam andybalaam deleted the andybalaam/include-browser-in-release-adjustment branch February 14, 2023 09:50
RiotRobot pushed a commit that referenced this pull request Feb 14, 2023
andybalaam added a commit that referenced this pull request Feb 14, 2023
#3151)

(cherry picked from commit 5e17626)

Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
@richvdh
Copy link
Member

richvdh commented Feb 16, 2023

@andybalaam could you add some notes for future archaeologists about what this fixed and why it was important?

@andybalaam
Copy link
Contributor Author

@andybalaam could you add some notes for future archaeologists about what this fixed and why it was important?

@richvdh thank you for the prompt. I have added what I know to the PR description.

@richvdh
Copy link
Member

richvdh commented Feb 16, 2023

Thanks. Any chance you could also translate the summary of #3135 into something that makes sense? 😇

@andybalaam
Copy link
Contributor Author

I've added one sentence to the summary above but I think we've reached the extent of my understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport staging Label to automatically backport PR to staging branch T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build error building against matrix-js-sdk 23.2.0 (type loader issues webpack)
3 participants