feat: migrate to pnpm monorepo with shared Strapi CMS#566
Open
jwena611-cyber wants to merge 13 commits intomedusajs:mainfrom
Open
feat: migrate to pnpm monorepo with shared Strapi CMS#566jwena611-cyber wants to merge 13 commits intomedusajs:mainfrom
jwena611-cyber wants to merge 13 commits intomedusajs:mainfrom
Conversation
added 12 commits
March 31, 2026 01:37
Switch package management to pnpm by updating packageManager, generating pnpm-lock.yaml, and removing legacy yarn/npm lockfiles to standardize the install workflow before monorepo migration. Made-with: Cursor
Move the existing storefront into packages/rh-storefront and introduce workspace root metadata so the repository can evolve into a pnpm monorepo without losing git history. Made-with: Cursor
Set up Strapi CMS with RH/IDS content schemas, tightened public permissions, and token/webhook-ready infrastructure so both storefronts can integrate against a shared CMS safely. Made-with: Cursor
Add shared type definitions and a reusable seed workspace so Strapi-generated typings can be reused across apps and baseline CMS content can be populated consistently. Made-with: Cursor
Wire RH storefront to shared Strapi CMS data with token-authenticated fetch utilities and tag-based on-demand revalidation so content updates can propagate through the frontend safely. Made-with: Cursor
Use an explicit workspace path filter so the RH dev script resolves reliably in the monorepo and matches the migration playbook flow. Made-with: Cursor
Scaffold id-studio as a new workspace and wire it to shared Strapi client/revalidate flows so seeded IDS content can render and refresh via webhook-driven ISR. Made-with: Cursor
Made-with: Cursor # Conflicts: # package-lock.json # package.json # packages/rh-storefront/src/modules/layout/components/cart-dropdown/index.tsx # packages/rh-storefront/src/modules/products/components/product-preview/price.tsx # packages/rh-storefront/src/modules/store/components/pagination/index.tsx # src/app/layout.tsx # src/modules/home/components/category-grid/index.tsx # src/modules/layout/templates/footer/index.tsx # src/modules/layout/templates/nav/index.tsx # src/modules/store/components/refinement-list/index.tsx # src/modules/store/templates/index.tsx # yarn.lock
|
Someone is attempting to deploy a commit to the medusajs Team on Vercel. A member of the Team first needs to authorize it. |
Made-with: Cursor # Conflicts: # package.json # yarn.lock
Author
|
Synced this branch with the latest upstream \ and resolved merge conflicts.\n\nCurrent status:\n- PR is now mergeable\n- Type checks passed locally for \ and \n- Remaining blocker is Vercel authorization required for this fork-based PR\n\nCould a maintainer authorize the Vercel deploy checks for this PR? |
Author
|
Synced this branch with the latest upstream main and resolved merge conflicts. Current status:
Could a maintainer authorize the Vercel deploy checks for this PR? |
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.
Summary
packages/rh-storefront,packages/strapi-cms,packages/shared-types,packages/seed, andpackages/id-studioTest plan
pnpm --filter "./packages/rh-storefront" exec tsc --noEmitpnpm --filter id-studio exec tsc --noEmitcurl -L http://localhost:8000/gbreturns200curl http://localhost:8001/returns200curl http://localhost:1337/adminreturns200Made with Cursor