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

Set up tab autocompletion on installation

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • None

      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.

        Acceptance criteria

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

                Created:
                Updated:

                  Task DoR