Repository navigation
Consume @pegma/health from npm - #9
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
There was a problem hiding this comment.
Pull request overview
This pull request updates the pegma.dev Worker to consume @pegma/health directly from the public npm registry (instead of a vendored tarball), and updates the site’s component catalog to reflect Health as published.
Changes:
- Switched
@pegma/healthdependency fromfile:worker-vendor/pegma-health-0.1.0.tgzto@pegma/health@^0.1.1(and updated the lockfile accordingly). - Removed vendoring documentation (and the vendored-bridge README).
- Marked the Health component as
publishedand updated its “now” note in the component registry.
Reviewed changes
Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| worker/README.md | Removes the section documenting the temporary vendored @pegma/health bridge. |
| worker-vendor/README.md | Deletes vendored-package README now that npm consumption is in place. |
| src/data/components.ts | Marks Health as published and updates its current-status description. |
| package.json | Switches @pegma/health dependency to the public npm registry (^0.1.1). |
| package-lock.json | Updates resolved @pegma/health package metadata to registry-hosted 0.1.1. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f0aa03cfd7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…rom the plan. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
file:worker-vendor/pegma-health-0.1.0.tgzwith@pegma/health@^0.1.1from the public registry.worker-vendor/bridge and marks Health as published in the component catalog.Test plan
npm ls @pegma/health→ 0.1.1wrangler deploy --dry-runfor the WorkerGET /healthstill returns 200