-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: significantly improve CLI startup times (#42)
Move a few heavier modules from static imports to lazy `require()`s. Also remove support for globally installed addons via yarn *and* npm. If Yarn is detected, Denali will search Yarn for global addons, otherwise it wills search npm, but not both. This lets Yarn users avoid the delays that npm forces (because we need to shell out for `npm root`, which eats 500ms). We could make this behavior configurable in the future, once we have a ~/.denali config file
- Loading branch information
1 parent
54f2573
commit a511d66
Showing
2 changed files
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters