Repository navigation
Removed activitypub npm publish & version-bump workflow - #28894
Conversation
no ref - apps/activitypub is now bundled into the Ghost Admin React bundle from source (apps/admin imports `@tryghost/activitypub/api`), so it is no longer distributed via npm/jsDelivr. The publish-and-bump machinery is now dead code with no other consumers. - Removed the `@tryghost/activitypub` entry from the `publish_public_apps` matrix in ci.yml, plus the activitypub-only jsDelivr cache wait step. - Removed the pre-commit hook section that prompted to "ship a new version" and auto-bumped apps/activitypub/package.json. Tier 1 of the cleanup. Vestigial package.json publish metadata (private/files/main/module/exports["."]) and the library `dist` build are intentionally left for a follow-up review. Co-Authored-By: Claude Opus 4.8 <[email protected]>
WalkthroughThe pre-commit hook’s section boundary after the submodule check was adjusted. In CI, the Possibly related PRs
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run @tryghost/admin-x-settings:test:acceptance |
✅ Succeeded | 10m 21s | View ↗ |
nx run ghost:test:ci:integration |
✅ Succeeded | 3s | View ↗ |
nx run ghost:test:integration |
✅ Succeeded | 2m 37s | View ↗ |
nx run ghost:test:legacy |
✅ Succeeded | 2m 36s | View ↗ |
nx run ghost:test:e2e |
✅ Succeeded | 2m 15s | View ↗ |
nx run-many --target=build --projects=tag:publi... |
✅ Succeeded | 1s | View ↗ |
nx run @tryghost/comments-ui:test:acceptance |
✅ Succeeded | 45s | View ↗ |
nx run @tryghost/admin:build |
✅ Succeeded | 9s | View ↗ |
Additional runs (7) |
✅ Succeeded | ... | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-06-25 08:40:00 UTC
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #28894 +/- ##
==========================================
- Coverage 74.28% 74.26% -0.03%
==========================================
Files 1565 1565
Lines 135098 135098
Branches 16413 16408 -5
==========================================
- Hits 100363 100324 -39
- Misses 33751 33760 +9
- Partials 984 1014 +30
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|

closes https://linear.app/ghost/issue/GVA-813/
apps/activitypubused to be shipped to npm (and served via jsDelivr) by bumping itspackage.jsonversion. That workflow is no longer valid — activitypub is now bundled into the Ghost Admin React bundle from source.apps/adminimports it as a workspace dependency via@tryghost/activitypub/api(→src/index.tsx), so it never consumes thedist/UMD library or the CDN.This removes the now-dead publish-and-version-bump machinery.
Changes
.github/workflows/ci.yml— removed the@tryghost/activitypubentry from thepublish_public_appsmatrix, plus the activitypub-only "Wait before purging jsDelivr cache" step. The other six public apps (portal, sodo-search, comments-ui, signup-form, announcement-bar, admin-toolbar) are genuinely CDN-distributed and keep publishing as before..github/hooks/pre-commit.bash— removed section 3, the interactive "ship a new version of @tryghost/activitypub?" prompt that auto-bumpedapps/activitypub/package.jsonon commit.Verification
ci.ymlre-parses as valid YAML; the publish matrix now lists exactly the six remaining public apps.increment_version,AP_BUMP, or activitypub in the pre-commit hook; the shared color vars it used are still referenced by the secrets/submodule sections.check-app-version-bump.jsalready excludes activitypub (no change needed), and Ghost core reads no activitypub version at runtime (nodefaults.jsonentry / CDN URL construction).