Revert "Cleanup: Remove duplicated entrypoints in core"#32575
Conversation
WalkthroughThis PR redirects multiple imports from public Storybook packages to their internal counterparts (e.g., theming, manager-api, preview-api). It exposes new internal export paths in core/package.json and augments core build-config to include ./internal/* export entries. The Vite builder adds storybook/internal/preview-api to INCLUDE_CANDIDATES. Globals are adjusted: a new runtime mapping for storybook/internal/preview-api is added, and a duplicative globals-module-info path expansion is removed. Some stories/templates update hook/context imports accordingly, and a manager story removes mocked Manager API data. The CLI automigration consolidates import rewrites by relying solely on consolidatedPackages. Possibly related PRs
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (17)
💤 Files with no reviewable changes (1)
🧰 Additional context used📓 Path-based instructions (2)**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
🧠 Learnings (4)📓 Common learnings📚 Learning: 2025-09-24T09:39:39.209ZApplied to files:
📚 Learning: 2025-09-17T08:11:47.197ZApplied to files:
📚 Learning: 2025-09-17T08:11:47.197ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (11)
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. Comment |
|
View your CI Pipeline Execution ↗ for commit 2ce57f9
☁️ Nx Cloud last updated this comment at |
Reverts #32507
Seems there may have been some unintentional UI changes due to this, checking if reverting this PR fixes it, if not something else was the cause.
Summary by CodeRabbit