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, theming
  2. babel-preset-transform-ui5Babel transformer from modern ES or TypeScript to UI5 module syntax
  3. @ui5-community/jsx-runtimePlugin-based JSX runtime for UI5 views written as .tsx
  4. ui5-task-transpileUI5 Tooling task transpiling TypeScript and ES modules
  5. @ui5/mcp-serverMCP server for UI5 development with ten tools
  6. @ui5/webcomponentsSAP's UI elements as standard custom elements
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-minifierUI5 builder task minifying HTML, CSS and JSON files
  9. ui5-middleware-oidcUI5 dev server middleware adding an OpenID Connect login
  10. generator-ui5-library-af-deployYeoman generator for Application Frontend config in UI5 libraries
  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

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