Skip to content

Conversation

@jelly
Copy link
Contributor

@jelly jelly commented Jun 25, 2024

During a regular update of an unrelated package, @novnc/novnc got updated to 1.5.0, this seems to be expected as even with ^1.5.0 1.*.* might be updated while with ~1.3.0 only 1.3.X can be updated (bug fixes).

It would be nice if there could be a new react-console release which made it more restricted to ~1.3.0 to unblock or merging this PR. I've tested it on cockpit-machines and a quick some test seems to work fine.

cockpit-project/cockpit-machines#1692

@jelly
Copy link
Contributor Author

jelly commented Jun 26, 2024

So turns out this was an intentional change in novnc/noVNC@b35cf6d

jelly added a commit to cockpit-project/cockpit-machines that referenced this pull request Jun 26, 2024
`@patternfly/react-console` depends on `@novnc/novnc` but allows minor
and patch version updates. A minor version of novnc broke PatternFly's
imports as they removed ES6 imports and therefore imports have to be
adjusted. Until `@patternfly/react-console` merges my PR and releases a
new version which is still compatible with PF5.

novnc/noVNC@b35cf6d
patternfly/react-console#57
allisonkarlitskaya pushed a commit to cockpit-project/cockpit-machines that referenced this pull request Jun 26, 2024
`@patternfly/react-console` depends on `@novnc/novnc` but allows minor
and patch version updates. A minor version of novnc broke PatternFly's
imports as they removed ES6 imports and therefore imports have to be
adjusted. Until `@patternfly/react-console` merges my PR and releases a
new version which is still compatible with PF5.

novnc/noVNC@b35cf6d
patternfly/react-console#57
jelly added a commit to jelly/cockpit-machines that referenced this pull request Jun 26, 2024
`@patternfly/react-console` depends on `@novnc/novnc` but allows minor
and patch version updates. A minor version of novnc broke PatternFly's
imports as they removed ES6 imports and therefore imports have to be
adjusted. Until `@patternfly/react-console` merges my PR and releases a
new version which is still compatible with PF5.

novnc/noVNC@b35cf6d
patternfly/react-console#57
jelly added a commit to cockpit-project/cockpit-machines that referenced this pull request Jun 26, 2024
`@patternfly/react-console` depends on `@novnc/novnc` but allows minor
and patch version updates. A minor version of novnc broke PatternFly's
imports as they removed ES6 imports and therefore imports have to be
adjusted. Until `@patternfly/react-console` merges my PR and releases a
new version which is still compatible with PF5.

novnc/noVNC@b35cf6d
patternfly/react-console#57
@jelly
Copy link
Contributor Author

jelly commented Jun 27, 2024

I am a bit clueless about the typescript error, the previous version but it never annotated any types.

@jelly
Copy link
Contributor Author

jelly commented Jul 1, 2024

I've disabled one tsconfig option which made yarn build fail as novnc is not typed although type extensions exist they are for 1.3.0 while this bumps it to 1.5.0.

I've followed this blog post on disabling the relevant config option https://mariusschulz.com/blog/untyped-imports-in-typescript

@nicolethoen nicolethoen self-requested a review July 1, 2024 13:47
@wise-king-sullyman wise-king-sullyman merged commit 93bf1fe into patternfly:main Jul 2, 2024
@github-actions
Copy link

github-actions bot commented Jul 2, 2024

🎉 This PR is included in version 5.1.0-prerelease.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@jelly jelly deleted the bump-novnc-dep branch July 2, 2024 16:59
dlabaj added a commit that referenced this pull request Jul 30, 2024
* chore(pf-issues): Updated code to push issues to PatternFly Issues. (#52)

* Fix link to virt-manager.org/download (#51)

* chore: Create dependabot.yml

* chore(deps): update novnc to 1.5.0 (#57)

* fix(build): Update README.md to restart build that didn't deploy.

* fix(beta): Upgraded to beta release candidate and mereged main fixes.

fix(beta):

* fix(doc-framework): Upgraded to the latest document framework.

---------

Co-authored-by: Pierre CORSINI <50719398+pierrecorsini@users.noreply.github.com>
Co-authored-by: Nicole Thoen <nthoen@redhat.com>
Co-authored-by: Jelle van der Waa <jelle@vdwaa.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants