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

graphql-voyager: bump dep to 2.0 + add dev setup #19364

Closed
wants to merge 2 commits into from

Conversation

Rugvip
Copy link
Member

@Rugvip Rugvip commented Aug 14, 2023

Hey, I just made a Pull Request!

This bump breaks part of the styling of the plugin, but we can't keep it on the 1.0 RC as it brings in some old dependencies like MUI 3. Will leave it to additional contributions to fix the style issues. The plugin is still somewhat functional.

CC @MitchWijt in case you want to have a look

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

@Rugvip Rugvip requested review from backstage-service and a team as code owners August 14, 2023 14:57
@Rugvip Rugvip requested a review from freben August 14, 2023 14:57
@backstage-goalie
Copy link
Contributor

backstage-goalie bot commented Aug 14, 2023

Missing Changesets

The following package(s) are changed by this PR but do not have a changeset:

  • @backstage/cli
  • @backstage/create-app
  • @techdocs/cli
  • @backstage/plugin-shortcuts

See CONTRIBUTING.md for more information about how to add changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage/cli packages/cli none v0.22.10-next.1
@backstage/create-app packages/create-app none v0.5.4-next.2
e2e-test packages/e2e-test none v0.2.6-next.2
@techdocs/cli packages/techdocs-cli none v1.4.5-next.2
@backstage/theme packages/theme patch v0.4.1
@backstage/plugin-graphql-voyager plugins/graphql-voyager minor v0.1.6-next.2
@backstage/plugin-shortcuts plugins/shortcuts none v0.3.13-next.1

@MitchWijt
Copy link
Contributor

Awesome, looks good. I guess we can close my PR then right?

@Rugvip
Copy link
Member Author

Rugvip commented Aug 14, 2023

Also CC @adamdmharvey, because #19255 😅

I'll spend a bit of time digging into the CSS type issues, but don't wanna get too distracted x)

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
@Rugvip Rugvip mentioned this pull request Aug 14, 2023
5 tasks
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
@Rugvip Rugvip changed the base branch from master to rugvip/weight August 14, 2023 16:31
@github-actions
Copy link
Contributor

github-actions bot commented Aug 14, 2023

Uffizzi Ephemeral Environment deployment-33413

☁️ https://app.uffizzi.com/github.com/backstage/backstage/pull/19364

📄 View Application Logs etc.

What is Uffizzi? Learn more!

Copy link
Member

@tudi2d tudi2d left a comment

Choose a reason for hiding this comment

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

good idea - ran into smth. similar before

Comment on lines +22526 to +22529
"csstype@npm:^3.0.2, csstype@npm:^3.0.6, csstype@npm:^3.1.1, csstype@npm:^3.1.2":
version: 3.1.2
resolution: "csstype@npm:3.1.2"
checksum: e1a52e6c25c1314d6beef5168da704ab29c5186b877c07d822bd0806717d9a265e8493a2e35ca7e68d0f5d472d43fac1cdce70fd79fd0853dff81f3028d857b5
Copy link
Member

Choose a reason for hiding this comment

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

Heads-up that I ran into a similar problem here a while back, where csstype brought in a breaking change in a patch.

Comment on lines +118 to +125
declare module '@material-ui/core/styles/createTypography' {
interface Typography {
fontWeightLight: CSSProperties['fontWeight'];
fontWeightRegular: CSSProperties['fontWeight'];
fontWeightMedium: CSSProperties['fontWeight'];
fontWeightBold: CSSProperties['fontWeight'];
}
}
Copy link
Member

Choose a reason for hiding this comment

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

interesting. I'm not sure it's v4-specific, but rather the combination of v4 & v5 I would assume. Would be happy with this work around, if it fixes csstypes issue for now!

@github-actions
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label Aug 22, 2023
@Rugvip Rugvip removed the stale label Aug 24, 2023
@@ -35,7 +35,7 @@
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.61",
"graphql-voyager": "^1.0.0-rc.31",
"graphql-voyager": "^2.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI:
graphql-voyager v2.0.0 upgraded from (previously at RC31) material-ui v4 to v5

    "@mui/icons-material": "5.11.0",
    "@mui/lab": "5.0.0-alpha.114",
    "@mui/material": "5.11.2",

PS: This PR could resolve #19327 and #19326.

The RC31 was dependent on "@material-ui/core": ^3.9.3 -> recompose: 0.28.0 - 0.30.0 -> fbjs: ^0.8.1 -> isomorphic-fetch: ^2.1.1 -> node-fetch: ^1.0.1

@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2023

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label Sep 1, 2023
@Rugvip Rugvip removed the stale label Sep 5, 2023
@github-actions
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label Sep 12, 2023
@Rugvip Rugvip removed the stale label Sep 12, 2023
@github-actions
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label Sep 19, 2023
@github-actions github-actions bot closed this Sep 24, 2023
@Rugvip Rugvip reopened this Sep 25, 2023
@github-actions github-actions bot removed the stale label Sep 25, 2023
Copy link
Member

@tudi2d tudi2d left a comment

Choose a reason for hiding this comment

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

approving to get this in - looks good to me.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2023

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label Oct 11, 2023
@github-actions github-actions bot closed this Oct 16, 2023
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.

None yet

5 participants