Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sap-ux/ui5-config

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ux/ui5-config

Library to UI5 configuration artifacts

  • 0.22.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
155K
decreased by-34.79%
Maintainers
3
Weekly downloads
 
Created
Source

@sap-ux/ui5-config

Utility module to create and update UI5 tooling configuration files (ui5*.yaml) with helper methods specifically for Fiori tools middlewares.

Installation

Npm npm install --save @sap-ux/ui5-config

Yarn yarn add @sap-ux/ui5-config

Pnpm pnpm add @sap-ux/ui5-config

Usage

Create a new config file

// generate an empty instance
const ui5Config = await UI5Config.newInstance('');

// set the UI5 framework with a specific version
ui5Config.addUI5Framework('SAPUI5', '1.64.0', []);

// create the file
fs.write('./ui5.yaml', ui5Config.toString());

Add a middleware to an existing file

// load a config from the filesytem
const ui5Config = await UI5Config.newInstance(fs.read('./ui5.yaml'));

// add a middlewre
ui5Config.addFioriToolsAppReloadMiddleware();

// write the changes back to the filestystem
fs.write('./ui5.yaml', ui5Config.toString());

See more example in /test/index.test.ts

Keywords

SAP Fiori freestyle

FAQs

Package last updated on 03 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc