Loading…
Wire dependency-cruiser into a TypeScript repo for deep module architecture.
npm install --save-dev dependency-cruiserThis skill configures a TypeScript repository to enforce a deep module structure using dependency-cruiser. It ensures that each package exposes only its entry points, while implementation details are hidden in subfolders. The skill installs dependency-cruiser, sets up necessary rules, and provides a template for creating new packages that adhere to this structure. It includes steps for environment detection, configuration writing, and validation of the rules to ensure proper encapsulation and modularity.