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
5
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

  • 7.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
75K
decreased by-42.46%
Maintainers
5
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 26 Nov 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