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

chore(deps): update all dependencies #33

Merged
merged 3 commits into from
May 21, 2024
Merged

chore(deps): update all dependencies #33

merged 3 commits into from
May 21, 2024

Conversation

mheob
Copy link
Owner

@mheob mheob commented May 21, 2024

📚 Summary

  • update all NPM dependencies
  • update all GO dependencies

Summary by CodeRabbit

  • Chores
    • Updated Go version to 1.22 in the release workflow.
    • Replaced setup for PNPM and Node with BUN.
    • Modified various Husky scripts to use BUN commands.
    • Updated .vscode settings for Go language import organization.
    • Updated package.json scripts and dev dependencies.
    • Modified parameter name in the Run function within use_correct_pm.go file.

@mheob mheob added the dependencies Pull requests that update a dependency file label May 21, 2024
Copy link

coderabbitai bot commented May 21, 2024

Walkthrough

The recent updates streamline the development workflow by transitioning from Node and PNPM to BUN, updating the Go version, and refining Husky hooks. These changes impact various files like .github/workflows/release.yml, .husky scripts, and package.json, ensuring compatibility and efficiency with the new setup. Additionally, enhancements to import organization settings are made in .vscode/settings.json.

Changes

File Path Change Summary
.github/workflows/release.yml Updated Go version, switched from PNPM/Node to BUN, adjusted dependency commands
.husky/commit-msg Replaced pnpm exec commitlint with bunx commitlint
.husky/post-merge Changed file check to bun.lockb, replaced pnpm install with bun install
.husky/pre-commit Replaced pnpm exec lint-staged with bunx lint-staged
.husky/pre-push Replaced npx use-correct-pm with bunx use-correct-pm bun
.vscode/settings.json Updated Go import organization settings
package.json Updated scripts for Husky, added publish script, adjusted sort-package-json command, updated dev dependencies

🐇
In the land of code, changes brew,
From Node to BUN, a fresh debut.
Go's version climbs, imports align,
The workflow's sleek, a streamlined sign.
With Husky's hooks and scripts anew,
Our coding dreams come into view.
🌟


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between 226e808 and c93a3d1.
Files ignored due to path filters (4)
  • bun.lockb is excluded by !bun.lockb
  • go.mod is excluded by !**/*.mod
  • go.sum is excluded by !**/*.sum
  • pnpm-lock.yaml is excluded by !pnpm-lock.yaml
Files selected for processing (7)
  • .github/workflows/release.yml (2 hunks)
  • .husky/commit-msg (1 hunks)
  • .husky/post-merge (2 hunks)
  • .husky/pre-commit (1 hunks)
  • .husky/pre-push (1 hunks)
  • .vscode/settings.json (1 hunks)
  • package.json (2 hunks)
Files skipped from review due to trivial changes (2)
  • .husky/pre-push
  • .vscode/settings.json
Additional comments not posted (5)
.husky/commit-msg (1)

1-1: Change from pnpm to bunx for commit linting is consistent with the PR's objectives.

.husky/pre-commit (1)

3-3: Updated to use bunx for running lint-staged, aligning with the transition to BUN.

.husky/post-merge (1)

9-10: Updated to check for changes in bun.lockb and use bun install, aligning with the transition to BUN.

.github/workflows/release.yml (1)

20-20: Updated Go version and transitioned from PNPM/NPM to BUN for dependency management and publishing, aligning with the PR's objectives.

Also applies to: 40-47

package.json (1)

21-23: Updated scripts and devDependencies to align with the transition to BUN and update of dependencies.

Also applies to: 32-32, 39-42

Error: cmd/use_correct_pm.go:20:12: unused-parameter: parameter 'cmd' seems to be unused, consider
removing or renaming it as _ (revive)
Run: func(cmd *cobra.Command, args []string) {
^
level=warning msg="[config_reader] The configuration option `linters.errcheck.ignore`
is deprecated, please use `linters.errcheck.exclude-functions`."
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between c93a3d1 and d5953fc.
Files selected for processing (1)
  • cmd/use_correct_pm.go (1 hunks)
Additional comments not posted (3)
cmd/use_correct_pm.go (3)

20-20: The logic in the Run function is clear and well-structured.


Line range hint 36-36: Proper error handling in the Execute function.


Line range hint 44-44: Dynamic flag initialization enhances flexibility and maintainability.

@kodiakhq kodiakhq bot merged commit 80fd1ee into main May 21, 2024
4 checks passed
@kodiakhq kodiakhq bot deleted the update-dependencies branch May 21, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant