mirror of
https://github.com/baz-scm/awesome-reviewers.git
synced 2025-08-20 18:58:52 +03:00
1.2 KiB
1.2 KiB
title, description, repository, label, language, comments_count, repository_stars
| title | description | repository | label | language | comments_count | repository_stars |
|---|---|---|---|---|---|---|
| Stable dependency version management | Always use stable, well-defined version constraints in configuration files to ensure reproducible builds and prevent unexpected behavior. Avoid using development branches for production dependencies. | appwrite/appwrite | Configurations | Json | 7 | 51959 |
Always use stable, well-defined version constraints in configuration files to ensure reproducible builds and prevent unexpected behavior. Avoid using development branches for production dependencies.
Key practices:
-
Use semantic versioning constraints:
- Use
^for minor updates:"package": "^1.2.3" - Use
~for patch updates:"package": "~1.2.3" - Pin exact versions when needed:
"package": "1.2.3"
- Use
-
Never use dev branches in production unless absolutely necessary. If required:
{ "require": { "package": "1.2.*", }, "minimum-stability": "dev", "prefer-stable": true } -
Always commit lock files (e.g., composer.lock) to ensure consistent dependency versions across environments.
-
When updating versions, update all related configuration files and documentation to maintain consistency.