razroo / codemorph

Codemorph is an extensible, easy to understand, easy to contribute to, easy to use Codemod library. Codemorph is platform agnostic.
MIT License
21 stars 2 forks source link

Create a standalone effect for Angular Guard #44

Closed CharlieGreenman closed 9 months ago

CharlieGreenman commented 1 year ago
Feature I would like when generating github code for a pipe, for Razroo to automatically export pipe to nearest index.ts file 
  Given I am a user of Razroo
  When I generate code using Github
    And that code is an Angular pipe
  Then Razroo should also export this code to the nearest index ts file  

Notes:

  1. Will add angular pipe here 1a. src/rz/angular/angular-effects.ts
  2. Will be a standalone effect, so works with Github as well
  3. can mimic functionality for https://github.com/razroo/codemorph/blob/main/src/rz/angular/effects/standalone-component/standalone-component.ts