Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-96

Set up tab autocompletion on installation

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Accepted
    • Priority: Neutral
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      Due to a bug in npm, preuninstall scripts suffer from a racing condition sometimes causing uninstallation to fail if requiring third-party modules.

      As soon as above bug is resolved, it should be enough to add

      "postinstall": "mgnl install-tab-completion",
      "preuninstall": "mgnl install-tab-completion uninstall"
      

      (or direct calls to the installation script) to the scripts section of package.json.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                creichenbach Cedric Reichenbach
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Date of First Response:

                    Checklists

                    Task DoR