fix(components-map): declare @swr-data-lab/components as peer dependency - #554
Merged
Merged
Conversation
19 modules in components-map/dist import @swr-data-lab/components, but it
was only a devDependency ("*" for the workspace link), so installing
@swr-data-lab/components-map alone left those imports unresolved.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Sep 30, 2026
romanlamsal
added a commit
that referenced
this pull request
Sep 30, 2026
semantic-release analyzed every commit since a package's last tag, regardless of which files it touched. The components-map fix in #554 therefore also released @swr-data-lab/components@4.0.1 when #555 triggered the components workflow. Both packages now extend semantic-release-monorepo, which limits analyzeCommits and generateNotes to commits that changed files inside the package folder. The explicit tagFormat keeps the existing components-v* / components-map-v* tags (the plugin's default would be @swr-data-lab/<pkg>-v*). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Sep 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
components-map/distimports@swr-data-lab/componentsin 19 modules, but the package only listed it as a devDependency ("*", for the workspace link). Consumers installing@swr-data-lab/components-mapon its own would get unresolved imports. publint doesn't catch this.This adds
"@swr-data-lab/components": "^4.0.0"topeerDependencies. The devDependency stays so the workspace link keeps working locally; npm still resolves it to./components(the in-repo version field is stale at 1.0.6 because semantic-release sets the real version only at publish time).Merging this triggers
release-components-map.yml, which should publish the first real release (1.0.0) now that the package exists on npm and its trusted publisher is configured.Verified locally: clean
npm ci,npm run package -w components-map(publint: all good),npm pack --dry-run.🤖 Generated with Claude Code