Skip to content
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

Use Caret (^) for Dependency Versions in package.json #1662

Closed
monilpat opened this issue Jan 1, 2025 · 3 comments
Closed

Use Caret (^) for Dependency Versions in package.json #1662

monilpat opened this issue Jan 1, 2025 · 3 comments
Labels
agent-generated For agent creation actions on pull requests, issues, and eventually milestones, releases etc. dependency management enhancement New feature or request

Comments

@monilpat
Copy link
Collaborator

monilpat commented Jan 1, 2025

Is your feature request related to a problem? Please describe.

Currently, the project uses static dependency versions in package.json, which prevents automatic updates and may lead to outdated packages over time.

Describe the solution you'd like

Change all dependency versions in the package.json files across the repository to use the caret (^) notation. This will allow for minor version updates automatically, keeping dependencies up to date without manual intervention.

Code Example

{
  "dependencies": {
    "example-package": "^1.2.3"
  }
}

Describe alternatives you've considered

Leaving the static versions as they are, but this approach does not utilize the benefits of automatic updates and may lead to compatibility issues in the future.

Additional context

Using caret (^) for dependency versions can significantly enhance the maintenance of the project, ensuring that it remains current with the latest features and fixes from its dependencies.

Related Issues/PRs

None identified at this time.

@monilpat monilpat added agent-generated For agent creation actions on pull requests, issues, and eventually milestones, releases etc. dependency management enhancement New feature or request labels Jan 1, 2025
junaire added a commit to junaire/eliza that referenced this issue Jan 2, 2025
@odilitime
Copy link
Collaborator

There was comments on a PR to remove carrots because we want to have locked versions to avoid supply chain problems. Not sure we want this.

@monilpat
Copy link
Collaborator Author

monilpat commented Jan 2, 2025 via email

@monilpat
Copy link
Collaborator Author

monilpat commented Jan 2, 2025

Cool closing as it seems like something we will not want to do after hearing from other folks. I apologize for the runaround here.

@monilpat monilpat closed this as completed Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-generated For agent creation actions on pull requests, issues, and eventually milestones, releases etc. dependency management enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants