Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Only install Node.js dependencies if missing for docs build #1230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

pjbollinger
Copy link
Contributor

Currently, every time the docs are built we run npm install.
This can be frustrating for developers because using autobuild for the docs leads to npm install constantly being run.
By testing if we have a local copy of typedoc, we can avoid the need to always re-run npm install.
This fixes #1229.

Currently, every time the docs are built we run `npm install`.
This can be frustrating for developers because using `autobuild` for the docs leads to `npm install` constantly being run.
By testing if we have a local copy of `typedoc`, we can avoid the need to always re-run `npm install`.
This fixes remotestorage#1229.
@pjbollinger pjbollinger force-pushed the refactor/1229-only_install_node_dependencies_if_missing_for_docs branch from 2e6713b to b325c28 Compare March 10, 2021 11:41
@raucao
Copy link
Member

raucao commented Mar 10, 2021

Great! Works as intended on my machine. 👍

@raucao raucao merged commit 3feeef2 into remotestorage:master Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Don't run npm install on every local doc build
2 participants