Run root-level NPM scripts with Nx

Juri Strumpflohner
Published
Root-level scripts are powerful, and they get even more powerful if you run them through Nx so you can leverage the caching.
▬▬▬▬▬▬ 🔗 Links ▬▬▬▬▬▬
-
Root-level scripts docs: https://nx.dev/recipes/other/root-level-scripts
-
GitHub: https://github.com/nrwl/nx
-
Slack Community: https://bit.ly/nx-slack
▬▬▬▬▬▬ ⏱ Timecodes ▬▬▬▬▬▬
- 0:00 Intro
- 0:56 Configure root-level script
- 2:01 Enable caching
- 3:10 Keep using NPM to run scripts
- 3:55 Wrapping up
▬▬▬▬▬▬ 🐦 Socials ▬▬▬▬▬▬
Nx - https://twitter.com/NxDevTools
Juri - https://twitter.com/juristr