From 049187d0a9d5e27674ed9742622c51f3dcd68b39 Mon Sep 17 00:00:00 2001 From: Jojo Date: Thu, 23 May 2024 14:33:39 -0300 Subject: [PATCH] add: base config files for example pkg --- packages/__example__/tsconfig.json | 8 ++++++++ packages/__example__/vitest.config.ts | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 packages/__example__/tsconfig.json create mode 100644 packages/__example__/vitest.config.ts diff --git a/packages/__example__/tsconfig.json b/packages/__example__/tsconfig.json new file mode 100644 index 0000000..59c64e2 --- /dev/null +++ b/packages/__example__/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": "@hyperhub/typescript-config/base.json", + "exclude": ["dist", "node_modules", "__test__"], + "compilerOptions": { + "rootDir": "./src", + "outDir": "./dist", + } +} diff --git a/packages/__example__/vitest.config.ts b/packages/__example__/vitest.config.ts new file mode 100644 index 0000000..89e76a7 --- /dev/null +++ b/packages/__example__/vitest.config.ts @@ -0,0 +1,11 @@ +import { baseConfig } from "@hyperhub/test-config"; +import { mergeConfig, defineConfig } from "vitest/config"; + +export default mergeConfig( + baseConfig, + defineConfig({ + test: { + exclude: ["coverage/*"], + }, + }), +);