Skip to content

Comments

Remove library-specific code, centralize CDN config, fix docs — v0.2.13#8

Merged
petrbrzek merged 1 commit intomainfrom
feature/platform-cleanup-v0.2.13
Feb 12, 2026
Merged

Remove library-specific code, centralize CDN config, fix docs — v0.2.13#8
petrbrzek merged 1 commit intomainfrom
feature/platform-cleanup-v0.2.13

Conversation

@petrbrzek
Copy link
Contributor

Summary

  • Platform cleanup: Remove sentry shim, custom convex command, Convex-specific path remaps, and move vfs: prefix stripping to esbuild shim — all replaced by generic platform solutions
  • CDN centralization: All CDN URLs (esm.sh, unpkg, etc.) now live in src/config/cdn.ts instead of being scattered across files
  • esm.sh version fix: redirectNpmImports reads package.json dependencies and includes major version in URLs (e.g. ai@4/react), fixing 404s on subpath imports
  • Demo improvements: Rename ai-chatbot → vercel-ai-sdk demo, add setup overlay dialogs with privacy notices, add Vercel AI SDK to homepage
  • Documentation: Fix "Just Node" → "almostnode" in tutorials, fix broken links, add Demos section to README, update CHANGELOG

Net result: -367 lines (764 added, 1131 removed)

Test plan

  • npm run test:run passes (all unit tests including 23 new tests)
  • npm run type-check passes
  • Verify Vercel AI SDK demo loads at /examples/demo-vercel-ai-sdk.html with setup overlay
  • Verify Convex demo loads at /examples/demo-convex-app.html with setup overlay
  • Verify no "Just Node" or broken API.md links remain in docs

🤖 Generated with Claude Code

Platform cleanup:
- Remove sentry shim (not a real Node.js built-in)
- Remove custom convex command (uses generic bin stubs now)
- Remove Convex-specific path remaps from fs.ts
- Move vfs: prefix stripping from fs.ts to esbuild.ts
- Centralize all CDN URLs in src/config/cdn.ts

esm.sh fix:
- redirectNpmImports now reads package.json dependencies and includes
  major version in URLs (e.g. ai@4/react), fixing 404s on subpath imports

Demo improvements:
- Rename ai-chatbot demo → vercel-ai-sdk demo
- Add setup overlay dialogs for Convex and Vercel AI SDK demos
- Add Vercel AI SDK card to homepage

Documentation:
- Fix "Just Node" → "almostnode" in tutorials
- Fix broken file references and API.md links
- Add Demos section to README
- Update CHANGELOG for v0.2.13

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link

🟢 Node.js Compatibility: 98%

Status Count
✅ Passed 1232
❌ Failed
⏭️ Skipped 25
Modules tested
  • path - Path manipulation
  • buffer - Binary data handling
  • stream - Readable/Writable streams
  • url - URL parsing
  • events - EventEmitter
  • fs - File system operations
  • util - Utility functions

@petrbrzek petrbrzek merged commit 4fe5f50 into main Feb 12, 2026
4 checks passed
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