npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ui5-app-cli

v0.5.0

Published

CLI to scaffold, configure and build SAPUI5 TypeScript applications

Readme

ui5-app-cli

CLI to scaffold, configure, develop and build SAPUI5 TypeScript applications. Targets turn one code base into installations for several SAP systems. Every command works on any conventionally laid out UI5 project — app.config.json declares only where a project deviates. New applications come from templates that are data, not code: any template shipping a template.config.json works, with ui5-ts-starter as the default.

Quick start

ui5-app create my-app   # scaffold from the template, interactively
cd my-app
ui5-app start qa        # dev server against the qa target, no file changes
ui5-app build --all     # one deployable ZIP per SAP system

Run ui5-app --help, or ui5-app <command> --help, for every flag.

Commands

| Command | Purpose | | ------------------------ | ------------------------------------------------------ | | create [directory] | Scaffold a new application from the template | | init | Configure an existing template checkout in place | | start <target> | Start the dev server against a target, no file changes | | use [target] | Point local development at a target's SAP system | | build [target] | Build one SAP system target into artifacts/ | | build --all | Build every configured target | | package | Stamp the build version and zip the UI5 output | | versions check | Verify that every declared UI5 version agrees | | versions set --ui5 <v> | Update a whole version family at once |

Every command accepts --cwd <path> and acts on that project root, so the CLI can run from anywhere.

create resolves its template through giget: --template gh:Bechtle-AG/ui5-ts-starter (the default), any other giget source, or a path to a local template checkout. A private template repository needs a token in GIGET_AUTH.

Working with targets

Targets in app.config.json describe the SAP systems an application is installed in, overriding any field of the base configuration. Day to day, two commands work with them:

ui5-app start qa   # serve against qa — nothing changes on disk, systems run in parallel
ui5-app use qa     # rewrite the working tree to qa, reversibly

Developing against SAP systems explains the pair: shortcuts, parallel servers, what the proxy override inherits, why client decides authentication, and the limits where start hands over to use.

Documentation

Installation

pnpm add -D ui5-app-cli

Node.js 22.13 or newer. The package ships prebuilt — no build scripts to allow, no token, no registry configuration.

Development

pnpm install
pnpm run dev     # rebuild on change
pnpm run check   # build, lint, typecheck, tests, package inspection

The ui5-app bin runs dist/, not the sources, so a change needs a rebuild; prepare covers a fresh clone. playground/ is a minimal runnable project for exercising the CLI by hand — shortcuts, restarts, the stale-configuration notice, a live proxy — and references the package as workspace:*, so it always runs the current build.

Every command's logic is also exported for programmatic use, which is what the tests build on:

import { applyConfiguration, loadProjectConfiguration, resolveLayout } from 'ui5-app-cli'

const { config, rawConfig } = await loadProjectConfiguration({ cwd: rootDir })
await applyConfiguration(rootDir, config, { layout: resolveLayout(rawConfig.project) })

Releasing

pnpm run release bumps the version, writes CHANGELOG.md from the commit messages, commits and tags — all local. Review it, then git push --follow-tags.

Two things worth knowing. changelogen downgrades the bump below 1.0, so features land as a patch; pass -r <version> for an explicit one. And prepublishOnly runs build, typecheck, tests and check:package, so no publish can skip the gates.