Skip to content

chore(deps): upgrade to ras-stack 4 and move geometry under core - #103

Merged
richardsolomou merged 1 commit into
mainfrom
chore/ras-stack-v4
Oct 17, 2026
Merged

richardsolomou merged 1 commit into
mainfrom
chore/ras-stack-v4

Conversation

@richardsolomou

Copy link
Copy Markdown
Owner

Problem

ras-stack-config's domain preset used to cover src/geometry/** as well as src/core/**, which was this repo's layout leaking into a shared package. From 3.0.0 it only covers src/core/**, so the geometry's no-DOM, no-framework import rules would silently stop applying. Separately, the PostHog provider overrode api_host through options instead of using ingestPath, and restated the SDK's default exception capture.

Changes

  • Moved src/geometry to src/core/geometry so the shared preset keeps enforcing the boundary without copying its rules here. Geometry files only import their siblings and packages, so the move is just import paths; docs follow.
  • ras-stack ^4.0.0 and ras-stack-config ^3.0.0, with matching age exclusions.
  • PostHogIntegration gets ingestPath={posthogEnvironment?.host} for direct ingestion. The capture_exceptions object is gone because it matched what capture_exceptions: true already expands to: errors and rejections on, console errors off.

Risk

Low. Exports and the preview are unaffected; only imports and the provider props changed. Revert to roll back.

Verification

  • pnpm check passes: format, lint, changesets, typecheck, tests, build.
  • The PostHog wiring test now asserts ingestPath.

Checklist

  • Tests cover new or changed behavior where practical.
  • Geometry changes are checked against a real export, not just the preview. (N/A, files moved without code changes)
  • User-facing behavior is documented in the README. (N/A, no user-facing change)

🤖 Generated with Claude Code

ras-stack-config 3 restricts only src/core in its domain preset, so the
DOM-free geometry moves to src/core/geometry to keep that boundary.
PostHog uses ingestPath for direct ingestion and drops an exception
override that only restated the default.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
basekit 2ef9071 Commit Preview URL

Branch Preview URL
Oct 17 2026, 03:24 AM

@richardsolomou
richardsolomou merged commit 46e12ed into main Oct 17, 2026
4 checks passed
@richardsolomou
richardsolomou deleted the chore/ras-stack-v4 branch October 17, 2026 03:26
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