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

@asafyos/sapui5

v1.0.1

Published

CLI for sapui5 projects

Downloads

3

Readme

@asafyos/sapui5

Description

this package is an upgraded version of sapui5_gen_cli.

This package offers the same features and more!!!

Getting Started

Getting Started use the keyword sapui5, for information use

sapui5 -h

Creating new project

sapui5 init

| Question | Description | Shortcut | | :------------------- | :----------------------------------------------------------------: | :------: | | Choose template type | Defines the project template type | -t | | Project theme | Set the theme of the application | | | Project name | Defines project name (also will be the name of the created folder) | -n | | Namespace | Project namespace name | | | Main view name | Project main view name, type is determined by template type | | | UI5 version | set the version of the application | -v | | Server host | The host name of the server as run by ICF node | | | Server port | The port of the server as run by ICF node | |

Options

  • --no-install - Skips auto installation (npm i) while generating

Converting SAP webIDE project to vscode project

sapui5 webide

| Question | Description | Shortcut | | :------------------- | :----------------------------------------------------------------: | :------: | | Choose template type | Defines the project template type | -t | | Project name | Defines project name (also will be the name of the created folder) | -n | | Namespace | Project namespace name | | | UI5 version | set the version of the application | -v | | Server host | The host name of the server as run by ICF node | | | Server port | The port of the server as run by ICF node | |

Options

  • --no-install - Skips auto installation (npm i) while generating

Working on existing project

for convenience, commands that affect sapui5 ONLY starts with sapui5 g|generate others starts with sapui5 add

IMPORTANT - to work on existing project, the project MUST have sapui5.settings.json in the root folder. if the project was created with sapui5 init command, the file should already exist. ALL COMMANDS MUST RUN IN THE ROOT FOLDER

Adding settings file

sapui5 add settings

| Question | Description | | :----------- | :--------------------: | | Project name | Defines project name | | Namespace | Project namespace name |

Will overwrite existing settings file if exists!

Adding grunt file

sapui5 add grunt

Generating view

sapui5 g|generate view|v <name>

Generates view and its controller, type is auto selected from settings file

Generating fragment

sapui5 g|generate fragment|f <name>

Generates fragment, type is auto selected from settings file

Running a project

The project run with the help of grunt. in the package.json the scripts are defined, wich you can use to run the project. Run tasks in the vscode to use the scripts: >Tasks: Run Task

| action | Description | Command | Task | | :----- | :--------------------------------------------- | :-------------------------------------------------------------------- | :------------ | | Start | Run and test your project in the local machine | npm run start | npm: start | | Deploy | Upload the project to the server | npm run deploy --username=<sap_user_name> --password=<sap-password> | npm: deploy |

Note Before using the Deploy task, make sure to update the bsp_application_description, package and change_request_id values in Gruntfile.js (grunt.initConfig -> settings -> upload).

Authors

  • Saar Shalom - Original writer
  • Tomer Mor - Refactor and improvments
  • Asaf Yosef - Second refactor and generalizations