npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

omnilert_desktop_alert

v1.3.3

Published

Omnilert emergency services

Downloads

1,862

Readme

Sure, I'll update the README to include the specific commands for Mac staging and production environments as well.


Creating an Installer on Mac and Windows

Mac

Steps to Create an Installer on Mac

  1. Install Dependencies

    • Run the following command to install dependencies:
      yarn
  2. Bundle the App

    • Use the following command to bundle the app:
      yarn bundle
  3. Build the Distribution

    • Depending on the specific environment, run the appropriate command:

      • For the staging environment:

        yarn dist-mac:staging
      • For the production environment:

        yarn dist-mac:production

    This will place a dist folder at the root of your local repository.

Windows

Steps to Create the NSIS Installer

  1. Install Dependencies

    • Run the following command to install dependencies:
      yarn
  2. Bundle the App

    • Use the following command to bundle the app:
      yarn bundle
  3. Build the Application

    • Depending on the specific environment, run the appropriate command:

      • For a per-user installation in the production environment:

        yarn dist-win-user:production
      • For a per-user installation in the staging environment:

        yarn dist-win-user:staging
      • For a per-machine installation in the production environment:

        yarn dist-win-machine:production
      • For a per-machine installation in the staging environment:

        yarn dist-win-machine:staging

Code Signing on Windows

Contact a manager for access to the Digicert ONE Admin portal: Digicert ONE Admin Portal.

To ensure the application is signed on build, add the following environment variables to your Windows environment (Start > Edit the system environment variables > Environment Variables). Official documentation can be found here.

  • SM_HOST: https://clientauth.one.digicert.com
  • SM_CLIENT_CERT_FILE: <P12 client certificate file path>
  • SM_API_KEY: API key
  • SM_CLIENT_CERT_PASSWORD: P12 client certificate password

Add the above environment variables via the smctl.exe tool provided by Digicert ONE's KeyLocker solution. This information can be found on the Digicert ONE account.

Installing on Mac and Windows

Mac

After building the Mac distribution, double-click the .dmg file and drag and drop the app into the Applications folder.

Windows

Installing ODA

  1. Command Line Installation:

    • Open the command line interface, navigate to the installer directory, and run the following command:
      installer.exe /PAC=yourPersonalAccessCode /S
      • Replace yourPersonalAccessCode with your actual PAC.
      • The /S switch installs the application silently, bypassing the installer UI, which is typically used for per-machine installations.
  2. Registry Information:

    • Your PAC will be stored in the registry:
      • Per-User Installations: Stored in HKCU (HKEY_CURRENT_USER)
      • Per-Machine Installations: Stored in HKLM (HKEY_LOCAL_MACHINE)

Command Line Updates

Increment Version Number

  1. Increment the version number:
    yarn publish

Run Bundle Script

  1. Run the bundle script:
    yarn bundle

Publish Updates

  1. Publish updates to the desired build environment:

    • Staging Updates:

      yarn publish:staging
    • Production Updates:

      yarn publish:production

This layout provides clear, step-by-step instructions for creating installers on Mac and Windows, handling code signing, and performing installations and updates. It ensures that the correct commands are run based on the specific environment for both Mac and Windows builds.