From b513c0565a60f5d488b11dfc0e90506372ec57fc Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 19 Feb 2022 13:37:47 +0800 Subject: [PATCH] chore: remove unused build directory --- build/utils/fs.ts | 4 ---- build/utils/paths.ts | 3 --- tsconfig.node.json | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 build/utils/fs.ts delete mode 100644 build/utils/paths.ts diff --git a/build/utils/fs.ts b/build/utils/fs.ts deleted file mode 100644 index c20c8e6..0000000 --- a/build/utils/fs.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { readFile } from 'fs/promises' - -export const readJSON = async (path: string): Promise => - JSON.parse(await readFile(path, 'utf-8')) diff --git a/build/utils/paths.ts b/build/utils/paths.ts deleted file mode 100644 index e665ac8..0000000 --- a/build/utils/paths.ts +++ /dev/null @@ -1,3 +0,0 @@ -import path from 'path' - -export const pathRoot = path.resolve(__dirname, '..', '..') diff --git a/tsconfig.node.json b/tsconfig.node.json index b258f87..3c1e71b 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -8,5 +8,5 @@ "lib": ["esnext"], "types": ["node"] }, - "include": ["*/vite.config.ts", "build", "packages/build*/**/*"] + "include": ["*/vite.config.ts", "packages/build*/**/*"] } -- knotmirror 0.0.1