Registry / devops / ui5-tooling-transpile

ui5-tooling-transpile

JSON →
library3.11.0jsnpmunverified

UI5 CLI extension that provides a middleware and task to transpile JavaScript or TypeScript code to ES5 using Babel. Version 3.11.0, actively maintained by the UI5 community. Supports on-the-fly development server transpilation with sourcemaps for debugging original ES6+/TS sources, and a build task that generates bundled transpiled output including d.ts files for libraries. Configuration-driven via ui5.yaml with support for custom Babel configs, include/exclude patterns, and TypeScript auto-detection via tsconfig.json. Requires @ui5/cli@3.0.0+ and specVersion 3.0.0. Key differentiator: tight integration with UI5's build tooling without modifying the application codebase.

npm install ui5-tooling-transpile
INSTALL
IMPORT
SIG · UI5-TOOLING-TRANSP
U
ui5-tooling-transpile
devopsjavascriptv3.11.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ui5-tooling-transpile
npm install ui5-tooling-transpile --save-dev
This is a CLI extension, not a library. Install as dev dependency and configure in ui5.yaml. No JavaScript/TypeScript import needed.
ui5.yaml configuration
server: customMiddleware: - name: ui5-tooling-transpile/middleware afterMiddleware: compression builder: customTasks: - name: ui5-tooling-transpile/task afterTask: replaceVersion
import ui5-tooling-transpile from 'ui5-tooling-transpile'
Configure in ui5.yaml, not imported in source code.
specVersion
specVersion: "3.0"
specVersion: "2.0"
Requires specVersion 3.0+ in ui5.yaml.

Installs the package as dev dependency and configures middleware and build task in ui5.yaml for TypeScript transpilation.

npm install ui5-tooling-transpile @ui5/cli --save-dev # ui5.yaml (specVersion: "3.0") server: customMiddleware: - name: ui5-tooling-transpile/middleware afterMiddleware: compression configuration: debug: true transformTypeScript: true excludes: - /lib/ builder: customTasks: - name: ui5-tooling-transpile/task afterTask: replaceVersion configuration: transformTypeScript: true echo "Configured. Run 'ui5 serve' or 'ui5 build' to transpile."
ui5 --version
Debug
Known issues
breakingVersion 3.x requires @ui5/cli@3.0.0+ and specVersion: "3.0". Version 2.x uses older CLI and specVersion.
fix
Upgrade @ui5/cli to >=3.0.0 and set specVersion: "3.0" in ui5.yaml.
affects: >=3.0.0
deprecatedThe configuration aliases 'includePatterns' (use 'includes') and 'excludePatterns' (use 'excludes') are deprecated.
fix
Use 'includes' and 'excludes' instead of deprecated aliases.
affects: >=3.0.0
deprecatedThe configuration option 'transpileTypeScript' is deprecated in favor of 'transformTypeScript'.
fix
Use 'transformTypeScript' instead of 'transpileTypeScript'.
affects: >=3.0.0
gotchaTypeScript detection relies on existence of tsconfig.json in project root. If using an alternate location, set 'altTsConfig' and 'transformTypeScript: true'.
fix
Explicitly set 'transformTypeScript: true' and provide 'altTsConfig' path.
affects: *
gotchaSourcemaps are inlined. Debug breakpoints in original source will stop at the corresponding transpiled code, not the original source line.
fix
Use browser devtools sourcemap support; be aware of mapping offset.
affects: *
Errors
Common errors & fixes
ui5 build -- Error: specVersion "2.0" not supported. Use specVersion "3.0".
Legacy ui5.yaml specVersion incompatible with this extension.
fix
Update ui5.yaml: specVersion: "3.0"
Cannot find module 'ui5-tooling-transpile/middleware'
Missing or incorrect dependency installation.
fix
Run 'npm install ui5-tooling-transpile --save-dev' and ensure node_modules contains it.
Error: Configuration option 'includePatterns' is deprecated. Use 'includes' instead.
Using deprecated configuration alias.
fix
Replace 'includePatterns' with 'includes' in ui5.yaml.
TypeScript transpilation not working, tsconfig.json not found.
Automatic TypeScript detection fails without tsconfig.json in root.
fix
Create tsconfig.json in project root or set 'transformTypeScript: true' and provide 'altTsConfig' path.
Upgrade
Version history
3.11.0latest on npm
Audit
Dependencies
@ui5/ts-interface-generatoroptionalUsed when generateTsInterfaces option is enabled; not always required.
Agent activity
12 hits · last 30 days
node
10
Amazon
1
Resources
ui5-tooling-transpile — npm install ui5-tooling-transpile · libregistry