Skip to content

Conversation

@cto-new
Copy link
Contributor

@cto-new cto-new bot commented Nov 13, 2025

Summary

Migrate away from external uuid package by switching to native crypto.randomUUID() across the monorepo, and remove uuid as a dependency.

Details

  • Replace imports like import { v4 as uuidv4 } from "uuid" with imports from "crypto" and use randomUUID()
  • Replace all uuidv4() calls with randomUUID() or crypto.randomUUID()
  • Update test utilities and e2e tests to use crypto-based UUID generation
  • Remove "uuid" from dependencies in all package.json files
  • Run pnpm install, lint, format, build, and tests to ensure compatibility
  • Node 22 provides native crypto.randomUUID() and RFC 4122 v4 UUIDs are preserved

Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup

Linear issue

@vercel
Copy link
Contributor

vercel bot commented Nov 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
comps Error Error Nov 13, 2025 2:45pm
comps-staging2 Error Error Nov 13, 2025 2:45pm

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