Skip to content

Conversation

@matz3
Copy link
Member

@matz3 matz3 commented Nov 18, 2025

The dependency was only used as devDependency before, but since recent changes (#3032) the dependency is now required at runtime as well (express.Router).

An alternative to express.Router is the router package, which provides the same functionality. We're using that package in our built-in "csp" middleware in UI5 CLI.

@matz3 matz3 requested a review from a team as a code owner November 18, 2025 20:23
@changeset-bot
Copy link

changeset-bot bot commented Nov 18, 2025

🦋 Changeset detected

Latest commit: 32b9403

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sap-ux/backend-proxy-middleware Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cla-assistant
Copy link

cla-assistant bot commented Nov 18, 2025

CLA assistant check
All committers have signed the CLA.

@heimwege
Copy link
Contributor

heimwege commented Nov 18, 2025

@devinea third party contribution still seem to break the pipeline Input required and not supplied: token for the lint fix. Also reported SONAR checks look weird (https://sonarcloud.io/component_measures?id=SAP_open-ux-tools&pullRequest=3847&metric=new_coverage&view=list). packages/fiori-app-sub-generator/src/fiori-app-generator/end.ts has certainly not been adjusted in this PR 🤷🏻

@heimwege
Copy link
Contributor

heimwege commented Nov 18, 2025

@matz3 thanks for finding this one. I'll follow up on the router package.
Could you please add a patch version changeset (just pnpm cset in the monorepo root)? w/o changeset no version will be published to npmjs.

@matz3 matz3 force-pushed the backend-proxy-middleware/add-missing-express-dependency branch from afa9412 to 461fa9f Compare November 19, 2025 07:18
@matz3
Copy link
Member Author

matz3 commented Nov 19, 2025

@heimwege thank you. I've added a changeset to the existing commit.

The dependency was only used as devDependency before, but since recent changes
(SAP#3032) the dependency is now required
at runtime as well (express.Router).
@matz3 matz3 force-pushed the backend-proxy-middleware/add-missing-express-dependency branch from 461fa9f to 6a33df8 Compare November 19, 2025 07:20
@heimwege heimwege added the backend-proxy-middleware @sap-ux/backend-proxy-middleware label Nov 19, 2025
@heimwege
Copy link
Contributor

heimwege commented Nov 19, 2025

Not to self: same issue seems to exist for ui5-proxy-middleware. Check #540

Copy link
Member

@devinea devinea left a comment

Choose a reason for hiding this comment

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

Build is fixed on fork.
Updates lgtm.

Copy link
Contributor

@heimwege heimwege left a comment

Choose a reason for hiding this comment

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

fix lgtm

@sonarqubecloud
Copy link

@heimwege heimwege merged commit bf7e266 into SAP:main Nov 27, 2025
16 checks passed
eouin added a commit that referenced this pull request Nov 28, 2025
…riter/unique-ids-in-fragment

* 'main' of github.com:SAP/open-ux-tools: (34 commits)
  chore: apply latest changesets
  feat(fiori-mcp-server): add generate-fiori-ui-odata-app functionality (#3570)
  chore: apply latest changesets
  fix(backend-proxy-middleware): simplify usage of types (#3870)
  chore: apply latest changesets
  fix: Bump @sap/manifest version (#3872)
  chore: apply latest changesets
  fix(backend-proxy-middleware): add missing 'express' dependency (#3847)
  chore: apply latest changesets
  fix unstable fiori tools settings test (#3864)
  feat(create): enable card generator for CAP projects (#3868)
  fixing issues accessing `secrets` on forks (#3876)
  Increase test timeout from 60s to 120s (#3875)
  chore: apply latest changesets
  feat: menu actions generator (#3521)
  chore: apply latest changesets
  chore: remove mkdirp usage and update dependencies (#3871)
  chore: apply latest changesets
  feat: save value list reference metadata (#3794)
  chore: apply latest changesets
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend-proxy-middleware @sap-ux/backend-proxy-middleware

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants