Build toolBuild tooltypeRuns at build time. Nothing of it ships in the deployed application.See every one →What this type is →by a community orgby a community orgoriginPublished by a community organisation, so it outlives any one maintainer.See every one →

ui5-middleware-ui5

A UI5 middleware that lets one UI5 application be included as a dependency of another and served through that application's dev server.

Lets one UI5 application be included as a dependency of another and served through its dev server. The registry page carries no README, so how the dependency is declared or resolved is not documented there.

Facts

Latestv3.5.2ReleasedLast pushLicenceApache-2.0

Where it sits

Lives in
Provides
Build and dev-server toolingUI5Build and dev-server toolingcapabilityServing an app locally and building it for deployment — proxying a backend, transpiling, bundling, and shaping the result for whatever will host it.

Who is behind it

UI5 CommunityUI5 CommunityOrganisationMaintains this
In the atlas: maintains 69
@ui5-community
maintainerDimitar FenerskiPersonContributes to this
In the atlas: contributes to 23
@dfenerski
Florian VogtPersonContributes to this
In the atlas: contributes to 50, wrote 2
@flovogt
Wouter LemairePersonContributes to this
In the atlas: maintains 25, contributes to 39, wrote 12
@lemaiwo
Marian ZeisPersonContributes to this
In the atlas: maintains 35, contributes to 86, wrote 25
@marianfoo
Peter MuessigPersonContributes to this
In the atlas: maintains 14, contributes to 80, wrote 1
@petermuessig
5 contributors

What it declares

Every artifact

Type
Build tool
Origin
By a community org

As a build tool

Distributed through
npm

Connections1

Install

npm add ui5-middleware-ui5

Derived from the package name. No recipe recorded; the README has the configuration.

README

quoted from ui5-community/ui5-ecosystem-showcase under Apache-2.0, read
ui5-community/ui5-ecosystem-showcase/packages/ui5-middleware-ui5/README.mdOn GitHub

UI5 middleware to include UI5 application dependencies

👋 This is an open‑source, community‑driven project, developed and actively monitored by members of the UI5 community. You are welcome to use it, report issues, contribute enhancements, and support others in the community.

Middleware for ui5-server, to include and serve UI5 application dependencies in the same server instance.

Prerequisites

⚠️ UI5 CLI Compatibility All releases of this UI5 CLI extension using the major version 3 require UI5 CLI V3. Any previous releases below major version 3 (if available) also support older versions of the UI5 CLI. But the usage of the latest UI5 CLI is strongly recommended!

Install

npm install ui5-middleware-ui5 --save-dev

Configuration options (in $yourapp/ui5.yaml)

The plugin accepts configuration to control the mount path and selected configuration options for the UI5 server middlewares which are embedded into the current UI5 server via an express router.

  • debug: boolean
    enable detailed logging

  • serveFromNamespace: boolean (defaults to true) serves the UI5 application from the /resources/%namespace% so that the UI5 application can be resolved without any additional resourceroots mapping; when disabled (setting option to false) the UI5 application will be served from it's mountPath (typically the UI5 app name or as fallback the moduleId); a custom mountPath configuration (see below) disables this configuration option!

  • modules: Object modules configuration (key = moduleId, values = object) - details in the following sections about the module configuration

Module Configuration: Mount Path

The mount path of the UI5 application configures the nested Router for the UI5 server middlewares to run under this predefined path. It is by default derived from the metadata/name of the ui5.yaml:

specVersion: "3.0"
metadata:
  name: ui5.bookshop
type: application

This configuration can be overruled by adding a the customConfiguration/ui5-middleware-ui5/mountPath option into the ui5.yaml:

specVersion: "3.0"
metadata:
  name: ui5.bookshop
type: application
customConfiguration:
  ui5-middleware-ui5:
    mountPath: /bookshop

In some cases it is necessary to overrule the UI5 application local configuration. Therefore, you can use the configuration of the middleware in your ui5.yaml:

specVersion: "3.0"
metadata:
  name: ui5.bookshop
type: application
server:
  customMiddleware:
    - name: ui5-middleware-ui5
      afterMiddleware: compression
      configuration:
        modules:
          %moduleId%:
            mountPath: "/app"

The moduleId is the name from the package.json.

Module Configuration: UI5 Server Middleware

If you require to configure the UI5 server middlewares, you can do so by adding some selected configuration options in the configuration of the middleware in your ui5.yaml:

specVersion: "3.0"
metadata:
  name: ui5.bookshop
type: application
server:
  customMiddleware:
    - name: ui5-middleware-ui5
      afterMiddleware: compression
      configuration:
        modules:
          %moduleId%:
            configFile: "ui5.yaml",
            workspaceConfigFile: "ui5-workspace.yaml",
            workspaceName: "default",
            versionOverride: "1.117.0"

The moduleId is the name from the package.json.

The available configuration options are:

  • configFile: string - name of the config file (defaults to "ui5.yaml")
  • workspaceConfigFile: string - name of the workspace config file (defaults to "ui5-workspace.yaml")
  • workspaceName: string - name of the workspace (defaults to "default" when the file at workspaceConfigPath exists)
  • versionOverride: string - Framework version to use instead of the one defined in the root project

If the configFile or workspaceConfigFile startes with ./ or ../ then the config file is considered to be relative to the ui5.yaml.

The configuration options from the UI5 server middlewares and the mount path can be mixed together as they both are in the same section of the ui5.yaml.

Usage

  1. Define the dependency in $yourapp/package.json:
"devDependencies": {
    // ...
    "ui5-middleware-ui5": "*"
    // ...
}
  1. configure it in $yourapp/ui5.yaml:
server:
  customMiddleware:
  - name: ui5-middleware-ui5
    afterMiddleware: compression

How it works

The middleware searches for UI5 application projects in the project dependencies and includes them via express routers into the current UI5 development server. The projects will be served via their namespace (from ui5.yaml) or the package name (from package.json).

License

This work is licensed under Apache 2.0.

Built with care (and a lot of caffeine). If this helped you build, test, or ship, the next coffee — or drink — is on you when you bump into a contributor.

Apache-2.0, read

History

Latest

v3.5.2

Fixes 2

Notes
Patch Changes
  • #1394 0e7a9e2 Thanks @petermuessig! - Recognize UI5 projects with type: component (introduced in UI5 CLI v5) alongside type: application when discovering UI5 modules in findUI5Modules.js. Fixes #1392.

  • #1393 ab3de64 Thanks @marianfoo! - Pass an explicit liveReload option when constructing @ui5/server's MiddlewareManager, preventing a startup crash (Cannot read properties of undefined (reading 'active')) when running on @ui5/server v5. The v5 server supplies the liveReload default only via a function default parameter, which is bypassed by the explicit options object passed here. No effect on @ui5/server v4.

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

  1. v3.5.1

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  2. v3.5.0

    Features 1

    Notes
    Features
  3. v3.4.1

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  4. v3.4.0

    Features 1

    Notes
    Features
  5. v3.3.5

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  6. v3.3.4

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  7. v3.3.3

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  8. v3.3.2

    Fixes 1

    Notes
    Bug Fixes
    • ui5-middleare-ui5: also consider optional dependencies (#1241) (c933da8)
  9. v3.3.1

    Fixes 1

    Notes
    Bug Fixes
  10. v3.3.0

    Features 1

    Notes
    Features
  11. v3.2.1

    Fixes 1

    Notes
    Bug Fixes
  12. v3.2.0

    Features 1

    Notes
    Features
    • enhanced v4 compat + update dependencies (#1070) (2d7ed16)
  13. v3.1.7

    Fixes 1

    Notes
    Bug Fixes
    • decouple tooling extensions from UI5 tooling version (#1058) (6694c59), closes #1054
  14. v3.1.6

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  15. v3.1.5

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  16. v3.1.4

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  17. v3.1.3

    Fixes 1

    Notes
    Bug Fixes
    • cleanup of dependencies and improved approuter logic (#984) (65ffaed)
  18. v3.1.2

    Fixes 1

    Notes
    Bug Fixes
    • ui5-middleware-ui5: ensure using forward slashes for mount path (#956) (92f1362), closes #955
  19. v3.1.1

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  20. v3.1.0

    Features 1

    Notes
    Features
    • ui5-middleware-ui5: support nested scenarios in CDS servers (#938) (5d61f18)
  21. v3.0.2

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  22. v3.0.1

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  23. v3.0.0

    Breaking 1, Features 1

    Notes
    Features
    • remove alpha version from ui5-middleware-[serveframework|ui5|websocket] (8d980ff)
    BREAKING CHANGES
    • remove alpha version suffix
  24. v3.0.0-alpha.10

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  25. v3.0.0-alpha.9

    Fixes 1

    Notes
    Bug Fixes
    • ui5-middleware-ui5: make it work without config (#897) (dd428bf)
  26. v3.0.0-alpha.8

    Features 1

    Notes
    Features
    • allow overriding configFile for UI5 app dependencies (#886) (c736648)
  27. v3.0.0-alpha.7

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  28. v3.0.0-alpha.6

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  29. v3.0.0-alpha.5

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  30. v3.0.0-alpha.4

    Fixes 1

    Notes
    Bug Fixes
    • ui5-middleware-ui5: ensure middlware stack order when hooking (#865) (7fd61f2)
  31. v3.0.0-alpha.3

    Notes

    Note: Version bump only for package ui5-middleware-ui5

  32. v3.0.0-alpha.2

    Fixes 1

    Notes
    Bug Fixes
    • ui5-middleware-ui5: make project root aware (#860) (6c8536b)
  33. v3.0.0-alpha.1

    Features 2

    Notes
    Features
    • ui5-middleware-ui5: enable UI5 app dependencies (#854) (9a55fe2)
    • ui5-middleware-ui5: serve apps via their namespace (#857) (f68e862)
290downloads per week, npm
Weekly downloads for ui5-middleware-ui526 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 290.20 Apr – 26 Apr: 63427 Apr – 3 May: 6704 May – 10 May: 54311 May – 17 May: 63018 May – 24 May: 64325 May – 31 May: 5631 Jun – 7 Jun: 6278 Jun – 14 Jun: 48915 Jun – 21 Jun: 7,25922 Jun – 28 Jun: 1,80429 Jun – 5 Jul: 7156 Jul – 12 Jul: 81013 Jul – 19 Jul: 46820 Jul – 26 Jul: 58527 Jul – 2 Aug: 5893 Aug – 9 Aug: 41710 Aug – 16 Aug: 29717 Aug – 23 Aug: 80424 Aug – 30 Aug: 54231 Aug – 6 Sept: 4007 Sept – 13 Sept: 25914 Sept – 20 Sept: 33921 Sept – 27 Sept: 45028 Sept – 4 Oct: 6315 Oct – 11 Oct: 55912 Oct – 18 Oct: 290
Build and dev-server tooling
  1. UI5 ToolsVS Code extension to serve, proxy, build and deploy UI5 projectsfrom UI5
  2. ui5-middleware-route-proxyUI5 server middleware proxying route prefixes to a backendfrom UI5
  3. ui5-task-cachebuster-indexingUI5 builder task preparing build output for the cachebusterfrom UI5
  4. ui5-task-transpile-genUI5 builder task transpiling ES6 to ES5 with Babelfrom UI5
  5. ui5-middleware-odata-recorderUI5 middleware recording OData traffic as mock server datasetsfrom UI5
  6. ui5-plugin-loaderUI5 Tooling v4 extension that registers other extensionsfrom UI5
  7. ui5-deployerUI5 Tooling module deploying Fiori/UI5 apps to SAP systemsfrom UI5
  8. ui5-task-dts-generatorUI5 builder task generating d.ts type declarationsfrom UI5
  9. ui5-task-minifierUI5 builder task minifying HTML, CSS and JSON filesfrom UI5
  10. ui5-middleware-oidcUI5 dev server middleware adding an OpenID Connect loginfrom UI5
  11. generator-ui5-library-af-deployYeoman generator for Application Frontend config in UI5 librariesfrom UI5
  12. ui5-middleware-destinationUI5 Tooling middleware proxying destinations and neo-app.json routesfrom UI5
  13. ui5-task-check-eocpUI5 build task warning when the app's UI5 version reaches EOCPfrom UI5
  14. @ui5/cliUI5 Tooling command line for project setup, dev server and buildfrom UI5
  15. ui5-task-btp-manifestUI5 Tooling task writing the service name into the importer manifestfrom UI5
  16. ui5-middleware-approuterUI5 CLI middleware proxying the dev server through @sap/approuterfrom UI5
  17. ui5-middleware-capUI5 CLI middleware running a CDS server inside the UI5 dev serverfrom UI5
  18. ui5-middleware-hmrExperimental UI5 middleware for hot module replacementfrom UI5
  19. ui5-middleware-iasyncUI5 middleware syncing interactions across browsers over websocketfrom UI5
  20. ui5-middleware-indexUI5 middleware serving a chosen welcome page at the root pathfrom UI5
  21. ui5-middleware-livereloadLive reload middleware for the UI5 dev serverfrom UI5
  22. ui5-middleware-oneloginUI5 middleware logging in with Playwright and reusing the sessionfrom UI5
  23. ui5-middleware-serveframeworkUI5 middleware serving a locally built UI5 frameworkfrom UI5
  24. ui5-middleware-servestaticUI5 middleware serving static resources from a path or npm packagefrom UI5
  25. ui5-middleware-simpleproxyDev-server middleware proxying requests to a backend systemfrom UI5
  26. ui5-middleware-webjarsUI5 middleware serving static resources from JAR files (WebJars)from UI5
  27. ui5-middleware-websocketWebSocket support for Express-based dev servers such as UI5'sfrom UI5
  28. ui5-task-cachebusterUI5 builder task cachebusting standalone UI5 applicationsfrom UI5
  29. ui5-task-copyrightUI5 builder task appending copyright headers to source filesfrom UI5
  30. ui5-task-flatten-libraryUI5 builder task flattening library output for SAP NetWeaverfrom UI5
  31. ui5-task-i18ncheckUI5 builder task checking XML views for missing i18n textsfrom UI5
  32. ui5-task-minify-xmlUI5 builder task minifying XML views and fragmentsfrom UI5
  33. ui5-task-pwa-enablerUI5 builder task turning a UI5 app into a progressive web appfrom UI5
  34. ui5-task-zipperBuild task packaging the UI5 build result as a zip archivefrom UI5
  35. ui5-tooling-lessUI5 CLI extension compiling Less files into CSSfrom UI5
  36. ui5-tooling-modulesUI5 tooling extensions loading npm packages as UI5 modulesfrom UI5
  37. ui5-tooling-stringreplaceUI5 CLI extension for string replacement during the buildfrom UI5
  38. ui5-tooling-transpileUI5 CLI extension transpiling code during the UI5 buildfrom UI5
  39. @ui5/loggerInternal logger of the UI5 CLIfrom UI5
  40. @ui5/middleware-code-coverageUI5 CLI middleware for Istanbul code coveragefrom UI5
  41. @ui5/tooling-webcDeprecated UI5 Tooling extensions for UI5 Web Components wrappersfrom UI5

Details

Sources4
Added by handdiscovered herechecked
npm registry, ui5-middleware-ui5version, releases, installschecked
github.com/https://github.com/ui5-community/ui5-ecosystem-showcase.gittree, pushes, contributors, CIchecked
packages/ui5-middleware-ui5/README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
latestv3.5.2
first release
releases and cadence34, ~44d median
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainui5, developer-experience
Contributors5

From the repository’s contributor list, .

History in the atlas1
  1. First seen.
For your agent
Ref
artifact:ui5-community-ui5-middleware-ui5
JSON
/artifacts/ui5-community-ui5-middleware-ui5.json
MCP
Connecting an agent