File tree 2 files changed +12
-7
lines changed
2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change
1
+ import { execSync } from "node:child_process" ;
2
+ import { readFileSync , rmSync } from "node:fs" ;
3
+ import path from "node:path" ;
4
+
1
5
import ts from "typescript" ;
6
+
2
7
import { nxTransformerPlugin } from "typescript-transform-paths" ;
3
- import path from "path" ;
8
+ import * as transformerModule from "../../dist/transformer" ;
9
+
4
10
import { projectsPaths } from "../config" ;
5
- import { execSync } from "child_process" ;
6
- import { readFileSync , rmSync } from "fs" ;
7
- import * as transformerModule from "typescript-transform-paths/dist/transformer" ;
8
11
9
12
/* ****************************************************************************************************************** *
10
13
* Tests
Original file line number Diff line number Diff line change 1
- import { register } from "typescript-transform-paths" ;
2
- import { PluginConfig } from "ts-patch" ;
3
1
import * as tsNode from "ts-node" ;
4
- import * as transformerModule from "typescript-transform-paths/dist/transformer" ;
5
2
import { REGISTER_INSTANCE } from "ts-node" ;
3
+ import { PluginConfig } from "ts-patch" ;
6
4
import { CustomTransformers , PluginImport , Program } from "typescript" ;
5
+
6
+ import { register } from "typescript-transform-paths" ;
7
+ import * as transformerModule from "../../dist/transformer" ;
8
+
7
9
import { ModuleNotFoundError } from "../utils" ;
8
10
9
11
/* ****************************************************************************************************************** *
You can’t perform that action at this time.
0 commit comments