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

Update npm packages in package.json #25

Closed
wants to merge 2 commits into from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Jul 7, 2023

This PR introduces a new utility script that checks the version of each npm package listed in the package.json file, compares it with the latest version in the npm repository, and updates the package.json file if necessary.

The script is run with the command npm run update-packages. It uses the fs module to read the package.json file, the axios module to make requests to the npm API, and the child_process module to run the npm install command.

This will help ensure that the project is always using the latest versions of its dependencies, which can include important bug fixes and performance improvements.

Please review and let me know if any changes are required.

Fixes #24.

To checkout this PR branch, run the following command in your terminal:

git checkout sweep/update-npm-packages

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Message that will be displayed on users first pull request

Copy link
Contributor Author

@sweep-ai sweep-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No changes required. The updates made to the package.json and the addition of the utils/packageUpdater.js file are well implemented. Good job!

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