This package provides utilities for transforming workspace files using the TypeScript compiler API via ts-morph. It includes functions to add directories to a ts-morph project, apply ts-morph project changes to a tree, and perform transformations on Angular and Nest projects. The package also offers an init generator for adding peer dependencies to a project.
Add the package to your workspace:
yarn add @rxap/workspace-ts-morph
Execute the init generator:
yarn nx g @rxap/workspace-ts-morph:init
Initialize the package in the workspace
nx g @rxap/workspace-ts-morph:init