File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ export const tsModules = <const>[
24
24
] ;
25
25
26
26
export const projectsPaths = path . join ( __dirname , "./projects" ) ;
27
- export const transformerPath = path . resolve ( __dirname , "../src/index.ts ") ;
28
- export const builtTransformerPath = path . resolve ( __dirname , "../dist/index.js ") ;
27
+ export const transformerPath = require . resolve ( "typescript-transform-paths ") ;
28
+ export const builtTransformerPath = require . resolve ( "typescript-transform-paths ") ;
29
29
30
30
Error . stackTraceLimit = 120 ;
31
31
Original file line number Diff line number Diff line change 1
1
import ts from "typescript" ;
2
- import { nxTransformerPlugin } from "../../src " ;
2
+ import { nxTransformerPlugin } from "typescript-transform-paths " ;
3
3
import path from "path" ;
4
4
import { projectsPaths } from "../config" ;
5
5
import { execSync } from "child_process" ;
6
6
import { readFileSync , rmSync } from "fs" ;
7
- import * as transformerModule from "../../src /transformer" ;
7
+ import * as transformerModule from "typescript-transform-paths/dist /transformer" ;
8
8
9
9
/* ****************************************************************************************************************** *
10
10
* Tests
Original file line number Diff line number Diff line change 9
9
getTsNodeEmitResult ,
10
10
} from "../../utils" ;
11
11
import { projectsPaths , ts , tsModules } from "../../config" ;
12
- import { TsTransformPathsConfig } from "../../../src " ;
12
+ import { TsTransformPathsConfig } from "typescript-transform-paths " ;
13
13
import TS from "typescript" ;
14
14
15
15
/* ****************************************************************************************************************** *
Original file line number Diff line number Diff line change 1
- import { default as tstpTransform , TsTransformPathsConfig } from "../../src " ;
1
+ import { default as tstpTransform , TsTransformPathsConfig } from "typescript-transform-paths " ;
2
2
import fs from "fs" ;
3
3
import ts from "typescript" ;
4
4
import * as tsNode from "ts-node" ;
You can’t perform that action at this time.
0 commit comments