1.5.0 • Published 7 years ago
@remark/hercules v1.5.0
Hercules
Hercules is a tool for easily managing all of Remark's TypeScript projects, specifically inter-project dependencies.
Installation
Hercules can be installed like so:
npm i -g @remark/herculeshercules should now be accessible via the command line.
Commands
Hercules commands can be run from anywhere inside of the Remark monorepo. Attempting to run outside of the repo will not work, as Hercules needs access to its configuration file (i.e., C:/Projects/hercules.json).
help
hercules -hDisplays the Hercules help menu.
ls
hercules lsLists all of the packages in the repository.
bootstrap
hercules bootstrapBootstraps all of the packages in the current repository.
What this entails:
- Runs
npm installto install all external dependencies from the packages. - Runs
npm prepublishfor each package, which can be used to run compilation steps, etc. - Creates symlinks for all internal dependencies.