Skip to content

refactor: support multiple shareScopeKey#3586

Merged
2heal1 merged 10 commits intoconsume-share-layers-sharescopefrom
refactor/mulitipe-share-scope-key
Mar 14, 2025
Merged

refactor: support multiple shareScopeKey#3586
2heal1 merged 10 commits intoconsume-share-layers-sharescopefrom
refactor/mulitipe-share-scope-key

Conversation

@2heal1
Copy link
Copy Markdown
Member

@2heal1 2heal1 commented Mar 12, 2025

Description

Support multiple shareScope

the rules as follow:

  // host: 'default' remote: 'default'  remote['default'] = hostShareScopeMap['default']
  // host: ['default', 'scope1'] remote: 'default'  remote['default'] = hostShareScopeMap['default']
  // host: 'default' remote: ['default','scope1']  remote['default'] = hostShareScopeMap['default']; remote['scope1'] = hostShareScopeMap['scope1'] = {}
  // host: ['scope1','default'] remote: ['scope1','scope2'] => remote['scope1'] = hostShareScopeMap['scope1']; remote['scope2'] = hostShareScopeMap['scope2'] = {};
  

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 12, 2025

⚠️ No Changeset found

Latest commit: 8771013

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@2heal1 2heal1 changed the title refactor: support mulite shareScopeKey refactor: support mulitiple shareScopeKey Mar 12, 2025
@2heal1 2heal1 changed the title refactor: support mulitiple shareScopeKey refactor: support muliple shareScopeKey Mar 12, 2025
@2heal1 2heal1 changed the title refactor: support muliple shareScopeKey refactor: support multiple shareScopeKey Mar 12, 2025
@2heal1 2heal1 merged commit 1450c0a into consume-share-layers-sharescope Mar 14, 2025
9 checks passed
@2heal1 2heal1 deleted the refactor/mulitipe-share-scope-key branch March 14, 2025 03:48
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