Skip to content

fix(tekton): declare @types/react as an optional peer of plugin-tekton-react - #12475

Merged
christoph-jerolimov merged 1 commit into
backstage:mainfrom
sebdanielsson:fix/tekton-declare-deps
Dec 1, 2026
Merged

christoph-jerolimov merged 1 commit into
backstage:mainfrom
sebdanielsson:fix/tekton-declare-deps

Conversation

@sebdanielsson

@sebdanielsson sebdanielsson commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Hey, I just made a Pull Request!

Strict installs (pnpm, Yarn PnP) only resolve declared dependencies. The published types of plugin-tekton-react import react/jsx-runtime, but the package doesn't declare @types/react.

  • Add @types/react as an optional peer and as a dev dependency.

✔️ 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)

🤖 Generated with Claude Code

https://claude.ai/code/session_01NZ5217H8AkdKkDBNzEiTik

…n-react

The published types of plugin-tekton-react use React types without
declaring @types/react. Strict installs (pnpm, Yarn's pnpm linker, PnP)
can't resolve undeclared packages.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NZ521AzxwB3vLPS9t6fABT
Signed-off-by: Sebastian Danielsson <[email protected]>
@backstage-goalie

Copy link
Copy Markdown
Contributor

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage-community/plugin-tekton-react workspaces/tekton/plugins/tekton-react patch v0.9.1

@codecov

codecov Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.01%. Comparing base (f30348d) to head (1f07d30).
⚠️ Report is 74 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12475      +/-   ##
==========================================
- Coverage   85.92%   78.01%   -7.92%     
==========================================
  Files         265       94     -171     
  Lines        9159     2147    -7012     
  Branches     2239      574    -1665     
==========================================
- Hits         7870     1675    -6195     
+ Misses       1279      467     -812     
+ Partials       10        5       -5     
Flag Coverage Δ
3scale ?
bookmarks ?
keycloak ?
pingidentity ?
rbac ?
scaffolder ?
tekton 78.01% <ø> (?)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cbd0db3...1f07d30. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@christoph-jerolimov christoph-jerolimov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @sebdanielsson

Lgtm!

@christoph-jerolimov
christoph-jerolimov marked this pull request as ready for review December 1, 2026 23:21
@christoph-jerolimov
christoph-jerolimov merged commit d12db5f into backstage:main Dec 1, 2026
65 checks passed
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