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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@sap-ux/create

v0.8.20

Published

SAP Fiori tools module to add or remove features

Downloads

3,438

Readme

@sap-ux/create

Module which provides command line interface to configure features for SAP UX projects or applications.

To see usage, run

npm init @sap-ux@latest 
# or
npx @sap-ux/create@latest

To avoid downloading and installing the module every time it is used, you might consider installing it globally or add it as devDependency to a project. Once installed, you can run it using

# globally installed
sap-ux
# locally
npx sap-ux

add

Calling sap-ux add allows adding a feature to a project.

html

Calling sap-ux add html will add html files for local preview and testing to the project. It will use the configuration from the ui5.yaml as default, as provided by the fiori-tools-preview or preview-middleware e.g.:

sap-ux change add html ui5-test.yaml

annotations

Calling sap-ux add annotations allows adding an annotation to the OData Source of the base application in an adaptation project.

sap-ux add annotations /path/to/adaptation-project

deploy-config

Calling sap-ux add deploy-config will prompt for ABAP deployment configuration details and add/update the project files accordingly

sap-ux add deploy-config /path/to/project

deploy-config options:

--target abap | cf (cf deploy config inquirer not yet implemented)
--base-file e.g ui5.yaml
--deploy-file e.g. ui5-deploy.yaml

model

Calling sap-ux add model allows to add new OData Service and SAPUI5 Model to an existing adaptation project.

sap-ux add model /path/to/adaptation-project

If the project path is not provided, the current working directory will be used.

change

Calling sap-ux change allows changing a feature of a project.

data-source

Calling sap-ux change data-source allows replacing the OData Source of the base application in an adaptation project.

sap-ux change data-source /path/to/adaptation-project

If the project path is not provided, the current working directory will be used.

inbound

Calling sap-ux change inbound allows replacing the Inbound FLP configurations of the base application in an adaptation project.

sap-ux change inbound /path/to/adaptation-project

If the project path is not provided, the current working directory will be used.

remove

Calling sap-ux remove allows removing a feature to a project.

generate

Calling sap-ux generate allows generating a new project.

adaptation-project

Calling sap-ux generate adaptation-project allows generating a new adaptation project. Without further parameters the CLI will prompt the required parameters id, reference and url. To run the prompt non-interactively, it is also possible to execute

sap-ux generate adaptation-project --id my.adp --reference the.original.app --url http://my.sapsystem.example

Additional options are --skip-install to skip running npm install after the project generation and --simulate to only simulate the files that would be generated instead of writing them to the file system.