Read the statement by Michael Teeuw here.
`git clone` with `--depth=1`?
-
@kristjanesperanto if you use my install script it does that
-
That’s interesting, but I’m talking about the official documentation here :-)
-
single branch could be another option like here.
But we should update the doc from
npm install
tonpm install --only=prod
(sam uses this already in his install script), because the devDependencies are really fat. -
Ah, I didn’t know
--single-branch
yet. But yes, that sounds reasonable too.Optimizing both (
git clone
andnpm install
) would speed up the setup process, especially on slow machines. Since a simple user just copies the commands from the documentation, these changes wouldn’t complicate the process any further. -
@kristjanesperanto one side effect, getting to the develop branch requires a little extra work