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

electron-forge-publisher-local

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-forge-publisher-local

Local publisher for Electron Forge

  • 0.1.5-alpha
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by600%
Maintainers
1
Weekly downloads
 
Created
Source

electron-forge-publisher-local

Local publisher for Electron Forge

Configuration

Example forge.config.js

module.exports = {
  packagerConfig: {},
  makers: [],
  publishers: [
    {
      name: 'electron-forge-publisher-local',
      config: {
        directory: 'c:/path/to/local/publish/directory',
        releasesFilePrefix: 'https://example.com/prefix/for/releases/' /* optional */
      }
    }
  ],
};

Publishing

Copies all results from make to /path/to/configured/directory/<version>/ using the version from make results.

Edits RELEASES, if present, to have full path and writes to configured directory.

Example edited RELEASES:

0000000000000000000000000000000000000000 1.0.0/YourApp-1.0.0-full.nupkg 00000000
0000000000000000000000000000000000000000 https://example.com/prefix/for/releases/1.0.0/YourApp-1.0.0-full.nupkg 00000000

Creates /path/to/configured/directory/latest.yml. Contents include latest version and list of all make artifacts with base64 encoded sha512 hashes.

Example latest.yml:

version: 1.0.0
files:
  - url: file:///path/to/configured/directory/1.0.0/RELEASES
    sha512: >-
      base64sha512string==
    name: RELEASES
  - url: file:///path/to/configured/directory/1.0.0/YourApp-1.0.0-full.nupkg
    sha512: >-
      base64sha512string==
    name: YourApp-1.0.0-full.nupkg
  - url: file:///path/to/configured/directory/1.0.0/YourAppSetup.exe
    sha512: >-
      base64sha512string==
    name: YourAppSetup.exe
  - url: file:///path/to/configured/directory/1.0.0/YourApp-win32-x64-1.0.0.zip
    sha512: >-
      base64sha512string==
    name: YourApp-win32-x64-1.0.0.zip

Keywords

FAQs

Package last updated on 20 Feb 2022

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