Skip to content

Commit

Permalink
add: base config files for example pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjjojo committed May 23, 2024
1 parent 3837b07 commit 049187d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/__example__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "@hyperhub/typescript-config/base.json",
"exclude": ["dist", "node_modules", "__test__"],
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
}
}
11 changes: 11 additions & 0 deletions packages/__example__/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { baseConfig } from "@hyperhub/test-config";
import { mergeConfig, defineConfig } from "vitest/config";

export default mergeConfig(
baseConfig,
defineConfig({
test: {
exclude: ["coverage/*"],
},
}),
);

0 comments on commit 049187d

Please sign in to comment.