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-task-zipper

A build task for the UI5 tooling that packages the UI5 build result, the webapp, as a zip archive at the end of the build.

Task for the UI5 tooling to zip the webapp.

Facts

Latestv3.7.0ReleasedLast 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.
Flavors

Who is behind it

UI5 CommunityUI5 CommunityOrganisationMaintains this
In the atlas: maintains 69
@ui5-community
maintainerAdrian BobevPersonContributes to this
In the atlas: contributes to 10
@adrian-bobev
Attila BorosPersonContributes to this
In the atlas: contributes to 6
@attila-boros
Benjamin ReimPersonContributes to this
In the atlas: contributes to 9
@BenReim
Christian GeorgiPersonContributes to this
In the atlas: maintains 1, contributes to 53
@chgeo
Frank WeigelPersonContributes to this
In the atlas: contributes to 10
@codeworrior
David SooterPersonContributes to this
In the atlas: contributes to 9
@d-sooter
Yavor IvanovPersonContributes to this
In the atlas: contributes to 17
@d3xter666
Austin DevinePersonContributes to this
In the atlas: maintains 7, contributes to 25
@devinea
Dimitar FenerskiPersonContributes to this
In the atlas: contributes to 23
@dfenerski
Dominik FeiningerPersonContributes to this
In the atlas: contributes to 11
@dominikfeininger
58 contributors

What it declares

Every artifact

Type
Build tool
Origin
By a community org
Runtime
Node.js

As a build tool

Distributed through
npm

Connections2

Install

npm add ui5-task-zipper

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

UI5 task for zipping all project resources

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

Task for ui5-builder, enabling zipping.

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-task-zipper --save-dev

Configuration options (in $yourapp/ui5.yaml)

  • debug: true|false Verbose logging

  • archiveName: String Desired name for the .zip archive. Default value: <app-id.zip>

  • additionalFiles: String<Array> or Object<Array> List of files to be included in the ZIP archive relative to the project root or Map of of files to be included in the ZIP archive relative to the project root and target path in the ZIP archive.

  • includes: String<Array> (old alias: includePatterns) List of glob patterns matched against the archive-relative resource paths. When provided, only build resources matching at least one pattern are added to the archive (allow-list), e.g. Component.js, manifest.json, css/**.

  • excludes: String<Array> (old alias: excludePatterns) List of glob patterns matched against the archive-relative resource paths. Build resources matching any pattern are omitted from the archive, e.g. **/*.map, **/*-dbg.js. Unlike the native builder.resources.excludes in ui5.yaml (which only filters source files), this also removes files generated during the build such as source maps and debug bundles. The additionalFiles are not affected by these patterns.

  • onlyZip: true|false Set this to true to omit the resources contained in the ZIP from the build result (typically in the dist folder). By default, the build result contains all resources and the ZIP.

  • includeDependencies: true|false or String<Array> Set this to true if you also want to include the dependencies (UI5 libraries) in the zip archive. Otherwise, it will only include the workspace files (controller, views, etc). In order to select only specific dependencies to be included in the final zip you just need to specify the list of dependencies (value of ui5.yaml: metadata > name).

  • relativePaths true|false Set this to true if you want to turn absolute data source paths in the manifest.json into relative paths, e.g. "uri": "/backend/" will be turned into "uri": "backend/" upon ZIP creation. This is useful when deploying the ZIP to the HTML Application Repository on SAP BTP, Cloud Foundry environment to later consume it in SAP Build Work Zone, standard edition, which only supports relative paths.

NOTE: Starting with release 3.0.5, the ui5-task-zipper includes the generated workspace resources such as the self-contained bundles (sap-ui-custom.* files). To do so, it is important that the ui5-task-zipper is running as last task in the build.

Usage

  1. Define the dependency in $yourapp/package.json:
"devDependencies": {
    // ...
    "ui5-task-zipper": "*"
    // ...
}
  1. configure it in $yourapp/ui5.yaml:
builder:
  customTasks:
  - name: ui5-task-zipper
    afterTask: generateVersionInfo
    configuration:
      archiveName: "webapp"
      additionalFiles:
        "app/foo/xs-app.json":      # source path will be used as target path
        "path/to/foo.js": "foo.js"  # file will be placed in root of ZIP file
        "path/to/files/bar.js": "some/custom/dir/bar.js"
Select the dependencies to include

With the configuration option includeDependencies you can also specifiy a list of dependencies to be included in the zip file. To do so, specify a list of dependencies using their ui5.yaml: metadata > name property:

builder:
  customTasks:
  - name: ui5-task-zipper
    afterTask: generateVersionInfo
    configuration:
      includeDependencies:
      - sap.ui.table
      - ui5.ecosystem.demo.lib
Include or exclude files from the archive

Use the excludes option to strip files from the archive that are generated during the build but not needed for a production deployment, such as source maps (.map) and debug bundles (-dbg.js). Use the includes option to restrict the archive to an allow-list of resources. Both options accept an array of glob patterns (matched against the archive-relative resource paths):

builder:
  customTasks:
  - name: ui5-task-zipper
    afterTask: generateVersionInfo
    configuration:
      archiveName: "my-app-deployment"
      # exclude generated artifacts from the archive
      excludes:
        - "**/*.map"
        - "**/*-dbg.js"
      # or: only include these resources in the archive
      includes:
        - "Component.js"
        - "manifest.json"
        - "css/**"
        - "i18n/**"

If a resource matches both an includes and an excludes pattern, excludes wins.

How it works

The task can be used to zip all project resources in an archive.

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

Features 1

Notes
Minor Changes
  • #1429 da06786 Thanks @petermuessig! - feat(ui5-task-zipper): add includes/excludes glob filtering for the archive

    The native builder.resources.excludes in ui5.yaml only filters source files and cannot remove artifacts created during the build (source maps, -dbg.js debug bundles). Two new configuration options let you shape the archive contents directly:

    • excludes: glob patterns for build resources to omit from the archive, e.g. **/*.map, **/*-dbg.js — keeping production deployment archives lightweight.
    • includes: glob patterns restricting the archive to an allow-list of resources, e.g. Component.js, manifest.json, css/**.

    Patterns are matched via minimatch. Both options accept includePatterns / excludePatterns as backward-compatible aliases (following the ui5-tooling-transpile naming convention). excludes wins over includes, and additionalFiles are not affected by the patterns.

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

  1. v3.6.1

    Notes

    Note: Version bump only for package ui5-task-zipper

  2. v3.6.0

    Features 1

    Notes
    Features
  3. v3.5.1

    Notes

    Note: Version bump only for package ui5-task-zipper

  4. v3.5.0

    Features 1

    Notes
    Features
  5. v3.4.4

    Notes

    Note: Version bump only for package ui5-task-zipper

  6. v3.4.3

    Notes

    Note: Version bump only for package ui5-task-zipper

  7. v3.4.2

    Fixes 1

    Notes
    Bug Fixes
  8. v3.4.1

    Fixes 1

    Notes
    Bug Fixes
    • ui5-task-zipper: recreate escaped single quotes in Component-preload.js (#1168) (a672eab)
  9. v3.4.0

    Features 1

    Notes
    Features
  10. v3.3.3

    Fixes 1

    Notes
    Bug Fixes
    • ui5-task-zipper: escape stringified json (#1159) (ea10350)
  11. v3.3.2

    Fixes 1

    Notes
    Bug Fixes
    • ui5-task-zipper: also fix relative path in Component-preload.js (#1152) (7b157d6)
  12. v3.3.1

    Fixes 1

    Notes
    Bug Fixes
  13. v3.3.0

    Features 1

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

    Notes

    Note: Version bump only for package ui5-task-zipper

  15. v3.2.1

    Fixes 1

    Notes
    Bug Fixes
    • ui5-task-zipper: make sure manifest gets zipped if no data sources exist (#1055) (9758e76)
  16. v3.2.0

    Features 1

    Notes
    Features
    • ui5-task-zipper: optional parameter to turn absolute data sour… (#1046) (f9ceb6d)
  17. v3.1.7

    Notes

    Note: Version bump only for package ui5-task-zipper

  18. v3.1.6

    Notes

    Note: Version bump only for package ui5-task-zipper

  19. v3.1.5

    Fixes 1

    Notes
    Bug Fixes
    • ui5-task-zipper: avoid duplicate entries, show warning and skip (#1036) (87eb7c8)
  20. v3.1.4

    Notes

    Note: Version bump only for package ui5-task-zipper

  21. v3.1.3

    Notes

    Note: Version bump only for package ui5-task-zipper

  22. v3.1.2

    Notes

    Note: Version bump only for package ui5-task-zipper

  23. v3.1.1

    Notes

    Note: Version bump only for package ui5-task-zipper

  24. v3.1.0

    Features 1

    Notes
    Features
  25. v3.0.4

    Notes

    Note: Version bump only for package ui5-task-zipper

  26. v3.0.3

    Notes

    Note: Version bump only for package ui5-task-zipper

  27. v3.0.2

    Notes

    Note: Version bump only for package ui5-task-zipper

  28. v3.0.1

    Notes

    Note: Version bump only for package ui5-task-zipper

  29. v3.0.0dated in the atlas

    Breaking 1, Features 2, Fixes 1

    Notes
    Bug Fixes
    Features
    BREAKING CHANGES
    • The support for UI5 Tooling V2 has been removed
  30. v0.8.5

    Fixes 1

    Notes
    Bug Fixes
    • ui5-tooling-transpile: transpile at startup + caching (#757) (6c7946d)
  31. v0.8.4

    Fixes 1

    Notes
    Bug Fixes
  32. v0.8.3

    Fixes 1

    Notes
    Bug Fixes
  33. v0.8.2

    Notes

    Note: Version bump only for package ui5-task-zipper

  34. v0.8.1

    Fixes 1

    Notes
    Bug Fixes
    • ui5-task-zipper: detection of project name for deps (#722) (400e967), closes #550
  35. v0.8.0

    Features 1

    Notes
    Features
    • ui5-task-zipper: allow to specify the deps to include (#720) (bec868c), closes #550
  36. v0.7.5

    Fixes 3

    Notes
    Bug Fixes
  37. v0.7.4

    Fixes 2

    Notes
    Bug Fixes
    • implement determineRequiredDependencies for all tasks (#692) (d27b55e)
    • improvements of projects for tooling 3.0 (#696) (6bd880f)
  38. v0.7.3

    Notes

    Note: Version bump only for package ui5-task-zipper

  39. v0.7.2

    Notes

    Note: Version bump only for package ui5-task-zipper

  40. v0.7.1

    Fixes 1

    Notes
    Bug Fixes
    • fixes compatibility issues with V3 (1ba4c57)
  41. v0.7.0

    Features 1

    Notes
    Features
    • ui5-tooling-transpile: enable config files (#660) (9f854ec)
  42. v0.6.1

    Fixes 1

    Notes
    Bug Fixes
  43. v0.6.0

    Features 1

    Notes
    Features
    • ui5-task-zipper: allow mapping of additional files by target path (#654) (097628c)
  44. v0.5.1

    Fixes 1

    Notes
    Bug Fixes
    • exclude resources with OmitFromBuildResult tag from zip (#643) (f33c123)
  45. v0.5.0

    Breaking 26, Features 1

    Notes
    Features
    BREAKING CHANGES
    • new package manager

    • refactor: updated tests to pass with pnpm

    • refactor: iasync still failing

    • feat(ui5-tooling-modules): support pnpm / node_modules symlinks

    • fix(ui5-app): make Karma work with pnpm

    • chore(ui5-app): remove uiveri5 from sample

    • chore(ui5-app): add updated wdio.conf

    • fix: make prettier and eslint work with pnpm

    • fix: fix cf_dest tests

    restructured tests and added node_modules as symlink

    • fix(ui5-app): adding eslint for wdio and mocha

    • chore(ui5-middleware-cfdestination): cleanup

    • feat(ui5-tooling-modules): add bundling support for AMD

    • chore(ui5-tooling-modules): cleanup

    • chore: fix code style

    • fix(ui5-task-flatten-library): support files without extensions

    • refactor: updated tests to pass with pnpm

    • feat(ui5-tooling-modules): support pnpm / node_modules symlinks

    • fix: make prettier and eslint work with pnpm

    • fix: update actions, lerna, vscode for pnpm

    • chore: only run test on tooling extensions

    • chore: use sequential tests for ava

    • chore: add @ui5/cli dev dependency for ava tests

    • chore: enable support for local act GH action tests

    • chore: add docu for local GitHub action execution

    • chore: docu cleanup

    • chore: re-add ncu scripts

    Co-authored-by: Peter Muessig peter.muessig@sap.com

  46. v0.4.13

    Notes

    Note: Version bump only for package ui5-task-zipper

  47. v0.4.12

    Fixes 1

    Notes
    Bug Fixes
  48. v0.4.11

    Other 1

    Notes
    Reverts
    • Revert "chore: add metadata to package.json for all packages for ui5-community website (#600)" (#601) (b6037d4), closes #600 #601
  49. v0.4.10

    Notes

    Note: Version bump only for package ui5-task-zipper

  50. v0.4.9

    Notes

    Note: Version bump only for package ui5-task-zipper

  51. v0.4.8

    Notes

    Note: Version bump only for package ui5-task-zipper

  52. v0.4.7

    Notes

    Note: Version bump only for package ui5-task-zipper

  53. v0.4.6

    Notes

    Note: Version bump only for package ui5-task-zipper

  54. v0.4.5

    Notes

    Note: Version bump only for package ui5-task-zipper

  55. v0.4.4

    Fixes 1

    Notes
    Bug Fixes
    • ui5-task-zipper: Absolute Path Error for Third Party Dependencies (#541) (fd6f022)
  56. v0.4.3

    Notes

    Note: Version bump only for package ui5-task-zipper

  57. v0.4.2

    Notes

    Note: Version bump only for package ui5-task-zipper

  58. v0.4.1

    Notes

    Note: Version bump only for package ui5-task-zipper

  59. v0.4.0

    Features 1

    Notes
    Features
    • add "keepResources" config flag + fix bug with missing dependencies (#385) (aaaab50)
  60. v0.3.2

    Notes

    Note: Version bump only for package ui5-task-zipper

  61. v0.3.1

    Notes

    Note: Version bump only for package ui5-task-zipper

  62. v0.3.0

    Features 1

    Notes
    Features
    • pwa: added pwa build for sample application (c36baf2)
  63. v0.2.0

    Features 1

    Notes
    Features
    • zipper: allow to include additional files (#198) (abf6d01)
  64. v0.1.5

    Notes

    Note: Version bump only for package ui5-task-zipper

  65. v0.1.4

    Notes

    Note: Version bump only for package ui5-task-zipper

  66. v0.1.3

    Notes

    Note: Version bump only for package ui5-task-zipper

31,737downloads per week, npm
Weekly downloads for ui5-task-zipper26 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 31737.20 Apr – 26 Apr: 68,18127 Apr – 3 May: 58,5314 May – 10 May: 70,84311 May – 17 May: 59,57218 May – 24 May: 67,75325 May – 31 May: 63,1261 Jun – 7 Jun: 64,7678 Jun – 14 Jun: 68,10215 Jun – 21 Jun: 63,56722 Jun – 28 Jun: 50,44929 Jun – 5 Jul: 64,1396 Jul – 12 Jul: 71,58913 Jul – 19 Jul: 69,22020 Jul – 26 Jul: 75,43627 Jul – 2 Aug: 69,6913 Aug – 9 Aug: 70,67110 Aug – 16 Aug: 55,23417 Aug – 23 Aug: 67,29024 Aug – 30 Aug: 63,99931 Aug – 6 Sept: 52,3727 Sept – 13 Sept: 43,77414 Sept – 20 Sept: 55,10221 Sept – 27 Sept: 66,12928 Sept – 4 Oct: 69,6055 Oct – 11 Oct: 55,26112 Oct – 18 Oct: 31,737
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-serveframeworkUI5 middleware serving a locally built UI5 frameworkfrom UI5
  24. ui5-middleware-servestaticUI5 middleware serving static resources from a path or npm packagefrom UI5
  25. ui5-middleware-simpleproxyDev-server middleware proxying requests to a backend systemfrom UI5
  26. ui5-middleware-ui5UI5 middleware including one UI5 application in anotherfrom UI5
  27. ui5-middleware-webjarsUI5 middleware serving static resources from JAR files (WebJars)from UI5
  28. ui5-middleware-websocketWebSocket support for Express-based dev servers such as UI5'sfrom UI5
  29. ui5-task-cachebusterUI5 builder task cachebusting standalone UI5 applicationsfrom UI5
  30. ui5-task-copyrightUI5 builder task appending copyright headers to source filesfrom UI5
  31. ui5-task-flatten-libraryUI5 builder task flattening library output for SAP NetWeaverfrom UI5
  32. ui5-task-i18ncheckUI5 builder task checking XML views for missing i18n textsfrom UI5
  33. ui5-task-minify-xmlUI5 builder task minifying XML views and fragmentsfrom UI5
  34. ui5-task-pwa-enablerUI5 builder task turning a UI5 app into a progressive web appfrom 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
bestofui5discovered herechecked
npm registry, ui5-task-zipperversion, releases, installschecked
github.com/https://github.com/ui5-community/ui5-ecosystem-showcase.gittree, pushes, contributors, CIchecked
packages/ui5-task-zipper/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
runtimesnode
latestv3.7.0
first release
releases and cadence70, ~70d median
discovered viabestofui5
first seen in the atlas
ecosystem and domainui5, developer-experience
Flavors1
Freestyle
“Otherwise, it will only include the workspace files (controller, views, etc).” — ui5-community/ui5-ecosystem-showcase — README (packages/ui5-task-zipper)checked
Contributors58
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:ui5-community-ui5-task-zipper
JSON
/artifacts/ui5-community-ui5-task-zipper.json
MCP
Connecting an agent