Zeit.now Using Private Dependencies

Giulliano Bueno
1 min readMar 10, 2020

An easy way (but probably not the best one) to deploy your Javascript/Typescript application using Zeit.now and use private dependencies is to set your git security token using the preinstall script.

You will have to create a secret called GITHUB_TOKEN following the documentation that can be found here.

Conclusion

This is a good first solution, but every time you run npm install locally, it will mess with your Git configuration. You can probably work from this point to avoid such problem.

--

--