You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 12, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 12, 2026. It is now read-only.
Option not to install CLI locally — use globally installed #42
The main volume is @shower/cli. We can add the ability to use globally installed @shower/cli from the presentation, and locally put only theme/core and the like.
Propose a such API: add in the command create the item «Install the CLI locally?».
If we find globally installed CLI suggest false by default otherwise suggest true.
That's possible. On the other hand, what if you still want to use the local version? How to be if the global version is not installed (for example, when the repository was tilted by another person, or to a new one)? There may also be problems with different versions of the CLI and library. For example, after changing the shower-ribbon and @shower/ribbon, a new CLI can not get the old presentation.
The locally installed CLI works perfectly simply and reliably.
I think that the whole Chromium (Puppeteer) for every Shower presentation is way too much. 84.5 Mb to download and 199 Mb on disk just to print your presentation to PDF (which you may never use) is clearly not the best thing to have.
I’m talking about defaults here, not the option to remove something later, which no one would ever use. No, seriously: let’s make Shower as light as possible and suggest installing CLI tool globally for everyone who would like to use prepare, archive, print, etc.
I think that the best solution for reducing disk space usage would be using puppeteer-core with chrome-launcher. And if the user provides PUPPETEER_EXECUTABLE_PATH use that path, otherwise use path that provide chrome-launcher.
If you agree with that, I can make PR
The main volume is
@shower/cli. We can add the ability to use globally installed@shower/clifrom the presentation, and locally put onlytheme/coreand the like.Originally posted by @nikolay-govorov in shower/shower#349 (comment)