fix: wire components-migration.json into redirect plugin #879
+46
−9
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.
Summary
components-migration.jsonwas never loaded by the static redirects plugin (plugins/staticRedirects/index.js), so all 15 component name redirects have been silently broken since the file was introduced in PR New org components #713requireand spread into the combined redirects arrayeks/karpenter/docs→eks/karpenter-controller/docs/which is a 404)Fixes the broken newsletter links reported by Jonathan:
/components/library/aws/auditmanager/→/components/library/aws/audit-manager//components/library/aws/shield/→/components/library/aws/aws-shield//components/library/aws/inspector2/→/components/library/aws/aws-inspector2//components/library/aws/securityhub/→/components/library/aws/security-hub//components/library/aws/config/→/components/library/aws/aws-config/Also fixes 9 other pre-existing broken redirects (argocd-repo, aws-sso, datadog-configuration, eks/karpenter, spacelift/worker-pool, tgw/cross-region-hub-connector, etc.)
Test plan
/components/library/aws/aws-sso/)🤖 Generated with Claude Code