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

[pull] master from teambit:master #13

Closed
wants to merge 868 commits into from
Closed

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 16, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@restack-app
Copy link

restack-app bot commented Oct 16, 2023

No applications have been configured for previews targeting branch: master. To do so go to restack console and configure your applications for previews.

@commit-lint
Copy link

commit-lint bot commented Oct 16, 2023

Features

Add

Bug Fixes

Improvement

Chore

Contributors

zkochan, leimonio, NitsanCohen770, luvkapur, davidfirst, ranm8, GiladShoham

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

@pr-code-reviewer
Copy link

pr-code-reviewer bot commented Oct 16, 2023

👋 Hi there!

  1. Ensure consistent formatting by maintaining alignment and indentation throughout the code.
  2. Consider grouping related changes together for better readability and understanding.
  3. Clearly document the reasons behind specific version updates or additional configurations to aid future maintenance.


Automatically generated with the help of gpt-3.5-turbo.
Feedback? Please don't hesitate to drop me an email at webber@takken.io.

@instapr
Copy link

instapr bot commented Oct 16, 2023

Please remove the sponsorship link in the pull request body to keep the focus on the code changes.

@sweep-ai
Copy link

sweep-ai bot commented Oct 16, 2023

Apply Sweep Rules to your PR?

  • Apply: Leftover TODOs in the code should be handled.
  • Apply: All new business logic should have corresponding unit tests in the tests/ directory.
  • Apply: Any clearly inefficient or repeated code should be optimized or refactored.

@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels Oct 16, 2023
@pr-explainer-bot
Copy link

Pull Request Review

Hey there! 👋 I see you've made some changes to the code and you want a review. Let's dive into it!

Changes

Here are the major changes made in the code:

  1. Updated @pnpm/client from version 10.0.27 to 10.0.29
  2. Updated @pnpm/config from version 19.2.1 to 20.0.0
  3. Updated @pnpm/core from version 12.2.2 to 13.0.1
  4. Updated @pnpm/default-reporter from version 12.4.2 to 12.4.3
  5. Updated @pnpm/package-store from version 19.0.4 to 19.0.6
  6. Updated @pnpm/sort-packages from version 5.0.4 to 5.0.6
  7. Updated @pnpm/store-connection-manager from version 7.0.6 to 7.0.8
  8. Updated @pnpm/worker from version 0.3.3 to 0.3.5
  9. Updated @pnpm/workspace.pkgs-graph from version 2.0.7 to 2.0.8
  10. Updated @teambit/dependency-resolver from file:scopes/dependencies/dependency-resolver(@pnpm/logger@5.0.0)(@pnpm/worker@0.3.3)(@types/react@17.0.67)(@yarnpkg/core@3.5.2)(bluebird@3.7.2)(bufferutil@4.0.3)(graphql@15.8.0)(react-dom@

Suggestions

Here are some suggestions to improve the code:

  • Line 0: Added version field with file path and dependencies for @pnpm/logger, @pnpm/worker, @testing-library/react, @types/react, bluebird, bufferutil, graphql, react-dom, react, and utf-8-validate
  • Line 4970: Updated version of @teambit/dependency-resolver with file path and dependencies for @pnpm/logger, @pnpm/worker, @types/react, @yarnpkg/core, bluebird, bufferutil, graphql, react-dom, react, and utf-8-validate
  • Line 5171: Updated version of @teambit/pkg with file path and dependencies for @pnpm/logger, @pnpm/worker, @testing-library/react, @types/react, bluebird, bufferutil, graphql, react-dom, react, and utf-8-validate
  • Line 6104: Updated version of @teambit/dependency-resolver with file path and dependencies for @pnpm/logger, @pnpm/worker, `@types/react

Bugs

Here are the potential bugs found in the code:

  • In line 13364, consider updating the specifier of @pnpm/core to 13.0.1
  • In line 13507, consider updating the specifier of @pnpm/client to 10.0.29
  • In line 13534, consider updating the specifier of @pnpm/config to 20.0.0
  • In line 16444, consider updating the specifier of @pnpm/plugin-commands-publishing to 7.3.19
  • In line 23978, consider updating the

Improvements

Here are the places in the code that could be refactored for better readability:

Rating

On a scale of 0 to 10, here's the rating for the code based on criteria like readability, performance, and security:

  • Readability:
  • Performance:
  • Security:

That's it for the review! Let me know if you need any further assistance. Good luck with your pull request! 🚀

@coderabbitai
Copy link

coderabbitai bot commented Oct 22, 2023

Important

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

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-tests 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 tests 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 tests.
    • @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.
  • The JSON schema for the configuration file is available here.
  • 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/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

davidfirst and others added 21 commits January 25, 2024 15:32
…mote-lane (#8454)

Here is a scenario where this was an issue: `scope-a/comp` was imported
to the workspace, a new lane was created on another scope: `scope-b/dev`
and this component was changed and snapped so it became part of the
lane.
Then, `bit reset` was running which changed the head on the lane to be
the same as main. Now `bit export` throws an error saying `scope-a/comp`
doesn't exist. This is because the lane-object included this component
but this component wasn't sent to the remote as it wasn't staged.

This PR fixes it by removing the component from the lane during the
reset command. Because the component doesn't exist on the remote-lane
and its head is the same as main, no reason to keep it on the lane.
Currently, `bit scope rename` supports only new components. For
exported, it suggests users to run `bit rename` one by one, which can be
an hassle.
This PR combines the logic from "rename", "renameScope" and
"renameOwner" to one place "renameMultiple" and allows renaming multiple
components, some can be exported, some can be new.
Previously, some of the actions during the rename were done only on
"rename" or only on "renameScope", now all of them are aligned.
This PR fixes the rendering of Code Compare route by handling the monaco
editor being lazily imported via context.

Since, monaco editor is now lazily imported - it was unavailable during
the first phase of the render cycle, which caused an exception to be
thrown when calculating the height of the container.
Update legacy-bit-id component to 1.1.1 which includes `BitIds` class.
With this in place, no need for BitId directory anymore, both BitId and
BitIds classes can be consumed from legacy-bit-id component.
CircleCI and others added 28 commits March 6, 2024 04:21
## Proposed Changes

- remove ink from all services
- remove ink from test cmd
- remove unused time component
- remove unused EnvConsole component
- remove ink from run.cmd
## Proposed Changes

- remove ink completely 
- remove commands' render method support
- update lib in aspect env tsconfig to ES2022
- remove ink from the start command
- logger new APIs - isSpinning and multiSpinner
- improve webpack events listener
- add new dep - dreidels": "0.6.1"
- improve `bit start` outputs (especially errors/warnings handling)
- cleanups (remove) unused components
- improve cli docs (remove ink label)
…box/fs/link-or-symlink (#8637)

The name is changed as well because it doesn't do copy anymore. It only
links (hard) or symlink.
…m an internal dir (#8634)

Also, don't allow running `bit init` without flags in a nested
directory. The user intention is probably to create a new workspace, not
fixing the current one.
- update typescript package to 5.3.3
- fix lots of errors from "tsc" due to breaking changes introduced in
version 5.
- update eslint packages to support the new version of typescript.
- update prettier to support the new syntax of "import type".
- fix new lint errors due to the upgrade of the eslint and some eslint
plugins.
- increate the memory of CircleCI for "lint" job. It's now reaches
around 2.5GB.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants