Skip to content
This repository was archived by the owner on Aug 19, 2026. It is now read-only.

Add public package boundary - #3

Merged
nahiyankhan merged 1 commit into
mainfrom
codex/public-package-boundary
Jun 8, 2026
Merged

Add public package boundary#3
nahiyankhan merged 1 commit into
mainfrom
codex/public-package-boundary

Conversation

@nahiyankhan

Copy link
Copy Markdown
Collaborator

Summary

Adds the public Summon package boundary on top of the clean source import:

  • renames private implementation workspaces to @summon-internal/*
  • adds public facade packages: @anarchitecture/summon, @anarchitecture/summon-server, @anarchitecture/summon-react
  • builds public packages from internal dist output with import rewriting, without committing generated dist
  • adds public package hygiene checks and tarball smoke tests
  • updates docs/demo imports to dogfood public package names
  • adds Changesets config and a pinned release workflow using npm provenance and SUMMON_NPM_PUBLISH_TOKEN

Validation

  • pnpm install --frozen-lockfile
  • pnpm typecheck
  • pnpm test
  • pnpm build
  • pnpm check:public-packages
  • pnpm pack:dry-run
  • pnpm smoke:public-packages
  • pnpm test:safety
  • git diff --cached --check
  • scans for old @summon/*, public dist @summon-internal/* leaks, stale sourceMappingURL, obvious secrets, and accidental generated files

Notes

The first publish can happen after this merges if SUMMON_NPM_PUBLISH_TOKEN is configured. The public package manifests use semver dependencies (^0.1.0) rather than workspace protocols so packed/published manifests are consumer-safe.

@nahiyankhan
nahiyankhan merged commit 34ce791 into main Jun 8, 2026
6 checks passed
@nahiyankhan
nahiyankhan deleted the codex/public-package-boundary branch July 2, 2026 11:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant