Build toolBuild tooltypeRuns at build time. Nothing of it ships in the deployed application.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 →

ui5-task-dts-generator

A UI5 builder task that generates d.ts files, TypeScript type declarations, during the build of a UI5 library written in JavaScript, by wrapping @ui5/dts-generator.

A UI5 library written in JavaScript has no type declarations for TypeScript users unless someone produces them. This task runs the generation inside the UI5 build and wraps @ui5/dts-generator, which its package.json lists as a dependency. It is entered under builder > customTasks in ui5.yaml with afterTask: generateResourcesJson, so it runs once the resources JSON exists. Because UI5 Tooling does not recognise dev dependencies, the README says the task has to be listed in the ui5 > dependencies array of the project's package.json.

Facts

Latestv1.0.0ReleasedLast pushLicenceMIT

Where it sits

Lives in
Provides
TypeScript supportUI5TypeScript supportcapabilityWriting apps and libraries in TypeScript — the type definitions, the module syntax the loader expects, and the build step that gets from one to the other.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

Mauricio LaufferMauricio LaufferPersonMaintains this
In the atlas: maintains 16, contributes to 41, wrote 4
@mauriciolauffer
maintainer

What it declares

Every artifact

Type
Build tool
Origin
Independently maintained

As a build tool

Distributed through
npm

Connections2

Install

npm add ui5-task-dts-generator

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

README

quoted from mauriciolauffer/ui5-task-dts-generator under MIT, read
mauriciolauffer/ui5-task-dts-generator/README.mdOn GitHub

ui5-task-dts-generator

Task for ui5-builder which generates d.ts files (TypeScript type declaration file).

Install

npm install ui5-task-dts-generator --save-dev

Usage

  1. Define the dependency in $yourapp/package.json:
"devDependencies": {
    // ...
    "ui5-task-dts-generator": "*"
    // ...
},
"ui5": {
  "dependencies": [
    // ...
    "ui5-task-dts-generator",
    // ...
  ]
}

As the devDependencies are not recognized by the UI5 tooling, they need to be listed in the ui5 > dependencies array. In addition, once using the ui5 > dependencies array you need to list all UI5 tooling relevant dependencies.

  1. Configure it in $yourapp/ui5.yaml:
builder:
  customTasks:
  - name: ui5-task-dts-generator
    afterTask: generateResourcesJson

Author

Mauricio Lauffer

License

MIT

MIT, read

History

Latest

v1.0.0

Features 1

Notes
Features
2downloads per week, npm
Weekly downloads for ui5-task-dts-generator26 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 2.20 Apr – 26 Apr: 227 Apr – 3 May: 24 May – 10 May: 411 May – 17 May: 218 May – 24 May: 325 May – 31 May: 21 Jun – 7 Jun: 18 Jun – 14 Jun: 215 Jun – 21 Jun: 222 Jun – 28 Jun: 129 Jun – 5 Jul: 16 Jul – 12 Jul: 313 Jul – 19 Jul: 020 Jul – 26 Jul: 227 Jul – 2 Aug: 13 Aug – 9 Aug: 110 Aug – 16 Aug: 417 Aug – 23 Aug: 424 Aug – 30 Aug: 231 Aug – 6 Sept: 17 Sept – 13 Sept: 314 Sept – 20 Sept: 421 Sept – 27 Sept: 228 Sept – 4 Oct: 25 Oct – 11 Oct: 012 Oct – 18 Oct: 2

Others providing47

TypeScript support
  1. @openui5/sap.ui.coreFramework core: module loader, MVC runtime, binding, routing, themingfrom UI5
  2. babel-preset-transform-ui5Babel transformer from modern ES or TypeScript to UI5 module syntaxfrom UI5
  3. @ui5-community/jsx-runtimePlugin-based JSX runtime for UI5 views written as .tsxfrom UI5
  4. ui5-task-transpileUI5 Tooling task transpiling TypeScript and ES modulesfrom UI5
  5. @ui5/mcp-serverMCP server for UI5 development with ten toolsfrom UI5
  6. @ui5/webcomponentsSAP's UI elements as standard custom elementsfrom UI5
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-minifierUI5 builder task minifying HTML, CSS and JSON filesfrom UI5
  9. ui5-middleware-oidcUI5 dev server middleware adding an OpenID Connect loginfrom UI5
  10. generator-ui5-library-af-deployYeoman generator for Application Frontend config in UI5 librariesfrom UI5
  11. ui5-middleware-destinationUI5 Tooling middleware proxying destinations and neo-app.json routesfrom UI5
  12. ui5-task-check-eocpUI5 build task warning when the app's UI5 version reaches EOCPfrom UI5
  13. @ui5/cliUI5 Tooling command line for project setup, dev server and buildfrom UI5
  14. ui5-task-btp-manifestUI5 Tooling task writing the service name into the importer manifestfrom UI5
  15. ui5-middleware-approuterUI5 CLI middleware proxying the dev server through @sap/approuterfrom UI5
  16. ui5-middleware-capUI5 CLI middleware running a CDS server inside the UI5 dev serverfrom UI5
  17. ui5-middleware-hmrExperimental UI5 middleware for hot module replacementfrom UI5
  18. ui5-middleware-iasyncUI5 middleware syncing interactions across browsers over websocketfrom UI5
  19. ui5-middleware-indexUI5 middleware serving a chosen welcome page at the root pathfrom UI5
  20. ui5-middleware-livereloadLive reload middleware for the UI5 dev serverfrom UI5
  21. ui5-middleware-oneloginUI5 middleware logging in with Playwright and reusing the sessionfrom UI5
  22. ui5-middleware-serveframeworkUI5 middleware serving a locally built UI5 frameworkfrom 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-task-dts-generatorversion, releases, installschecked
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
latestv1.0.0
first release
releases and cadence1
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainui5, developer-experience
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:mauriciolauffer-ui5-task-dts-generator
JSON
/artifacts/mauriciolauffer-ui5-task-dts-generator.json
MCP
Connecting an agent