webinstall / webi-installer-requests

This is just to house issues for requests for new Webi installers.
Mozilla Public License 2.0
6 stars 13 forks source link

[Installer] Add fnm #29

Open coolaj86 opened 2 years ago

coolaj86 commented 2 years ago

Add fnm

We want to add fnm because it's a faster, cross-platform npm

https://github.com/Schniz/fnm

This could be as simple as copying _example, updating the github releases info, and doing a find and replace on a few file system path names.

How to create a webi installer

Video Tutorial: How to create a webi Installer

Skills required

Steps

  1. Clone and setup the webi packages repo
    git clone git@github.com:webinstall/packages.git
    pushd packages/
    npm install
  2. Copy the example template and update with info from Official Releases: https://github.com/___CHANGE/ME___/releases
    rsync -av _example/ CHANGE-ME/
    • [ ] update CHANGE-ME/release.js to use the official repo
    • [ ] Learn how CHANGE-ME unpacks (i.e. as a single file? as a .tar.gz? as a .tar.gz with a folder named CHANGE-ME?)
    • [ ] find and replace to change the name
      • [ ] update CHANGE-ME/install.sh (see bat and jq as examples)
      • [ ] update CHANGE-ME/install.ps1 (see bat and jq as examples)
  3. Needs an updated tagline and cheat sheet
    • [ ] update CHANGE-ME/README.md
      • [ ] official URL
      • [ ] tagline
      • [ ] Switch versions
      • [ ] description / summary
      • [ ] General pointers on usage (and perhaps "gotchas")

It's also okay to have multiple people work on part of this (i.e. the Cheat Sheet can be done independently from the install.sh)

Simba-97 commented 2 years ago

I would like to work on this. Could you assign me a part? @coolaj86

coolaj86 commented 2 years ago

@Simba-97 Done.

Simba-97 commented 2 years ago

Hey @coolaj86 could you help me out regarding the tests that I need to run to make sure that the builder has all the necessary details. Here's the change that I made -> https://github.com/webinstall/webi-installers/commit/791ba143f4a20079d4f80372faf4285f43618d67 But when I run node _webi/test.js fnm/, it gives me this error Screenshot_20220522_012745