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

@electron-forge/publisher-base

Package Overview
Dependencies
Maintainers
2
Versions
97
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

  • 6.0.0-beta.61
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
132K
increased by0.62%
Maintainers
2
Weekly downloads
 
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 10 Sep 2021

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