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

Fixed Component manager exportation #2380

Merged
merged 7 commits into from
Nov 27, 2024
Merged

Fixed Component manager exportation #2380

merged 7 commits into from
Nov 27, 2024

Conversation

sebjulliand
Copy link
Collaborator

Changes

The Component Manager could not be used by other extensions because of the way types were exported.
This PR fixes this, allowing other extension to actually contribute components to Code for i.

It also adds an .npmrc file to avoid issues when npm is ran with a proxy npm repo defined locally.

How to test this PR

  1. Run the test cases
  2. Open connection settings
  3. Check all Components are listed correctly

Checklist

  • have tested my change

Signed-off-by: Seb Julliand <sjulliand@arcadsoftware.com>
Signed-off-by: Seb Julliand <sjulliand@arcadsoftware.com>
Signed-off-by: Seb Julliand <sjulliand@arcadsoftware.com>
@sebjulliand sebjulliand added the bug A confirmed issue when something isn't working as intended label Nov 27, 2024
@sebjulliand sebjulliand self-assigned this Nov 27, 2024
Signed-off-by: Seb Julliand <sjulliand@arcadsoftware.com>
Copy link
Contributor

@worksofliam worksofliam left a comment

Choose a reason for hiding this comment

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

Please see my only comment, and other than that, it's all good.

src/components/cqsh/index.ts Outdated Show resolved Hide resolved
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
@sebjulliand
Copy link
Collaborator Author

Thanks @worksofliam !

Copy link
Contributor

👋 A new build is available for this PR based on d19e868.

@worksofliam
Copy link
Contributor

Please see my alternative PR: #2381

Copy link
Contributor

@worksofliam worksofliam left a comment

Choose a reason for hiding this comment

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

Looks like components are still loading good and the test cases are passing. Merge away!

@sebjulliand sebjulliand merged commit dd85f4d into master Nov 27, 2024
1 check passed
@sebjulliand sebjulliand deleted the componentManagerv2 branch November 27, 2024 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A confirmed issue when something isn't working as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants