Skip to content

feat(install): add instructions for git packages #1525

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

avivkeller
Copy link

This PR adds instructions to documentation regarding the installation of packages from git repositories.

References

Ref: nodejs/api-docs-tooling#236 (comment)

@kenshanta
Copy link
Contributor

Can't wait 🤞

@wraithgar
Copy link
Member

wraithgar commented May 27, 2025

If we're gonna advertise this more heavily we'll want to link to or reiterate some of the many quirks of installing from source control. A good example recently is this issue where some folks didn't know that because git source control and not published assets there are scripts that always run.

We don't really recommend using git urls, such as it is. It's only sometimes helpful in local development and never a good idea for a published module. Git urls are not idempotent, and the assumption of many of them is that they are source code that needs to be built.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants