Why does the repo not have a package manager lock file? #6750
Replies: 1 comment
-
The absence of a package manager lock file in a repository can indeed lead to the issues you've mentioned, such as non-deterministic builds and difficulties in reproducing specific versions. However, the decision to include or exclude a lock file can depend on various factors, including the project's development workflow, the team's preferences, or specific technical reasons. In some cases, projects might choose not to commit lock files to avoid conflicts in multi-developer environments or because they rely on other methods to ensure consistency across environments. It's also possible that the lock file is intentionally excluded to encourage the use of the latest compatible versions of dependencies. To get a definitive answer, it would be best to reach out to the maintainers of the antvis/G6 repository directly through their GitHub discussions or issues page. They might provide insights into their reasoning for not including a lock file. If you have any more questions or need further assistance, feel free to ask! 🪧 TipsFor further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me. |
Beta Was this translation helpful? Give feedback.
-
Lock files should generally be commited to a repo because it could cause a lot of issue otherwise. Without it, builds are no longer deterministic:
node_modules
and reinstallingSo I was wondering what the reason was for not having one.
Beta Was this translation helpful? Give feedback.
All reactions