Skip to content

feat(storefront-data): export shared checkout flow utils - #364

Merged
KaiUweCZE merged 1 commit into
masterfrom
fix/export-checkout
Apr 12, 2026
Merged

feat(storefront-data): export shared checkout flow utils#364
KaiUweCZE merged 1 commit into
masterfrom
fix/export-checkout

Conversation

@KaiUweCZE

@KaiUweCZE KaiUweCZE commented Apr 12, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features
    • Checkout flow utilities module is now publicly available as a package export, enabling developers to import and utilise these utilities in their applications.

@semanticdiff-com

semanticdiff-com Bot commented Apr 12, 2026

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  libs/storefront-data/package.json  0% smaller

@vercel

vercel Bot commented Apr 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
new-engine-ui-storybook Ready Ready Preview, Comment Apr 12, 2026 11:12am

@coderabbitai

coderabbitai Bot commented Apr 12, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: a4f46879-98de-471e-bcca-5cfe3de7cb43

📥 Commits

Reviewing files that changed from the base of the PR and between 9e7702e and 81e4452.

📒 Files selected for processing (1)
  • libs/storefront-data/package.json
📜 Recent review details
⏰ 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). (1)
  • GitHub Check: Analyze (javascript-typescript)
🧰 Additional context used
📓 Path-based instructions (1)
**/package.json

📄 CodeRabbit inference engine (CLAUDE.md)

Use pnpm CLI to add dependencies; never edit package.json directly

Files:

  • libs/storefront-data/package.json
🧠 Learnings (9)
📓 Common learnings
Learnt from: CR
Repo: TechsioCZ/new-engine PR: 0
File: libs/storefront-data/AGENTS.md:0-0
Timestamp: 2026-02-24T09:20:15.382Z
Learning: Applies to libs/storefront-data/**/index.ts : Do not create barrel files with `index.ts` re-exports
Learnt from: CR
Repo: TechsioCZ/new-engine PR: 0
File: libs/storefront-data/AGENTS.md:0-0
Timestamp: 2026-02-24T09:20:15.382Z
Learning: Applies to libs/storefront-data/**/*.{ts,tsx,js,jsx} : Import from source, not from `./dist/` paths
📚 Learning: 2026-02-24T09:20:15.382Z
Learnt from: CR
Repo: TechsioCZ/new-engine PR: 0
File: libs/storefront-data/AGENTS.md:0-0
Timestamp: 2026-02-24T09:20:15.382Z
Learning: Applies to libs/storefront-data/**/*.{ts,tsx,js,jsx} : Import from source, not from `./dist/` paths

Applied to files:

  • libs/storefront-data/package.json
📚 Learning: 2026-02-24T09:20:15.382Z
Learnt from: CR
Repo: TechsioCZ/new-engine PR: 0
File: libs/storefront-data/AGENTS.md:0-0
Timestamp: 2026-02-24T09:20:15.382Z
Learning: Applies to libs/storefront-data/**/index.ts : Do not create barrel files with `index.ts` re-exports

Applied to files:

  • libs/storefront-data/package.json
📚 Learning: 2026-02-24T09:20:15.382Z
Learnt from: CR
Repo: TechsioCZ/new-engine PR: 0
File: libs/storefront-data/AGENTS.md:0-0
Timestamp: 2026-02-24T09:20:15.382Z
Learning: Applies to libs/storefront-data/**/*.{ts,tsx} : Use proper generics instead of `any` type in TypeScript

Applied to files:

  • libs/storefront-data/package.json
📚 Learning: 2026-02-24T09:20:15.382Z
Learnt from: CR
Repo: TechsioCZ/new-engine PR: 0
File: libs/storefront-data/AGENTS.md:0-0
Timestamp: 2026-02-24T09:20:15.382Z
Learning: Applies to libs/storefront-data/**/*.{ts,tsx,js,jsx} : Use `createQueryKey()` utility instead of hardcoding query keys

Applied to files:

  • libs/storefront-data/package.json
📚 Learning: 2026-02-24T09:20:15.382Z
Learnt from: CR
Repo: TechsioCZ/new-engine PR: 0
File: libs/storefront-data/AGENTS.md:0-0
Timestamp: 2026-02-24T09:20:15.382Z
Learning: Applies to libs/storefront-data/**/*.{ts,tsx,js,jsx} : Do not mix server and client code in the same file

Applied to files:

  • libs/storefront-data/package.json
📚 Learning: 2026-02-24T09:20:15.382Z
Learnt from: CR
Repo: TechsioCZ/new-engine PR: 0
File: libs/storefront-data/AGENTS.md:0-0
Timestamp: 2026-02-24T09:20:15.382Z
Learning: Applies to libs/storefront-data/**/*cache*.{ts,tsx,js,jsx} : Use cache strategies from `CacheConfig` (static, semiStatic, realtime, userData) when configuring query cache

Applied to files:

  • libs/storefront-data/package.json
📚 Learning: 2026-02-24T09:20:15.382Z
Learnt from: CR
Repo: TechsioCZ/new-engine PR: 0
File: libs/storefront-data/AGENTS.md:0-0
Timestamp: 2026-02-24T09:20:15.382Z
Learning: Applies to libs/storefront-data/src/client/**/*.{ts,tsx} : Keep `"use client"` directive only in client component files, never in server-only files

Applied to files:

  • libs/storefront-data/package.json
📚 Learning: 2026-02-05T14:43:17.404Z
Learnt from: KaiUweCZE
Repo: NMIT-WR/new-engine PR: 324
File: apps/medusa-be/package.json:0-0
Timestamp: 2026-02-05T14:43:17.404Z
Learning: Validate and enforce React 19 compatibility across monorepo workspaces. Since Medusa UI supports React 19 via root package.json overrides and Medusa Cloud prerequisites show React 19 overrides for npm workspaces, ensure workspace root and all relevant package.json files align with React 19 (18+ requirement is satisfied). When reviewing, verify that overrides exist in the root package.json and that dependent packages in apps or packages directories declare React 19 (or compatible) in their peerDependencies or dependencies as appropriate for workspace usage.

Applied to files:

  • libs/storefront-data/package.json
🔇 Additional comments (1)
libs/storefront-data/package.json (1)

24-27: feat(exports): checkout-flow-utils subpath is wired correctly

The new export entry follows the package’s existing types/import convention and cleanly exposes the shared checkout utilities.


Walkthrough

A new package export subpath ./shared/checkout-flow-utils has been added to the package configuration, mapping to the corresponding TypeScript declaration and JavaScript runtime files without modifying any other export entries or package settings.

Changes

Cohort / File(s) Summary
Package Export Configuration
libs/storefront-data/package.json
Added new export entry for ./shared/checkout-flow-utils with TypeScript types at ./dist/src/shared/checkout-flow-utils.d.ts and runtime import at ./dist/shared/checkout-flow-utils.js.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding a new export for shared checkout flow utilities in the storefront-data package.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/export-checkout
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch fix/export-checkout

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@blacksmith-sh

blacksmith-sh Bot commented Apr 12, 2026

Copy link
Copy Markdown

Blacksmith Account Suspended

This Blacksmith account requires additional verification. Jobs targeting Blacksmith runners will not be picked up and will remain queued until they timeout.

Please contact Blacksmith Support for assistance.

@KaiUweCZE
KaiUweCZE merged commit 17a86cb into master Apr 12, 2026
4 of 5 checks passed
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.

1 participant