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

change(aspects): resolve (installed) aspects in workspace from its node_modules #6901

Merged
merged 31 commits into from
Mar 2, 2023

Conversation

GiladShoham
Copy link
Member

@GiladShoham GiladShoham commented Jan 10, 2023

Proposed Changes

  • Install used aspects in the workspace during bit install
  • (DISABLED) When working in a workspace - resolve aspects which are not part of the workspace (bitmap) from node_modules.
    (instead of from a scope aspects capsules that we used to use until now)
    Right now this feature is disabled hardcoded as it causes some issues. we will enable it in a separate PR.
  • refactor any load/resolve aspects logic from the main workspace class to its own class (WorkspaceAspectsLoader)
  • refactor any load/resolve aspects logic from the main scope class to its own class (ScopeAspectsLoader)

add option to not throw during resolve aspects
Refactor creation of WorkspaceAspectsLoader instance
…ve-aspects-node_modules

# Conflicts:
#	scopes/workspace/workspace/workspace.ts
…ve-aspects-node_modules

# Conflicts:
#	scopes/workspace/workspace/workspace.ts
# Conflicts:
#	scopes/workspace/install/install.main.runtime.ts
#	scopes/workspace/workspace/workspace.ts
# Conflicts:
#	scopes/workspace/workspace/workspace.ts
# Conflicts:
#	scopes/workspace/workspace/aspects-merger.ts
#	scopes/workspace/workspace/workspace.main.runtime.ts
#	scopes/workspace/workspace/workspace.provider.ts
#	scopes/workspace/workspace/workspace.ts
@GiladShoham GiladShoham changed the title resolve (installed) aspects in workspace from its node_modules change(aspects): resolve (installed) aspects in workspace from its node_modules Mar 2, 2023
…ve-aspects-node_modules

# Conflicts:
#	scopes/workspace/workspace/workspace.ts
@GiladShoham GiladShoham marked this pull request as ready for review March 2, 2023 12:44
@GiladShoham GiladShoham merged commit 3c1dcf7 into master Mar 2, 2023
@GiladShoham GiladShoham deleted the ws-resolve-aspects-node_modules branch March 2, 2023 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants