duffman/tspath

Reworked your package

Pidz-b opened this issue · 0 comments

Hey Duffman,
I wanted you to know that I love your package and wanted to use it for AWS SAM.
Sadly, it was missing some parameters, so I reworked your package and added them.

What I did was add a new config file: tspath.json, in which you can use variables other than those of tsconfig.json.
I also added a few extra flags:

  • root: for a different root directory
  • absPath: to make all paths absolute

I still need to add an --env flag, but I'm getting there.

The codebase can be found here: https://github.com/pidz-development/tspath-aws-sam.

Best regards