[NPMCLI-96] Set up tab autocompletion on installation Created: 07/Feb/17 Updated: 24/Mar/22 |
|
| Status: | Open |
| Project: | Magnolia CLI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Cedric Reichenbach | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | blocked, quickwin | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoR: |
Empty
|
||||||||
| Date of First Response: | |||||||||
| 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. |