Enhanced Angular Schematics with standard library utilities and executable specifications framework.
stdLibSchema is a TypeScript library that provides:
- Standard Library Utilities: Reusable utilities for filesystem operations, JSON manipulation, AST transformations, and workspace management
- Angular Schematics: Code generation and modification tools for Angular projects
- Executable Specifications: Framework for continuous architectural verification
- Performance Monitoring: Built-in latency tracking and metrics collection
- 🛠️ Comprehensive Standard Library: File system, JSON, AST, and workspace utilities
- 🎨 Angular Schematics: Generate components, services, and other Angular constructs
- 📊 Metrics & Monitoring: Built-in performance tracking and analytics
- 🔍 Executable Specifications: Automated architectural verification
- 🚀 Modern TypeScript: Built with TypeScript 5.8+ and latest Angular features
- 💾 Caching: Redis-based caching for improved performance
- 🔄 Real-time Updates: WebSocket support for live metrics
npm install stdlibschema
import { readJson, writeJson } from 'stdlibschema/stdlib';
// Read and update package.json
const packageJson = await readJson('./package.json');
packageJson.version = '1.0.1';
await writeJson('./package.json', packageJson);
# Generate a new component with signals
npm run signals:component
# Build the schematics
npm run schematics:build
# Run tests
npm test
├── api/ # API endpoints for metrics and monitoring
├── embedding-map/ # Cross-project mapping and analysis tools
├── .github/ # GitHub workflows and templates
├── docs/ # Documentation and development notes
├── package.json # Project configuration
├── tsconfig.json # TypeScript configuration
├── jest.config.js # Jest testing configuration
├── vercel.json # Vercel deployment configuration
└── README.md # This file
npm run build
- Build the projectnpm run build:watch
- Build in watch modenpm run lint
- Lint TypeScript filesnpm run format
- Format code with Prettier
npm test
- Run all testsnpm run test:watch
- Run tests in watch modenpm run test:coverage
- Generate coverage reportnpm run test:stdlib
- Test standard library onlynpm run test:specs
- Test specifications only
npm run latency:monitor
- Monitor latency metricsnpm run metrics:collect
- Collect performance metricsnpm run cache:stats
- View cache statistics
npm run vercel:deploy
- Deploy to Vercelnpm run vercel:dev
- Run Vercel development server
The project uses TypeScript 5.8+ with strict mode enabled. Configuration is in tsconfig.json
.
Testing is configured with Jest and supports:
- Multiple test projects (stdlib, specs, schematics, other)
- Coverage reporting
- Parallel test execution
Optional Redis integration for caching. Configure with environment variables:
REDIS_URL=redis://localhost:6379
- Node.js >= 24.5.0
- npm >= 10.0.0
git clone <repository-url>
cd stdLibSchema-e
npm install
npm run build
# Run all tests
npm test
# Run specific test suites
npm run test:stdlib
npm run test:coverage
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Ensure all tests pass
- Submit a pull request
MIT
For issues and questions, please use the GitHub Issues page.