Skip to content

Commit

Permalink
this gets annyoing
Browse files Browse the repository at this point in the history
  • Loading branch information
niclasheun committed Feb 7, 2025
1 parent 7ce65f5 commit a1fdbbb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish-state-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,14 @@ jobs:
const branchName = "${{ steps.commit_bump.outputs.branch_name }}";
const newVersion = "${{ steps.commit_bump.outputs.new_version }}";
const { data: pullRequest } = await github.pulls.create({
owner: github.context.repo.owner,
repo: github.context.repo.repo,
title: `chore: bump prompt-shared-state version to ${newVersion}`,
head: branchName,
base: 'main',
body: 'This pull request was automatically opened by the version bump workflow.',
draft: false
const { data: pullRequest } = await github.rest.pulls.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: `chore: bump prompt-shared-state version to ${newVersion}`,
head: branchName,
base: 'main',
body: 'This pull request was automatically opened by the version bump workflow.',
draft: false
});
core.setOutput('pull_request_number', pullRequest.number);
Expand Down
1 change: 0 additions & 1 deletion prompt-shared-state/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ function MyComponent() {
```
Any changes to the store will be reflected across all microfrontends using this library.


### Module Federation Configuration
For the state to be truly _shared_ among all microfrontends, configure **Module Federation** to treat `@tumaet/prompt-shared-state` as a singleton:

Expand Down

0 comments on commit a1fdbbb

Please sign in to comment.