New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@electron-forge/publisher-base

Package Overview
Dependencies
Maintainers
5
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron-forge/publisher-base

Base publisher for Electron Forge

7.7.0
latest
Source
npm
Version published
Maintainers
5
Created

What is @electron-forge/publisher-base?

@electron-forge/publisher-base is a base class for creating custom publishers in Electron Forge. It provides a framework for defining how to publish Electron applications to various distribution platforms.

What are @electron-forge/publisher-base's main functionalities?

Custom Publisher Creation

This feature allows developers to create custom publishers by extending the PublisherBase class. The publish method can be overridden to define specific publishing logic for different platforms.

class MyCustomPublisher extends PublisherBase {
  async publish({ makeResults, packageJSON, config }) {
    // Custom publishing logic here
  }
}

Configuration Handling

This feature provides a way to handle configuration settings for custom publishers. Developers can specify platform-specific configurations and other necessary parameters for the publishing process.

const config = {
  platforms: ['win32', 'darwin'],
  config: {
    myPublisher: {
      apiKey: 'your-api-key'
    }
  }
};

Other packages similar to @electron-forge/publisher-base

FAQs

Package last updated on 18 Feb 2025

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