The control center for the AnyPlatform ecosystem. This repository provides powerful tools to manage, deploy, and synchronize changes across all AnyPlatform repositories.
- Repository Synchronization: Deploy files and folders across all repos with atomic commits
- Ecosystem Management: Create and manage all AnyPlatform packages
- Quality Control: Enforce uniform structure and standards
- Automated Workflows: Scripts for bulk operations with safety backups
- Developer Tools: Interactive menu system for all workspace operations
The AnyPlatform ecosystem consists of multiple independent GitHub repositories, organized locally for development:
Each package is its own GitHub repository at github.com/anyplatform/[package-name]
platform- Main CLI and coordination layerclient- Client-side core functionalityserver- Server-side core functionality
client.any.components- React/ShadcN UI component generatorsclient.any.data- Zustand stores with calculated props and API integrationclient.any.auth- Authentication flows and componentsclient.any.api- API client code with React Query integrationclient.any.obs- Observability and analytics code
server.any.api- Fastify routes and API endpointsserver.any.data- Database models, migrations, and queriesserver.any.auth- Authentication middleware and authorizationserver.any.services- Business logic services and domain modelsserver.any.workflows- Automated workflows and background jobsserver.any.obs- Server monitoring and logging
platform.demo- Complete demo applicationplatform.examples- Example projects and code snippetsplatform.workspace- This workspace management repository
Launch the workspace control center:
npm run menu
# or
npm run workspaceThis provides an interactive menu for all workspace operations including deployment, package management, and development tasks.
package/- Workspace tools (published to npm)scripts/- Setup and management scriptstemplates/- Templates for generating uniform packagesdocs/- Ecosystem documentationquality/- Quality standards and validation rulestests/- Workspace tool testsstorybook/- Stories about the ecosystem itself
Creates synchronized commits across all repositories with workspace action tracking.
- Forces commits with
@anyplatform/workspace actionprefix - Ensures atomic operations across ecosystem
- Uses
--allow-emptyfor consistency tracking
Deploy entire folders with structure preservation.
- Maintains folder hierarchy in target repos
- Automatic backup commits before deployment
- Batch operations with progress tracking
- Makes shell scripts executable automatically
Safely remove files from multiple repositories.
- Automatic backup commits before deletion
- Batch deletion with rollback capability
- Dry-run mode for verification
- Detailed operation logging
Flexible file deployment across repositories.
- Deploy specific files to selected repos
- Supports --all, --packages, --docs shortcuts
- Auto-commit with custom messages
- Handles both sibling and package repos
Full ecosystem deployment orchestration.
- Deploys common files to all repositories
- Deploys package-specific configurations
- Updates TypeScript configs per package type
- Handles client/server separation
Interactive control center for all operations.
- Visual menu system for deployments
- Package creation and management
- Development task shortcuts
- Repository status overview
Rapid deployment for common configurations.
- Shortcuts: mcp, prettier, eslint, workflow, docs
- Pre-configured commit messages
- Single command updates
Generate new packages with uniform structure.
- Complete package structure from templates
- All package types supported
- Storybook setup included
- Git initialization with proper remotes
All deployment and deletion operations include:
- Automatic backup commits before changes
- Workspace action tracking for audit trail
- Dry-run mode for preview
- Rollback capability through git history
- Atomic operations across all repos
Every AnyPlatform package has identical structure:
README.md- Generated from templateanyplatform.yaml- Uniform contractpackage/entrypoint.ts- Standard entrypointtests/- Unit, integration, fixturesstorybook/- Even server packages get Storybook!docs/- API documentation and examples
./scripts/deploy-folder.sh -s "scripts" -d "scripts"./scripts/delete-from-repos.sh -f "old-file.txt,deprecated.js"./scripts/deploy.sh --all # Deploy all common files
./scripts/quick-deploy.sh mcp # Quick deploy MCP config./scripts/workspace-commit-all.sh "update dependencies"npm install
npm run dev # Watch mode
npm test # Run tests
npm run storybook # View ecosystem stories
npm run menu # Launch interactive menuThe workspace is the living, breathing control center of AnyPlatform.