GeneratorGeneratortypeCreates a project, a component or configuration once, when you run it, rather than taking part in every build.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

generator-ui5-library-af-deploy

A Yeoman generator that writes the SAP BTP Application Frontend deployment configuration, mta.yaml, ui5-deploy.yaml, xs-app.json and xs-security.json, into an existing UI5 library project.

Run it in a library project and it reads ui5.yaml and src/, detects the namespace from library.ts/library.js, then writes mta.yaml, ui5-deploy.yaml with ui5-task-zipper configured for a library build, xs-app.json and xs-security.json, and adds the build and deploy scripts to package.json. It is the deployment half of a library that UI5 Tooling leaves to you.

Facts

Latestv0.1.0ReleasedLast pushLicenceMIT

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.
Runs
Cloud Foundry
Requires
SAP HTML5 Application Repository service for SAP BTPSAP HTML5 Application Repository service for SAP BTPartifactNamed as a dependency in its documentation.

Who is behind it

Mio YasutakeMio YasutakePersonMaintains this
In the atlas: maintains 47, contributes to 47, wrote 10
@miyasuta
maintainer

Before choosing this

Conditions

PracticalFunctional boundary

It targets the Application Frontend service only — not the HTML5 application repository — fixes authentication to IAS, and always creates new service instances, so reusing existing ones means editing the generated mta.yaml afterwards. Version 0.1.0 is the only release.

What it declares

Every artifact

Type
Generator
Origin
Independently maintained
Runtime
build time
Runs on
Cloud Foundry

As a generator

Generates
Configuration
Run with
Yeoman
Distributed through
npm

Connections2

Install

npm add generator-ui5-library-af-deploy

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

Learn more1

Readings
  1. UI Composition with Application Frontend ServiceVadim Tomnikov, SAP Community

README

quoted from miyasuta/fiori-use-library-appfrontend under MIT, read
miyasuta/fiori-use-library-appfrontend/generator-ui5-library-af-deploy/README.mdOn GitHub

generator-ui5-library-af-deploy

Yeoman generator that adds SAP BTP Application Frontend deployment configuration to a UI5 library project.

Installation

npm install -g yo generator-ui5-library-af-deploy

Usage

cd path/to/your-ui5-library
yo ui5-library-af-deploy

What it does

The generator reads ui5.yaml and the src/ directory structure of the current project, then:

  1. Detects the library namespace from src/<path>/library.{ts,js}.
  2. If metadata.name in ui5.yaml does not match the detected namespace, asks for confirmation and rewrites the line for you (answering "no" aborts the generator).
  3. Creates the following deploy configuration files:
    • mta.yaml — MTA module + resources for Application Frontend + XSUAA
    • ui5-deploy.yaml — UI5 build config with ui5-task-zipper configured for library builds
    • xs-app.json — Routing config with app-front service and IAS authentication
    • xs-security.json — XSUAA xsappname (matches the archive name)
  4. Updates package.json:
    • Adds build:cf, build:mta, deploy scripts
    • Adds ui5-task-zipper, mbt, rimraf to devDependencies

Requirements

  • UI5 library project (type: library in ui5.yaml)
  • A single src/<namespace-path>/library.{ts,js} entry point
  • framework.version and framework.libraries set in ui5.yaml

After running

npm install
npm run build:cf
npm run build:mta
npm run deploy

Limitations (MVP)

  • Targets Application Frontend service only (not the classic HTML5 App Repo)
  • Authentication type is fixed to ias
  • Always creates new service instances. If you want to reuse existing instances, adjust mta.yaml after running the generator.

Design

See docs/superpowers/specs/2026-05-23-library-af-deploy-generator-design.md.

MIT, read

History

Latest

v0.1.0

0downloads per week, npm
Weekly downloads for generator-ui5-library-af-deploy26 complete calendar weeks from 2026-04-27 to 2026-10-25; the latest total is 0.27 Apr – 3 May: 04 May – 10 May: 011 May – 17 May: 018 May – 24 May: 025 May – 31 May: 1441 Jun – 7 Jun: 148 Jun – 14 Jun: 1815 Jun – 21 Jun: 2222 Jun – 28 Jun: 1729 Jun – 5 Jul: 96 Jul – 12 Jul: 513 Jul – 19 Jul: 620 Jul – 26 Jul: 527 Jul – 2 Aug: 13 Aug – 9 Aug: 110 Aug – 16 Aug: 317 Aug – 23 Aug: 624 Aug – 30 Aug: 1231 Aug – 6 Sept: 67 Sept – 13 Sept: 1314 Sept – 20 Sept: 521 Sept – 27 Sept: 228 Sept – 4 Oct: 35 Oct – 11 Oct: 012 Oct – 18 Oct: 219 Oct – 25 Oct: 0
Build and dev-server tooling
  1. UI5 ToolsVS Code extension to serve, proxy, build and deploy UI5 projects
  2. ui5-middleware-route-proxyUI5 server middleware proxying route prefixes to a backend
  3. ui5-task-cachebuster-indexingUI5 builder task preparing build output for the cachebuster
  4. ui5-task-transpile-genUI5 builder task transpiling ES6 to ES5 with Babel
  5. ui5-middleware-odata-recorderUI5 middleware recording OData traffic as mock server datasets
  6. ui5-plugin-loaderUI5 Tooling v4 extension that registers other extensions
  7. ui5-deployerUI5 Tooling module deploying Fiori/UI5 apps to SAP systems
  8. ui5-task-dts-generatorUI5 builder task generating d.ts type declarations
  9. ui5-task-minifierUI5 builder task minifying HTML, CSS and JSON files
  10. ui5-middleware-oidcUI5 dev server middleware adding an OpenID Connect login
  11. ui5-middleware-destinationUI5 Tooling middleware proxying destinations and neo-app.json routes
  12. ui5-task-check-eocpUI5 build task warning when the app's UI5 version reaches EOCP
  13. @ui5/cliUI5 Tooling command line for project setup, dev server and build
  14. ui5-task-btp-manifestUI5 Tooling task writing the service name into the importer manifest
  15. ui5-middleware-approuterUI5 CLI middleware proxying the dev server through @sap/approuter
  16. ui5-middleware-capUI5 CLI middleware running a CDS server inside the UI5 dev server
  17. ui5-middleware-hmrExperimental UI5 middleware for hot module replacement
  18. ui5-middleware-iasyncUI5 middleware syncing interactions across browsers over websocket
  19. ui5-middleware-indexUI5 middleware serving a chosen welcome page at the root path
  20. ui5-middleware-livereloadLive reload middleware for the UI5 dev server
  21. ui5-middleware-oneloginUI5 middleware logging in with Playwright and reusing the session
  22. ui5-middleware-serveframeworkUI5 middleware serving a locally built UI5 framework
  23. ui5-middleware-servestaticUI5 middleware serving static resources from a path or npm package
  24. ui5-middleware-simpleproxyDev-server middleware proxying requests to a backend system
  25. ui5-middleware-ui5UI5 middleware including one UI5 application in another
  26. ui5-middleware-webjarsUI5 middleware serving static resources from JAR files (WebJars)
  27. ui5-middleware-websocketWebSocket support for Express-based dev servers such as UI5's
  28. ui5-task-cachebusterUI5 builder task cachebusting standalone UI5 applications
  29. ui5-task-copyrightUI5 builder task appending copyright headers to source files
  30. ui5-task-flatten-libraryUI5 builder task flattening library output for SAP NetWeaver
  31. ui5-task-i18ncheckUI5 builder task checking XML views for missing i18n texts
  32. ui5-task-minify-xmlUI5 builder task minifying XML views and fragments
  33. ui5-task-pwa-enablerUI5 builder task turning a UI5 app into a progressive web app
  34. ui5-task-zipperBuild task packaging the UI5 build result as a zip archive
  35. ui5-tooling-lessUI5 CLI extension compiling Less files into CSS
  36. ui5-tooling-modulesUI5 tooling extensions loading npm packages as UI5 modules
  37. ui5-tooling-stringreplaceUI5 CLI extension for string replacement during the build
  38. ui5-tooling-transpileUI5 CLI extension transpiling code during the UI5 build
  39. @ui5/loggerInternal logger of the UI5 CLI
  40. @ui5/middleware-code-coverageUI5 CLI middleware for Istanbul code coverage
  41. @ui5/tooling-webcDeprecated UI5 Tooling extensions for UI5 Web Components wrappers

Details

Sources5
npm registrydiscovered herechecked
GitHub APIdiscovered here, miyasutachecked
npm registry, generator-ui5-library-af-deployversion, releases, installschecked
generator-ui5-library-af-deploy/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
runtimesbuild-time
deploymentCloud Foundry
latestv0.1.0
first release
releases and cadence1
discovered vianpm registry, GitHub API · miyasuta
first seen in the atlas
ecosystem and domainui5, developer-experience
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:miyasuta-generator-ui5-library-af-deploy
JSON
/artifacts/miyasuta-generator-ui5-library-af-deploy.json
MCP
Connecting an agent