Skip to content

Commit a2044d1

Browse files
committed
refactor: restructure packages/utilities/ast
1 parent bab5dcb commit a2044d1

File tree

28 files changed

+22
-20
lines changed

28 files changed

+22
-20
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export * from "./equal";
2+
export * from "./misc";
23
export * from "./node-loc";
34
export * from "./node-type";
45
export * from "./traverse";

packages/utilities/ast/src/misc.ts renamed to packages/utilities/ast/src/ast-node/misc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { TSESTree } from "@typescript-eslint/types";
22
import { delimiterCase, replace, toLowerCase } from "string-ts";
33
import { match, P } from "ts-pattern";
44

5-
import { isJSX, NodeType } from "./node";
5+
import { isJSX, NodeType } from "./node-type";
66

77
export function getLiteralValueType(input: bigint | boolean | null | number | string | symbol) {
88
return match(input)

packages/utilities/ast/src/construction/inspect-construction.ts renamed to packages/utilities/ast/src/helpers/construction/inspect-construction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { TSESTree } from "@typescript-eslint/types";
44
import { Option as O, Predicate as Prd } from "effect";
55
import { match } from "ts-pattern";
66

7-
import { is, isOneOf, NodeType } from "../node";
7+
import { is, isOneOf, NodeType } from "../../ast-node";
88
import { Construction } from "./construction";
99
import { ConstructionHint } from "./construction-hint";
1010

0 commit comments

Comments
 (0)