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-serveframework

A UI5 middleware that serves a UI5 framework built on the local machine to the dev server, in place of a framework version resolved another way.

Serves a UI5 framework built on the local machine to the dev server, in place of a framework version resolved another way. The registry page carries no README, so how it is configured is not documented there.

Facts

Latestv3.8.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
Frank HufnagelPersonContributes to this
In the atlas: contributes to 8
@FrankVisuals
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
TaldykinVyacheslavPersonContributes to this
In the atlas: contributes to 7
@TaldykinVyacheslav
6 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-serveframework

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-serveframework/README.mdOn GitHub

UI5 middleware to serve a locally built UI5 framework version

👋 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, delivering the UI5 framework from a locally built version. The first time a UI5 version is being used (derived from the framework configuration of the project), it will be built and locally stored in the ~/.ui5/ui5-middleware-serveframework folder per version. For any follow-up usage of the version, it will be served from the local folder. Benefits are the usage of the preload files and pure static file access.

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-serveframework --save-dev

Configuration options (in $yourapp/ui5.yaml)

  • debug: boolean, default: false
  • ui5VersionEnvVariable: string Name of environment variable that contains ui5 version (in case you want to override framework version from ui5.yaml)
  • envFilePath: string, default: ./.env Path to file with environment variables
  • strictSSL: boolean Ignore strict SSL checks. Default value true.
  • saveLibsLocal: boolean, default: false When enabled, libraries are saved in the project directory (.ui5-middleware-serveframework) instead of the user home directory. While this isolates the libraries per project, it requires additional disk space and compilation time compared to sharing compiled libraries across projects.
  • cachePath: string Custom path to store cached framework files. By default, files are stored in the user home directory (~/.ui5/ui5-middleware-serveframework) or project directory depending on saveLibsLocal setting.

Usage

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

How it works

The middleware looks-up the UI5 framework version in the ui5.yaml and then first builds the framework with all libraries locally and serves the content of those libraries from there.

Development

If you want to contribute to ui5-middleware-serveframework, please use Prettier for code formatting/style and apply the rules from ./.prettierrc. Thanks 🙏!

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.8.2

Fixes 1

Notes
Patch Changes
  • #1370 dd71c42 Thanks @petermuessig! - Bump runtime dependencies to clear open dependabot alerts and pick up upstream patch releases:
    • cds-plugin-ui5: semver ^7.8.0 → ^7.8.1
    • ui5-middleware-approuter: @sap/approuter ^22.0.0 → ^22.0.1
    • ui5-middleware-serveframework: node-fetch ^2.7.0 → ^3.3.2
    • ui5-middleware-websocket: ws ^8.20.1 → ^8.21.0
    • ui5-task-copyright: @typescript-eslint/typescript-estree ^8.59.3 → ^8.60.0
    • ui5-tooling-transpile: @babel/core, @babel/preset-env, @babel/preset-typescript → ^7.29.7

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

  1. v3.8.1

    Notes

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

  2. v3.8.0

    Features 1

    Notes
    Features
  3. v3.7.1

    Notes

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

  4. v3.7.0

    Features 1

    Notes
    Features
  5. v3.6.3

    Notes

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

  6. v3.6.2

    Notes

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

  7. v3.6.1

    Fixes 1

    Notes
    Bug Fixes
  8. v3.6.0

    Features 1

    Notes
    Features
    • ui5-middleware-serveframework: respect defined libraries in local config (#1221) (09cfc5f)
  9. v3.5.0

    Features 1

    Notes
    Features
  10. v3.4.0

    Features 1

    Notes
    Features
    • ui5-middleware-serverframework: custom path to save libs (#1130) (4ddfec7)
  11. v3.3.1

    Fixes 1

    Notes
    Bug Fixes
    • ui5-middleware-serveframework: include mandatory dependency to @ui5/builder (#1127) (d34721a)
  12. v3.3.0

    Features 1

    Notes
    Features
    • ui5-middleware-serveframework: allow usage with self signed certificates (#1073) (089fdbc)
  13. v3.2.0

    Features 1

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

    Fixes 1

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

    Notes

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

  16. v3.1.1

    Notes

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

  17. v3.1.0

    Features 1

    Notes
    Features
    • ui5-middleware-serveframework: provide custom ui5 version from environment variable (#978) (ce420af)
  18. v3.0.6

    Fixes 1

    Notes
    Bug Fixes
    • ui5-middleware-serveframework: make workspace detection work os independent (#974) (dfa4e1a)
  19. v3.0.5

    Fixes 1

    Notes
    Bug Fixes
    • ui5-middleware-serveframework: improved workspace detection (#972) (16d157f)
  20. v3.0.4

    Notes

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

  21. v3.0.3

    Notes

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

  22. v3.0.2

    Notes

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

  23. v3.0.1

    Fixes 1

    Notes
    Bug Fixes
    • ui5-middleware-serveframework: disable for UI5 workspaces (#917) (e8f726e)
  24. 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
  25. v3.0.0-alpha.4

    Fixes 1

    Notes
    Bug Fixes
    • ui5-middleware-serveframework: enable proxy support (#891) (5933d8e), closes #890
  26. v3.0.0-alpha.3

    Notes

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

  27. v3.0.0-alpha.2

    Fixes 1

    Notes
    Bug Fixes
    • ui5-middleware-serveframework: ignore directories (#855) (9fb1e67)
  28. v3.0.0-alpha.1

    Features 1

    Notes
    Features
    • ui5-middleware-serveframework: serves a built variant of the configured UI5 framework (#840) (8afb3ef)
1,305downloads per week, npm
Weekly downloads for ui5-middleware-serveframework26 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 1305.20 Apr – 26 Apr: 2,89627 Apr – 3 May: 2,6854 May – 10 May: 2,80611 May – 17 May: 2,42618 May – 24 May: 2,29325 May – 31 May: 3,6551 Jun – 7 Jun: 1,0458 Jun – 14 Jun: 1,95215 Jun – 21 Jun: 3,31322 Jun – 28 Jun: 1,88029 Jun – 5 Jul: 1,3566 Jul – 12 Jul: 2,20713 Jul – 19 Jul: 1,87720 Jul – 26 Jul: 2,58127 Jul – 2 Aug: 2,6973 Aug – 9 Aug: 2,43910 Aug – 16 Aug: 2,04317 Aug – 23 Aug: 2,60224 Aug – 30 Aug: 1,22431 Aug – 6 Sept: 2,0417 Sept – 13 Sept: 1,66914 Sept – 20 Sept: 2,09521 Sept – 27 Sept: 1,05128 Sept – 4 Oct: 2,2315 Oct – 11 Oct: 1,61512 Oct – 18 Oct: 1,305
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-servestaticUI5 middleware serving static resources from a path or npm packagefrom UI5
  24. ui5-middleware-simpleproxyDev-server middleware proxying requests to a backend systemfrom UI5
  25. ui5-middleware-ui5UI5 middleware including one UI5 application in anotherfrom 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-serveframeworkversion, releases, installschecked
github.com/https://github.com/ui5-community/ui5-ecosystem-showcase.gittree, pushes, contributors, CIchecked
packages/ui5-middleware-serveframework/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.8.2
first release
releases and cadence29, ~57d median
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainui5, developer-experience
Contributors6
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:ui5-community-ui5-middleware-serveframework
JSON
/artifacts/ui5-community-ui5-middleware-serveframework.json
MCP
Connecting an agent