Skip to content

refactor(repo): centralize package subpaths#2168

Merged
jrusso1020 merged 1 commit into
mainfrom
07-10-refactor-repo-centralize-package-subpaths
Jul 18, 2026
Merged

refactor(repo): centralize package subpaths#2168
jrusso1020 merged 1 commit into
mainfrom
07-10-refactor-repo-centralize-package-subpaths

Conversation

@jrusso1020

@jrusso1020 jrusso1020 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

What

Describe public package subpaths once and generate manifests and build aliases from that descriptor.

Why

Local exports, published exports, producer aliases, and CLI aliases were hand-maintained graphs that could drift.

How

Add package-subpaths.json descriptors for all public workspaces and a deterministic generator/checker consumed by build configs.

Test plan

  • subpath generator tests; standalone producer/CLI builds; repository lint
  • Stack-wide lint, format, build, typecheck, and relevant integration gates

jrusso1020 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-core-own-edit-protocol-contract branch from ccdacbf to a97ef8e Compare July 13, 2026 20:33
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-repo-centralize-package-subpaths branch from f678c50 to 1e3aa59 Compare July 13, 2026 20:33
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-core-own-edit-protocol-contract branch from a97ef8e to 8657d4e Compare July 13, 2026 22:09
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-repo-centralize-package-subpaths branch 2 times, most recently from 554f049 to 81f0609 Compare July 13, 2026 22:18
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-core-own-edit-protocol-contract branch 2 times, most recently from 4ea5e9c to 4465a5a Compare July 13, 2026 23:08
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-repo-centralize-package-subpaths branch from 81f0609 to 02274fd Compare July 13, 2026 23:08
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-core-own-edit-protocol-contract branch from 4465a5a to 8fd2307 Compare July 14, 2026 00:03
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-repo-centralize-package-subpaths branch 2 times, most recently from 4a8cbbd to f064103 Compare July 14, 2026 03:20
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-core-own-edit-protocol-contract branch from 8fd2307 to 3ef06c2 Compare July 14, 2026 03:20
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-repo-centralize-package-subpaths branch from f064103 to e00f4b9 Compare July 14, 2026 17:03
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-core-own-edit-protocol-contract branch from 3ef06c2 to 53d9022 Compare July 14, 2026 17:03
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-repo-centralize-package-subpaths branch from e00f4b9 to 7d6189c Compare July 14, 2026 17:11
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-core-own-edit-protocol-contract branch from 184f662 to c2c8a93 Compare July 14, 2026 17:35
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-repo-centralize-package-subpaths branch from 7d6189c to 8fe514e Compare July 14, 2026 17:35
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-core-own-edit-protocol-contract branch from c2c8a93 to 92d3dd5 Compare July 14, 2026 17:57
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-repo-centralize-package-subpaths branch from 8fe514e to 8bcba53 Compare July 14, 2026 17:57
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-core-own-edit-protocol-contract branch from 92d3dd5 to d609bdf Compare July 14, 2026 18:06
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-repo-centralize-package-subpaths branch 3 times, most recently from dfddd47 to b2caf3f Compare July 14, 2026 19:42
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-core-own-edit-protocol-contract branch from 4122ba6 to a2237c5 Compare July 14, 2026 19:42
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-repo-centralize-package-subpaths branch 2 times, most recently from d85a2b5 to 5a5fa1b Compare July 14, 2026 19:49
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-core-own-edit-protocol-contract branch from 6b4053c to ee1b353 Compare July 14, 2026 19:55
@jrusso1020
jrusso1020 force-pushed the 07-10-refactor-repo-centralize-package-subpaths branch from 5a5fa1b to 9b655eb Compare July 14, 2026 19:55

@miguel-heygen miguel-heygen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Audited: package-subpaths descriptors, generated package exports/publishConfig, scripts/package-subpaths.mjs + tests, packages/cli/tsup.config.ts, and packages/producer/build.mjs; exact-head diff and surrounding package contracts were reviewed.

Verified: head 8d9d9c0 is open, mergeable, based on 11cd61d; all listed required checks are terminal green, including CLI smoke/global install, Producer tests, Windows, CodeQL, and all regression shards. Generator verification reports all 12 public workspaces in sync and its 4 contract tests pass. CLI and Producer alias maps resolve the declared local source subpaths without drift; published exports point at dist artifacts. GraphQL reviewThreads has zero unresolved non-outdated threads. CodeQL alerts #775/#777 show no active blocking state. Existing automated review coverage is noted; no additional blocker found.

— Magi

Verdict: APPROVE
Reasoning: The descriptor-driven generator and consumer aliases are consistent at the exact head, and the full required CI/CodeQL/regression surface is green with no unresolved threads.

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.

2 participants