chore: rename core → core-components and hooks → react-hooks-components#802
Merged
Conversation
…ents Rename two v5 workspace packages, both folder and npm package name: - packages/core -> packages/core-components (@commercelayer/core-components) - packages/hooks -> packages/react-hooks-components (@commercelayer/react-hooks-components) Folders moved with git mv to preserve history. Updated: package.json name fields, workspace:* cross-deps, ~81 imports across react-components (src + specs) and hooks src, root build/build:watch filters, react-components vitest aliases (incl. #sdk/#types and _vitest.config.mts), pkg-pr-new.yaml publish paths, and packages/document doc content. Regenerated pnpm-lock.yaml. Packages are unpublished, so no external consumers are affected. Verified locally: pnpm build (all libs + React Compiler guard) and pnpm test (core 129 / hooks 99 / react-components 766, all pass); frozen-lockfile install consistent. Closes #801
gciotola
approved these changes
Jul 21, 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.
Closes #801
Summary
Renames two v5 workspace packages — folder and npm package name:
packages/core(@commercelayer/core)packages/core-components(@commercelayer/core-components)packages/hooks(@commercelayer/hooks)packages/react-hooks-components(@commercelayer/react-hooks-components)Folders moved with
git mvto preserve history.What changed
namefields +workspace:*cross-deps (react-hooks-components → core-components; react-components → both)@commercelayer/core/@commercelayer/hooksimports acrossreact-components(src + specs) andhookssrcpackage.jsonbuild/build:watch--filternamesreact-componentsvitest aliases incl.#sdk/#types(+_vitest.config.mts).github/workflows/pgk-pr-new.yamlpublish pathspackages/documentdoc content (file names unchanged)pnpm-lock.yamlPackages are unpublished (v5,
1.0.0) — no external consumers affected.Verification
pnpm build— all libs build, React Compiler output guard passespnpm test— core 129 / hooks 99 / react-components 766 passpnpm install --frozen-lockfile— consistent