Socket
Socket
Sign inDemoInstall

@ui5/builder

Package Overview
Dependencies
Maintainers
4
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/builder

UI5 Tooling - Builder


Version published
Weekly downloads
144K
decreased by-3.46%
Maintainers
4
Weekly downloads
 
Created

What is @ui5/builder?

@ui5/builder is a Node.js-based tool for building UI5 projects. It provides a set of functionalities to build, optimize, and bundle UI5 applications and libraries. The tool is part of the UI5 Tooling ecosystem, which aims to provide a modular and extensible tooling infrastructure for UI5 development.

What are @ui5/builder's main functionalities?

Build UI5 Projects

This feature allows you to build UI5 projects by specifying the project configuration and destination path. The build process compiles and optimizes the project for deployment.

const { build } = require('@ui5/builder');

const project = { /* project configuration */ };

build({
  project,
  destPath: 'dist'
}).then(() => {
  console.log('Build successful');
}).catch((err) => {
  console.error('Build failed', err);
});

Custom Tasks and Extensions

You can define custom tasks and extensions to extend the build process. This feature allows you to add custom logic to the build pipeline.

const { taskRepository } = require('@ui5/builder');

const customTask = {
  name: 'customTask',
  task: async function({ workspace, dependencies, taskUtil }) {
    // Custom task logic
  }
};

taskRepository.addTask(customTask);

Middleware Integration

This feature allows you to integrate custom middleware into the build process. Middleware can be used to handle HTTP requests during the build process.

const { middlewareRepository } = require('@ui5/builder');

const customMiddleware = {
  name: 'customMiddleware',
  middleware: function({ resources, options }) {
    return function(req, res, next) {
      // Custom middleware logic
      next();
    };
  }
};

middlewareRepository.addMiddleware(customMiddleware);

Other packages similar to @ui5/builder

Keywords

FAQs

Package last updated on 27 Aug 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