Skip to content

Commit 26968bd

Browse files
authored
Merge helpers and utils folders (#20)
1 parent 58d24e6 commit 26968bd

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

src/transforms/v2-to-v3/helpers/index.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/transforms/v2-to-v3/transformer.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
import { API, FileInfo } from "jscodeshift";
22
import findImports from "jscodeshift-find-imports";
33

4-
import { addV3ClientImport, getV2ClientNames, replaceClientCreation } from "./helpers";
5-
import { getV3ClientName, getV3ClientPackageName } from "./utils";
4+
import {
5+
addV3ClientImport,
6+
getV2ClientNames,
7+
getV3ClientName,
8+
getV3ClientPackageName,
9+
replaceClientCreation,
10+
} from "./utils";
611

712
export default function transformer(file: FileInfo, api: API) {
813
const j = api.jscodeshift;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
export * from "./addV3ClientImport";
2+
export * from "./getV2ClientNames";
13
export * from "./getV3ClientName";
24
export * from "./getV3ClientPackageName";
5+
export * from "./replaceClientCreation";

0 commit comments

Comments
 (0)