JSPM

  • Created
  • Published
  • Downloads 430
  • Score
    100M100P100Q120011F
  • License GPL-3.0-or-later

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.

Package Exports

  • @rxap/workspace-ts-morph
  • @rxap/workspace-ts-morph/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rxap/workspace-ts-morph) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.

npm version commitizen friendly styled with prettier Libraries.io dependency status for latest release, scoped npm package npm NPM

Installation

Add the package to your workspace:

yarn add @rxap/workspace-ts-morph

Execute the init generator:

yarn nx g @rxap/workspace-ts-morph:init

Generators

init

Initialize the package in the workspace

nx g @rxap/workspace-ts-morph:init