Skip to content

Chore: Remove Scripts and use only polyglot commands #47

@kaifcoder

Description

@kaifcoder

Replace Custom dev-basic.cjs Script with npx create-polyglot Commands

📝 Description

Remove the custom dev-basic.cjs file and replace its functionality with standardized npx create-polyglot commands to eliminate redundancy and ensure consistency across the polyglot project.

🎯 Current State

  • Custom script at dev-basic.cjs (200+ lines) handles:
    • Service discovery and startup
    • Package manager detection
    • Admin dashboard launching
    • Process management and logging
    • Signal handling for graceful shutdown

📋 Tasks

  • Remove dev-basic.cjs file
  • Update root package.json to use npx create-polyglot dev exclusively
  • Verify create-polyglot provides equivalent functionality:
    • Multi-service startup
    • Admin dashboard on port 9000
    • Process orchestration
    • Logging capabilities
  • Test that npm run dev works identically after migration

✅ Benefits

  • Reduced maintenance: Remove 200+ lines of custom code
  • Consistency: Use official create-polyglot tooling
  • Reliability: Leverage tested, maintained solution
  • Simplicity: Single command replaces complex custom logic

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions