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

Set up tab autocompletion on installation

    XMLWordPrintable

Details

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

    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

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

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoR