Skip to content

Bump @moq deps and switch from @moq/lite to @moq/net#99

Merged
kixelated merged 1 commit into
mainfrom
claude/musing-varahamihira-dc9068
May 25, 2026
Merged

Bump @moq deps and switch from @moq/lite to @moq/net#99
kixelated merged 1 commit into
mainfrom
claude/musing-varahamihira-dc9068

Conversation

@kixelated
Copy link
Copy Markdown
Collaborator

Summary

  • Update @moq/boy (0.2.9 → 0.2.10), @moq/publish (0.2.7 → 0.2.8), and @moq/watch (0.2.11 → 0.2.12) within their existing ^0.2 ranges.
  • Drop the direct @moq/lite dependency. The networking package was renamed to @moq/net upstream; the embed snippet on /watch now imports only @moq/watch and reaches the networking API via the re-export (Watch.Lite.Connection.Reload, Watch.Lite.Path).
  • Update doc references on /boy and /source to point at @moq/net.

Why

Keeps us on current upstream releases, and using the re-export means the embed example matches a single import surface (@moq/watch) — one fewer package for embedders to add.

Notes for reviewer

  • @moq/lite 0.3.0 is published but is a major bump in 0.x semver; not taken here.
  • The historical blog post src/pages/blog/hash-tag-community.mdx still references @moq/lite by design (point-in-time documentation).
  • Deployed to staging (moq.wtf) and just check passes.

Test plan

  • just check passes locally
  • Staging deploy on moq.wtf renders /watch and the embed code snippet correctly
  • Embed code, when copy-pasted into a fresh page, still loads a broadcast

🤖 Generated with Claude Code

- Update @moq/boy, @moq/publish, @moq/watch within ^0.2 ranges.
- Drop the direct @moq/lite dependency; @moq/lite was renamed to @moq/net
  upstream, and we now use the re-export (Watch.Lite) from @moq/watch
  instead of importing the networking package directly.
- Update doc references on /boy and /source to point at @moq/net.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 25, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 418cdfa2-6726-4f48-ae58-220b0af7785f

📥 Commits

Reviewing files that changed from the base of the PR and between 4ddabf8 and 88177b0.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (4)
  • package.json
  • src/components/watch-embed.tsx
  • src/pages/boy.mdx
  • src/pages/source.mdx

Walkthrough

This PR migrates the project from @moq/lite to @moq/net and @moq/watch Lite APIs. The package.json dependency manifest removes @moq/lite and updates three @moq/* packages to newer minor versions. The watch-embed.tsx component's embedded TypeScript snippet is updated to use Watch.Lite.Connection.Reload and Watch.Lite.Path.from instead of the previous @moq/lite APIs. Documentation in boy.mdx and source.mdx is updated to reference @moq/net for the Web networking layer instead of @moq/lite.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Bump @moq deps and switch from @moq/lite to @moq/net' clearly and specifically summarizes the main changes: dependency version bumps and a package migration.
Description check ✅ Passed The description thoroughly documents the changes (dependency updates and package migration), rationale, and testing approach, all directly related to the changeset.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch claude/musing-varahamihira-dc9068

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint skipped: no ESLint configuration detected in root package.json. To enable, add eslint to devDependencies.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kixelated kixelated merged commit b15b8e2 into main May 25, 2026
1 check passed
@kixelated kixelated deleted the claude/musing-varahamihira-dc9068 branch May 25, 2026 21:16
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.

1 participant