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

srb_ui5_tools

v1.1.0

Published

Toolset of SRB Consulting Team for manufacturing brilliant UI5 apps

Downloads

4

Readme

SRB_UI5_TOOLS



UNDER CONSTRUCTION

THIS PACKAGE IS IN DEVELOPMENT STATE!

Motivation

Setting up a new SAPUI5 project can be challenging. This repo is equipped with a lot of useful tools to setup a SAPUI5 project.

What it contains

  • Deployment function to deploy a ui5 app using the nwabap-ui5uploader library
  • Setup a deployment configuration file
  • Migrate from our v1 deployment scripts to the new one ( the outdated version is the one where we were using the deploy.sh and the deployment_config.sh)
  • Add our standardized linter settings to your project
  • Add our standardized prettier settings to your project
  • Add our standard script to the projects package.json file
  • NodeJS script for updating the buildnumber of the UI5 manifest json file. ( Used for SRB Products )

Getting started

Prerequisites

  • Install the nwabap-ui5uploader and add it to your node project via npm install nwabap-ui5uploader

Add the package to your npm project via:

npm install srb_ui5_tools

Or clone the GitHub repo, and install the cloned version from your file system

npm install ./path/to/your/repo/SRB_UI5_Tools

You can also use npm link. See the official docs https://docs.npmjs.com/cli/v8/commands/npm-link This links a local npm package to your npm environment.

Using the package via a script

Using the package via run-func

run-func is a node lib for running a function of a node js module directly from the command line. This makes it possible with less development effort, to run a function of our module easily.

Example: npx run-func srb_ui5_tools deploy This calls our modules deploy function. More details to this function later.

If you have not already installed run-func, you can add it to your npm project with npm install run-func,

or install it globally in your environment with npm install -g run-func

Features

deploy

Deploy your UI5 app to a ABAP repository server.

initDeploymentConfig

Setup a template deployment config.

initESLintConfig

Copy our standardized linting config to your project.

initPrettierConfig

Copy our standardized prettier config to your project.

migrateV1DeploymentConfig

Migrate the old style deployment config ( .sh ) to a modern JSON deployment configuration.

addScriptsToProject

Add our standardized scripts to your project.

updateBuildnumber

Update your UI5 manifest file app version.

Migrating your SRB product to use the srb_ui5_tools

  1. Install the srb_ui5_tools using npm install srb_ui5_tools
  2. Use the command npx run-func srb_ui5_tools migrateV1DeploymentConfig for running the migration of the V1 deployment config.
  3. You will be asked if you want to delete the old deployment config. Confirm it with writing yes, to delete it. Log output of a successful execution:
     Migrating config file ./scripts/config/deployment_config.sh
     New config file written
     Detected that you have a outdated version of the deployment config there. Do you want to delete it? (Yes/No): yes
     Deleted outdated config successfully.

Missing features

  1. Method to add our standardized GitHub Workflows to a project