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

@sap-ux/abap-deploy-config-writer

Package Overview
Dependencies
Maintainers
0
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ux/abap-deploy-config-writer

Writer module to add abap deployment configuration to an existing Fiori application

  • 0.0.63
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
508
increased by4.53%
Maintainers
0
Weekly downloads
 
Created
Source

@sap-ux/abap-deploy-config-writer

Easy to use ABAP deployment configuration writer for use within Yeoman generator and other prompting libraries.

Installation

Npm npm install --save @sap-ux/abap-deploy-config-writer

Yarn yarn add @sap-ux/abap-deploy-config-writer

Pnpm pnpm add @sap-ux/abap-deploy-config-writer

Usage

Calling the generate function

import { generate } from '@sap-ux/abap-deploy-config-writer'
import { join } from 'path';
import type { AbapDeployConfig } from '@sap-ux/ui5-config';

const exampleWriter = async () => {

  const abapDeployConfig: AbapDeployConfig[] = [
        {
            target: { url: 'https://example.com', client: '000', scp: false },
            app: { name: 'testapp', package: 'TESTPKG12', description: 'Deployment description', transport: 'TR123' }
        }
    ];

  const projectDir = join(__dirname, 'testapp');
  const fs = await generate(projectDir, abapDeployConfig);
  return new Promise((resolve) => {
      fs.commit(resolve); // When using with Yeoman it handle the fs commit.
  });
}

// Calling the function
await exampleWriter();

Keywords

SAP Reuse Library

FAQs

Package last updated on 02 Dec 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