@travetto/compiler
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -13,3 +13,3 @@ { | ||
"dependencies": { | ||
"@travetto/base": "^0.4.3", | ||
"@travetto/base": "^0.4.4", | ||
"@types/source-map-support": "^0.4.1", | ||
@@ -37,4 +37,4 @@ "source-map-support": "^0.5.6", | ||
}, | ||
"version": "0.4.3", | ||
"gitHead": "0e54fb6234288aef21ee43d845cec90e1a966a8f" | ||
"version": "0.4.4", | ||
"gitHead": "cd17462f7331b7a5a74181cfa9a1573b7cd26f9e" | ||
} |
travetto: Compiler | ||
=== | ||
**Install: primary** | ||
```bash | ||
$ npm install @travetto/compiler | ||
``` | ||
This module expands upon [`typescript`](http://typescriptlang.org), with supplemental functionality: | ||
@@ -15,4 +22,5 @@ * Read `tsconfig.json` from the project directory to provide | ||
Additionally, there is support for common AST transformation patterns to facilitate all the transformers used throughout the framework. | ||
Transformations are defined by `support/transformation.<name>.ts` as the filename. The schema for a transformer is: | ||
Transformations are defined by `support/transformer.<name>.ts` as the filename. The schema for a transformer is: | ||
**Code: Sample transformer, registration and execution** | ||
```typescript | ||
@@ -19,0 +27,0 @@ export class CustomerTransformer { |
37356
36
Updated@travetto/base@^0.4.4